2 * FILE : src/mac/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxString
wxPyEmptyString(wxT(""));
93 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
100 dest
= reg1
.GetBox();
102 if (dest
!= wxRect(0,0,0,0)) {
103 wxPyBeginBlockThreads();
104 wxRect
* newRect
= new wxRect(dest
);
105 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
106 PyObject
* one
= PyInt_FromLong(1);
107 PyObject_SetAttrString(obj
, "thisown", one
);
109 wxPyEndBlockThreads();
116 wxString
wxGetResource(const wxString
& section
, const wxString
& entry
,
117 const wxString
& file
= wxPyEmptyString
) {
119 wxGetResource(section
, entry
, &retval
, file
);
123 #if 0 // we want to use the definition from the header, not the
124 // one SWIG will generate.
125 extern wxAcceleratorTable wxNullAcceleratorTable
;
131 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
137 PyObject
* _obj0
= 0;
139 PyObject
* _obj1
= 0;
140 char *_kwnames
[] = { "r1","r2", NULL
};
143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
147 if (! wxRect_helper(_obj0
, &_arg0
))
152 if (! wxRect_helper(_obj1
, &_arg1
))
156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
157 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
159 wxPyEndAllowThreads(__tstate
);
160 if (PyErr_Occurred()) return NULL
;
162 _resultobj
= _result
;
167 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 char *_kwnames
[] = { NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= (long )wxNewId();
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
181 } _resultobj
= Py_BuildValue("l",_result
);
185 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
188 char *_kwnames
[] = { "id", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
197 wxPyEndAllowThreads(__tstate
);
198 if (PyErr_Occurred()) return NULL
;
199 } Py_INCREF(Py_None
);
200 _resultobj
= Py_None
;
204 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
207 char *_kwnames
[] = { NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 _result
= (long )wxNewId();
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } _resultobj
= Py_BuildValue("l",_result
);
222 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
225 char *_kwnames
[] = { "id", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 wxPyEndAllowThreads(__tstate
);
235 if (PyErr_Occurred()) return NULL
;
236 } Py_INCREF(Py_None
);
237 _resultobj
= Py_None
;
241 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 char *_kwnames
[] = { NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 _result
= (long )wxGetCurrentId();
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
255 } _resultobj
= Py_BuildValue("l",_result
);
259 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 char *_kwnames
[] = { NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
279 char *_kwnames
[] = { NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
288 wxPyEndAllowThreads(__tstate
);
289 if (PyErr_Occurred()) return NULL
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 bool _arg0
= (bool ) TRUE
;
299 int tempbool0
= (int) TRUE
;
300 char *_kwnames
[] = { "resetTimer", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
305 _arg0
= (bool ) tempbool0
;
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 _result
= (long )wxGetElapsedTime(_arg0
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } _resultobj
= Py_BuildValue("l",_result
);
316 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
322 char *_kwnames
[] = { NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
335 wxGetMousePosition(_arg0
,_arg1
);
337 wxPyEndAllowThreads(__tstate
);
338 if (PyErr_Occurred()) return NULL
;
339 } Py_INCREF(Py_None
);
340 _resultobj
= Py_None
;
343 o
= PyInt_FromLong((long) (*_arg0
));
344 _resultobj
= t_output_helper(_resultobj
, o
);
348 o
= PyInt_FromLong((long) (*_arg1
));
349 _resultobj
= t_output_helper(_resultobj
, o
);
354 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
357 char *_kwnames
[] = { NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
364 _result
= (bool )wxIsBusy();
366 wxPyEndAllowThreads(__tstate
);
367 if (PyErr_Occurred()) return NULL
;
368 } _resultobj
= Py_BuildValue("i",_result
);
372 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 char *_kwnames
[] = { NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= new wxString (wxNow());
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
388 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
390 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
399 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
403 PyObject
* _obj0
= 0;
404 char *_kwnames
[] = { "command", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
411 _arg0
= wxString_in_helper(_obj0
);
416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
417 _result
= (bool )wxShell(*_arg0
);
419 wxPyEndAllowThreads(__tstate
);
420 if (PyErr_Occurred()) return NULL
;
421 } _resultobj
= Py_BuildValue("i",_result
);
429 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
430 PyObject
* _resultobj
;
431 char *_kwnames
[] = { NULL
};
434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 wxPyEndAllowThreads(__tstate
);
441 if (PyErr_Occurred()) return NULL
;
442 } Py_INCREF(Py_None
);
443 _resultobj
= Py_None
;
447 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
454 char *_kwnames
[] = { NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
467 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 } _resultobj
= Py_BuildValue("i",_result
);
474 o
= PyInt_FromLong((long) (*_arg0
));
475 _resultobj
= t_output_helper(_resultobj
, o
);
479 o
= PyInt_FromLong((long) (*_arg1
));
480 _resultobj
= t_output_helper(_resultobj
, o
);
485 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
488 char *_kwnames
[] = { NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
495 _result
= new wxString (wxGetOsDescription());
497 wxPyEndAllowThreads(__tstate
);
498 if (PyErr_Occurred()) return NULL
;
501 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
512 static PyObject
*_wrap_wxShutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 wxShutdownFlags _arg0
;
516 char *_kwnames
[] = { "wFlags", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxShutdown",_kwnames
,&_arg0
))
522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
523 _result
= (bool )wxShutdown(_arg0
);
525 wxPyEndAllowThreads(__tstate
);
526 if (PyErr_Occurred()) return NULL
;
527 } _resultobj
= Py_BuildValue("i",_result
);
531 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
532 PyObject
* _resultobj
;
534 char *_kwnames
[] = { "secs", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
545 } Py_INCREF(Py_None
);
546 _resultobj
= Py_None
;
550 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
551 PyObject
* _resultobj
;
553 char *_kwnames
[] = { "milliseconds", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
562 wxPyEndAllowThreads(__tstate
);
563 if (PyErr_Occurred()) return NULL
;
564 } Py_INCREF(Py_None
);
565 _resultobj
= Py_None
;
569 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
572 char *_kwnames
[] = { NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
579 _result
= (bool )wxYield();
581 wxPyEndAllowThreads(__tstate
);
582 if (PyErr_Occurred()) return NULL
;
583 } _resultobj
= Py_BuildValue("i",_result
);
587 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
590 char *_kwnames
[] = { NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
597 _result
= (bool )wxYieldIfNeeded();
599 wxPyEndAllowThreads(__tstate
);
600 if (PyErr_Occurred()) return NULL
;
601 } _resultobj
= Py_BuildValue("i",_result
);
605 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
609 char *_kwnames
[] = { "enable", NULL
};
612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
614 _arg0
= (bool ) tempbool0
;
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 wxEnableTopLevelWindows(_arg0
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 } Py_INCREF(Py_None
);
622 _resultobj
= Py_None
;
626 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
631 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
632 PyObject
* _obj0
= 0;
633 PyObject
* _obj1
= 0;
634 PyObject
* _obj2
= 0;
635 char *_kwnames
[] = { "section","entry","file", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
641 _arg0
= wxString_in_helper(_obj0
);
646 _arg1
= wxString_in_helper(_obj1
);
652 _arg2
= wxString_in_helper(_obj2
);
657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
658 _result
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
));
660 wxPyEndAllowThreads(__tstate
);
661 if (PyErr_Occurred()) return NULL
;
664 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
666 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
687 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
688 PyObject
* _resultobj
;
691 PyObject
* _obj0
= 0;
692 char *_kwnames
[] = { "in", NULL
};
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
698 _arg0
= wxString_in_helper(_obj0
);
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= new wxString (wxStripMenuCodes(*_arg0
));
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
710 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
712 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
725 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
728 char *_kwnames
[] = { NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 _result
= new wxString (wxGetEmailAddress());
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
741 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
743 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
752 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
755 char *_kwnames
[] = { NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 _result
= new wxString (wxGetHostName());
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) return NULL
;
768 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
770 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
779 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
782 char *_kwnames
[] = { NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
789 _result
= new wxString (wxGetFullHostName());
791 wxPyEndAllowThreads(__tstate
);
792 if (PyErr_Occurred()) return NULL
;
795 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
797 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
806 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
809 char *_kwnames
[] = { NULL
};
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
816 _result
= new wxString (wxGetUserId());
818 wxPyEndAllowThreads(__tstate
);
819 if (PyErr_Occurred()) return NULL
;
822 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
824 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
833 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
836 char *_kwnames
[] = { NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
843 _result
= new wxString (wxGetUserName());
845 wxPyEndAllowThreads(__tstate
);
846 if (PyErr_Occurred()) return NULL
;
849 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
851 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
860 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
863 char *_kwnames
[] = { NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
870 _result
= new wxString (wxGetHomeDir());
872 wxPyEndAllowThreads(__tstate
);
873 if (PyErr_Occurred()) return NULL
;
876 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
878 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
887 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
890 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
891 PyObject
* _obj0
= 0;
892 char *_kwnames
[] = { "user", NULL
};
895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
899 _arg0
= wxString_in_helper(_obj0
);
904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
905 _result
= new wxString (wxGetUserHome(*_arg0
));
907 wxPyEndAllowThreads(__tstate
);
908 if (PyErr_Occurred()) return NULL
;
911 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
913 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
926 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
928 wxAcceleratorEntry
* _result
;
930 PyObject
* _obj0
= 0;
931 char *_kwnames
[] = { "label", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
938 _arg0
= wxString_in_helper(_obj0
);
943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
944 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
946 wxPyEndAllowThreads(__tstate
);
947 if (PyErr_Occurred()) return NULL
;
949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
950 _resultobj
= Py_BuildValue("s",_ptemp
);
953 _resultobj
= Py_None
;
962 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
964 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
968 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
972 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
973 pyobj
= PyString_FromString(ptemp
);
977 static wxString
wxObject_GetClassName(wxObject
*self
) {
978 return self
->GetClassInfo()->GetClassName();
980 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
984 PyObject
* _argo0
= 0;
985 char *_kwnames
[] = { "self", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 _result
= new wxString (wxObject_GetClassName(_arg0
));
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) return NULL
;
1005 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1007 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1016 static void wxObject_Destroy(wxObject
*self
) {
1019 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1022 PyObject
* _argo0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
1029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
1031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 wxObject_Destroy(_arg0
);
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) return NULL
;
1041 } Py_INCREF(Py_None
);
1042 _resultobj
= Py_None
;
1046 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1047 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1053 PyObject
* _obj0
= 0;
1054 char *_kwnames
[] = { "self","x", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1061 if (! wxSize_helper(_obj0
, &_arg0
))
1065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1066 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1068 wxPyEndAllowThreads(__tstate
);
1069 if (PyErr_Occurred()) return NULL
;
1070 } _resultobj
= Py_BuildValue("l",_result
);
1074 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1075 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1080 PyObject
* _obj0
= 0;
1081 char *_kwnames
[] = { "self", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1088 if (! wxSize_helper(_obj0
, &_arg0
))
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 _result
= (long )wxSize_x_get(_arg0
);
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) return NULL
;
1097 } _resultobj
= Py_BuildValue("l",_result
);
1101 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1102 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1108 PyObject
* _obj0
= 0;
1109 char *_kwnames
[] = { "self","y", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1116 if (! wxSize_helper(_obj0
, &_arg0
))
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) return NULL
;
1125 } _resultobj
= Py_BuildValue("l",_result
);
1129 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1130 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1135 PyObject
* _obj0
= 0;
1136 char *_kwnames
[] = { "self", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1143 if (! wxSize_helper(_obj0
, &_arg0
))
1147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1148 _result
= (long )wxSize_y_get(_arg0
);
1150 wxPyEndAllowThreads(__tstate
);
1151 if (PyErr_Occurred()) return NULL
;
1152 } _resultobj
= Py_BuildValue("l",_result
);
1156 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1157 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1160 long _arg0
= (long ) 0;
1161 long _arg1
= (long ) 0;
1162 char *_kwnames
[] = { "w","h", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) return NULL
;
1175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1176 _resultobj
= Py_BuildValue("s",_ptemp
);
1179 _resultobj
= Py_None
;
1184 #define delete_wxSize(_swigobj) (delete _swigobj)
1185 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1189 PyObject
* _obj0
= 0;
1190 char *_kwnames
[] = { "self", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1197 if (! wxSize_helper(_obj0
, &_arg0
))
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 delete_wxSize(_arg0
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) return NULL
;
1206 } Py_INCREF(Py_None
);
1207 _resultobj
= Py_None
;
1211 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1212 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1218 PyObject
* _obj0
= 0;
1219 char *_kwnames
[] = { "self","w","h", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1226 if (! wxSize_helper(_obj0
, &_arg0
))
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 wxSize_Set(_arg0
,_arg1
,_arg2
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } Py_INCREF(Py_None
);
1236 _resultobj
= Py_None
;
1240 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1241 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1246 PyObject
* _obj0
= 0;
1247 char *_kwnames
[] = { "self", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1254 if (! wxSize_helper(_obj0
, &_arg0
))
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 _result
= (long )wxSize_GetX(_arg0
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) return NULL
;
1263 } _resultobj
= Py_BuildValue("l",_result
);
1267 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1268 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
* _resultobj
;
1273 PyObject
* _obj0
= 0;
1274 char *_kwnames
[] = { "self", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1281 if (! wxSize_helper(_obj0
, &_arg0
))
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 _result
= (long )wxSize_GetY(_arg0
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) return NULL
;
1290 } _resultobj
= Py_BuildValue("l",_result
);
1294 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1295 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1300 PyObject
* _obj0
= 0;
1301 char *_kwnames
[] = { "self", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1308 if (! wxSize_helper(_obj0
, &_arg0
))
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 _result
= (long )wxSize_GetWidth(_arg0
);
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) return NULL
;
1317 } _resultobj
= Py_BuildValue("l",_result
);
1321 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1322 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1327 PyObject
* _obj0
= 0;
1328 char *_kwnames
[] = { "self", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1335 if (! wxSize_helper(_obj0
, &_arg0
))
1339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1340 _result
= (long )wxSize_GetHeight(_arg0
);
1342 wxPyEndAllowThreads(__tstate
);
1343 if (PyErr_Occurred()) return NULL
;
1344 } _resultobj
= Py_BuildValue("l",_result
);
1348 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1349 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1354 PyObject
* _obj0
= 0;
1355 char *_kwnames
[] = { "self","w", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1362 if (! wxSize_helper(_obj0
, &_arg0
))
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 wxSize_SetWidth(_arg0
,_arg1
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 } Py_INCREF(Py_None
);
1372 _resultobj
= Py_None
;
1376 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1377 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1382 PyObject
* _obj0
= 0;
1383 char *_kwnames
[] = { "self","h", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1390 if (! wxSize_helper(_obj0
, &_arg0
))
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 wxSize_SetHeight(_arg0
,_arg1
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1399 } Py_INCREF(Py_None
);
1400 _resultobj
= Py_None
;
1404 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1405 wxPyBeginBlockThreads();
1406 PyObject
* tup
= PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1408 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1409 wxPyEndBlockThreads();
1412 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1417 PyObject
* _obj0
= 0;
1418 char *_kwnames
[] = { "self", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1425 if (! wxSize_helper(_obj0
, &_arg0
))
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) return NULL
;
1435 _resultobj
= _result
;
1440 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1442 if (*self
== *sz
) return 0;
1445 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1451 PyObject
* _obj0
= 0;
1453 PyObject
* _obj1
= 0;
1454 char *_kwnames
[] = { "self","sz", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1461 if (! wxSize_helper(_obj0
, &_arg0
))
1466 if (! wxSize_helper(_obj1
, &_arg1
))
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } _resultobj
= Py_BuildValue("i",_result
);
1479 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1480 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1483 wxRealPoint
* _arg0
;
1486 PyObject
* _obj0
= 0;
1487 char *_kwnames
[] = { "self","x", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1494 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1499 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1501 wxPyEndAllowThreads(__tstate
);
1502 if (PyErr_Occurred()) return NULL
;
1503 } _resultobj
= Py_BuildValue("d",_result
);
1507 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1508 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
* _resultobj
;
1511 wxRealPoint
* _arg0
;
1513 PyObject
* _obj0
= 0;
1514 char *_kwnames
[] = { "self", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1521 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (double )wxRealPoint_x_get(_arg0
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1530 } _resultobj
= Py_BuildValue("d",_result
);
1534 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1535 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1538 wxRealPoint
* _arg0
;
1541 PyObject
* _obj0
= 0;
1542 char *_kwnames
[] = { "self","y", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1549 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) return NULL
;
1558 } _resultobj
= Py_BuildValue("d",_result
);
1562 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1563 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1566 wxRealPoint
* _arg0
;
1568 PyObject
* _obj0
= 0;
1569 char *_kwnames
[] = { "self", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1576 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 _result
= (double )wxRealPoint_y_get(_arg0
);
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) return NULL
;
1585 } _resultobj
= Py_BuildValue("d",_result
);
1589 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1590 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1592 wxRealPoint
* _result
;
1593 double _arg0
= (double ) 0.0;
1594 double _arg1
= (double ) 0.0;
1595 char *_kwnames
[] = { "x","y", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) return NULL
;
1608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1609 _resultobj
= Py_BuildValue("s",_ptemp
);
1612 _resultobj
= Py_None
;
1617 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1618 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1620 wxRealPoint
* _arg0
;
1622 PyObject
* _obj0
= 0;
1623 char *_kwnames
[] = { "self", NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1630 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1635 delete_wxRealPoint(_arg0
);
1637 wxPyEndAllowThreads(__tstate
);
1638 if (PyErr_Occurred()) return NULL
;
1639 } Py_INCREF(Py_None
);
1640 _resultobj
= Py_None
;
1644 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1648 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1650 wxRealPoint
* _arg0
;
1654 PyObject
* _obj0
= 0;
1655 char *_kwnames
[] = { "self","x","y", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1662 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1671 } Py_INCREF(Py_None
);
1672 _resultobj
= Py_None
;
1676 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1677 wxPyBeginBlockThreads();
1678 PyObject
* tup
= PyTuple_New(2);
1679 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1680 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1681 wxPyEndBlockThreads();
1684 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1687 wxRealPoint
* _arg0
;
1689 PyObject
* _obj0
= 0;
1690 char *_kwnames
[] = { "self", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1697 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) return NULL
;
1707 _resultobj
= _result
;
1712 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1713 if (! p
) return *self
;
1716 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1718 wxRealPoint
* _result
;
1719 wxRealPoint
* _arg0
;
1720 wxRealPoint
* _arg1
;
1722 PyObject
* _obj0
= 0;
1724 PyObject
* _obj1
= 0;
1725 char *_kwnames
[] = { "self","p", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1733 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1738 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1747 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1748 _resultobj
= Py_BuildValue("s",_ptemp
);
1752 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1753 if (! p
) return *self
;
1756 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1758 wxRealPoint
* _result
;
1759 wxRealPoint
* _arg0
;
1760 wxRealPoint
* _arg1
;
1762 PyObject
* _obj0
= 0;
1764 PyObject
* _obj1
= 0;
1765 char *_kwnames
[] = { "self","p", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1773 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1778 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) return NULL
;
1787 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1788 _resultobj
= Py_BuildValue("s",_ptemp
);
1792 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1794 if (*self
== *p
) return 0;
1797 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1800 wxRealPoint
* _arg0
;
1801 wxRealPoint
* _arg1
;
1803 PyObject
* _obj0
= 0;
1805 PyObject
* _obj1
= 0;
1806 char *_kwnames
[] = { "self","p", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1813 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1818 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) return NULL
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1832 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1838 PyObject
* _obj0
= 0;
1839 char *_kwnames
[] = { "self","x", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1846 if (! wxPoint_helper(_obj0
, &_arg0
))
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) return NULL
;
1855 } _resultobj
= Py_BuildValue("l",_result
);
1859 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1860 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1865 PyObject
* _obj0
= 0;
1866 char *_kwnames
[] = { "self", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1873 if (! wxPoint_helper(_obj0
, &_arg0
))
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 _result
= (long )wxPoint_x_get(_arg0
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1882 } _resultobj
= Py_BuildValue("l",_result
);
1886 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1887 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1893 PyObject
* _obj0
= 0;
1894 char *_kwnames
[] = { "self","y", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1901 if (! wxPoint_helper(_obj0
, &_arg0
))
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } _resultobj
= Py_BuildValue("l",_result
);
1914 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1915 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1920 PyObject
* _obj0
= 0;
1921 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1928 if (! wxPoint_helper(_obj0
, &_arg0
))
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 _result
= (long )wxPoint_y_get(_arg0
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) return NULL
;
1937 } _resultobj
= Py_BuildValue("l",_result
);
1941 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1942 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1945 long _arg0
= (long ) 0;
1946 long _arg1
= (long ) 0;
1947 char *_kwnames
[] = { "x","y", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1961 _resultobj
= Py_BuildValue("s",_ptemp
);
1964 _resultobj
= Py_None
;
1969 #define delete_wxPoint(_swigobj) (delete _swigobj)
1970 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1974 PyObject
* _obj0
= 0;
1975 char *_kwnames
[] = { "self", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1982 if (! wxPoint_helper(_obj0
, &_arg0
))
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 delete_wxPoint(_arg0
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
1996 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2000 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2006 PyObject
* _obj0
= 0;
2007 char *_kwnames
[] = { "self","x","y", NULL
};
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2014 if (! wxPoint_helper(_obj0
, &_arg0
))
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) return NULL
;
2023 } Py_INCREF(Py_None
);
2024 _resultobj
= Py_None
;
2028 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2029 wxPyBeginBlockThreads();
2030 PyObject
* tup
= PyTuple_New(2);
2031 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2032 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2033 wxPyEndBlockThreads();
2036 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2041 PyObject
* _obj0
= 0;
2042 char *_kwnames
[] = { "self", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2049 if (! wxPoint_helper(_obj0
, &_arg0
))
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2059 _resultobj
= _result
;
2064 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2065 if (! p
) return *self
;
2068 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2074 PyObject
* _obj0
= 0;
2076 PyObject
* _obj1
= 0;
2077 char *_kwnames
[] = { "self","p", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2085 if (! wxPoint_helper(_obj0
, &_arg0
))
2090 if (! wxPoint_helper(_obj1
, &_arg1
))
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) return NULL
;
2099 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2100 _resultobj
= Py_BuildValue("s",_ptemp
);
2104 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2105 if (! p
) return *self
;
2108 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2114 PyObject
* _obj0
= 0;
2116 PyObject
* _obj1
= 0;
2117 char *_kwnames
[] = { "self","p", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2125 if (! wxPoint_helper(_obj0
, &_arg0
))
2130 if (! wxPoint_helper(_obj1
, &_arg1
))
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) return NULL
;
2139 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2140 _resultobj
= Py_BuildValue("s",_ptemp
);
2144 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2146 if (*self
== *p
) return 0;
2149 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2155 PyObject
* _obj0
= 0;
2157 PyObject
* _obj1
= 0;
2158 char *_kwnames
[] = { "self","p", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2165 if (! wxPoint_helper(_obj0
, &_arg0
))
2170 if (! wxPoint_helper(_obj1
, &_arg1
))
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) return NULL
;
2179 } _resultobj
= Py_BuildValue("i",_result
);
2183 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2184 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2187 int _arg0
= (int ) 0;
2188 int _arg1
= (int ) 0;
2189 int _arg2
= (int ) 0;
2190 int _arg3
= (int ) 0;
2191 char *_kwnames
[] = { "x","y","w","h", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) return NULL
;
2204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2205 _resultobj
= Py_BuildValue("s",_ptemp
);
2208 _resultobj
= Py_None
;
2213 #define delete_wxRect(_swigobj) (delete _swigobj)
2214 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2218 PyObject
* _obj0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2226 if (! wxRect_helper(_obj0
, &_arg0
))
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 delete_wxRect(_arg0
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) return NULL
;
2235 } Py_INCREF(Py_None
);
2236 _resultobj
= Py_None
;
2240 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2241 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2246 PyObject
* _obj0
= 0;
2247 char *_kwnames
[] = { "self", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2254 if (! wxRect_helper(_obj0
, &_arg0
))
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 _result
= (int )wxRect_GetX(_arg0
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) return NULL
;
2263 } _resultobj
= Py_BuildValue("i",_result
);
2267 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2268 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2273 PyObject
* _obj0
= 0;
2274 char *_kwnames
[] = { "self","X", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2281 if (! wxRect_helper(_obj0
, &_arg0
))
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 wxRect_SetX(_arg0
,_arg1
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) return NULL
;
2290 } Py_INCREF(Py_None
);
2291 _resultobj
= Py_None
;
2295 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2296 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2301 PyObject
* _obj0
= 0;
2302 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2309 if (! wxRect_helper(_obj0
, &_arg0
))
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 _result
= (int )wxRect_GetY(_arg0
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2323 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2328 PyObject
* _obj0
= 0;
2329 char *_kwnames
[] = { "self","Y", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2336 if (! wxRect_helper(_obj0
, &_arg0
))
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 wxRect_SetY(_arg0
,_arg1
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2351 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2356 PyObject
* _obj0
= 0;
2357 char *_kwnames
[] = { "self", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2364 if (! wxRect_helper(_obj0
, &_arg0
))
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 _result
= (int )wxRect_GetWidth(_arg0
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) return NULL
;
2373 } _resultobj
= Py_BuildValue("i",_result
);
2377 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2378 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2383 PyObject
* _obj0
= 0;
2384 char *_kwnames
[] = { "self","w", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2391 if (! wxRect_helper(_obj0
, &_arg0
))
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxRect_SetWidth(_arg0
,_arg1
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2406 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2411 PyObject
* _obj0
= 0;
2412 char *_kwnames
[] = { "self", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2419 if (! wxRect_helper(_obj0
, &_arg0
))
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 _result
= (int )wxRect_GetHeight(_arg0
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2428 } _resultobj
= Py_BuildValue("i",_result
);
2432 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2433 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2438 PyObject
* _obj0
= 0;
2439 char *_kwnames
[] = { "self","h", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2446 if (! wxRect_helper(_obj0
, &_arg0
))
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 wxRect_SetHeight(_arg0
,_arg1
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2461 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2466 PyObject
* _obj0
= 0;
2467 char *_kwnames
[] = { "self", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2475 if (! wxRect_helper(_obj0
, &_arg0
))
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2484 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2485 _resultobj
= Py_BuildValue("s",_ptemp
);
2489 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2490 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2495 PyObject
* _obj0
= 0;
2496 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2504 if (! wxRect_helper(_obj0
, &_arg0
))
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= new wxSize (wxRect_GetSize(_arg0
));
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2514 _resultobj
= Py_BuildValue("s",_ptemp
);
2518 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2519 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2524 PyObject
* _obj0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2532 if (! wxRect_helper(_obj0
, &_arg0
))
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 _result
= (int )wxRect_GetLeft(_arg0
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2546 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _obj0
= 0;
2552 char *_kwnames
[] = { "self", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2559 if (! wxRect_helper(_obj0
, &_arg0
))
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 _result
= (int )wxRect_GetTop(_arg0
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } _resultobj
= Py_BuildValue("i",_result
);
2572 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2573 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2578 PyObject
* _obj0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2586 if (! wxRect_helper(_obj0
, &_arg0
))
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 _result
= (int )wxRect_GetBottom(_arg0
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) return NULL
;
2595 } _resultobj
= Py_BuildValue("i",_result
);
2599 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2600 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2605 PyObject
* _obj0
= 0;
2606 char *_kwnames
[] = { "self", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2613 if (! wxRect_helper(_obj0
, &_arg0
))
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 _result
= (int )wxRect_GetRight(_arg0
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2622 } _resultobj
= Py_BuildValue("i",_result
);
2626 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2627 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2632 PyObject
* _obj0
= 0;
2633 char *_kwnames
[] = { "self","left", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2640 if (! wxRect_helper(_obj0
, &_arg0
))
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxRect_SetLeft(_arg0
,_arg1
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2654 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2655 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2660 PyObject
* _obj0
= 0;
2661 char *_kwnames
[] = { "self","right", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2668 if (! wxRect_helper(_obj0
, &_arg0
))
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 wxRect_SetRight(_arg0
,_arg1
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) return NULL
;
2677 } Py_INCREF(Py_None
);
2678 _resultobj
= Py_None
;
2682 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2683 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2688 PyObject
* _obj0
= 0;
2689 char *_kwnames
[] = { "self","top", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2696 if (! wxRect_helper(_obj0
, &_arg0
))
2700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2701 wxRect_SetTop(_arg0
,_arg1
);
2703 wxPyEndAllowThreads(__tstate
);
2704 if (PyErr_Occurred()) return NULL
;
2705 } Py_INCREF(Py_None
);
2706 _resultobj
= Py_None
;
2710 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2711 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2716 PyObject
* _obj0
= 0;
2717 char *_kwnames
[] = { "self","bottom", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2724 if (! wxRect_helper(_obj0
, &_arg0
))
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 wxRect_SetBottom(_arg0
,_arg1
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } Py_INCREF(Py_None
);
2734 _resultobj
= Py_None
;
2738 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2739 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2745 PyObject
* _obj0
= 0;
2746 char *_kwnames
[] = { "self","dx","dy", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2753 if (! wxRect_helper(_obj0
, &_arg0
))
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) return NULL
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2768 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2775 PyObject
* _obj0
= 0;
2776 char *_kwnames
[] = { "self","cx","cy", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2783 if (! wxRect_helper(_obj0
, &_arg0
))
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2792 } _resultobj
= Py_BuildValue("i",_result
);
2796 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2797 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2803 PyObject
* _obj0
= 0;
2804 char *_kwnames
[] = { "self","x", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2811 if (! wxRect_helper(_obj0
, &_arg0
))
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2825 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2830 PyObject
* _obj0
= 0;
2831 char *_kwnames
[] = { "self", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2838 if (! wxRect_helper(_obj0
, &_arg0
))
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 _result
= (int )wxRect_x_get(_arg0
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } _resultobj
= Py_BuildValue("i",_result
);
2851 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2852 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2858 PyObject
* _obj0
= 0;
2859 char *_kwnames
[] = { "self","y", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2866 if (! wxRect_helper(_obj0
, &_arg0
))
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) return NULL
;
2875 } _resultobj
= Py_BuildValue("i",_result
);
2879 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2880 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2885 PyObject
* _obj0
= 0;
2886 char *_kwnames
[] = { "self", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2893 if (! wxRect_helper(_obj0
, &_arg0
))
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 _result
= (int )wxRect_y_get(_arg0
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) return NULL
;
2902 } _resultobj
= Py_BuildValue("i",_result
);
2906 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2907 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2913 PyObject
* _obj0
= 0;
2914 char *_kwnames
[] = { "self","width", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2921 if (! wxRect_helper(_obj0
, &_arg0
))
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } _resultobj
= Py_BuildValue("i",_result
);
2934 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2935 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2940 PyObject
* _obj0
= 0;
2941 char *_kwnames
[] = { "self", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2948 if (! wxRect_helper(_obj0
, &_arg0
))
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 _result
= (int )wxRect_width_get(_arg0
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) return NULL
;
2957 } _resultobj
= Py_BuildValue("i",_result
);
2961 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2962 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2968 PyObject
* _obj0
= 0;
2969 char *_kwnames
[] = { "self","height", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2976 if (! wxRect_helper(_obj0
, &_arg0
))
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) return NULL
;
2985 } _resultobj
= Py_BuildValue("i",_result
);
2989 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2990 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2995 PyObject
* _obj0
= 0;
2996 char *_kwnames
[] = { "self", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3003 if (! wxRect_helper(_obj0
, &_arg0
))
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 _result
= (int )wxRect_height_get(_arg0
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 } _resultobj
= Py_BuildValue("i",_result
);
3016 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3017 wxPyBeginBlockThreads();
3018 PyObject
* tup
= PyTuple_New(4);
3019 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3020 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3021 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3022 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3023 wxPyEndBlockThreads();
3026 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3031 PyObject
* _obj0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3039 if (! wxRect_helper(_obj0
, &_arg0
))
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) return NULL
;
3049 _resultobj
= _result
;
3054 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3055 if (! rect
) return *self
;
3056 return *self
+ *rect
;
3058 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3064 PyObject
* _obj0
= 0;
3066 PyObject
* _obj1
= 0;
3067 char *_kwnames
[] = { "self","rect", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3075 if (! wxRect_helper(_obj0
, &_arg0
))
3080 if (! wxRect_helper(_obj1
, &_arg1
))
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3090 _resultobj
= Py_BuildValue("s",_ptemp
);
3094 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3095 if (! rect
) return 1;
3096 if (*self
== *rect
) return 0;
3099 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3105 PyObject
* _obj0
= 0;
3107 PyObject
* _obj1
= 0;
3108 char *_kwnames
[] = { "self","rect", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3115 if (! wxRect_helper(_obj0
, &_arg0
))
3120 if (! wxRect_helper(_obj1
, &_arg1
))
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) return NULL
;
3129 } _resultobj
= Py_BuildValue("i",_result
);
3133 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3134 wxIndividualLayoutConstraint
*src
;
3136 src
= (wxIndividualLayoutConstraint
*) ptr
;
3137 dest
= (wxObject
*) src
;
3138 return (void *) dest
;
3141 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3142 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxIndividualLayoutConstraint
* _arg0
;
3146 int _arg2
= (int ) 0;
3147 PyObject
* _argo0
= 0;
3148 PyObject
* _argo1
= 0;
3149 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3162 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3170 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3172 wxPyEndAllowThreads(__tstate
);
3173 if (PyErr_Occurred()) return NULL
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3179 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3180 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3182 wxIndividualLayoutConstraint
* _arg0
;
3184 PyObject
* _argo0
= 0;
3185 char *_kwnames
[] = { "self","value", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) return NULL
;
3203 } Py_INCREF(Py_None
);
3204 _resultobj
= Py_None
;
3208 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3209 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxIndividualLayoutConstraint
* _arg0
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 wxIndividualLayoutConstraint_AsIs(_arg0
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } Py_INCREF(Py_None
);
3232 _resultobj
= Py_None
;
3236 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3237 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3239 wxIndividualLayoutConstraint
* _arg0
;
3241 int _arg2
= (int ) 0;
3242 PyObject
* _argo0
= 0;
3243 PyObject
* _argo1
= 0;
3244 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3275 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3277 wxIndividualLayoutConstraint
* _arg0
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3303 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3305 wxIndividualLayoutConstraint
* _arg0
;
3307 int _arg2
= (int ) 0;
3308 PyObject
* _argo0
= 0;
3309 PyObject
* _argo1
= 0;
3310 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) return NULL
;
3335 } Py_INCREF(Py_None
);
3336 _resultobj
= Py_None
;
3340 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3341 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
* _resultobj
;
3343 wxIndividualLayoutConstraint
* _arg0
;
3347 PyObject
* _argo0
= 0;
3348 PyObject
* _argo1
= 0;
3349 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3362 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) return NULL
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3380 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3382 wxIndividualLayoutConstraint
* _arg0
;
3384 int _arg2
= (int ) 0;
3385 PyObject
* _argo0
= 0;
3386 PyObject
* _argo1
= 0;
3387 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3400 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3401 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) return NULL
;
3412 } Py_INCREF(Py_None
);
3413 _resultobj
= Py_None
;
3417 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3418 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3420 wxIndividualLayoutConstraint
* _arg0
;
3423 int _arg3
= (int ) 0;
3424 PyObject
* _argo0
= 0;
3425 PyObject
* _argo1
= 0;
3426 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
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_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) return NULL
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3457 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3459 wxIndividualLayoutConstraint
* _arg0
;
3460 wxRelationship _arg1
;
3463 int _arg4
= (int ) 0;
3464 int _arg5
= (int ) 0;
3465 PyObject
* _argo0
= 0;
3466 PyObject
* _argo2
= 0;
3467 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3480 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3492 } Py_INCREF(Py_None
);
3493 _resultobj
= Py_None
;
3497 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3498 wxLayoutConstraints
*src
;
3500 src
= (wxLayoutConstraints
*) ptr
;
3501 dest
= (wxObject
*) src
;
3502 return (void *) dest
;
3505 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3506 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3508 wxLayoutConstraints
* _result
;
3509 char *_kwnames
[] = { NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) return NULL
;
3522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3523 _resultobj
= Py_BuildValue("s",_ptemp
);
3526 _resultobj
= Py_None
;
3531 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3532 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
* _resultobj
;
3534 wxIndividualLayoutConstraint
* _result
;
3535 wxLayoutConstraints
* _arg0
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self", NULL
};
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) return NULL
;
3557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3558 _resultobj
= Py_BuildValue("s",_ptemp
);
3561 _resultobj
= Py_None
;
3566 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3567 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3569 wxIndividualLayoutConstraint
* _result
;
3570 wxLayoutConstraints
* _arg0
;
3571 PyObject
* _argo0
= 0;
3572 char *_kwnames
[] = { "self", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3593 _resultobj
= Py_BuildValue("s",_ptemp
);
3596 _resultobj
= Py_None
;
3601 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3602 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3604 wxIndividualLayoutConstraint
* _result
;
3605 wxLayoutConstraints
* _arg0
;
3606 PyObject
* _argo0
= 0;
3607 char *_kwnames
[] = { "self", NULL
};
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) return NULL
;
3627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3628 _resultobj
= Py_BuildValue("s",_ptemp
);
3631 _resultobj
= Py_None
;
3636 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3637 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3639 wxIndividualLayoutConstraint
* _result
;
3640 wxLayoutConstraints
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) return NULL
;
3662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3663 _resultobj
= Py_BuildValue("s",_ptemp
);
3666 _resultobj
= Py_None
;
3671 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3672 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3674 wxIndividualLayoutConstraint
* _result
;
3675 wxLayoutConstraints
* _arg0
;
3676 PyObject
* _argo0
= 0;
3677 char *_kwnames
[] = { "self", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) return NULL
;
3697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3698 _resultobj
= Py_BuildValue("s",_ptemp
);
3701 _resultobj
= Py_None
;
3706 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3707 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3709 wxIndividualLayoutConstraint
* _result
;
3710 wxLayoutConstraints
* _arg0
;
3711 PyObject
* _argo0
= 0;
3712 char *_kwnames
[] = { "self", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3733 _resultobj
= Py_BuildValue("s",_ptemp
);
3736 _resultobj
= Py_None
;
3741 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3742 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3744 wxIndividualLayoutConstraint
* _result
;
3745 wxLayoutConstraints
* _arg0
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "self", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) return NULL
;
3767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3768 _resultobj
= Py_BuildValue("s",_ptemp
);
3771 _resultobj
= Py_None
;
3776 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3777 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3779 wxIndividualLayoutConstraint
* _result
;
3780 wxLayoutConstraints
* _arg0
;
3781 PyObject
* _argo0
= 0;
3782 char *_kwnames
[] = { "self", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) return NULL
;
3802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3803 _resultobj
= Py_BuildValue("s",_ptemp
);
3806 _resultobj
= Py_None
;
3811 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3812 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3814 wxAcceleratorEntry
* _result
;
3815 int _arg0
= (int ) 0;
3816 int _arg1
= (int ) 0;
3817 int _arg2
= (int ) 0;
3818 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) return NULL
;
3831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3832 _resultobj
= Py_BuildValue("s",_ptemp
);
3835 _resultobj
= Py_None
;
3840 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3841 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3843 wxAcceleratorEntry
* _arg0
;
3844 PyObject
* _argo0
= 0;
3845 char *_kwnames
[] = { "self", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 delete_wxAcceleratorEntry(_arg0
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) return NULL
;
3863 } Py_INCREF(Py_None
);
3864 _resultobj
= Py_None
;
3868 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3869 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
* _resultobj
;
3871 wxAcceleratorEntry
* _arg0
;
3875 PyObject
* _argo0
= 0;
3876 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } Py_INCREF(Py_None
);
3895 _resultobj
= Py_None
;
3899 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3900 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3903 wxAcceleratorEntry
* _arg0
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) return NULL
;
3923 } _resultobj
= Py_BuildValue("i",_result
);
3927 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3928 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3931 wxAcceleratorEntry
* _arg0
;
3932 PyObject
* _argo0
= 0;
3933 char *_kwnames
[] = { "self", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) return NULL
;
3951 } _resultobj
= Py_BuildValue("i",_result
);
3955 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3956 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3959 wxAcceleratorEntry
* _arg0
;
3960 PyObject
* _argo0
= 0;
3961 char *_kwnames
[] = { "self", NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) return NULL
;
3979 } _resultobj
= Py_BuildValue("i",_result
);
3983 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3984 wxAcceleratorTable
*src
;
3986 src
= (wxAcceleratorTable
*) ptr
;
3987 dest
= (wxObject
*) src
;
3988 return (void *) dest
;
3991 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3992 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3994 wxAcceleratorTable
* _result
;
3996 wxAcceleratorEntry
* _arg1
;
3997 PyObject
* _obj1
= 0;
3998 char *_kwnames
[] = { "choices", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4006 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4007 if (_arg1
== NULL
) {
4013 _arg0
= PyList_Size(_obj1
);
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) return NULL
;
4026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4027 _resultobj
= Py_BuildValue("s",_ptemp
);
4030 _resultobj
= Py_None
;
4038 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4039 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4041 wxAcceleratorTable
* _arg0
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 delete_wxAcceleratorTable(_arg0
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4069 src
= (wxBusyInfo
*) ptr
;
4070 dest
= (wxObject
*) src
;
4071 return (void *) dest
;
4074 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4075 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4077 wxBusyInfo
* _result
;
4079 PyObject
* _obj0
= 0;
4080 char *_kwnames
[] = { "message", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4087 _arg0
= wxString_in_helper(_obj0
);
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4099 _resultobj
= Py_BuildValue("s",_ptemp
);
4102 _resultobj
= Py_None
;
4111 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4112 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 delete_wxBusyInfo(_arg0
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) return NULL
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 static PyMethodDef misccMethods
[] = {
4140 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4283 * This table is used by the pointer type-checker
4285 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4286 { "_signed_long","_long",0},
4287 { "_wxPrintQuality","_wxCoord",0},
4288 { "_wxPrintQuality","_int",0},
4289 { "_wxPrintQuality","_signed_int",0},
4290 { "_wxPrintQuality","_unsigned_int",0},
4291 { "_wxPrintQuality","_wxWindowID",0},
4292 { "_wxPrintQuality","_uint",0},
4293 { "_wxPrintQuality","_EBool",0},
4294 { "_wxPrintQuality","_size_t",0},
4295 { "_wxPrintQuality","_time_t",0},
4296 { "_byte","_unsigned_char",0},
4297 { "_long","_unsigned_long",0},
4298 { "_long","_signed_long",0},
4299 { "_size_t","_wxCoord",0},
4300 { "_size_t","_wxPrintQuality",0},
4301 { "_size_t","_time_t",0},
4302 { "_size_t","_unsigned_int",0},
4303 { "_size_t","_int",0},
4304 { "_size_t","_wxWindowID",0},
4305 { "_size_t","_uint",0},
4306 { "_uint","_wxCoord",0},
4307 { "_uint","_wxPrintQuality",0},
4308 { "_uint","_time_t",0},
4309 { "_uint","_size_t",0},
4310 { "_uint","_unsigned_int",0},
4311 { "_uint","_int",0},
4312 { "_uint","_wxWindowID",0},
4313 { "_wxChar","_char",0},
4314 { "_char","_wxChar",0},
4315 { "_EBool","_wxCoord",0},
4316 { "_EBool","_wxPrintQuality",0},
4317 { "_EBool","_signed_int",0},
4318 { "_EBool","_int",0},
4319 { "_EBool","_wxWindowID",0},
4320 { "_unsigned_long","_long",0},
4321 { "_signed_int","_wxCoord",0},
4322 { "_signed_int","_wxPrintQuality",0},
4323 { "_signed_int","_EBool",0},
4324 { "_signed_int","_wxWindowID",0},
4325 { "_signed_int","_int",0},
4326 { "_WXTYPE","_short",0},
4327 { "_WXTYPE","_signed_short",0},
4328 { "_WXTYPE","_unsigned_short",0},
4329 { "_unsigned_short","_WXTYPE",0},
4330 { "_unsigned_short","_short",0},
4331 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4332 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4333 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4334 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4335 { "_signed_short","_WXTYPE",0},
4336 { "_signed_short","_short",0},
4337 { "_unsigned_char","_byte",0},
4338 { "_unsigned_int","_wxCoord",0},
4339 { "_unsigned_int","_wxPrintQuality",0},
4340 { "_unsigned_int","_time_t",0},
4341 { "_unsigned_int","_size_t",0},
4342 { "_unsigned_int","_uint",0},
4343 { "_unsigned_int","_wxWindowID",0},
4344 { "_unsigned_int","_int",0},
4345 { "_short","_WXTYPE",0},
4346 { "_short","_unsigned_short",0},
4347 { "_short","_signed_short",0},
4348 { "_wxWindowID","_wxCoord",0},
4349 { "_wxWindowID","_wxPrintQuality",0},
4350 { "_wxWindowID","_time_t",0},
4351 { "_wxWindowID","_size_t",0},
4352 { "_wxWindowID","_EBool",0},
4353 { "_wxWindowID","_uint",0},
4354 { "_wxWindowID","_int",0},
4355 { "_wxWindowID","_signed_int",0},
4356 { "_wxWindowID","_unsigned_int",0},
4357 { "_int","_wxCoord",0},
4358 { "_int","_wxPrintQuality",0},
4359 { "_int","_time_t",0},
4360 { "_int","_size_t",0},
4361 { "_int","_EBool",0},
4362 { "_int","_uint",0},
4363 { "_int","_wxWindowID",0},
4364 { "_int","_unsigned_int",0},
4365 { "_int","_signed_int",0},
4366 { "_time_t","_wxCoord",0},
4367 { "_time_t","_wxPrintQuality",0},
4368 { "_time_t","_unsigned_int",0},
4369 { "_time_t","_int",0},
4370 { "_time_t","_wxWindowID",0},
4371 { "_time_t","_uint",0},
4372 { "_time_t","_size_t",0},
4373 { "_wxCoord","_int",0},
4374 { "_wxCoord","_signed_int",0},
4375 { "_wxCoord","_unsigned_int",0},
4376 { "_wxCoord","_wxWindowID",0},
4377 { "_wxCoord","_uint",0},
4378 { "_wxCoord","_EBool",0},
4379 { "_wxCoord","_size_t",0},
4380 { "_wxCoord","_time_t",0},
4381 { "_wxCoord","_wxPrintQuality",0},
4384 static PyObject
*SWIG_globals
;
4388 SWIGEXPORT(void) initmiscc() {
4390 SWIG_globals
= SWIG_newvarlink();
4391 m
= Py_InitModule("miscc", misccMethods
);
4392 d
= PyModule_GetDict(m
);
4393 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
4394 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
4395 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4396 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4397 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4398 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4399 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4400 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4401 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4402 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4403 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4404 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4405 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4406 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4407 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4408 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4409 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4410 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4411 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4412 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4413 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4414 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4415 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4418 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4419 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);