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 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
99 if (dest
!= wxRect(0,0,0,0)) {
100 wxPyBeginBlockThreads();
101 wxRect
* newRect
= new wxRect(dest
);
102 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
103 PyObject
* one
= PyInt_FromLong(1);
104 PyObject_SetAttrString(obj
, "thisown", one
);
106 wxPyEndBlockThreads();
113 wxString
wxGetResource(const wxString
& section
, const wxString
& entry
,
114 const wxString
& file
= wxEmptyString
) {
116 wxGetResource(section
, entry
, &retval
, file
);
120 #if 0 // we want to use the definition from the header, not the
121 // one SWIG will generate.
122 extern wxAcceleratorTable wxNullAcceleratorTable
;
128 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
134 PyObject
* _obj0
= 0;
136 PyObject
* _obj1
= 0;
137 char *_kwnames
[] = { "r1","r2", NULL
};
140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
144 if (! wxRect_helper(_obj0
, &_arg0
))
149 if (! wxRect_helper(_obj1
, &_arg1
))
153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
154 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
156 wxPyEndAllowThreads(__tstate
);
157 if (PyErr_Occurred()) return NULL
;
159 _resultobj
= _result
;
164 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
167 char *_kwnames
[] = { NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
174 _result
= (long )wxNewId();
176 wxPyEndAllowThreads(__tstate
);
177 if (PyErr_Occurred()) return NULL
;
178 } _resultobj
= Py_BuildValue("l",_result
);
182 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
185 char *_kwnames
[] = { "id", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
194 wxPyEndAllowThreads(__tstate
);
195 if (PyErr_Occurred()) return NULL
;
196 } Py_INCREF(Py_None
);
197 _resultobj
= Py_None
;
201 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
204 char *_kwnames
[] = { NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 _result
= (long )wxNewId();
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } _resultobj
= Py_BuildValue("l",_result
);
219 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
222 char *_kwnames
[] = { "id", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
231 wxPyEndAllowThreads(__tstate
);
232 if (PyErr_Occurred()) return NULL
;
233 } Py_INCREF(Py_None
);
234 _resultobj
= Py_None
;
238 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
241 char *_kwnames
[] = { NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
248 _result
= (long )wxGetCurrentId();
250 wxPyEndAllowThreads(__tstate
);
251 if (PyErr_Occurred()) return NULL
;
252 } _resultobj
= Py_BuildValue("l",_result
);
256 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 char *_kwnames
[] = { NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 wxPyEndAllowThreads(__tstate
);
268 if (PyErr_Occurred()) return NULL
;
269 } Py_INCREF(Py_None
);
270 _resultobj
= Py_None
;
274 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
276 char *_kwnames
[] = { NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
285 wxPyEndAllowThreads(__tstate
);
286 if (PyErr_Occurred()) return NULL
;
287 } Py_INCREF(Py_None
);
288 _resultobj
= Py_None
;
292 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
295 bool _arg0
= (bool ) TRUE
;
296 int tempbool0
= (int) TRUE
;
297 char *_kwnames
[] = { "resetTimer", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
302 _arg0
= (bool ) tempbool0
;
304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
305 _result
= (long )wxGetElapsedTime(_arg0
);
307 wxPyEndAllowThreads(__tstate
);
308 if (PyErr_Occurred()) return NULL
;
309 } _resultobj
= Py_BuildValue("l",_result
);
313 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
319 char *_kwnames
[] = { NULL
};
328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
332 wxGetMousePosition(_arg0
,_arg1
);
334 wxPyEndAllowThreads(__tstate
);
335 if (PyErr_Occurred()) return NULL
;
336 } Py_INCREF(Py_None
);
337 _resultobj
= Py_None
;
340 o
= PyInt_FromLong((long) (*_arg0
));
341 _resultobj
= t_output_helper(_resultobj
, o
);
345 o
= PyInt_FromLong((long) (*_arg1
));
346 _resultobj
= t_output_helper(_resultobj
, o
);
351 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
352 PyObject
* _resultobj
;
354 char *_kwnames
[] = { NULL
};
357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
361 _result
= (bool )wxIsBusy();
363 wxPyEndAllowThreads(__tstate
);
364 if (PyErr_Occurred()) return NULL
;
365 } _resultobj
= Py_BuildValue("i",_result
);
369 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
372 char *_kwnames
[] = { NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
379 _result
= new wxString (wxNow());
381 wxPyEndAllowThreads(__tstate
);
382 if (PyErr_Occurred()) return NULL
;
385 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
387 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
396 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
400 PyObject
* _obj0
= 0;
401 char *_kwnames
[] = { "command", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
408 _arg0
= wxString_in_helper(_obj0
);
413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 _result
= (bool )wxShell(*_arg0
);
416 wxPyEndAllowThreads(__tstate
);
417 if (PyErr_Occurred()) return NULL
;
418 } _resultobj
= Py_BuildValue("i",_result
);
426 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
428 char *_kwnames
[] = { NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
437 wxPyEndAllowThreads(__tstate
);
438 if (PyErr_Occurred()) return NULL
;
439 } Py_INCREF(Py_None
);
440 _resultobj
= Py_None
;
444 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
451 char *_kwnames
[] = { NULL
};
460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
464 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
466 wxPyEndAllowThreads(__tstate
);
467 if (PyErr_Occurred()) return NULL
;
468 } _resultobj
= Py_BuildValue("i",_result
);
471 o
= PyInt_FromLong((long) (*_arg0
));
472 _resultobj
= t_output_helper(_resultobj
, o
);
476 o
= PyInt_FromLong((long) (*_arg1
));
477 _resultobj
= t_output_helper(_resultobj
, o
);
482 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
485 char *_kwnames
[] = { NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
492 _result
= new wxString (wxGetOsDescription());
494 wxPyEndAllowThreads(__tstate
);
495 if (PyErr_Occurred()) return NULL
;
498 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
500 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
509 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
510 PyObject
* _resultobj
;
512 char *_kwnames
[] = { "secs", NULL
};
515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
521 wxPyEndAllowThreads(__tstate
);
522 if (PyErr_Occurred()) return NULL
;
523 } Py_INCREF(Py_None
);
524 _resultobj
= Py_None
;
528 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
531 char *_kwnames
[] = { "milliseconds", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 wxPyEndAllowThreads(__tstate
);
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
550 char *_kwnames
[] = { NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
557 _result
= (bool )wxYield();
559 wxPyEndAllowThreads(__tstate
);
560 if (PyErr_Occurred()) return NULL
;
561 } _resultobj
= Py_BuildValue("i",_result
);
565 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
568 char *_kwnames
[] = { NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
575 _result
= (bool )wxYieldIfNeeded();
577 wxPyEndAllowThreads(__tstate
);
578 if (PyErr_Occurred()) return NULL
;
579 } _resultobj
= Py_BuildValue("i",_result
);
583 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
587 char *_kwnames
[] = { "enable", NULL
};
590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
592 _arg0
= (bool ) tempbool0
;
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 wxEnableTopLevelWindows(_arg0
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
609 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
610 PyObject
* _obj0
= 0;
611 PyObject
* _obj1
= 0;
612 PyObject
* _obj2
= 0;
613 char *_kwnames
[] = { "section","entry","file", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
619 _arg0
= wxString_in_helper(_obj0
);
624 _arg1
= wxString_in_helper(_obj1
);
630 _arg2
= wxString_in_helper(_obj2
);
635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
636 _result
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
));
638 wxPyEndAllowThreads(__tstate
);
639 if (PyErr_Occurred()) return NULL
;
642 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
644 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
665 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
669 PyObject
* _obj0
= 0;
670 char *_kwnames
[] = { "in", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
676 _arg0
= wxString_in_helper(_obj0
);
681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
682 _result
= new wxString (wxStripMenuCodes(*_arg0
));
684 wxPyEndAllowThreads(__tstate
);
685 if (PyErr_Occurred()) return NULL
;
688 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
703 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
706 char *_kwnames
[] = { NULL
};
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
713 _result
= new wxString (wxGetEmailAddress());
715 wxPyEndAllowThreads(__tstate
);
716 if (PyErr_Occurred()) return NULL
;
719 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
721 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
730 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
733 char *_kwnames
[] = { NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 _result
= new wxString (wxGetHostName());
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) return NULL
;
746 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
748 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
757 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 char *_kwnames
[] = { NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= new wxString (wxGetFullHostName());
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
773 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
775 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
784 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 char *_kwnames
[] = { NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 _result
= new wxString (wxGetUserId());
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
800 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
802 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
811 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 char *_kwnames
[] = { NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
821 _result
= new wxString (wxGetUserName());
823 wxPyEndAllowThreads(__tstate
);
824 if (PyErr_Occurred()) return NULL
;
827 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
829 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
838 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
841 char *_kwnames
[] = { NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
848 _result
= new wxString (wxGetHomeDir());
850 wxPyEndAllowThreads(__tstate
);
851 if (PyErr_Occurred()) return NULL
;
854 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
856 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
865 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
868 char * _arg0
= (char *) "";
869 char *_kwnames
[] = { "user", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:wxGetUserHome",_kwnames
,&_arg0
))
875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
876 _result
= new wxString (wxGetUserHome(_arg0
));
878 wxPyEndAllowThreads(__tstate
);
879 if (PyErr_Occurred()) return NULL
;
882 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
884 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
893 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
895 wxAcceleratorEntry
* _result
;
897 PyObject
* _obj0
= 0;
898 char *_kwnames
[] = { "label", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
905 _arg0
= wxString_in_helper(_obj0
);
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
917 _resultobj
= Py_BuildValue("s",_ptemp
);
920 _resultobj
= Py_None
;
929 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
931 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
935 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
939 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
940 pyobj
= PyString_FromString(ptemp
);
944 static wxString
wxObject_GetClassName(wxObject
*self
) {
945 return self
->GetClassInfo()->GetClassName();
947 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
966 _result
= new wxString (wxObject_GetClassName(_arg0
));
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) return NULL
;
972 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
974 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
983 static void wxObject_Destroy(wxObject
*self
) {
986 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 PyObject
* _argo0
= 0;
990 char *_kwnames
[] = { "self", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
1003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1004 wxObject_Destroy(_arg0
);
1006 wxPyEndAllowThreads(__tstate
);
1007 if (PyErr_Occurred()) return NULL
;
1008 } Py_INCREF(Py_None
);
1009 _resultobj
= Py_None
;
1013 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1014 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1020 PyObject
* _obj0
= 0;
1021 char *_kwnames
[] = { "self","x", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1028 if (! wxSize_helper(_obj0
, &_arg0
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("l",_result
);
1041 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1042 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1047 PyObject
* _obj0
= 0;
1048 char *_kwnames
[] = { "self", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1055 if (! wxSize_helper(_obj0
, &_arg0
))
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 _result
= (long )wxSize_x_get(_arg0
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) return NULL
;
1064 } _resultobj
= Py_BuildValue("l",_result
);
1068 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1069 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1075 PyObject
* _obj0
= 0;
1076 char *_kwnames
[] = { "self","y", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1083 if (! wxSize_helper(_obj0
, &_arg0
))
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) return NULL
;
1092 } _resultobj
= Py_BuildValue("l",_result
);
1096 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1097 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1102 PyObject
* _obj0
= 0;
1103 char *_kwnames
[] = { "self", NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1110 if (! wxSize_helper(_obj0
, &_arg0
))
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (long )wxSize_y_get(_arg0
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("l",_result
);
1123 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1124 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1127 long _arg0
= (long ) 0;
1128 long _arg1
= (long ) 0;
1129 char *_kwnames
[] = { "w","h", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1137 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1139 wxPyEndAllowThreads(__tstate
);
1140 if (PyErr_Occurred()) return NULL
;
1142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1143 _resultobj
= Py_BuildValue("s",_ptemp
);
1146 _resultobj
= Py_None
;
1151 #define delete_wxSize(_swigobj) (delete _swigobj)
1152 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1156 PyObject
* _obj0
= 0;
1157 char *_kwnames
[] = { "self", NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1164 if (! wxSize_helper(_obj0
, &_arg0
))
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 delete_wxSize(_arg0
);
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) return NULL
;
1173 } Py_INCREF(Py_None
);
1174 _resultobj
= Py_None
;
1178 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1179 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1185 PyObject
* _obj0
= 0;
1186 char *_kwnames
[] = { "self","w","h", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1193 if (! wxSize_helper(_obj0
, &_arg0
))
1197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1198 wxSize_Set(_arg0
,_arg1
,_arg2
);
1200 wxPyEndAllowThreads(__tstate
);
1201 if (PyErr_Occurred()) return NULL
;
1202 } Py_INCREF(Py_None
);
1203 _resultobj
= Py_None
;
1207 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1208 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1213 PyObject
* _obj0
= 0;
1214 char *_kwnames
[] = { "self", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1221 if (! wxSize_helper(_obj0
, &_arg0
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= (long )wxSize_GetX(_arg0
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } _resultobj
= Py_BuildValue("l",_result
);
1234 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1235 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1240 PyObject
* _obj0
= 0;
1241 char *_kwnames
[] = { "self", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1248 if (! wxSize_helper(_obj0
, &_arg0
))
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 _result
= (long )wxSize_GetY(_arg0
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) return NULL
;
1257 } _resultobj
= Py_BuildValue("l",_result
);
1261 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1262 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1267 PyObject
* _obj0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1275 if (! wxSize_helper(_obj0
, &_arg0
))
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 _result
= (long )wxSize_GetWidth(_arg0
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) return NULL
;
1284 } _resultobj
= Py_BuildValue("l",_result
);
1288 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1289 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1294 PyObject
* _obj0
= 0;
1295 char *_kwnames
[] = { "self", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1302 if (! wxSize_helper(_obj0
, &_arg0
))
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= (long )wxSize_GetHeight(_arg0
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } _resultobj
= Py_BuildValue("l",_result
);
1315 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1316 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1321 PyObject
* _obj0
= 0;
1322 char *_kwnames
[] = { "self","w", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1329 if (! wxSize_helper(_obj0
, &_arg0
))
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 wxSize_SetWidth(_arg0
,_arg1
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1338 } Py_INCREF(Py_None
);
1339 _resultobj
= Py_None
;
1343 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1344 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1349 PyObject
* _obj0
= 0;
1350 char *_kwnames
[] = { "self","h", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1357 if (! wxSize_helper(_obj0
, &_arg0
))
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 wxSize_SetHeight(_arg0
,_arg1
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) return NULL
;
1366 } Py_INCREF(Py_None
);
1367 _resultobj
= Py_None
;
1371 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1372 PyObject
* tup
= PyTuple_New(2);
1373 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1374 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1377 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1382 PyObject
* _obj0
= 0;
1383 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1390 if (! wxSize_helper(_obj0
, &_arg0
))
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1400 _resultobj
= _result
;
1405 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1407 if (*self
== *sz
) return 0;
1410 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1416 PyObject
* _obj0
= 0;
1418 PyObject
* _obj1
= 0;
1419 char *_kwnames
[] = { "self","sz", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1426 if (! wxSize_helper(_obj0
, &_arg0
))
1431 if (! wxSize_helper(_obj1
, &_arg1
))
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1445 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 wxRealPoint
* _arg0
;
1451 PyObject
* _obj0
= 0;
1452 char *_kwnames
[] = { "self","x", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1459 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) return NULL
;
1468 } _resultobj
= Py_BuildValue("d",_result
);
1472 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1473 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1476 wxRealPoint
* _arg0
;
1478 PyObject
* _obj0
= 0;
1479 char *_kwnames
[] = { "self", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1486 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 _result
= (double )wxRealPoint_x_get(_arg0
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) return NULL
;
1495 } _resultobj
= Py_BuildValue("d",_result
);
1499 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1500 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1503 wxRealPoint
* _arg0
;
1506 PyObject
* _obj0
= 0;
1507 char *_kwnames
[] = { "self","y", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1514 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1523 } _resultobj
= Py_BuildValue("d",_result
);
1527 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1528 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1531 wxRealPoint
* _arg0
;
1533 PyObject
* _obj0
= 0;
1534 char *_kwnames
[] = { "self", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1541 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 _result
= (double )wxRealPoint_y_get(_arg0
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) return NULL
;
1550 } _resultobj
= Py_BuildValue("d",_result
);
1554 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1555 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1557 wxRealPoint
* _result
;
1558 double _arg0
= (double ) 0.0;
1559 double _arg1
= (double ) 0.0;
1560 char *_kwnames
[] = { "x","y", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1574 _resultobj
= Py_BuildValue("s",_ptemp
);
1577 _resultobj
= Py_None
;
1582 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1583 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1585 wxRealPoint
* _arg0
;
1587 PyObject
* _obj0
= 0;
1588 char *_kwnames
[] = { "self", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1595 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 delete_wxRealPoint(_arg0
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1604 } Py_INCREF(Py_None
);
1605 _resultobj
= Py_None
;
1609 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1613 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1615 wxRealPoint
* _arg0
;
1619 PyObject
* _obj0
= 0;
1620 char *_kwnames
[] = { "self","x","y", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1627 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) return NULL
;
1636 } Py_INCREF(Py_None
);
1637 _resultobj
= Py_None
;
1641 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1642 PyObject
* tup
= PyTuple_New(2);
1643 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1644 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1647 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1650 wxRealPoint
* _arg0
;
1652 PyObject
* _obj0
= 0;
1653 char *_kwnames
[] = { "self", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1660 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1665 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1667 wxPyEndAllowThreads(__tstate
);
1668 if (PyErr_Occurred()) return NULL
;
1670 _resultobj
= _result
;
1675 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1676 if (! p
) return *self
;
1679 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1681 wxRealPoint
* _result
;
1682 wxRealPoint
* _arg0
;
1683 wxRealPoint
* _arg1
;
1685 PyObject
* _obj0
= 0;
1687 PyObject
* _obj1
= 0;
1688 char *_kwnames
[] = { "self","p", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1696 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1701 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) return NULL
;
1710 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1711 _resultobj
= Py_BuildValue("s",_ptemp
);
1715 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1716 if (! p
) return *self
;
1719 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1720 PyObject
* _resultobj
;
1721 wxRealPoint
* _result
;
1722 wxRealPoint
* _arg0
;
1723 wxRealPoint
* _arg1
;
1725 PyObject
* _obj0
= 0;
1727 PyObject
* _obj1
= 0;
1728 char *_kwnames
[] = { "self","p", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1736 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1741 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1751 _resultobj
= Py_BuildValue("s",_ptemp
);
1755 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1757 if (*self
== *p
) return 0;
1760 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 wxRealPoint
* _arg0
;
1764 wxRealPoint
* _arg1
;
1766 PyObject
* _obj0
= 0;
1768 PyObject
* _obj1
= 0;
1769 char *_kwnames
[] = { "self","p", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1776 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1781 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) return NULL
;
1790 } _resultobj
= Py_BuildValue("i",_result
);
1794 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1795 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1801 PyObject
* _obj0
= 0;
1802 char *_kwnames
[] = { "self","x", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1809 if (! wxPoint_helper(_obj0
, &_arg0
))
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) return NULL
;
1818 } _resultobj
= Py_BuildValue("l",_result
);
1822 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1823 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1828 PyObject
* _obj0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1836 if (! wxPoint_helper(_obj0
, &_arg0
))
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 _result
= (long )wxPoint_x_get(_arg0
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) return NULL
;
1845 } _resultobj
= Py_BuildValue("l",_result
);
1849 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1850 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1856 PyObject
* _obj0
= 0;
1857 char *_kwnames
[] = { "self","y", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1864 if (! wxPoint_helper(_obj0
, &_arg0
))
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } _resultobj
= Py_BuildValue("l",_result
);
1877 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1878 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1883 PyObject
* _obj0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1891 if (! wxPoint_helper(_obj0
, &_arg0
))
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (long )wxPoint_y_get(_arg0
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } _resultobj
= Py_BuildValue("l",_result
);
1904 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1905 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 long _arg0
= (long ) 0;
1909 long _arg1
= (long ) 0;
1910 char *_kwnames
[] = { "x","y", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) return NULL
;
1923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1924 _resultobj
= Py_BuildValue("s",_ptemp
);
1927 _resultobj
= Py_None
;
1932 #define delete_wxPoint(_swigobj) (delete _swigobj)
1933 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1937 PyObject
* _obj0
= 0;
1938 char *_kwnames
[] = { "self", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1945 if (! wxPoint_helper(_obj0
, &_arg0
))
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 delete_wxPoint(_arg0
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1963 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1969 PyObject
* _obj0
= 0;
1970 char *_kwnames
[] = { "self","x","y", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1977 if (! wxPoint_helper(_obj0
, &_arg0
))
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) return NULL
;
1986 } Py_INCREF(Py_None
);
1987 _resultobj
= Py_None
;
1991 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1992 PyObject
* tup
= PyTuple_New(2);
1993 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1994 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1997 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2002 PyObject
* _obj0
= 0;
2003 char *_kwnames
[] = { "self", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2010 if (! wxPoint_helper(_obj0
, &_arg0
))
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) return NULL
;
2020 _resultobj
= _result
;
2025 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2026 if (! p
) return *self
;
2029 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2035 PyObject
* _obj0
= 0;
2037 PyObject
* _obj1
= 0;
2038 char *_kwnames
[] = { "self","p", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2046 if (! wxPoint_helper(_obj0
, &_arg0
))
2051 if (! wxPoint_helper(_obj1
, &_arg1
))
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) return NULL
;
2060 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2061 _resultobj
= Py_BuildValue("s",_ptemp
);
2065 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2066 if (! p
) return *self
;
2069 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2075 PyObject
* _obj0
= 0;
2077 PyObject
* _obj1
= 0;
2078 char *_kwnames
[] = { "self","p", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2086 if (! wxPoint_helper(_obj0
, &_arg0
))
2091 if (! wxPoint_helper(_obj1
, &_arg1
))
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) return NULL
;
2100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2101 _resultobj
= Py_BuildValue("s",_ptemp
);
2105 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2107 if (*self
== *p
) return 0;
2110 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2116 PyObject
* _obj0
= 0;
2118 PyObject
* _obj1
= 0;
2119 char *_kwnames
[] = { "self","p", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2126 if (! wxPoint_helper(_obj0
, &_arg0
))
2131 if (! wxPoint_helper(_obj1
, &_arg1
))
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) return NULL
;
2140 } _resultobj
= Py_BuildValue("i",_result
);
2144 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2145 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
* _resultobj
;
2148 int _arg0
= (int ) 0;
2149 int _arg1
= (int ) 0;
2150 int _arg2
= (int ) 0;
2151 int _arg3
= (int ) 0;
2152 char *_kwnames
[] = { "x","y","w","h", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2166 _resultobj
= Py_BuildValue("s",_ptemp
);
2169 _resultobj
= Py_None
;
2174 #define delete_wxRect(_swigobj) (delete _swigobj)
2175 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2179 PyObject
* _obj0
= 0;
2180 char *_kwnames
[] = { "self", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2187 if (! wxRect_helper(_obj0
, &_arg0
))
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 delete_wxRect(_arg0
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) return NULL
;
2196 } Py_INCREF(Py_None
);
2197 _resultobj
= Py_None
;
2201 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2202 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2207 PyObject
* _obj0
= 0;
2208 char *_kwnames
[] = { "self", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2215 if (! wxRect_helper(_obj0
, &_arg0
))
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 _result
= (int )wxRect_GetX(_arg0
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } _resultobj
= Py_BuildValue("i",_result
);
2228 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2229 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2234 PyObject
* _obj0
= 0;
2235 char *_kwnames
[] = { "self","X", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2242 if (! wxRect_helper(_obj0
, &_arg0
))
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 wxRect_SetX(_arg0
,_arg1
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) return NULL
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2256 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2257 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2262 PyObject
* _obj0
= 0;
2263 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2270 if (! wxRect_helper(_obj0
, &_arg0
))
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (int )wxRect_GetY(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } _resultobj
= Py_BuildValue("i",_result
);
2283 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2284 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2289 PyObject
* _obj0
= 0;
2290 char *_kwnames
[] = { "self","Y", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2297 if (! wxRect_helper(_obj0
, &_arg0
))
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 wxRect_SetY(_arg0
,_arg1
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) return NULL
;
2306 } Py_INCREF(Py_None
);
2307 _resultobj
= Py_None
;
2311 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2312 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2317 PyObject
* _obj0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2325 if (! wxRect_helper(_obj0
, &_arg0
))
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 _result
= (int )wxRect_GetWidth(_arg0
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } _resultobj
= Py_BuildValue("i",_result
);
2338 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2339 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2344 PyObject
* _obj0
= 0;
2345 char *_kwnames
[] = { "self","w", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2352 if (! wxRect_helper(_obj0
, &_arg0
))
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 wxRect_SetWidth(_arg0
,_arg1
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2361 } Py_INCREF(Py_None
);
2362 _resultobj
= Py_None
;
2366 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2367 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2372 PyObject
* _obj0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2380 if (! wxRect_helper(_obj0
, &_arg0
))
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 _result
= (int )wxRect_GetHeight(_arg0
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } _resultobj
= Py_BuildValue("i",_result
);
2393 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2394 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
* _resultobj
;
2399 PyObject
* _obj0
= 0;
2400 char *_kwnames
[] = { "self","h", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2407 if (! wxRect_helper(_obj0
, &_arg0
))
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 wxRect_SetHeight(_arg0
,_arg1
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) return NULL
;
2416 } Py_INCREF(Py_None
);
2417 _resultobj
= Py_None
;
2421 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2422 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2427 PyObject
* _obj0
= 0;
2428 char *_kwnames
[] = { "self", NULL
};
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2436 if (! wxRect_helper(_obj0
, &_arg0
))
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2446 _resultobj
= Py_BuildValue("s",_ptemp
);
2450 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2451 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2456 PyObject
* _obj0
= 0;
2457 char *_kwnames
[] = { "self", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2465 if (! wxRect_helper(_obj0
, &_arg0
))
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 _result
= new wxSize (wxRect_GetSize(_arg0
));
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2475 _resultobj
= Py_BuildValue("s",_ptemp
);
2479 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2480 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2485 PyObject
* _obj0
= 0;
2486 char *_kwnames
[] = { "self", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2493 if (! wxRect_helper(_obj0
, &_arg0
))
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 _result
= (int )wxRect_GetLeft(_arg0
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } _resultobj
= Py_BuildValue("i",_result
);
2506 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2507 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2512 PyObject
* _obj0
= 0;
2513 char *_kwnames
[] = { "self", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2520 if (! wxRect_helper(_obj0
, &_arg0
))
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 _result
= (int )wxRect_GetTop(_arg0
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2529 } _resultobj
= Py_BuildValue("i",_result
);
2533 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2534 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2539 PyObject
* _obj0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2547 if (! wxRect_helper(_obj0
, &_arg0
))
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (int )wxRect_GetBottom(_arg0
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } _resultobj
= Py_BuildValue("i",_result
);
2560 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2561 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2566 PyObject
* _obj0
= 0;
2567 char *_kwnames
[] = { "self", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2574 if (! wxRect_helper(_obj0
, &_arg0
))
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 _result
= (int )wxRect_GetRight(_arg0
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) return NULL
;
2583 } _resultobj
= Py_BuildValue("i",_result
);
2587 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2588 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2593 PyObject
* _obj0
= 0;
2594 char *_kwnames
[] = { "self","left", NULL
};
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2601 if (! wxRect_helper(_obj0
, &_arg0
))
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 wxRect_SetLeft(_arg0
,_arg1
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) return NULL
;
2610 } Py_INCREF(Py_None
);
2611 _resultobj
= Py_None
;
2615 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2616 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
* _resultobj
;
2621 PyObject
* _obj0
= 0;
2622 char *_kwnames
[] = { "self","right", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2629 if (! wxRect_helper(_obj0
, &_arg0
))
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 wxRect_SetRight(_arg0
,_arg1
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) return NULL
;
2638 } Py_INCREF(Py_None
);
2639 _resultobj
= Py_None
;
2643 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2644 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2649 PyObject
* _obj0
= 0;
2650 char *_kwnames
[] = { "self","top", NULL
};
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2657 if (! wxRect_helper(_obj0
, &_arg0
))
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 wxRect_SetTop(_arg0
,_arg1
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) return NULL
;
2666 } Py_INCREF(Py_None
);
2667 _resultobj
= Py_None
;
2671 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2672 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
* _resultobj
;
2677 PyObject
* _obj0
= 0;
2678 char *_kwnames
[] = { "self","bottom", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2685 if (! wxRect_helper(_obj0
, &_arg0
))
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 wxRect_SetBottom(_arg0
,_arg1
);
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) return NULL
;
2694 } Py_INCREF(Py_None
);
2695 _resultobj
= Py_None
;
2699 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2700 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2706 PyObject
* _obj0
= 0;
2707 char *_kwnames
[] = { "self","dx","dy", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2714 if (! wxRect_helper(_obj0
, &_arg0
))
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) return NULL
;
2723 } Py_INCREF(Py_None
);
2724 _resultobj
= Py_None
;
2728 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2729 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2736 PyObject
* _obj0
= 0;
2737 char *_kwnames
[] = { "self","cx","cy", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2744 if (! wxRect_helper(_obj0
, &_arg0
))
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2753 } _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2758 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2764 PyObject
* _obj0
= 0;
2765 char *_kwnames
[] = { "self","x", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2772 if (! wxRect_helper(_obj0
, &_arg0
))
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2781 } _resultobj
= Py_BuildValue("i",_result
);
2785 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2786 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2791 PyObject
* _obj0
= 0;
2792 char *_kwnames
[] = { "self", NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2799 if (! wxRect_helper(_obj0
, &_arg0
))
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 _result
= (int )wxRect_x_get(_arg0
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) return NULL
;
2808 } _resultobj
= Py_BuildValue("i",_result
);
2812 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2813 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2819 PyObject
* _obj0
= 0;
2820 char *_kwnames
[] = { "self","y", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2827 if (! wxRect_helper(_obj0
, &_arg0
))
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) return NULL
;
2836 } _resultobj
= Py_BuildValue("i",_result
);
2840 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2841 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2846 PyObject
* _obj0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2854 if (! wxRect_helper(_obj0
, &_arg0
))
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 _result
= (int )wxRect_y_get(_arg0
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) return NULL
;
2863 } _resultobj
= Py_BuildValue("i",_result
);
2867 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2868 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2874 PyObject
* _obj0
= 0;
2875 char *_kwnames
[] = { "self","width", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2882 if (! wxRect_helper(_obj0
, &_arg0
))
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) return NULL
;
2891 } _resultobj
= Py_BuildValue("i",_result
);
2895 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2896 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2901 PyObject
* _obj0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2909 if (! wxRect_helper(_obj0
, &_arg0
))
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 _result
= (int )wxRect_width_get(_arg0
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) return NULL
;
2918 } _resultobj
= Py_BuildValue("i",_result
);
2922 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2923 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
* _resultobj
;
2929 PyObject
* _obj0
= 0;
2930 char *_kwnames
[] = { "self","height", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2937 if (! wxRect_helper(_obj0
, &_arg0
))
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } _resultobj
= Py_BuildValue("i",_result
);
2950 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2951 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2956 PyObject
* _obj0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2964 if (! wxRect_helper(_obj0
, &_arg0
))
2968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2969 _result
= (int )wxRect_height_get(_arg0
);
2971 wxPyEndAllowThreads(__tstate
);
2972 if (PyErr_Occurred()) return NULL
;
2973 } _resultobj
= Py_BuildValue("i",_result
);
2977 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2978 PyObject
* tup
= PyTuple_New(4);
2979 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2980 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2981 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2982 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2985 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2990 PyObject
* _obj0
= 0;
2991 char *_kwnames
[] = { "self", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2998 if (! wxRect_helper(_obj0
, &_arg0
))
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) return NULL
;
3008 _resultobj
= _result
;
3013 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3014 if (! rect
) return *self
;
3015 return *self
+ *rect
;
3017 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3023 PyObject
* _obj0
= 0;
3025 PyObject
* _obj1
= 0;
3026 char *_kwnames
[] = { "self","rect", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3034 if (! wxRect_helper(_obj0
, &_arg0
))
3039 if (! wxRect_helper(_obj1
, &_arg1
))
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3048 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3049 _resultobj
= Py_BuildValue("s",_ptemp
);
3053 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3054 if (! rect
) return 1;
3055 if (*self
== *rect
) return 0;
3058 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3064 PyObject
* _obj0
= 0;
3066 PyObject
* _obj1
= 0;
3067 char *_kwnames
[] = { "self","rect", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3074 if (! wxRect_helper(_obj0
, &_arg0
))
3079 if (! wxRect_helper(_obj1
, &_arg1
))
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } _resultobj
= Py_BuildValue("i",_result
);
3092 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3093 wxIndividualLayoutConstraint
*src
;
3095 src
= (wxIndividualLayoutConstraint
*) ptr
;
3096 dest
= (wxObject
*) src
;
3097 return (void *) dest
;
3100 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3101 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3103 wxIndividualLayoutConstraint
* _arg0
;
3105 int _arg2
= (int ) 0;
3106 PyObject
* _argo0
= 0;
3107 PyObject
* _argo1
= 0;
3108 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3121 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) return NULL
;
3133 } Py_INCREF(Py_None
);
3134 _resultobj
= Py_None
;
3138 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3139 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3141 wxIndividualLayoutConstraint
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self","value", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) return NULL
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3168 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxIndividualLayoutConstraint
* _arg0
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3186 wxIndividualLayoutConstraint_AsIs(_arg0
);
3188 wxPyEndAllowThreads(__tstate
);
3189 if (PyErr_Occurred()) return NULL
;
3190 } Py_INCREF(Py_None
);
3191 _resultobj
= Py_None
;
3195 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3196 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxIndividualLayoutConstraint
* _arg0
;
3200 int _arg2
= (int ) 0;
3201 PyObject
* _argo0
= 0;
3202 PyObject
* _argo1
= 0;
3203 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 } Py_INCREF(Py_None
);
3229 _resultobj
= Py_None
;
3233 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3234 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3236 wxIndividualLayoutConstraint
* _arg0
;
3237 PyObject
* _argo0
= 0;
3238 char *_kwnames
[] = { "self", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3252 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3254 wxPyEndAllowThreads(__tstate
);
3255 if (PyErr_Occurred()) return NULL
;
3256 } Py_INCREF(Py_None
);
3257 _resultobj
= Py_None
;
3261 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3262 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3264 wxIndividualLayoutConstraint
* _arg0
;
3266 int _arg2
= (int ) 0;
3267 PyObject
* _argo0
= 0;
3268 PyObject
* _argo1
= 0;
3269 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) return NULL
;
3294 } Py_INCREF(Py_None
);
3295 _resultobj
= Py_None
;
3299 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3300 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3302 wxIndividualLayoutConstraint
* _arg0
;
3306 PyObject
* _argo0
= 0;
3307 PyObject
* _argo1
= 0;
3308 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) return NULL
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3338 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3339 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3341 wxIndividualLayoutConstraint
* _arg0
;
3343 int _arg2
= (int ) 0;
3344 PyObject
* _argo0
= 0;
3345 PyObject
* _argo1
= 0;
3346 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) return NULL
;
3371 } Py_INCREF(Py_None
);
3372 _resultobj
= Py_None
;
3376 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3377 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
* _resultobj
;
3379 wxIndividualLayoutConstraint
* _arg0
;
3382 int _arg3
= (int ) 0;
3383 PyObject
* _argo0
= 0;
3384 PyObject
* _argo1
= 0;
3385 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) return NULL
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3416 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxIndividualLayoutConstraint
* _arg0
;
3419 wxRelationship _arg1
;
3422 int _arg4
= (int ) 0;
3423 int _arg5
= (int ) 0;
3424 PyObject
* _argo0
= 0;
3425 PyObject
* _argo2
= 0;
3426 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3439 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) return NULL
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3457 wxLayoutConstraints
*src
;
3459 src
= (wxLayoutConstraints
*) ptr
;
3460 dest
= (wxObject
*) src
;
3461 return (void *) dest
;
3464 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3465 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxLayoutConstraints
* _result
;
3468 char *_kwnames
[] = { NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3491 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
* _resultobj
;
3493 wxIndividualLayoutConstraint
* _result
;
3494 wxLayoutConstraints
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) return NULL
;
3516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3517 _resultobj
= Py_BuildValue("s",_ptemp
);
3520 _resultobj
= Py_None
;
3525 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3526 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
* _resultobj
;
3528 wxIndividualLayoutConstraint
* _result
;
3529 wxLayoutConstraints
* _arg0
;
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) return NULL
;
3551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3552 _resultobj
= Py_BuildValue("s",_ptemp
);
3555 _resultobj
= Py_None
;
3560 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3561 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
* _resultobj
;
3563 wxIndividualLayoutConstraint
* _result
;
3564 wxLayoutConstraints
* _arg0
;
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) return NULL
;
3586 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3587 _resultobj
= Py_BuildValue("s",_ptemp
);
3590 _resultobj
= Py_None
;
3595 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3596 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3598 wxIndividualLayoutConstraint
* _result
;
3599 wxLayoutConstraints
* _arg0
;
3600 PyObject
* _argo0
= 0;
3601 char *_kwnames
[] = { "self", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) return NULL
;
3621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3622 _resultobj
= Py_BuildValue("s",_ptemp
);
3625 _resultobj
= Py_None
;
3630 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3631 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxIndividualLayoutConstraint
* _result
;
3634 wxLayoutConstraints
* _arg0
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) return NULL
;
3656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3657 _resultobj
= Py_BuildValue("s",_ptemp
);
3660 _resultobj
= Py_None
;
3665 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3666 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxIndividualLayoutConstraint
* _result
;
3669 wxLayoutConstraints
* _arg0
;
3670 PyObject
* _argo0
= 0;
3671 char *_kwnames
[] = { "self", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3688 wxPyEndAllowThreads(__tstate
);
3689 if (PyErr_Occurred()) return NULL
;
3691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3692 _resultobj
= Py_BuildValue("s",_ptemp
);
3695 _resultobj
= Py_None
;
3700 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3701 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
* _resultobj
;
3703 wxIndividualLayoutConstraint
* _result
;
3704 wxLayoutConstraints
* _arg0
;
3705 PyObject
* _argo0
= 0;
3706 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3727 _resultobj
= Py_BuildValue("s",_ptemp
);
3730 _resultobj
= Py_None
;
3735 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3736 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3738 wxIndividualLayoutConstraint
* _result
;
3739 wxLayoutConstraints
* _arg0
;
3740 PyObject
* _argo0
= 0;
3741 char *_kwnames
[] = { "self", NULL
};
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) return NULL
;
3761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3762 _resultobj
= Py_BuildValue("s",_ptemp
);
3765 _resultobj
= Py_None
;
3770 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3771 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3773 wxAcceleratorEntry
* _result
;
3774 int _arg0
= (int ) 0;
3775 int _arg1
= (int ) 0;
3776 int _arg2
= (int ) 0;
3777 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3791 _resultobj
= Py_BuildValue("s",_ptemp
);
3794 _resultobj
= Py_None
;
3799 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3800 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxAcceleratorEntry
* _arg0
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 delete_wxAcceleratorEntry(_arg0
);
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) return NULL
;
3822 } Py_INCREF(Py_None
);
3823 _resultobj
= Py_None
;
3827 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3828 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3830 wxAcceleratorEntry
* _arg0
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } Py_INCREF(Py_None
);
3854 _resultobj
= Py_None
;
3858 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3859 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxAcceleratorEntry
* _arg0
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) return NULL
;
3882 } _resultobj
= Py_BuildValue("i",_result
);
3886 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3887 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3890 wxAcceleratorEntry
* _arg0
;
3891 PyObject
* _argo0
= 0;
3892 char *_kwnames
[] = { "self", NULL
};
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } _resultobj
= Py_BuildValue("i",_result
);
3914 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3915 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
* _resultobj
;
3918 wxAcceleratorEntry
* _arg0
;
3919 PyObject
* _argo0
= 0;
3920 char *_kwnames
[] = { "self", NULL
};
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) return NULL
;
3938 } _resultobj
= Py_BuildValue("i",_result
);
3942 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3943 wxAcceleratorTable
*src
;
3945 src
= (wxAcceleratorTable
*) ptr
;
3946 dest
= (wxObject
*) src
;
3947 return (void *) dest
;
3950 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3951 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3953 wxAcceleratorTable
* _result
;
3955 wxAcceleratorEntry
* _arg1
;
3956 PyObject
* _obj1
= 0;
3957 char *_kwnames
[] = { "choices", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3965 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3966 if (_arg1
== NULL
) {
3972 _arg0
= PyList_Size(_obj1
);
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) return NULL
;
3985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3986 _resultobj
= Py_BuildValue("s",_ptemp
);
3989 _resultobj
= Py_None
;
3997 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3998 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4000 wxAcceleratorTable
* _arg0
;
4001 PyObject
* _argo0
= 0;
4002 char *_kwnames
[] = { "self", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 delete_wxAcceleratorTable(_arg0
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) return NULL
;
4020 } Py_INCREF(Py_None
);
4021 _resultobj
= Py_None
;
4025 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4028 src
= (wxBusyInfo
*) ptr
;
4029 dest
= (wxObject
*) src
;
4030 return (void *) dest
;
4033 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4034 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4036 wxBusyInfo
* _result
;
4038 PyObject
* _obj0
= 0;
4039 char *_kwnames
[] = { "message", NULL
};
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4046 _arg0
= wxString_in_helper(_obj0
);
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) return NULL
;
4057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4058 _resultobj
= Py_BuildValue("s",_ptemp
);
4061 _resultobj
= Py_None
;
4070 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4071 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4074 PyObject
* _argo0
= 0;
4075 char *_kwnames
[] = { "self", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 delete_wxBusyInfo(_arg0
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) return NULL
;
4093 } Py_INCREF(Py_None
);
4094 _resultobj
= Py_None
;
4098 static PyMethodDef misccMethods
[] = {
4099 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4241 * This table is used by the pointer type-checker
4243 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4244 { "_signed_long","_long",0},
4245 { "_wxPrintQuality","_wxCoord",0},
4246 { "_wxPrintQuality","_int",0},
4247 { "_wxPrintQuality","_signed_int",0},
4248 { "_wxPrintQuality","_unsigned_int",0},
4249 { "_wxPrintQuality","_wxWindowID",0},
4250 { "_wxPrintQuality","_uint",0},
4251 { "_wxPrintQuality","_EBool",0},
4252 { "_wxPrintQuality","_size_t",0},
4253 { "_wxPrintQuality","_time_t",0},
4254 { "_byte","_unsigned_char",0},
4255 { "_long","_unsigned_long",0},
4256 { "_long","_signed_long",0},
4257 { "_size_t","_wxCoord",0},
4258 { "_size_t","_wxPrintQuality",0},
4259 { "_size_t","_time_t",0},
4260 { "_size_t","_unsigned_int",0},
4261 { "_size_t","_int",0},
4262 { "_size_t","_wxWindowID",0},
4263 { "_size_t","_uint",0},
4264 { "_uint","_wxCoord",0},
4265 { "_uint","_wxPrintQuality",0},
4266 { "_uint","_time_t",0},
4267 { "_uint","_size_t",0},
4268 { "_uint","_unsigned_int",0},
4269 { "_uint","_int",0},
4270 { "_uint","_wxWindowID",0},
4271 { "_wxChar","_char",0},
4272 { "_char","_wxChar",0},
4273 { "_EBool","_wxCoord",0},
4274 { "_EBool","_wxPrintQuality",0},
4275 { "_EBool","_signed_int",0},
4276 { "_EBool","_int",0},
4277 { "_EBool","_wxWindowID",0},
4278 { "_unsigned_long","_long",0},
4279 { "_signed_int","_wxCoord",0},
4280 { "_signed_int","_wxPrintQuality",0},
4281 { "_signed_int","_EBool",0},
4282 { "_signed_int","_wxWindowID",0},
4283 { "_signed_int","_int",0},
4284 { "_WXTYPE","_short",0},
4285 { "_WXTYPE","_signed_short",0},
4286 { "_WXTYPE","_unsigned_short",0},
4287 { "_unsigned_short","_WXTYPE",0},
4288 { "_unsigned_short","_short",0},
4289 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4290 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4291 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4292 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4293 { "_signed_short","_WXTYPE",0},
4294 { "_signed_short","_short",0},
4295 { "_unsigned_char","_byte",0},
4296 { "_unsigned_int","_wxCoord",0},
4297 { "_unsigned_int","_wxPrintQuality",0},
4298 { "_unsigned_int","_time_t",0},
4299 { "_unsigned_int","_size_t",0},
4300 { "_unsigned_int","_uint",0},
4301 { "_unsigned_int","_wxWindowID",0},
4302 { "_unsigned_int","_int",0},
4303 { "_short","_WXTYPE",0},
4304 { "_short","_unsigned_short",0},
4305 { "_short","_signed_short",0},
4306 { "_wxWindowID","_wxCoord",0},
4307 { "_wxWindowID","_wxPrintQuality",0},
4308 { "_wxWindowID","_time_t",0},
4309 { "_wxWindowID","_size_t",0},
4310 { "_wxWindowID","_EBool",0},
4311 { "_wxWindowID","_uint",0},
4312 { "_wxWindowID","_int",0},
4313 { "_wxWindowID","_signed_int",0},
4314 { "_wxWindowID","_unsigned_int",0},
4315 { "_int","_wxCoord",0},
4316 { "_int","_wxPrintQuality",0},
4317 { "_int","_time_t",0},
4318 { "_int","_size_t",0},
4319 { "_int","_EBool",0},
4320 { "_int","_uint",0},
4321 { "_int","_wxWindowID",0},
4322 { "_int","_unsigned_int",0},
4323 { "_int","_signed_int",0},
4324 { "_time_t","_wxCoord",0},
4325 { "_time_t","_wxPrintQuality",0},
4326 { "_time_t","_unsigned_int",0},
4327 { "_time_t","_int",0},
4328 { "_time_t","_wxWindowID",0},
4329 { "_time_t","_uint",0},
4330 { "_time_t","_size_t",0},
4331 { "_wxCoord","_int",0},
4332 { "_wxCoord","_signed_int",0},
4333 { "_wxCoord","_unsigned_int",0},
4334 { "_wxCoord","_wxWindowID",0},
4335 { "_wxCoord","_uint",0},
4336 { "_wxCoord","_EBool",0},
4337 { "_wxCoord","_size_t",0},
4338 { "_wxCoord","_time_t",0},
4339 { "_wxCoord","_wxPrintQuality",0},
4342 static PyObject
*SWIG_globals
;
4346 SWIGEXPORT(void) initmiscc() {
4348 SWIG_globals
= SWIG_newvarlink();
4349 m
= Py_InitModule("miscc", misccMethods
);
4350 d
= PyModule_GetDict(m
);
4351 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4352 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4353 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4354 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4355 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4356 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4357 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4358 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4359 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4360 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4361 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4362 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4363 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4364 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4365 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4366 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4367 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4368 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4369 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4370 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4371 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4374 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4375 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);