2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
99 if (dest
!= wxRect(0,0,0,0)) {
100 wxPyBeginBlockThreads();
101 wxRect
* newRect
= new wxRect(dest
);
102 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
103 PyObject
* one
= PyInt_FromLong(1);
104 PyObject_SetAttrString(obj
, "thisown", one
);
106 wxPyEndBlockThreads();
113 wxString
wxGetResource(const wxString
& section
, const wxString
& entry
,
114 const wxString
& file
= wxEmptyString
) {
116 wxGetResource(section
, entry
, &retval
, file
);
120 #if 0 // we want to use the definition from the header, not the
121 // one SWIG will generate.
122 extern wxAcceleratorTable wxNullAcceleratorTable
;
128 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
134 PyObject
* _obj0
= 0;
136 PyObject
* _obj1
= 0;
137 char *_kwnames
[] = { "r1","r2", NULL
};
140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
144 if (! wxRect_helper(_obj0
, &_arg0
))
149 if (! wxRect_helper(_obj1
, &_arg1
))
153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
154 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
156 wxPyEndAllowThreads(__tstate
);
157 if (PyErr_Occurred()) return NULL
;
159 _resultobj
= _result
;
164 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
165 PyObject
* _resultobj
;
167 char *_kwnames
[] = { NULL
};
170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
174 _result
= (long )wxNewId();
176 wxPyEndAllowThreads(__tstate
);
177 if (PyErr_Occurred()) return NULL
;
178 } _resultobj
= Py_BuildValue("l",_result
);
182 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
185 char *_kwnames
[] = { "id", NULL
};
188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
194 wxPyEndAllowThreads(__tstate
);
195 if (PyErr_Occurred()) return NULL
;
196 } Py_INCREF(Py_None
);
197 _resultobj
= Py_None
;
201 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
202 PyObject
* _resultobj
;
204 char *_kwnames
[] = { NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
211 _result
= (long )wxNewId();
213 wxPyEndAllowThreads(__tstate
);
214 if (PyErr_Occurred()) return NULL
;
215 } _resultobj
= Py_BuildValue("l",_result
);
219 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
222 char *_kwnames
[] = { "id", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
231 wxPyEndAllowThreads(__tstate
);
232 if (PyErr_Occurred()) return NULL
;
233 } Py_INCREF(Py_None
);
234 _resultobj
= Py_None
;
238 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
241 char *_kwnames
[] = { NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
248 _result
= (long )wxGetCurrentId();
250 wxPyEndAllowThreads(__tstate
);
251 if (PyErr_Occurred()) return NULL
;
252 } _resultobj
= Py_BuildValue("l",_result
);
256 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 char *_kwnames
[] = { NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
267 wxPyEndAllowThreads(__tstate
);
268 if (PyErr_Occurred()) return NULL
;
269 } Py_INCREF(Py_None
);
270 _resultobj
= Py_None
;
274 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
276 char *_kwnames
[] = { NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
285 wxPyEndAllowThreads(__tstate
);
286 if (PyErr_Occurred()) return NULL
;
287 } Py_INCREF(Py_None
);
288 _resultobj
= Py_None
;
292 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
295 bool _arg0
= (bool ) TRUE
;
296 int tempbool0
= (int) TRUE
;
297 char *_kwnames
[] = { "resetTimer", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
302 _arg0
= (bool ) tempbool0
;
304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
305 _result
= (long )wxGetElapsedTime(_arg0
);
307 wxPyEndAllowThreads(__tstate
);
308 if (PyErr_Occurred()) return NULL
;
309 } _resultobj
= Py_BuildValue("l",_result
);
313 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
314 PyObject
* _resultobj
;
316 char *_kwnames
[] = { NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
323 _result
= (long )wxGetFreeMemory();
325 wxPyEndAllowThreads(__tstate
);
326 if (PyErr_Occurred()) return NULL
;
327 } _resultobj
= Py_BuildValue("l",_result
);
331 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
337 char *_kwnames
[] = { NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 wxGetMousePosition(_arg0
,_arg1
);
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
354 } Py_INCREF(Py_None
);
355 _resultobj
= Py_None
;
358 o
= PyInt_FromLong((long) (*_arg0
));
359 _resultobj
= t_output_helper(_resultobj
, o
);
363 o
= PyInt_FromLong((long) (*_arg1
));
364 _resultobj
= t_output_helper(_resultobj
, o
);
369 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
370 PyObject
* _resultobj
;
372 char *_kwnames
[] = { NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
379 _result
= (bool )wxIsBusy();
381 wxPyEndAllowThreads(__tstate
);
382 if (PyErr_Occurred()) return NULL
;
383 } _resultobj
= Py_BuildValue("i",_result
);
387 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
390 char *_kwnames
[] = { NULL
};
393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
397 _result
= new wxString (wxNow());
399 wxPyEndAllowThreads(__tstate
);
400 if (PyErr_Occurred()) return NULL
;
403 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
405 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
414 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
417 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
418 PyObject
* _obj0
= 0;
419 char *_kwnames
[] = { "command", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
426 _arg0
= wxString_in_helper(_obj0
);
431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
432 _result
= (bool )wxShell(*_arg0
);
434 wxPyEndAllowThreads(__tstate
);
435 if (PyErr_Occurred()) return NULL
;
436 } _resultobj
= Py_BuildValue("i",_result
);
444 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
446 char *_kwnames
[] = { NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
455 wxPyEndAllowThreads(__tstate
);
456 if (PyErr_Occurred()) return NULL
;
457 } Py_INCREF(Py_None
);
458 _resultobj
= Py_None
;
462 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
469 char *_kwnames
[] = { NULL
};
478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) return NULL
;
486 } _resultobj
= Py_BuildValue("i",_result
);
489 o
= PyInt_FromLong((long) (*_arg0
));
490 _resultobj
= t_output_helper(_resultobj
, o
);
494 o
= PyInt_FromLong((long) (*_arg1
));
495 _resultobj
= t_output_helper(_resultobj
, o
);
500 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
503 char *_kwnames
[] = { NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
510 _result
= new wxString (wxGetOsDescription());
512 wxPyEndAllowThreads(__tstate
);
513 if (PyErr_Occurred()) return NULL
;
516 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
518 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
527 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
530 char *_kwnames
[] = { "secs", NULL
};
533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 wxPyEndAllowThreads(__tstate
);
540 if (PyErr_Occurred()) return NULL
;
541 } Py_INCREF(Py_None
);
542 _resultobj
= Py_None
;
546 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
547 PyObject
* _resultobj
;
549 char *_kwnames
[] = { "milliseconds", NULL
};
552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
558 wxPyEndAllowThreads(__tstate
);
559 if (PyErr_Occurred()) return NULL
;
560 } Py_INCREF(Py_None
);
561 _resultobj
= Py_None
;
565 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
568 char *_kwnames
[] = { NULL
};
571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
575 _result
= (bool )wxYield();
577 wxPyEndAllowThreads(__tstate
);
578 if (PyErr_Occurred()) return NULL
;
579 } _resultobj
= Py_BuildValue("i",_result
);
583 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
586 char *_kwnames
[] = { NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
593 _result
= (bool )wxYieldIfNeeded();
595 wxPyEndAllowThreads(__tstate
);
596 if (PyErr_Occurred()) return NULL
;
597 } _resultobj
= Py_BuildValue("i",_result
);
601 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
602 PyObject
* _resultobj
;
605 char *_kwnames
[] = { "enable", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
610 _arg0
= (bool ) tempbool0
;
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 wxEnableTopLevelWindows(_arg0
);
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) return NULL
;
617 } Py_INCREF(Py_None
);
618 _resultobj
= Py_None
;
622 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
627 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
628 PyObject
* _obj0
= 0;
629 PyObject
* _obj1
= 0;
630 PyObject
* _obj2
= 0;
631 char *_kwnames
[] = { "section","entry","file", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
637 _arg0
= wxString_in_helper(_obj0
);
642 _arg1
= wxString_in_helper(_obj1
);
648 _arg2
= wxString_in_helper(_obj2
);
653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
654 _result
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
));
656 wxPyEndAllowThreads(__tstate
);
657 if (PyErr_Occurred()) return NULL
;
660 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
662 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
683 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
687 PyObject
* _obj0
= 0;
688 char *_kwnames
[] = { "in", NULL
};
691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
694 _arg0
= wxString_in_helper(_obj0
);
699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
700 _result
= new wxString (wxStripMenuCodes(*_arg0
));
702 wxPyEndAllowThreads(__tstate
);
703 if (PyErr_Occurred()) return NULL
;
706 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
708 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
721 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
724 char *_kwnames
[] = { NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
731 _result
= new wxString (wxGetEmailAddress());
733 wxPyEndAllowThreads(__tstate
);
734 if (PyErr_Occurred()) return NULL
;
737 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
748 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
751 char *_kwnames
[] = { NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 _result
= new wxString (wxGetHostName());
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
764 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
775 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
778 char *_kwnames
[] = { NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
785 _result
= new wxString (wxGetFullHostName());
787 wxPyEndAllowThreads(__tstate
);
788 if (PyErr_Occurred()) return NULL
;
791 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
793 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
802 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
805 char *_kwnames
[] = { NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
812 _result
= new wxString (wxGetUserId());
814 wxPyEndAllowThreads(__tstate
);
815 if (PyErr_Occurred()) return NULL
;
818 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
829 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
832 char *_kwnames
[] = { NULL
};
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 _result
= new wxString (wxGetUserName());
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) return NULL
;
845 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
847 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
856 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
859 char *_kwnames
[] = { NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
866 _result
= new wxString (wxGetHomeDir());
868 wxPyEndAllowThreads(__tstate
);
869 if (PyErr_Occurred()) return NULL
;
872 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
874 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
883 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
886 char * _arg0
= (char *) "";
887 char *_kwnames
[] = { "user", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:wxGetUserHome",_kwnames
,&_arg0
))
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 _result
= new wxString (wxGetUserHome(_arg0
));
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) return NULL
;
900 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
902 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
911 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
913 wxAcceleratorEntry
* _result
;
915 PyObject
* _obj0
= 0;
916 char *_kwnames
[] = { "label", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
923 _arg0
= wxString_in_helper(_obj0
);
928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
931 wxPyEndAllowThreads(__tstate
);
932 if (PyErr_Occurred()) return NULL
;
934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
935 _resultobj
= Py_BuildValue("s",_ptemp
);
938 _resultobj
= Py_None
;
947 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
949 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
953 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
957 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
958 pyobj
= PyString_FromString(ptemp
);
962 static wxString
wxObject_GetClassName(wxObject
*self
) {
963 return self
->GetClassInfo()->GetClassName();
965 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
969 PyObject
* _argo0
= 0;
970 char *_kwnames
[] = { "self", NULL
};
973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 _result
= new wxString (wxObject_GetClassName(_arg0
));
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) return NULL
;
990 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
992 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1001 static void wxObject_Destroy(wxObject
*self
) {
1004 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1007 PyObject
* _argo0
= 0;
1008 char *_kwnames
[] = { "self", NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
1014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxObject_Destroy(_arg0
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1032 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1038 PyObject
* _obj0
= 0;
1039 char *_kwnames
[] = { "self","x", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1046 if (! wxSize_helper(_obj0
, &_arg0
))
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } _resultobj
= Py_BuildValue("l",_result
);
1059 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1060 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1065 PyObject
* _obj0
= 0;
1066 char *_kwnames
[] = { "self", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1073 if (! wxSize_helper(_obj0
, &_arg0
))
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 _result
= (long )wxSize_x_get(_arg0
);
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) return NULL
;
1082 } _resultobj
= Py_BuildValue("l",_result
);
1086 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1087 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1093 PyObject
* _obj0
= 0;
1094 char *_kwnames
[] = { "self","y", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1101 if (! wxSize_helper(_obj0
, &_arg0
))
1105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1106 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1108 wxPyEndAllowThreads(__tstate
);
1109 if (PyErr_Occurred()) return NULL
;
1110 } _resultobj
= Py_BuildValue("l",_result
);
1114 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1115 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1120 PyObject
* _obj0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1128 if (! wxSize_helper(_obj0
, &_arg0
))
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 _result
= (long )wxSize_y_get(_arg0
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } _resultobj
= Py_BuildValue("l",_result
);
1141 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1142 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1145 long _arg0
= (long ) 0;
1146 long _arg1
= (long ) 0;
1147 char *_kwnames
[] = { "w","h", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1161 _resultobj
= Py_BuildValue("s",_ptemp
);
1164 _resultobj
= Py_None
;
1169 #define delete_wxSize(_swigobj) (delete _swigobj)
1170 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1174 PyObject
* _obj0
= 0;
1175 char *_kwnames
[] = { "self", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1182 if (! wxSize_helper(_obj0
, &_arg0
))
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 delete_wxSize(_arg0
);
1189 wxPyEndAllowThreads(__tstate
);
1190 if (PyErr_Occurred()) return NULL
;
1191 } Py_INCREF(Py_None
);
1192 _resultobj
= Py_None
;
1196 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1197 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1203 PyObject
* _obj0
= 0;
1204 char *_kwnames
[] = { "self","w","h", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1211 if (! wxSize_helper(_obj0
, &_arg0
))
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 wxSize_Set(_arg0
,_arg1
,_arg2
);
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) return NULL
;
1220 } Py_INCREF(Py_None
);
1221 _resultobj
= Py_None
;
1225 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1226 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1231 PyObject
* _obj0
= 0;
1232 char *_kwnames
[] = { "self", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1239 if (! wxSize_helper(_obj0
, &_arg0
))
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 _result
= (long )wxSize_GetX(_arg0
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) return NULL
;
1248 } _resultobj
= Py_BuildValue("l",_result
);
1252 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1253 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1258 PyObject
* _obj0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1266 if (! wxSize_helper(_obj0
, &_arg0
))
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 _result
= (long )wxSize_GetY(_arg0
);
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) return NULL
;
1275 } _resultobj
= Py_BuildValue("l",_result
);
1279 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1280 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1285 PyObject
* _obj0
= 0;
1286 char *_kwnames
[] = { "self", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1293 if (! wxSize_helper(_obj0
, &_arg0
))
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 _result
= (long )wxSize_GetWidth(_arg0
);
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) return NULL
;
1302 } _resultobj
= Py_BuildValue("l",_result
);
1306 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1307 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1312 PyObject
* _obj0
= 0;
1313 char *_kwnames
[] = { "self", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1320 if (! wxSize_helper(_obj0
, &_arg0
))
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 _result
= (long )wxSize_GetHeight(_arg0
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) return NULL
;
1329 } _resultobj
= Py_BuildValue("l",_result
);
1333 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1334 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1339 PyObject
* _obj0
= 0;
1340 char *_kwnames
[] = { "self","w", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1347 if (! wxSize_helper(_obj0
, &_arg0
))
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 wxSize_SetWidth(_arg0
,_arg1
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1356 } Py_INCREF(Py_None
);
1357 _resultobj
= Py_None
;
1361 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1362 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1367 PyObject
* _obj0
= 0;
1368 char *_kwnames
[] = { "self","h", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1375 if (! wxSize_helper(_obj0
, &_arg0
))
1379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1380 wxSize_SetHeight(_arg0
,_arg1
);
1382 wxPyEndAllowThreads(__tstate
);
1383 if (PyErr_Occurred()) return NULL
;
1384 } Py_INCREF(Py_None
);
1385 _resultobj
= Py_None
;
1389 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1390 PyObject
* tup
= PyTuple_New(2);
1391 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1392 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1395 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1400 PyObject
* _obj0
= 0;
1401 char *_kwnames
[] = { "self", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1408 if (! wxSize_helper(_obj0
, &_arg0
))
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1418 _resultobj
= _result
;
1423 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1425 if (*self
== *sz
) return 0;
1428 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1434 PyObject
* _obj0
= 0;
1436 PyObject
* _obj1
= 0;
1437 char *_kwnames
[] = { "self","sz", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1444 if (! wxSize_helper(_obj0
, &_arg0
))
1449 if (! wxSize_helper(_obj1
, &_arg1
))
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } _resultobj
= Py_BuildValue("i",_result
);
1462 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1463 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 wxRealPoint
* _arg0
;
1469 PyObject
* _obj0
= 0;
1470 char *_kwnames
[] = { "self","x", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1477 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1482 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1484 wxPyEndAllowThreads(__tstate
);
1485 if (PyErr_Occurred()) return NULL
;
1486 } _resultobj
= Py_BuildValue("d",_result
);
1490 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1491 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1494 wxRealPoint
* _arg0
;
1496 PyObject
* _obj0
= 0;
1497 char *_kwnames
[] = { "self", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1504 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 _result
= (double )wxRealPoint_x_get(_arg0
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) return NULL
;
1513 } _resultobj
= Py_BuildValue("d",_result
);
1517 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1518 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1521 wxRealPoint
* _arg0
;
1524 PyObject
* _obj0
= 0;
1525 char *_kwnames
[] = { "self","y", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1532 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } _resultobj
= Py_BuildValue("d",_result
);
1545 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1546 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 wxRealPoint
* _arg0
;
1551 PyObject
* _obj0
= 0;
1552 char *_kwnames
[] = { "self", NULL
};
1555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1559 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 _result
= (double )wxRealPoint_y_get(_arg0
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) return NULL
;
1568 } _resultobj
= Py_BuildValue("d",_result
);
1572 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1573 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxRealPoint
* _result
;
1576 double _arg0
= (double ) 0.0;
1577 double _arg1
= (double ) 0.0;
1578 char *_kwnames
[] = { "x","y", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) return NULL
;
1591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1592 _resultobj
= Py_BuildValue("s",_ptemp
);
1595 _resultobj
= Py_None
;
1600 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1601 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1603 wxRealPoint
* _arg0
;
1605 PyObject
* _obj0
= 0;
1606 char *_kwnames
[] = { "self", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1613 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 delete_wxRealPoint(_arg0
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } Py_INCREF(Py_None
);
1623 _resultobj
= Py_None
;
1627 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1631 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1633 wxRealPoint
* _arg0
;
1637 PyObject
* _obj0
= 0;
1638 char *_kwnames
[] = { "self","x","y", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1645 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) return NULL
;
1654 } Py_INCREF(Py_None
);
1655 _resultobj
= Py_None
;
1659 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1660 PyObject
* tup
= PyTuple_New(2);
1661 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1662 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1665 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1668 wxRealPoint
* _arg0
;
1670 PyObject
* _obj0
= 0;
1671 char *_kwnames
[] = { "self", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1678 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) return NULL
;
1688 _resultobj
= _result
;
1693 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1694 if (! p
) return *self
;
1697 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 wxRealPoint
* _result
;
1700 wxRealPoint
* _arg0
;
1701 wxRealPoint
* _arg1
;
1703 PyObject
* _obj0
= 0;
1705 PyObject
* _obj1
= 0;
1706 char *_kwnames
[] = { "self","p", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1714 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1719 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1729 _resultobj
= Py_BuildValue("s",_ptemp
);
1733 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1734 if (! p
) return *self
;
1737 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxRealPoint
* _result
;
1740 wxRealPoint
* _arg0
;
1741 wxRealPoint
* _arg1
;
1743 PyObject
* _obj0
= 0;
1745 PyObject
* _obj1
= 0;
1746 char *_kwnames
[] = { "self","p", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1754 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1759 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1769 _resultobj
= Py_BuildValue("s",_ptemp
);
1773 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1775 if (*self
== *p
) return 0;
1778 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 wxRealPoint
* _arg0
;
1782 wxRealPoint
* _arg1
;
1784 PyObject
* _obj0
= 0;
1786 PyObject
* _obj1
= 0;
1787 char *_kwnames
[] = { "self","p", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1794 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1799 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } _resultobj
= Py_BuildValue("i",_result
);
1812 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1813 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1819 PyObject
* _obj0
= 0;
1820 char *_kwnames
[] = { "self","x", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1827 if (! wxPoint_helper(_obj0
, &_arg0
))
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("l",_result
);
1840 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1841 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1846 PyObject
* _obj0
= 0;
1847 char *_kwnames
[] = { "self", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1854 if (! wxPoint_helper(_obj0
, &_arg0
))
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 _result
= (long )wxPoint_x_get(_arg0
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1863 } _resultobj
= Py_BuildValue("l",_result
);
1867 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1868 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1874 PyObject
* _obj0
= 0;
1875 char *_kwnames
[] = { "self","y", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1882 if (! wxPoint_helper(_obj0
, &_arg0
))
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) return NULL
;
1891 } _resultobj
= Py_BuildValue("l",_result
);
1895 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1896 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1901 PyObject
* _obj0
= 0;
1902 char *_kwnames
[] = { "self", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1909 if (! wxPoint_helper(_obj0
, &_arg0
))
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 _result
= (long )wxPoint_y_get(_arg0
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) return NULL
;
1918 } _resultobj
= Py_BuildValue("l",_result
);
1922 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1923 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1926 long _arg0
= (long ) 0;
1927 long _arg1
= (long ) 0;
1928 char *_kwnames
[] = { "x","y", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1941 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1942 _resultobj
= Py_BuildValue("s",_ptemp
);
1945 _resultobj
= Py_None
;
1950 #define delete_wxPoint(_swigobj) (delete _swigobj)
1951 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1955 PyObject
* _obj0
= 0;
1956 char *_kwnames
[] = { "self", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1963 if (! wxPoint_helper(_obj0
, &_arg0
))
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 delete_wxPoint(_arg0
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) return NULL
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1981 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1987 PyObject
* _obj0
= 0;
1988 char *_kwnames
[] = { "self","x","y", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1995 if (! wxPoint_helper(_obj0
, &_arg0
))
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) return NULL
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2009 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2010 PyObject
* tup
= PyTuple_New(2);
2011 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2012 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2015 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2020 PyObject
* _obj0
= 0;
2021 char *_kwnames
[] = { "self", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2028 if (! wxPoint_helper(_obj0
, &_arg0
))
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) return NULL
;
2038 _resultobj
= _result
;
2043 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2044 if (! p
) return *self
;
2047 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2053 PyObject
* _obj0
= 0;
2055 PyObject
* _obj1
= 0;
2056 char *_kwnames
[] = { "self","p", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2064 if (! wxPoint_helper(_obj0
, &_arg0
))
2069 if (! wxPoint_helper(_obj1
, &_arg1
))
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) return NULL
;
2078 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2079 _resultobj
= Py_BuildValue("s",_ptemp
);
2083 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2084 if (! p
) return *self
;
2087 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2093 PyObject
* _obj0
= 0;
2095 PyObject
* _obj1
= 0;
2096 char *_kwnames
[] = { "self","p", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2104 if (! wxPoint_helper(_obj0
, &_arg0
))
2109 if (! wxPoint_helper(_obj1
, &_arg1
))
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2114 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) return NULL
;
2118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2119 _resultobj
= Py_BuildValue("s",_ptemp
);
2123 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2125 if (*self
== *p
) return 0;
2128 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2134 PyObject
* _obj0
= 0;
2136 PyObject
* _obj1
= 0;
2137 char *_kwnames
[] = { "self","p", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2144 if (! wxPoint_helper(_obj0
, &_arg0
))
2149 if (! wxPoint_helper(_obj1
, &_arg1
))
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } _resultobj
= Py_BuildValue("i",_result
);
2162 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2163 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2166 int _arg0
= (int ) 0;
2167 int _arg1
= (int ) 0;
2168 int _arg2
= (int ) 0;
2169 int _arg3
= (int ) 0;
2170 char *_kwnames
[] = { "x","y","w","h", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2180 wxPyEndAllowThreads(__tstate
);
2181 if (PyErr_Occurred()) return NULL
;
2183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2184 _resultobj
= Py_BuildValue("s",_ptemp
);
2187 _resultobj
= Py_None
;
2192 #define delete_wxRect(_swigobj) (delete _swigobj)
2193 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _obj0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2205 if (! wxRect_helper(_obj0
, &_arg0
))
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 delete_wxRect(_arg0
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) return NULL
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2220 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2225 PyObject
* _obj0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2233 if (! wxRect_helper(_obj0
, &_arg0
))
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 _result
= (int )wxRect_GetX(_arg0
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) return NULL
;
2242 } _resultobj
= Py_BuildValue("i",_result
);
2246 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2247 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2252 PyObject
* _obj0
= 0;
2253 char *_kwnames
[] = { "self","X", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2260 if (! wxRect_helper(_obj0
, &_arg0
))
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 wxRect_SetX(_arg0
,_arg1
);
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) return NULL
;
2269 } Py_INCREF(Py_None
);
2270 _resultobj
= Py_None
;
2274 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2275 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2280 PyObject
* _obj0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2288 if (! wxRect_helper(_obj0
, &_arg0
))
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 _result
= (int )wxRect_GetY(_arg0
);
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) return NULL
;
2297 } _resultobj
= Py_BuildValue("i",_result
);
2301 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2302 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2307 PyObject
* _obj0
= 0;
2308 char *_kwnames
[] = { "self","Y", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2315 if (! wxRect_helper(_obj0
, &_arg0
))
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 wxRect_SetY(_arg0
,_arg1
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) return NULL
;
2324 } Py_INCREF(Py_None
);
2325 _resultobj
= Py_None
;
2329 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2330 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2335 PyObject
* _obj0
= 0;
2336 char *_kwnames
[] = { "self", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2343 if (! wxRect_helper(_obj0
, &_arg0
))
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= (int )wxRect_GetWidth(_arg0
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2352 } _resultobj
= Py_BuildValue("i",_result
);
2356 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2357 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2362 PyObject
* _obj0
= 0;
2363 char *_kwnames
[] = { "self","w", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2370 if (! wxRect_helper(_obj0
, &_arg0
))
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 wxRect_SetWidth(_arg0
,_arg1
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) return NULL
;
2379 } Py_INCREF(Py_None
);
2380 _resultobj
= Py_None
;
2384 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2385 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2390 PyObject
* _obj0
= 0;
2391 char *_kwnames
[] = { "self", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2398 if (! wxRect_helper(_obj0
, &_arg0
))
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 _result
= (int )wxRect_GetHeight(_arg0
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2407 } _resultobj
= Py_BuildValue("i",_result
);
2411 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2412 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2417 PyObject
* _obj0
= 0;
2418 char *_kwnames
[] = { "self","h", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2425 if (! wxRect_helper(_obj0
, &_arg0
))
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 wxRect_SetHeight(_arg0
,_arg1
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2440 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2445 PyObject
* _obj0
= 0;
2446 char *_kwnames
[] = { "self", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2454 if (! wxRect_helper(_obj0
, &_arg0
))
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2464 _resultobj
= Py_BuildValue("s",_ptemp
);
2468 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2469 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2474 PyObject
* _obj0
= 0;
2475 char *_kwnames
[] = { "self", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2483 if (! wxRect_helper(_obj0
, &_arg0
))
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 _result
= new wxSize (wxRect_GetSize(_arg0
));
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) return NULL
;
2492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2493 _resultobj
= Py_BuildValue("s",_ptemp
);
2497 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2498 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2503 PyObject
* _obj0
= 0;
2504 char *_kwnames
[] = { "self", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2511 if (! wxRect_helper(_obj0
, &_arg0
))
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 _result
= (int )wxRect_GetLeft(_arg0
);
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) return NULL
;
2520 } _resultobj
= Py_BuildValue("i",_result
);
2524 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2525 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2530 PyObject
* _obj0
= 0;
2531 char *_kwnames
[] = { "self", NULL
};
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2538 if (! wxRect_helper(_obj0
, &_arg0
))
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 _result
= (int )wxRect_GetTop(_arg0
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) return NULL
;
2547 } _resultobj
= Py_BuildValue("i",_result
);
2551 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2552 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2557 PyObject
* _obj0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2565 if (! wxRect_helper(_obj0
, &_arg0
))
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 _result
= (int )wxRect_GetBottom(_arg0
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } _resultobj
= Py_BuildValue("i",_result
);
2578 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2579 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2584 PyObject
* _obj0
= 0;
2585 char *_kwnames
[] = { "self", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2592 if (! wxRect_helper(_obj0
, &_arg0
))
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 _result
= (int )wxRect_GetRight(_arg0
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) return NULL
;
2601 } _resultobj
= Py_BuildValue("i",_result
);
2605 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2606 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2611 PyObject
* _obj0
= 0;
2612 char *_kwnames
[] = { "self","left", NULL
};
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2619 if (! wxRect_helper(_obj0
, &_arg0
))
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 wxRect_SetLeft(_arg0
,_arg1
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) return NULL
;
2628 } Py_INCREF(Py_None
);
2629 _resultobj
= Py_None
;
2633 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2634 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2639 PyObject
* _obj0
= 0;
2640 char *_kwnames
[] = { "self","right", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2647 if (! wxRect_helper(_obj0
, &_arg0
))
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 wxRect_SetRight(_arg0
,_arg1
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) return NULL
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2661 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2662 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2667 PyObject
* _obj0
= 0;
2668 char *_kwnames
[] = { "self","top", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2675 if (! wxRect_helper(_obj0
, &_arg0
))
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 wxRect_SetTop(_arg0
,_arg1
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) return NULL
;
2684 } Py_INCREF(Py_None
);
2685 _resultobj
= Py_None
;
2689 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2690 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2695 PyObject
* _obj0
= 0;
2696 char *_kwnames
[] = { "self","bottom", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2703 if (! wxRect_helper(_obj0
, &_arg0
))
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 wxRect_SetBottom(_arg0
,_arg1
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } Py_INCREF(Py_None
);
2713 _resultobj
= Py_None
;
2717 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2718 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2724 PyObject
* _obj0
= 0;
2725 char *_kwnames
[] = { "self","dx","dy", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2732 if (! wxRect_helper(_obj0
, &_arg0
))
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) return NULL
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2747 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2754 PyObject
* _obj0
= 0;
2755 char *_kwnames
[] = { "self","cx","cy", NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2762 if (! wxRect_helper(_obj0
, &_arg0
))
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) return NULL
;
2771 } _resultobj
= Py_BuildValue("i",_result
);
2775 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2776 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2782 PyObject
* _obj0
= 0;
2783 char *_kwnames
[] = { "self","x", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2790 if (! wxRect_helper(_obj0
, &_arg0
))
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2795 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) return NULL
;
2799 } _resultobj
= Py_BuildValue("i",_result
);
2803 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2804 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2809 PyObject
* _obj0
= 0;
2810 char *_kwnames
[] = { "self", NULL
};
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2817 if (! wxRect_helper(_obj0
, &_arg0
))
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 _result
= (int )wxRect_x_get(_arg0
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) return NULL
;
2826 } _resultobj
= Py_BuildValue("i",_result
);
2830 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2831 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2837 PyObject
* _obj0
= 0;
2838 char *_kwnames
[] = { "self","y", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2845 if (! wxRect_helper(_obj0
, &_arg0
))
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) return NULL
;
2854 } _resultobj
= Py_BuildValue("i",_result
);
2858 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2859 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2864 PyObject
* _obj0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2872 if (! wxRect_helper(_obj0
, &_arg0
))
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (int )wxRect_y_get(_arg0
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 } _resultobj
= Py_BuildValue("i",_result
);
2885 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2886 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2892 PyObject
* _obj0
= 0;
2893 char *_kwnames
[] = { "self","width", NULL
};
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2900 if (! wxRect_helper(_obj0
, &_arg0
))
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) return NULL
;
2909 } _resultobj
= Py_BuildValue("i",_result
);
2913 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2914 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2919 PyObject
* _obj0
= 0;
2920 char *_kwnames
[] = { "self", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2927 if (! wxRect_helper(_obj0
, &_arg0
))
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 _result
= (int )wxRect_width_get(_arg0
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) return NULL
;
2936 } _resultobj
= Py_BuildValue("i",_result
);
2940 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2941 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2947 PyObject
* _obj0
= 0;
2948 char *_kwnames
[] = { "self","height", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2955 if (! wxRect_helper(_obj0
, &_arg0
))
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2964 } _resultobj
= Py_BuildValue("i",_result
);
2968 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2969 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2974 PyObject
* _obj0
= 0;
2975 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2982 if (! wxRect_helper(_obj0
, &_arg0
))
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 _result
= (int )wxRect_height_get(_arg0
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2996 PyObject
* tup
= PyTuple_New(4);
2997 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2998 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2999 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3000 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3003 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3008 PyObject
* _obj0
= 0;
3009 char *_kwnames
[] = { "self", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3016 if (! wxRect_helper(_obj0
, &_arg0
))
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3026 _resultobj
= _result
;
3031 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3032 if (! rect
) return *self
;
3033 return *self
+ *rect
;
3035 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3041 PyObject
* _obj0
= 0;
3043 PyObject
* _obj1
= 0;
3044 char *_kwnames
[] = { "self","rect", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3052 if (! wxRect_helper(_obj0
, &_arg0
))
3057 if (! wxRect_helper(_obj1
, &_arg1
))
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) return NULL
;
3066 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3067 _resultobj
= Py_BuildValue("s",_ptemp
);
3071 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3072 if (! rect
) return 1;
3073 if (*self
== *rect
) return 0;
3076 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3082 PyObject
* _obj0
= 0;
3084 PyObject
* _obj1
= 0;
3085 char *_kwnames
[] = { "self","rect", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3092 if (! wxRect_helper(_obj0
, &_arg0
))
3097 if (! wxRect_helper(_obj1
, &_arg1
))
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3111 wxIndividualLayoutConstraint
*src
;
3113 src
= (wxIndividualLayoutConstraint
*) ptr
;
3114 dest
= (wxObject
*) src
;
3115 return (void *) dest
;
3118 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3119 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxIndividualLayoutConstraint
* _arg0
;
3123 int _arg2
= (int ) 0;
3124 PyObject
* _argo0
= 0;
3125 PyObject
* _argo1
= 0;
3126 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3139 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3140 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) return NULL
;
3151 } Py_INCREF(Py_None
);
3152 _resultobj
= Py_None
;
3156 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3157 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3159 wxIndividualLayoutConstraint
* _arg0
;
3161 PyObject
* _argo0
= 0;
3162 char *_kwnames
[] = { "self","value", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) return NULL
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3185 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3186 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxIndividualLayoutConstraint
* _arg0
;
3189 PyObject
* _argo0
= 0;
3190 char *_kwnames
[] = { "self", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 wxIndividualLayoutConstraint_AsIs(_arg0
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) return NULL
;
3208 } Py_INCREF(Py_None
);
3209 _resultobj
= Py_None
;
3213 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3214 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxIndividualLayoutConstraint
* _arg0
;
3218 int _arg2
= (int ) 0;
3219 PyObject
* _argo0
= 0;
3220 PyObject
* _argo1
= 0;
3221 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3234 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) return NULL
;
3246 } Py_INCREF(Py_None
);
3247 _resultobj
= Py_None
;
3251 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3252 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
* _resultobj
;
3254 wxIndividualLayoutConstraint
* _arg0
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3280 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxIndividualLayoutConstraint
* _arg0
;
3284 int _arg2
= (int ) 0;
3285 PyObject
* _argo0
= 0;
3286 PyObject
* _argo1
= 0;
3287 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) return NULL
;
3312 } Py_INCREF(Py_None
);
3313 _resultobj
= Py_None
;
3317 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3318 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3320 wxIndividualLayoutConstraint
* _arg0
;
3324 PyObject
* _argo0
= 0;
3325 PyObject
* _argo1
= 0;
3326 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) return NULL
;
3351 } Py_INCREF(Py_None
);
3352 _resultobj
= Py_None
;
3356 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3357 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3359 wxIndividualLayoutConstraint
* _arg0
;
3361 int _arg2
= (int ) 0;
3362 PyObject
* _argo0
= 0;
3363 PyObject
* _argo1
= 0;
3364 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) return NULL
;
3389 } Py_INCREF(Py_None
);
3390 _resultobj
= Py_None
;
3394 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3395 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3397 wxIndividualLayoutConstraint
* _arg0
;
3400 int _arg3
= (int ) 0;
3401 PyObject
* _argo0
= 0;
3402 PyObject
* _argo1
= 0;
3403 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3416 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3433 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3434 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3436 wxIndividualLayoutConstraint
* _arg0
;
3437 wxRelationship _arg1
;
3440 int _arg4
= (int ) 0;
3441 int _arg5
= (int ) 0;
3442 PyObject
* _argo0
= 0;
3443 PyObject
* _argo2
= 0;
3444 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3457 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) return NULL
;
3469 } Py_INCREF(Py_None
);
3470 _resultobj
= Py_None
;
3474 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3475 wxLayoutConstraints
*src
;
3477 src
= (wxLayoutConstraints
*) ptr
;
3478 dest
= (wxObject
*) src
;
3479 return (void *) dest
;
3482 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3483 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3485 wxLayoutConstraints
* _result
;
3486 char *_kwnames
[] = { NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3500 _resultobj
= Py_BuildValue("s",_ptemp
);
3503 _resultobj
= Py_None
;
3508 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3509 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3511 wxIndividualLayoutConstraint
* _result
;
3512 wxLayoutConstraints
* _arg0
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3535 _resultobj
= Py_BuildValue("s",_ptemp
);
3538 _resultobj
= Py_None
;
3543 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3544 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3546 wxIndividualLayoutConstraint
* _result
;
3547 wxLayoutConstraints
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) return NULL
;
3569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3570 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 _resultobj
= Py_None
;
3578 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3579 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
* _resultobj
;
3581 wxIndividualLayoutConstraint
* _result
;
3582 wxLayoutConstraints
* _arg0
;
3583 PyObject
* _argo0
= 0;
3584 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) return NULL
;
3604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3605 _resultobj
= Py_BuildValue("s",_ptemp
);
3608 _resultobj
= Py_None
;
3613 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3614 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3616 wxIndividualLayoutConstraint
* _result
;
3617 wxLayoutConstraints
* _arg0
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) return NULL
;
3639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3640 _resultobj
= Py_BuildValue("s",_ptemp
);
3643 _resultobj
= Py_None
;
3648 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3649 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxIndividualLayoutConstraint
* _result
;
3652 wxLayoutConstraints
* _arg0
;
3653 PyObject
* _argo0
= 0;
3654 char *_kwnames
[] = { "self", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) return NULL
;
3674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3675 _resultobj
= Py_BuildValue("s",_ptemp
);
3678 _resultobj
= Py_None
;
3683 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3684 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3686 wxIndividualLayoutConstraint
* _result
;
3687 wxLayoutConstraints
* _arg0
;
3688 PyObject
* _argo0
= 0;
3689 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) return NULL
;
3709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3710 _resultobj
= Py_BuildValue("s",_ptemp
);
3713 _resultobj
= Py_None
;
3718 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3719 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3721 wxIndividualLayoutConstraint
* _result
;
3722 wxLayoutConstraints
* _arg0
;
3723 PyObject
* _argo0
= 0;
3724 char *_kwnames
[] = { "self", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3745 _resultobj
= Py_BuildValue("s",_ptemp
);
3748 _resultobj
= Py_None
;
3753 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3754 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3756 wxIndividualLayoutConstraint
* _result
;
3757 wxLayoutConstraints
* _arg0
;
3758 PyObject
* _argo0
= 0;
3759 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) return NULL
;
3779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3780 _resultobj
= Py_BuildValue("s",_ptemp
);
3783 _resultobj
= Py_None
;
3788 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3789 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxAcceleratorEntry
* _result
;
3792 int _arg0
= (int ) 0;
3793 int _arg1
= (int ) 0;
3794 int _arg2
= (int ) 0;
3795 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) return NULL
;
3808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3809 _resultobj
= Py_BuildValue("s",_ptemp
);
3812 _resultobj
= Py_None
;
3817 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3818 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3820 wxAcceleratorEntry
* _arg0
;
3821 PyObject
* _argo0
= 0;
3822 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3836 delete_wxAcceleratorEntry(_arg0
);
3838 wxPyEndAllowThreads(__tstate
);
3839 if (PyErr_Occurred()) return NULL
;
3840 } Py_INCREF(Py_None
);
3841 _resultobj
= Py_None
;
3845 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3846 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3848 wxAcceleratorEntry
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3876 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3877 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxAcceleratorEntry
* _arg0
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3900 } _resultobj
= Py_BuildValue("i",_result
);
3904 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3905 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3908 wxAcceleratorEntry
* _arg0
;
3909 PyObject
* _argo0
= 0;
3910 char *_kwnames
[] = { "self", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) return NULL
;
3928 } _resultobj
= Py_BuildValue("i",_result
);
3932 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3933 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
* _resultobj
;
3936 wxAcceleratorEntry
* _arg0
;
3937 PyObject
* _argo0
= 0;
3938 char *_kwnames
[] = { "self", NULL
};
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) return NULL
;
3956 } _resultobj
= Py_BuildValue("i",_result
);
3960 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3961 wxAcceleratorTable
*src
;
3963 src
= (wxAcceleratorTable
*) ptr
;
3964 dest
= (wxObject
*) src
;
3965 return (void *) dest
;
3968 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3969 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
* _resultobj
;
3971 wxAcceleratorTable
* _result
;
3973 wxAcceleratorEntry
* _arg1
;
3974 PyObject
* _obj1
= 0;
3975 char *_kwnames
[] = { "choices", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3983 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3984 if (_arg1
== NULL
) {
3990 _arg0
= PyList_Size(_obj1
);
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) return NULL
;
4003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4004 _resultobj
= Py_BuildValue("s",_ptemp
);
4007 _resultobj
= Py_None
;
4015 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4016 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4018 wxAcceleratorTable
* _arg0
;
4019 PyObject
* _argo0
= 0;
4020 char *_kwnames
[] = { "self", NULL
};
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 delete_wxAcceleratorTable(_arg0
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) return NULL
;
4038 } Py_INCREF(Py_None
);
4039 _resultobj
= Py_None
;
4043 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4046 src
= (wxBusyInfo
*) ptr
;
4047 dest
= (wxObject
*) src
;
4048 return (void *) dest
;
4051 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4052 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4054 wxBusyInfo
* _result
;
4056 PyObject
* _obj0
= 0;
4057 char *_kwnames
[] = { "message", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4064 _arg0
= wxString_in_helper(_obj0
);
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) return NULL
;
4075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4076 _resultobj
= Py_BuildValue("s",_ptemp
);
4079 _resultobj
= Py_None
;
4088 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4089 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4092 PyObject
* _argo0
= 0;
4093 char *_kwnames
[] = { "self", NULL
};
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 delete_wxBusyInfo(_arg0
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) return NULL
;
4111 } Py_INCREF(Py_None
);
4112 _resultobj
= Py_None
;
4116 static PyMethodDef misccMethods
[] = {
4117 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4260 * This table is used by the pointer type-checker
4262 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4263 { "_signed_long","_long",0},
4264 { "_wxPrintQuality","_wxCoord",0},
4265 { "_wxPrintQuality","_int",0},
4266 { "_wxPrintQuality","_signed_int",0},
4267 { "_wxPrintQuality","_unsigned_int",0},
4268 { "_wxPrintQuality","_wxWindowID",0},
4269 { "_wxPrintQuality","_uint",0},
4270 { "_wxPrintQuality","_EBool",0},
4271 { "_wxPrintQuality","_size_t",0},
4272 { "_wxPrintQuality","_time_t",0},
4273 { "_byte","_unsigned_char",0},
4274 { "_long","_unsigned_long",0},
4275 { "_long","_signed_long",0},
4276 { "_size_t","_wxCoord",0},
4277 { "_size_t","_wxPrintQuality",0},
4278 { "_size_t","_time_t",0},
4279 { "_size_t","_unsigned_int",0},
4280 { "_size_t","_int",0},
4281 { "_size_t","_wxWindowID",0},
4282 { "_size_t","_uint",0},
4283 { "_uint","_wxCoord",0},
4284 { "_uint","_wxPrintQuality",0},
4285 { "_uint","_time_t",0},
4286 { "_uint","_size_t",0},
4287 { "_uint","_unsigned_int",0},
4288 { "_uint","_int",0},
4289 { "_uint","_wxWindowID",0},
4290 { "_wxChar","_char",0},
4291 { "_char","_wxChar",0},
4292 { "_EBool","_wxCoord",0},
4293 { "_EBool","_wxPrintQuality",0},
4294 { "_EBool","_signed_int",0},
4295 { "_EBool","_int",0},
4296 { "_EBool","_wxWindowID",0},
4297 { "_unsigned_long","_long",0},
4298 { "_signed_int","_wxCoord",0},
4299 { "_signed_int","_wxPrintQuality",0},
4300 { "_signed_int","_EBool",0},
4301 { "_signed_int","_wxWindowID",0},
4302 { "_signed_int","_int",0},
4303 { "_WXTYPE","_short",0},
4304 { "_WXTYPE","_signed_short",0},
4305 { "_WXTYPE","_unsigned_short",0},
4306 { "_unsigned_short","_WXTYPE",0},
4307 { "_unsigned_short","_short",0},
4308 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4309 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4310 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4311 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4312 { "_signed_short","_WXTYPE",0},
4313 { "_signed_short","_short",0},
4314 { "_unsigned_char","_byte",0},
4315 { "_unsigned_int","_wxCoord",0},
4316 { "_unsigned_int","_wxPrintQuality",0},
4317 { "_unsigned_int","_time_t",0},
4318 { "_unsigned_int","_size_t",0},
4319 { "_unsigned_int","_uint",0},
4320 { "_unsigned_int","_wxWindowID",0},
4321 { "_unsigned_int","_int",0},
4322 { "_short","_WXTYPE",0},
4323 { "_short","_unsigned_short",0},
4324 { "_short","_signed_short",0},
4325 { "_wxWindowID","_wxCoord",0},
4326 { "_wxWindowID","_wxPrintQuality",0},
4327 { "_wxWindowID","_time_t",0},
4328 { "_wxWindowID","_size_t",0},
4329 { "_wxWindowID","_EBool",0},
4330 { "_wxWindowID","_uint",0},
4331 { "_wxWindowID","_int",0},
4332 { "_wxWindowID","_signed_int",0},
4333 { "_wxWindowID","_unsigned_int",0},
4334 { "_int","_wxCoord",0},
4335 { "_int","_wxPrintQuality",0},
4336 { "_int","_time_t",0},
4337 { "_int","_size_t",0},
4338 { "_int","_EBool",0},
4339 { "_int","_uint",0},
4340 { "_int","_wxWindowID",0},
4341 { "_int","_unsigned_int",0},
4342 { "_int","_signed_int",0},
4343 { "_time_t","_wxCoord",0},
4344 { "_time_t","_wxPrintQuality",0},
4345 { "_time_t","_unsigned_int",0},
4346 { "_time_t","_int",0},
4347 { "_time_t","_wxWindowID",0},
4348 { "_time_t","_uint",0},
4349 { "_time_t","_size_t",0},
4350 { "_wxCoord","_int",0},
4351 { "_wxCoord","_signed_int",0},
4352 { "_wxCoord","_unsigned_int",0},
4353 { "_wxCoord","_wxWindowID",0},
4354 { "_wxCoord","_uint",0},
4355 { "_wxCoord","_EBool",0},
4356 { "_wxCoord","_size_t",0},
4357 { "_wxCoord","_time_t",0},
4358 { "_wxCoord","_wxPrintQuality",0},
4361 static PyObject
*SWIG_globals
;
4365 SWIGEXPORT(void) initmiscc() {
4367 SWIG_globals
= SWIG_newvarlink();
4368 m
= Py_InitModule("miscc", misccMethods
);
4369 d
= PyModule_GetDict(m
);
4370 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4371 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4372 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4373 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4374 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4375 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4376 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4377 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4378 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4379 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4380 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4381 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4382 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4383 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4384 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4385 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4386 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4387 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4388 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4389 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4390 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4393 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4394 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);