2 * FILE : src/mac/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxString
wxPyEmptyString(wxT(""));
93 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
100 dest
= reg1
.GetBox();
102 if (dest
!= wxRect(0,0,0,0)) {
103 wxPyBeginBlockThreads();
104 wxRect
* newRect
= new wxRect(dest
);
105 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
106 PyObject
* one
= PyInt_FromLong(1);
107 PyObject_SetAttrString(obj
, "thisown", one
);
109 wxPyEndBlockThreads();
116 wxString
wxGetResource(const wxString
& section
, const wxString
& entry
,
117 const wxString
& file
= wxPyEmptyString
) {
119 wxGetResource(section
, entry
, &retval
, file
);
123 #if 0 // we want to use the definition from the header, not the
124 // one SWIG will generate.
125 extern wxAcceleratorTable wxNullAcceleratorTable
;
131 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
137 PyObject
* _obj0
= 0;
139 PyObject
* _obj1
= 0;
140 char *_kwnames
[] = { "r1","r2", NULL
};
143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
147 if (! wxRect_helper(_obj0
, &_arg0
))
152 if (! wxRect_helper(_obj1
, &_arg1
))
156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
157 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
159 wxPyEndAllowThreads(__tstate
);
160 if (PyErr_Occurred()) return NULL
;
162 _resultobj
= _result
;
167 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 char *_kwnames
[] = { NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= (long )wxNewId();
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
181 } _resultobj
= Py_BuildValue("l",_result
);
185 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
188 char *_kwnames
[] = { "id", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
197 wxPyEndAllowThreads(__tstate
);
198 if (PyErr_Occurred()) return NULL
;
199 } Py_INCREF(Py_None
);
200 _resultobj
= Py_None
;
204 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
207 char *_kwnames
[] = { NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 _result
= (long )wxNewId();
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } _resultobj
= Py_BuildValue("l",_result
);
222 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
225 char *_kwnames
[] = { "id", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 wxPyEndAllowThreads(__tstate
);
235 if (PyErr_Occurred()) return NULL
;
236 } Py_INCREF(Py_None
);
237 _resultobj
= Py_None
;
241 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 char *_kwnames
[] = { NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 _result
= (long )wxGetCurrentId();
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
255 } _resultobj
= Py_BuildValue("l",_result
);
259 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 char *_kwnames
[] = { NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
279 char *_kwnames
[] = { NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
288 wxPyEndAllowThreads(__tstate
);
289 if (PyErr_Occurred()) return NULL
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 bool _arg0
= (bool ) TRUE
;
299 int tempbool0
= (int) TRUE
;
300 char *_kwnames
[] = { "resetTimer", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
305 _arg0
= (bool ) tempbool0
;
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 _result
= (long )wxGetElapsedTime(_arg0
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } _resultobj
= Py_BuildValue("l",_result
);
316 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
322 char *_kwnames
[] = { NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
335 wxGetMousePosition(_arg0
,_arg1
);
337 wxPyEndAllowThreads(__tstate
);
338 if (PyErr_Occurred()) return NULL
;
339 } Py_INCREF(Py_None
);
340 _resultobj
= Py_None
;
343 o
= PyInt_FromLong((long) (*_arg0
));
344 _resultobj
= t_output_helper(_resultobj
, o
);
348 o
= PyInt_FromLong((long) (*_arg1
));
349 _resultobj
= t_output_helper(_resultobj
, o
);
354 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
357 char *_kwnames
[] = { NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
364 _result
= (bool )wxIsBusy();
366 wxPyEndAllowThreads(__tstate
);
367 if (PyErr_Occurred()) return NULL
;
368 } _resultobj
= Py_BuildValue("i",_result
);
372 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 char *_kwnames
[] = { NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= new wxString (wxNow());
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
388 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
390 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
399 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
403 PyObject
* _obj0
= 0;
404 char *_kwnames
[] = { "command", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
411 _arg0
= wxString_in_helper(_obj0
);
416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
417 _result
= (bool )wxShell(*_arg0
);
419 wxPyEndAllowThreads(__tstate
);
420 if (PyErr_Occurred()) return NULL
;
421 } _resultobj
= Py_BuildValue("i",_result
);
429 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
431 char *_kwnames
[] = { NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 wxPyEndAllowThreads(__tstate
);
441 if (PyErr_Occurred()) return NULL
;
442 } Py_INCREF(Py_None
);
443 _resultobj
= Py_None
;
447 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
454 char *_kwnames
[] = { NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
467 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 } _resultobj
= Py_BuildValue("i",_result
);
474 o
= PyInt_FromLong((long) (*_arg0
));
475 _resultobj
= t_output_helper(_resultobj
, o
);
479 o
= PyInt_FromLong((long) (*_arg1
));
480 _resultobj
= t_output_helper(_resultobj
, o
);
485 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
488 char *_kwnames
[] = { NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= new wxString (wxGetOsDescription());
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
501 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
512 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 char *_kwnames
[] = { "secs", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 wxPyEndAllowThreads(__tstate
);
525 if (PyErr_Occurred()) return NULL
;
526 } Py_INCREF(Py_None
);
527 _resultobj
= Py_None
;
531 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
532 PyObject
* _resultobj
;
534 char *_kwnames
[] = { "milliseconds", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
545 } Py_INCREF(Py_None
);
546 _resultobj
= Py_None
;
550 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
553 char *_kwnames
[] = { NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
560 _result
= (bool )wxYield();
562 wxPyEndAllowThreads(__tstate
);
563 if (PyErr_Occurred()) return NULL
;
564 } _resultobj
= Py_BuildValue("i",_result
);
568 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 char *_kwnames
[] = { NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
578 _result
= (bool )wxYieldIfNeeded();
580 wxPyEndAllowThreads(__tstate
);
581 if (PyErr_Occurred()) return NULL
;
582 } _resultobj
= Py_BuildValue("i",_result
);
586 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
590 char *_kwnames
[] = { "enable", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
595 _arg0
= (bool ) tempbool0
;
597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
598 wxEnableTopLevelWindows(_arg0
);
600 wxPyEndAllowThreads(__tstate
);
601 if (PyErr_Occurred()) return NULL
;
602 } Py_INCREF(Py_None
);
603 _resultobj
= Py_None
;
607 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
612 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
613 PyObject
* _obj0
= 0;
614 PyObject
* _obj1
= 0;
615 PyObject
* _obj2
= 0;
616 char *_kwnames
[] = { "section","entry","file", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
622 _arg0
= wxString_in_helper(_obj0
);
627 _arg1
= wxString_in_helper(_obj1
);
633 _arg2
= wxString_in_helper(_obj2
);
638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 _result
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
));
641 wxPyEndAllowThreads(__tstate
);
642 if (PyErr_Occurred()) return NULL
;
645 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
647 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
668 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
672 PyObject
* _obj0
= 0;
673 char *_kwnames
[] = { "in", NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
679 _arg0
= wxString_in_helper(_obj0
);
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 _result
= new wxString (wxStripMenuCodes(*_arg0
));
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
691 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
693 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
706 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
707 PyObject
* _resultobj
;
709 char *_kwnames
[] = { NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
716 _result
= new wxString (wxGetEmailAddress());
718 wxPyEndAllowThreads(__tstate
);
719 if (PyErr_Occurred()) return NULL
;
722 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
724 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
733 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
736 char *_kwnames
[] = { NULL
};
739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 _result
= new wxString (wxGetHostName());
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) return NULL
;
749 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
760 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
763 char *_kwnames
[] = { NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
770 _result
= new wxString (wxGetFullHostName());
772 wxPyEndAllowThreads(__tstate
);
773 if (PyErr_Occurred()) return NULL
;
776 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
787 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
790 char *_kwnames
[] = { NULL
};
793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
797 _result
= new wxString (wxGetUserId());
799 wxPyEndAllowThreads(__tstate
);
800 if (PyErr_Occurred()) return NULL
;
803 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
805 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
814 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
815 PyObject
* _resultobj
;
817 char *_kwnames
[] = { NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 _result
= new wxString (wxGetUserName());
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) return NULL
;
830 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
832 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
841 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
844 char *_kwnames
[] = { NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 _result
= new wxString (wxGetHomeDir());
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) return NULL
;
857 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
868 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
871 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
872 PyObject
* _obj0
= 0;
873 char *_kwnames
[] = { "user", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
880 _arg0
= wxString_in_helper(_obj0
);
885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 _result
= new wxString (wxGetUserHome(*_arg0
));
888 wxPyEndAllowThreads(__tstate
);
889 if (PyErr_Occurred()) return NULL
;
892 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
894 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
907 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
909 wxAcceleratorEntry
* _result
;
911 PyObject
* _obj0
= 0;
912 char *_kwnames
[] = { "label", NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
919 _arg0
= wxString_in_helper(_obj0
);
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
931 _resultobj
= Py_BuildValue("s",_ptemp
);
934 _resultobj
= Py_None
;
943 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
945 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
949 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
953 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
954 pyobj
= PyString_FromString(ptemp
);
958 static wxString
wxObject_GetClassName(wxObject
*self
) {
959 return self
->GetClassInfo()->GetClassName();
961 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
965 PyObject
* _argo0
= 0;
966 char *_kwnames
[] = { "self", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 _result
= new wxString (wxObject_GetClassName(_arg0
));
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
986 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
988 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
997 static void wxObject_Destroy(wxObject
*self
) {
1000 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 wxObject_Destroy(_arg0
);
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) return NULL
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1028 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1034 PyObject
* _obj0
= 0;
1035 char *_kwnames
[] = { "self","x", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1042 if (! wxSize_helper(_obj0
, &_arg0
))
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) return NULL
;
1051 } _resultobj
= Py_BuildValue("l",_result
);
1055 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1056 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1061 PyObject
* _obj0
= 0;
1062 char *_kwnames
[] = { "self", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1069 if (! wxSize_helper(_obj0
, &_arg0
))
1073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1074 _result
= (long )wxSize_x_get(_arg0
);
1076 wxPyEndAllowThreads(__tstate
);
1077 if (PyErr_Occurred()) return NULL
;
1078 } _resultobj
= Py_BuildValue("l",_result
);
1082 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1083 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1089 PyObject
* _obj0
= 0;
1090 char *_kwnames
[] = { "self","y", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1097 if (! wxSize_helper(_obj0
, &_arg0
))
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1106 } _resultobj
= Py_BuildValue("l",_result
);
1110 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1111 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1116 PyObject
* _obj0
= 0;
1117 char *_kwnames
[] = { "self", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1124 if (! wxSize_helper(_obj0
, &_arg0
))
1128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1129 _result
= (long )wxSize_y_get(_arg0
);
1131 wxPyEndAllowThreads(__tstate
);
1132 if (PyErr_Occurred()) return NULL
;
1133 } _resultobj
= Py_BuildValue("l",_result
);
1137 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1138 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1141 long _arg0
= (long ) 0;
1142 long _arg1
= (long ) 0;
1143 char *_kwnames
[] = { "w","h", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) return NULL
;
1156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1157 _resultobj
= Py_BuildValue("s",_ptemp
);
1160 _resultobj
= Py_None
;
1165 #define delete_wxSize(_swigobj) (delete _swigobj)
1166 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1170 PyObject
* _obj0
= 0;
1171 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1178 if (! wxSize_helper(_obj0
, &_arg0
))
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 delete_wxSize(_arg0
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1192 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1193 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1199 PyObject
* _obj0
= 0;
1200 char *_kwnames
[] = { "self","w","h", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1207 if (! wxSize_helper(_obj0
, &_arg0
))
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 wxSize_Set(_arg0
,_arg1
,_arg2
);
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) return NULL
;
1216 } Py_INCREF(Py_None
);
1217 _resultobj
= Py_None
;
1221 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1222 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1227 PyObject
* _obj0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1235 if (! wxSize_helper(_obj0
, &_arg0
))
1239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1240 _result
= (long )wxSize_GetX(_arg0
);
1242 wxPyEndAllowThreads(__tstate
);
1243 if (PyErr_Occurred()) return NULL
;
1244 } _resultobj
= Py_BuildValue("l",_result
);
1248 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1249 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1254 PyObject
* _obj0
= 0;
1255 char *_kwnames
[] = { "self", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1262 if (! wxSize_helper(_obj0
, &_arg0
))
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 _result
= (long )wxSize_GetY(_arg0
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } _resultobj
= Py_BuildValue("l",_result
);
1275 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1276 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1281 PyObject
* _obj0
= 0;
1282 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1289 if (! wxSize_helper(_obj0
, &_arg0
))
1293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1294 _result
= (long )wxSize_GetWidth(_arg0
);
1296 wxPyEndAllowThreads(__tstate
);
1297 if (PyErr_Occurred()) return NULL
;
1298 } _resultobj
= Py_BuildValue("l",_result
);
1302 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1303 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1308 PyObject
* _obj0
= 0;
1309 char *_kwnames
[] = { "self", NULL
};
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1316 if (! wxSize_helper(_obj0
, &_arg0
))
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 _result
= (long )wxSize_GetHeight(_arg0
);
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) return NULL
;
1325 } _resultobj
= Py_BuildValue("l",_result
);
1329 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1330 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1335 PyObject
* _obj0
= 0;
1336 char *_kwnames
[] = { "self","w", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1343 if (! wxSize_helper(_obj0
, &_arg0
))
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxSize_SetWidth(_arg0
,_arg1
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1357 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1358 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1363 PyObject
* _obj0
= 0;
1364 char *_kwnames
[] = { "self","h", NULL
};
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1371 if (! wxSize_helper(_obj0
, &_arg0
))
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 wxSize_SetHeight(_arg0
,_arg1
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 } Py_INCREF(Py_None
);
1381 _resultobj
= Py_None
;
1385 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1386 wxPyBeginBlockThreads();
1387 PyObject
* tup
= PyTuple_New(2);
1388 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1389 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1390 wxPyEndBlockThreads();
1393 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1398 PyObject
* _obj0
= 0;
1399 char *_kwnames
[] = { "self", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1406 if (! wxSize_helper(_obj0
, &_arg0
))
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) return NULL
;
1416 _resultobj
= _result
;
1421 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1423 if (*self
== *sz
) return 0;
1426 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1432 PyObject
* _obj0
= 0;
1434 PyObject
* _obj1
= 0;
1435 char *_kwnames
[] = { "self","sz", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1442 if (! wxSize_helper(_obj0
, &_arg0
))
1447 if (! wxSize_helper(_obj1
, &_arg1
))
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1461 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1464 wxRealPoint
* _arg0
;
1467 PyObject
* _obj0
= 0;
1468 char *_kwnames
[] = { "self","x", NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1475 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) return NULL
;
1484 } _resultobj
= Py_BuildValue("d",_result
);
1488 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1489 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1492 wxRealPoint
* _arg0
;
1494 PyObject
* _obj0
= 0;
1495 char *_kwnames
[] = { "self", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1502 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 _result
= (double )wxRealPoint_x_get(_arg0
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } _resultobj
= Py_BuildValue("d",_result
);
1515 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1516 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1519 wxRealPoint
* _arg0
;
1522 PyObject
* _obj0
= 0;
1523 char *_kwnames
[] = { "self","y", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1530 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("d",_result
);
1543 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1544 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1547 wxRealPoint
* _arg0
;
1549 PyObject
* _obj0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1557 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (double )wxRealPoint_y_get(_arg0
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1566 } _resultobj
= Py_BuildValue("d",_result
);
1570 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1571 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxRealPoint
* _result
;
1574 double _arg0
= (double ) 0.0;
1575 double _arg1
= (double ) 0.0;
1576 char *_kwnames
[] = { "x","y", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) return NULL
;
1589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1590 _resultobj
= Py_BuildValue("s",_ptemp
);
1593 _resultobj
= Py_None
;
1598 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1599 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1601 wxRealPoint
* _arg0
;
1603 PyObject
* _obj0
= 0;
1604 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1611 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 delete_wxRealPoint(_arg0
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1620 } Py_INCREF(Py_None
);
1621 _resultobj
= Py_None
;
1625 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1629 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxRealPoint
* _arg0
;
1635 PyObject
* _obj0
= 0;
1636 char *_kwnames
[] = { "self","x","y", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1643 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) return NULL
;
1652 } Py_INCREF(Py_None
);
1653 _resultobj
= Py_None
;
1657 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1658 wxPyBeginBlockThreads();
1659 PyObject
* tup
= PyTuple_New(2);
1660 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1661 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1662 wxPyEndBlockThreads();
1665 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1668 wxRealPoint
* _arg0
;
1670 PyObject
* _obj0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1678 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1688 _resultobj
= _result
;
1693 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1694 if (! p
) return *self
;
1697 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxRealPoint
* _result
;
1700 wxRealPoint
* _arg0
;
1701 wxRealPoint
* _arg1
;
1703 PyObject
* _obj0
= 0;
1705 PyObject
* _obj1
= 0;
1706 char *_kwnames
[] = { "self","p", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1714 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1719 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1733 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1734 if (! p
) return *self
;
1737 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxRealPoint
* _result
;
1740 wxRealPoint
* _arg0
;
1741 wxRealPoint
* _arg1
;
1743 PyObject
* _obj0
= 0;
1745 PyObject
* _obj1
= 0;
1746 char *_kwnames
[] = { "self","p", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1754 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1759 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1769 _resultobj
= Py_BuildValue("s",_ptemp
);
1773 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1775 if (*self
== *p
) return 0;
1778 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 wxRealPoint
* _arg0
;
1782 wxRealPoint
* _arg1
;
1784 PyObject
* _obj0
= 0;
1786 PyObject
* _obj1
= 0;
1787 char *_kwnames
[] = { "self","p", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1794 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1799 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1813 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1819 PyObject
* _obj0
= 0;
1820 char *_kwnames
[] = { "self","x", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1827 if (! wxPoint_helper(_obj0
, &_arg0
))
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("l",_result
);
1840 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1841 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1846 PyObject
* _obj0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1854 if (! wxPoint_helper(_obj0
, &_arg0
))
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 _result
= (long )wxPoint_x_get(_arg0
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1863 } _resultobj
= Py_BuildValue("l",_result
);
1867 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1868 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1874 PyObject
* _obj0
= 0;
1875 char *_kwnames
[] = { "self","y", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1882 if (! wxPoint_helper(_obj0
, &_arg0
))
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) return NULL
;
1891 } _resultobj
= Py_BuildValue("l",_result
);
1895 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1896 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1901 PyObject
* _obj0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1909 if (! wxPoint_helper(_obj0
, &_arg0
))
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 _result
= (long )wxPoint_y_get(_arg0
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) return NULL
;
1918 } _resultobj
= Py_BuildValue("l",_result
);
1922 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1923 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1926 long _arg0
= (long ) 0;
1927 long _arg1
= (long ) 0;
1928 char *_kwnames
[] = { "x","y", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1942 _resultobj
= Py_BuildValue("s",_ptemp
);
1945 _resultobj
= Py_None
;
1950 #define delete_wxPoint(_swigobj) (delete _swigobj)
1951 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1955 PyObject
* _obj0
= 0;
1956 char *_kwnames
[] = { "self", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1963 if (! wxPoint_helper(_obj0
, &_arg0
))
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 delete_wxPoint(_arg0
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) return NULL
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1981 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1987 PyObject
* _obj0
= 0;
1988 char *_kwnames
[] = { "self","x","y", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1995 if (! wxPoint_helper(_obj0
, &_arg0
))
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) return NULL
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2009 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2010 wxPyBeginBlockThreads();
2011 PyObject
* tup
= PyTuple_New(2);
2012 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2013 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2014 wxPyEndBlockThreads();
2017 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2022 PyObject
* _obj0
= 0;
2023 char *_kwnames
[] = { "self", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2030 if (! wxPoint_helper(_obj0
, &_arg0
))
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) return NULL
;
2040 _resultobj
= _result
;
2045 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2046 if (! p
) return *self
;
2049 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2055 PyObject
* _obj0
= 0;
2057 PyObject
* _obj1
= 0;
2058 char *_kwnames
[] = { "self","p", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2066 if (! wxPoint_helper(_obj0
, &_arg0
))
2071 if (! wxPoint_helper(_obj1
, &_arg1
))
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2081 _resultobj
= Py_BuildValue("s",_ptemp
);
2085 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2086 if (! p
) return *self
;
2089 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2095 PyObject
* _obj0
= 0;
2097 PyObject
* _obj1
= 0;
2098 char *_kwnames
[] = { "self","p", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2106 if (! wxPoint_helper(_obj0
, &_arg0
))
2111 if (! wxPoint_helper(_obj1
, &_arg1
))
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) return NULL
;
2120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2121 _resultobj
= Py_BuildValue("s",_ptemp
);
2125 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2127 if (*self
== *p
) return 0;
2130 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2136 PyObject
* _obj0
= 0;
2138 PyObject
* _obj1
= 0;
2139 char *_kwnames
[] = { "self","p", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2146 if (! wxPoint_helper(_obj0
, &_arg0
))
2151 if (! wxPoint_helper(_obj1
, &_arg1
))
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) return NULL
;
2160 } _resultobj
= Py_BuildValue("i",_result
);
2164 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2165 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2168 int _arg0
= (int ) 0;
2169 int _arg1
= (int ) 0;
2170 int _arg2
= (int ) 0;
2171 int _arg3
= (int ) 0;
2172 char *_kwnames
[] = { "x","y","w","h", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2186 _resultobj
= Py_BuildValue("s",_ptemp
);
2189 _resultobj
= Py_None
;
2194 #define delete_wxRect(_swigobj) (delete _swigobj)
2195 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2199 PyObject
* _obj0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2207 if (! wxRect_helper(_obj0
, &_arg0
))
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 delete_wxRect(_arg0
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) return NULL
;
2216 } Py_INCREF(Py_None
);
2217 _resultobj
= Py_None
;
2221 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2222 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2227 PyObject
* _obj0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2235 if (! wxRect_helper(_obj0
, &_arg0
))
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 _result
= (int )wxRect_GetX(_arg0
);
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) return NULL
;
2244 } _resultobj
= Py_BuildValue("i",_result
);
2248 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2249 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2254 PyObject
* _obj0
= 0;
2255 char *_kwnames
[] = { "self","X", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2262 if (! wxRect_helper(_obj0
, &_arg0
))
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 wxRect_SetX(_arg0
,_arg1
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2277 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2282 PyObject
* _obj0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2290 if (! wxRect_helper(_obj0
, &_arg0
))
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= (int )wxRect_GetY(_arg0
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2304 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2309 PyObject
* _obj0
= 0;
2310 char *_kwnames
[] = { "self","Y", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2317 if (! wxRect_helper(_obj0
, &_arg0
))
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 wxRect_SetY(_arg0
,_arg1
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } Py_INCREF(Py_None
);
2327 _resultobj
= Py_None
;
2331 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2332 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2337 PyObject
* _obj0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2345 if (! wxRect_helper(_obj0
, &_arg0
))
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 _result
= (int )wxRect_GetWidth(_arg0
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) return NULL
;
2354 } _resultobj
= Py_BuildValue("i",_result
);
2358 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2359 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2364 PyObject
* _obj0
= 0;
2365 char *_kwnames
[] = { "self","w", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2372 if (! wxRect_helper(_obj0
, &_arg0
))
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 wxRect_SetWidth(_arg0
,_arg1
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2386 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2387 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2392 PyObject
* _obj0
= 0;
2393 char *_kwnames
[] = { "self", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2400 if (! wxRect_helper(_obj0
, &_arg0
))
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 _result
= (int )wxRect_GetHeight(_arg0
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) return NULL
;
2409 } _resultobj
= Py_BuildValue("i",_result
);
2413 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2414 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2419 PyObject
* _obj0
= 0;
2420 char *_kwnames
[] = { "self","h", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2427 if (! wxRect_helper(_obj0
, &_arg0
))
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 wxRect_SetHeight(_arg0
,_arg1
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2442 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2447 PyObject
* _obj0
= 0;
2448 char *_kwnames
[] = { "self", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2456 if (! wxRect_helper(_obj0
, &_arg0
))
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2466 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2471 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2476 PyObject
* _obj0
= 0;
2477 char *_kwnames
[] = { "self", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2485 if (! wxRect_helper(_obj0
, &_arg0
))
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 _result
= new wxSize (wxRect_GetSize(_arg0
));
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2495 _resultobj
= Py_BuildValue("s",_ptemp
);
2499 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2500 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2505 PyObject
* _obj0
= 0;
2506 char *_kwnames
[] = { "self", NULL
};
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2513 if (! wxRect_helper(_obj0
, &_arg0
))
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 _result
= (int )wxRect_GetLeft(_arg0
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) return NULL
;
2522 } _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2527 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2532 PyObject
* _obj0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2540 if (! wxRect_helper(_obj0
, &_arg0
))
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 _result
= (int )wxRect_GetTop(_arg0
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) return NULL
;
2549 } _resultobj
= Py_BuildValue("i",_result
);
2553 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2554 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2559 PyObject
* _obj0
= 0;
2560 char *_kwnames
[] = { "self", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2567 if (! wxRect_helper(_obj0
, &_arg0
))
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= (int )wxRect_GetBottom(_arg0
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2581 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2586 PyObject
* _obj0
= 0;
2587 char *_kwnames
[] = { "self", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2594 if (! wxRect_helper(_obj0
, &_arg0
))
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 _result
= (int )wxRect_GetRight(_arg0
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2603 } _resultobj
= Py_BuildValue("i",_result
);
2607 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2608 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2613 PyObject
* _obj0
= 0;
2614 char *_kwnames
[] = { "self","left", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2621 if (! wxRect_helper(_obj0
, &_arg0
))
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 wxRect_SetLeft(_arg0
,_arg1
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) return NULL
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2636 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2641 PyObject
* _obj0
= 0;
2642 char *_kwnames
[] = { "self","right", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2649 if (! wxRect_helper(_obj0
, &_arg0
))
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 wxRect_SetRight(_arg0
,_arg1
);
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) return NULL
;
2658 } Py_INCREF(Py_None
);
2659 _resultobj
= Py_None
;
2663 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2664 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2669 PyObject
* _obj0
= 0;
2670 char *_kwnames
[] = { "self","top", NULL
};
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2677 if (! wxRect_helper(_obj0
, &_arg0
))
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 wxRect_SetTop(_arg0
,_arg1
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) return NULL
;
2686 } Py_INCREF(Py_None
);
2687 _resultobj
= Py_None
;
2691 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2692 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2697 PyObject
* _obj0
= 0;
2698 char *_kwnames
[] = { "self","bottom", NULL
};
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2705 if (! wxRect_helper(_obj0
, &_arg0
))
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 wxRect_SetBottom(_arg0
,_arg1
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) return NULL
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2720 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2726 PyObject
* _obj0
= 0;
2727 char *_kwnames
[] = { "self","dx","dy", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2734 if (! wxRect_helper(_obj0
, &_arg0
))
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) return NULL
;
2743 } Py_INCREF(Py_None
);
2744 _resultobj
= Py_None
;
2748 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2749 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
* _resultobj
;
2756 PyObject
* _obj0
= 0;
2757 char *_kwnames
[] = { "self","cx","cy", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2764 if (! wxRect_helper(_obj0
, &_arg0
))
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2773 } _resultobj
= Py_BuildValue("i",_result
);
2777 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2778 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2784 PyObject
* _obj0
= 0;
2785 char *_kwnames
[] = { "self","x", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2792 if (! wxRect_helper(_obj0
, &_arg0
))
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) return NULL
;
2801 } _resultobj
= Py_BuildValue("i",_result
);
2805 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2806 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2811 PyObject
* _obj0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2819 if (! wxRect_helper(_obj0
, &_arg0
))
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 _result
= (int )wxRect_x_get(_arg0
);
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) return NULL
;
2828 } _resultobj
= Py_BuildValue("i",_result
);
2832 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2833 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2839 PyObject
* _obj0
= 0;
2840 char *_kwnames
[] = { "self","y", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2847 if (! wxRect_helper(_obj0
, &_arg0
))
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) return NULL
;
2856 } _resultobj
= Py_BuildValue("i",_result
);
2860 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2861 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2866 PyObject
* _obj0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2874 if (! wxRect_helper(_obj0
, &_arg0
))
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 _result
= (int )wxRect_y_get(_arg0
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2887 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2888 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2894 PyObject
* _obj0
= 0;
2895 char *_kwnames
[] = { "self","width", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2902 if (! wxRect_helper(_obj0
, &_arg0
))
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2907 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) return NULL
;
2911 } _resultobj
= Py_BuildValue("i",_result
);
2915 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2916 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2921 PyObject
* _obj0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2929 if (! wxRect_helper(_obj0
, &_arg0
))
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 _result
= (int )wxRect_width_get(_arg0
);
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) return NULL
;
2938 } _resultobj
= Py_BuildValue("i",_result
);
2942 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2943 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2949 PyObject
* _obj0
= 0;
2950 char *_kwnames
[] = { "self","height", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2957 if (! wxRect_helper(_obj0
, &_arg0
))
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } _resultobj
= Py_BuildValue("i",_result
);
2970 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2971 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2976 PyObject
* _obj0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2984 if (! wxRect_helper(_obj0
, &_arg0
))
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 _result
= (int )wxRect_height_get(_arg0
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) return NULL
;
2993 } _resultobj
= Py_BuildValue("i",_result
);
2997 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2998 wxPyBeginBlockThreads();
2999 PyObject
* tup
= PyTuple_New(4);
3000 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3001 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3002 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3003 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3004 wxPyEndBlockThreads();
3007 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3012 PyObject
* _obj0
= 0;
3013 char *_kwnames
[] = { "self", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3020 if (! wxRect_helper(_obj0
, &_arg0
))
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3030 _resultobj
= _result
;
3035 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3036 if (! rect
) return *self
;
3037 return *self
+ *rect
;
3039 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3045 PyObject
* _obj0
= 0;
3047 PyObject
* _obj1
= 0;
3048 char *_kwnames
[] = { "self","rect", NULL
};
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3056 if (! wxRect_helper(_obj0
, &_arg0
))
3061 if (! wxRect_helper(_obj1
, &_arg1
))
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3070 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3071 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3076 if (! rect
) return 1;
3077 if (*self
== *rect
) return 0;
3080 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3086 PyObject
* _obj0
= 0;
3088 PyObject
* _obj1
= 0;
3089 char *_kwnames
[] = { "self","rect", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3096 if (! wxRect_helper(_obj0
, &_arg0
))
3101 if (! wxRect_helper(_obj1
, &_arg1
))
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) return NULL
;
3110 } _resultobj
= Py_BuildValue("i",_result
);
3114 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3115 wxIndividualLayoutConstraint
*src
;
3117 src
= (wxIndividualLayoutConstraint
*) ptr
;
3118 dest
= (wxObject
*) src
;
3119 return (void *) dest
;
3122 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3123 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3125 wxIndividualLayoutConstraint
* _arg0
;
3127 int _arg2
= (int ) 0;
3128 PyObject
* _argo0
= 0;
3129 PyObject
* _argo1
= 0;
3130 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) return NULL
;
3155 } Py_INCREF(Py_None
);
3156 _resultobj
= Py_None
;
3160 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3161 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3163 wxIndividualLayoutConstraint
* _arg0
;
3165 PyObject
* _argo0
= 0;
3166 char *_kwnames
[] = { "self","value", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) return NULL
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3190 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3192 wxIndividualLayoutConstraint
* _arg0
;
3193 PyObject
* _argo0
= 0;
3194 char *_kwnames
[] = { "self", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 wxIndividualLayoutConstraint_AsIs(_arg0
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3212 } Py_INCREF(Py_None
);
3213 _resultobj
= Py_None
;
3217 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3218 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3220 wxIndividualLayoutConstraint
* _arg0
;
3222 int _arg2
= (int ) 0;
3223 PyObject
* _argo0
= 0;
3224 PyObject
* _argo1
= 0;
3225 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) return NULL
;
3250 } Py_INCREF(Py_None
);
3251 _resultobj
= Py_None
;
3255 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3256 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
* _resultobj
;
3258 wxIndividualLayoutConstraint
* _arg0
;
3259 PyObject
* _argo0
= 0;
3260 char *_kwnames
[] = { "self", NULL
};
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) return NULL
;
3278 } Py_INCREF(Py_None
);
3279 _resultobj
= Py_None
;
3283 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3284 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxIndividualLayoutConstraint
* _arg0
;
3288 int _arg2
= (int ) 0;
3289 PyObject
* _argo0
= 0;
3290 PyObject
* _argo1
= 0;
3291 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 } Py_INCREF(Py_None
);
3317 _resultobj
= Py_None
;
3321 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3322 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
* _resultobj
;
3324 wxIndividualLayoutConstraint
* _arg0
;
3328 PyObject
* _argo0
= 0;
3329 PyObject
* _argo1
= 0;
3330 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3343 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3361 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxIndividualLayoutConstraint
* _arg0
;
3365 int _arg2
= (int ) 0;
3366 PyObject
* _argo0
= 0;
3367 PyObject
* _argo1
= 0;
3368 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3393 } Py_INCREF(Py_None
);
3394 _resultobj
= Py_None
;
3398 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3399 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
* _resultobj
;
3401 wxIndividualLayoutConstraint
* _arg0
;
3404 int _arg3
= (int ) 0;
3405 PyObject
* _argo0
= 0;
3406 PyObject
* _argo1
= 0;
3407 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3430 wxPyEndAllowThreads(__tstate
);
3431 if (PyErr_Occurred()) return NULL
;
3432 } Py_INCREF(Py_None
);
3433 _resultobj
= Py_None
;
3437 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3438 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxIndividualLayoutConstraint
* _arg0
;
3441 wxRelationship _arg1
;
3444 int _arg4
= (int ) 0;
3445 int _arg5
= (int ) 0;
3446 PyObject
* _argo0
= 0;
3447 PyObject
* _argo2
= 0;
3448 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3461 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) return NULL
;
3473 } Py_INCREF(Py_None
);
3474 _resultobj
= Py_None
;
3478 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3479 wxLayoutConstraints
*src
;
3481 src
= (wxLayoutConstraints
*) ptr
;
3482 dest
= (wxObject
*) src
;
3483 return (void *) dest
;
3486 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3487 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxLayoutConstraints
* _result
;
3490 char *_kwnames
[] = { NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) return NULL
;
3503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3504 _resultobj
= Py_BuildValue("s",_ptemp
);
3507 _resultobj
= Py_None
;
3512 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3513 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3515 wxIndividualLayoutConstraint
* _result
;
3516 wxLayoutConstraints
* _arg0
;
3517 PyObject
* _argo0
= 0;
3518 char *_kwnames
[] = { "self", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) return NULL
;
3538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3539 _resultobj
= Py_BuildValue("s",_ptemp
);
3542 _resultobj
= Py_None
;
3547 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3548 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3550 wxIndividualLayoutConstraint
* _result
;
3551 wxLayoutConstraints
* _arg0
;
3552 PyObject
* _argo0
= 0;
3553 char *_kwnames
[] = { "self", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) return NULL
;
3573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3574 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 _resultobj
= Py_None
;
3582 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3583 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxIndividualLayoutConstraint
* _result
;
3586 wxLayoutConstraints
* _arg0
;
3587 PyObject
* _argo0
= 0;
3588 char *_kwnames
[] = { "self", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) return NULL
;
3608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3609 _resultobj
= Py_BuildValue("s",_ptemp
);
3612 _resultobj
= Py_None
;
3617 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3618 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3620 wxIndividualLayoutConstraint
* _result
;
3621 wxLayoutConstraints
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3644 _resultobj
= Py_BuildValue("s",_ptemp
);
3647 _resultobj
= Py_None
;
3652 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3653 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3655 wxIndividualLayoutConstraint
* _result
;
3656 wxLayoutConstraints
* _arg0
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3678 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3679 _resultobj
= Py_BuildValue("s",_ptemp
);
3682 _resultobj
= Py_None
;
3687 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3688 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3690 wxIndividualLayoutConstraint
* _result
;
3691 wxLayoutConstraints
* _arg0
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) return NULL
;
3713 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3714 _resultobj
= Py_BuildValue("s",_ptemp
);
3717 _resultobj
= Py_None
;
3722 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3723 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3725 wxIndividualLayoutConstraint
* _result
;
3726 wxLayoutConstraints
* _arg0
;
3727 PyObject
* _argo0
= 0;
3728 char *_kwnames
[] = { "self", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3749 _resultobj
= Py_BuildValue("s",_ptemp
);
3752 _resultobj
= Py_None
;
3757 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3758 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxIndividualLayoutConstraint
* _result
;
3761 wxLayoutConstraints
* _arg0
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) return NULL
;
3783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3784 _resultobj
= Py_BuildValue("s",_ptemp
);
3787 _resultobj
= Py_None
;
3792 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3793 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3795 wxAcceleratorEntry
* _result
;
3796 int _arg0
= (int ) 0;
3797 int _arg1
= (int ) 0;
3798 int _arg2
= (int ) 0;
3799 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) return NULL
;
3812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3813 _resultobj
= Py_BuildValue("s",_ptemp
);
3816 _resultobj
= Py_None
;
3821 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3822 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3824 wxAcceleratorEntry
* _arg0
;
3825 PyObject
* _argo0
= 0;
3826 char *_kwnames
[] = { "self", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 delete_wxAcceleratorEntry(_arg0
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) return NULL
;
3844 } Py_INCREF(Py_None
);
3845 _resultobj
= Py_None
;
3849 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3850 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
* _resultobj
;
3852 wxAcceleratorEntry
* _arg0
;
3856 PyObject
* _argo0
= 0;
3857 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) return NULL
;
3875 } Py_INCREF(Py_None
);
3876 _resultobj
= Py_None
;
3880 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3881 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3884 wxAcceleratorEntry
* _arg0
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) return NULL
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3909 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3912 wxAcceleratorEntry
* _arg0
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) return NULL
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3937 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3940 wxAcceleratorEntry
* _arg0
;
3941 PyObject
* _argo0
= 0;
3942 char *_kwnames
[] = { "self", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3964 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3965 wxAcceleratorTable
*src
;
3967 src
= (wxAcceleratorTable
*) ptr
;
3968 dest
= (wxObject
*) src
;
3969 return (void *) dest
;
3972 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3973 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3975 wxAcceleratorTable
* _result
;
3977 wxAcceleratorEntry
* _arg1
;
3978 PyObject
* _obj1
= 0;
3979 char *_kwnames
[] = { "choices", NULL
};
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3987 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3988 if (_arg1
== NULL
) {
3994 _arg0
= PyList_Size(_obj1
);
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) return NULL
;
4007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4008 _resultobj
= Py_BuildValue("s",_ptemp
);
4011 _resultobj
= Py_None
;
4019 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4020 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxAcceleratorTable
* _arg0
;
4023 PyObject
* _argo0
= 0;
4024 char *_kwnames
[] = { "self", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 delete_wxAcceleratorTable(_arg0
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) return NULL
;
4042 } Py_INCREF(Py_None
);
4043 _resultobj
= Py_None
;
4047 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4050 src
= (wxBusyInfo
*) ptr
;
4051 dest
= (wxObject
*) src
;
4052 return (void *) dest
;
4055 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4056 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4058 wxBusyInfo
* _result
;
4060 PyObject
* _obj0
= 0;
4061 char *_kwnames
[] = { "message", NULL
};
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4068 _arg0
= wxString_in_helper(_obj0
);
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) return NULL
;
4079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4080 _resultobj
= Py_BuildValue("s",_ptemp
);
4083 _resultobj
= Py_None
;
4092 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4093 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4096 PyObject
* _argo0
= 0;
4097 char *_kwnames
[] = { "self", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 delete_wxBusyInfo(_arg0
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4115 } Py_INCREF(Py_None
);
4116 _resultobj
= Py_None
;
4120 static PyMethodDef misccMethods
[] = {
4121 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4263 * This table is used by the pointer type-checker
4265 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4266 { "_signed_long","_long",0},
4267 { "_wxPrintQuality","_wxCoord",0},
4268 { "_wxPrintQuality","_int",0},
4269 { "_wxPrintQuality","_signed_int",0},
4270 { "_wxPrintQuality","_unsigned_int",0},
4271 { "_wxPrintQuality","_wxWindowID",0},
4272 { "_wxPrintQuality","_uint",0},
4273 { "_wxPrintQuality","_EBool",0},
4274 { "_wxPrintQuality","_size_t",0},
4275 { "_wxPrintQuality","_time_t",0},
4276 { "_byte","_unsigned_char",0},
4277 { "_long","_unsigned_long",0},
4278 { "_long","_signed_long",0},
4279 { "_size_t","_wxCoord",0},
4280 { "_size_t","_wxPrintQuality",0},
4281 { "_size_t","_time_t",0},
4282 { "_size_t","_unsigned_int",0},
4283 { "_size_t","_int",0},
4284 { "_size_t","_wxWindowID",0},
4285 { "_size_t","_uint",0},
4286 { "_uint","_wxCoord",0},
4287 { "_uint","_wxPrintQuality",0},
4288 { "_uint","_time_t",0},
4289 { "_uint","_size_t",0},
4290 { "_uint","_unsigned_int",0},
4291 { "_uint","_int",0},
4292 { "_uint","_wxWindowID",0},
4293 { "_wxChar","_char",0},
4294 { "_char","_wxChar",0},
4295 { "_EBool","_wxCoord",0},
4296 { "_EBool","_wxPrintQuality",0},
4297 { "_EBool","_signed_int",0},
4298 { "_EBool","_int",0},
4299 { "_EBool","_wxWindowID",0},
4300 { "_unsigned_long","_long",0},
4301 { "_signed_int","_wxCoord",0},
4302 { "_signed_int","_wxPrintQuality",0},
4303 { "_signed_int","_EBool",0},
4304 { "_signed_int","_wxWindowID",0},
4305 { "_signed_int","_int",0},
4306 { "_WXTYPE","_short",0},
4307 { "_WXTYPE","_signed_short",0},
4308 { "_WXTYPE","_unsigned_short",0},
4309 { "_unsigned_short","_WXTYPE",0},
4310 { "_unsigned_short","_short",0},
4311 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4312 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4313 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4314 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4315 { "_signed_short","_WXTYPE",0},
4316 { "_signed_short","_short",0},
4317 { "_unsigned_char","_byte",0},
4318 { "_unsigned_int","_wxCoord",0},
4319 { "_unsigned_int","_wxPrintQuality",0},
4320 { "_unsigned_int","_time_t",0},
4321 { "_unsigned_int","_size_t",0},
4322 { "_unsigned_int","_uint",0},
4323 { "_unsigned_int","_wxWindowID",0},
4324 { "_unsigned_int","_int",0},
4325 { "_short","_WXTYPE",0},
4326 { "_short","_unsigned_short",0},
4327 { "_short","_signed_short",0},
4328 { "_wxWindowID","_wxCoord",0},
4329 { "_wxWindowID","_wxPrintQuality",0},
4330 { "_wxWindowID","_time_t",0},
4331 { "_wxWindowID","_size_t",0},
4332 { "_wxWindowID","_EBool",0},
4333 { "_wxWindowID","_uint",0},
4334 { "_wxWindowID","_int",0},
4335 { "_wxWindowID","_signed_int",0},
4336 { "_wxWindowID","_unsigned_int",0},
4337 { "_int","_wxCoord",0},
4338 { "_int","_wxPrintQuality",0},
4339 { "_int","_time_t",0},
4340 { "_int","_size_t",0},
4341 { "_int","_EBool",0},
4342 { "_int","_uint",0},
4343 { "_int","_wxWindowID",0},
4344 { "_int","_unsigned_int",0},
4345 { "_int","_signed_int",0},
4346 { "_time_t","_wxCoord",0},
4347 { "_time_t","_wxPrintQuality",0},
4348 { "_time_t","_unsigned_int",0},
4349 { "_time_t","_int",0},
4350 { "_time_t","_wxWindowID",0},
4351 { "_time_t","_uint",0},
4352 { "_time_t","_size_t",0},
4353 { "_wxCoord","_int",0},
4354 { "_wxCoord","_signed_int",0},
4355 { "_wxCoord","_unsigned_int",0},
4356 { "_wxCoord","_wxWindowID",0},
4357 { "_wxCoord","_uint",0},
4358 { "_wxCoord","_EBool",0},
4359 { "_wxCoord","_size_t",0},
4360 { "_wxCoord","_time_t",0},
4361 { "_wxCoord","_wxPrintQuality",0},
4364 static PyObject
*SWIG_globals
;
4368 SWIGEXPORT(void) initmiscc() {
4370 SWIG_globals
= SWIG_newvarlink();
4371 m
= Py_InitModule("miscc", misccMethods
);
4372 d
= PyModule_GetDict(m
);
4373 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4374 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4375 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4376 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4377 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4378 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4379 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4380 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4381 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4382 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4383 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4384 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4385 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4386 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4387 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4388 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4389 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4390 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4391 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4392 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4393 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4396 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4397 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);