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 // Put some wx default wxChar* values into wxStrings.
91 static const wxString
wxPyEmptyString(wxT(""));
93 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
100 dest
= reg1
.GetBox();
102 if (dest
!= wxRect(0,0,0,0)) {
103 wxPyBeginBlockThreads();
104 wxRect
* newRect
= new wxRect(dest
);
105 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
106 PyObject
* one
= PyInt_FromLong(1);
107 PyObject_SetAttrString(obj
, "thisown", one
);
109 wxPyEndBlockThreads();
116 wxString
wxGetResource(const wxString
& section
, const wxString
& entry
,
117 const wxString
& file
= wxPyEmptyString
) {
119 wxGetResource(section
, entry
, &retval
, file
);
123 #if 0 // we want to use the definition from the header, not the
124 // one SWIG will generate.
125 extern wxAcceleratorTable wxNullAcceleratorTable
;
131 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
137 PyObject
* _obj0
= 0;
139 PyObject
* _obj1
= 0;
140 char *_kwnames
[] = { "r1","r2", NULL
};
143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
147 if (! wxRect_helper(_obj0
, &_arg0
))
152 if (! wxRect_helper(_obj1
, &_arg1
))
156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
157 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
159 wxPyEndAllowThreads(__tstate
);
160 if (PyErr_Occurred()) return NULL
;
162 _resultobj
= _result
;
167 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 char *_kwnames
[] = { NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= (long )wxNewId();
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
181 } _resultobj
= Py_BuildValue("l",_result
);
185 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
188 char *_kwnames
[] = { "id", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
197 wxPyEndAllowThreads(__tstate
);
198 if (PyErr_Occurred()) return NULL
;
199 } Py_INCREF(Py_None
);
200 _resultobj
= Py_None
;
204 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
207 char *_kwnames
[] = { NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 _result
= (long )wxNewId();
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } _resultobj
= Py_BuildValue("l",_result
);
222 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
225 char *_kwnames
[] = { "id", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 wxPyEndAllowThreads(__tstate
);
235 if (PyErr_Occurred()) return NULL
;
236 } Py_INCREF(Py_None
);
237 _resultobj
= Py_None
;
241 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 char *_kwnames
[] = { NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 _result
= (long )wxGetCurrentId();
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
255 } _resultobj
= Py_BuildValue("l",_result
);
259 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 char *_kwnames
[] = { NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
279 char *_kwnames
[] = { NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
288 wxPyEndAllowThreads(__tstate
);
289 if (PyErr_Occurred()) return NULL
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 bool _arg0
= (bool ) TRUE
;
299 int tempbool0
= (int) TRUE
;
300 char *_kwnames
[] = { "resetTimer", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
305 _arg0
= (bool ) tempbool0
;
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 _result
= (long )wxGetElapsedTime(_arg0
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } _resultobj
= Py_BuildValue("l",_result
);
316 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
319 char *_kwnames
[] = { NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
326 _result
= (long )wxGetFreeMemory();
328 wxPyEndAllowThreads(__tstate
);
329 if (PyErr_Occurred()) return NULL
;
330 } _resultobj
= Py_BuildValue("l",_result
);
334 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
340 char *_kwnames
[] = { NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 wxGetMousePosition(_arg0
,_arg1
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
357 } Py_INCREF(Py_None
);
358 _resultobj
= Py_None
;
361 o
= PyInt_FromLong((long) (*_arg0
));
362 _resultobj
= t_output_helper(_resultobj
, o
);
366 o
= PyInt_FromLong((long) (*_arg1
));
367 _resultobj
= t_output_helper(_resultobj
, o
);
372 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 char *_kwnames
[] = { NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= (bool )wxIsBusy();
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
386 } _resultobj
= Py_BuildValue("i",_result
);
390 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 char *_kwnames
[] = { NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
400 _result
= new wxString (wxNow());
402 wxPyEndAllowThreads(__tstate
);
403 if (PyErr_Occurred()) return NULL
;
406 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
408 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
417 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
421 PyObject
* _obj0
= 0;
422 char *_kwnames
[] = { "command", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
429 _arg0
= wxString_in_helper(_obj0
);
434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
435 _result
= (bool )wxShell(*_arg0
);
437 wxPyEndAllowThreads(__tstate
);
438 if (PyErr_Occurred()) return NULL
;
439 } _resultobj
= Py_BuildValue("i",_result
);
447 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
449 char *_kwnames
[] = { NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 wxPyEndAllowThreads(__tstate
);
459 if (PyErr_Occurred()) return NULL
;
460 } Py_INCREF(Py_None
);
461 _resultobj
= Py_None
;
465 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
472 char *_kwnames
[] = { NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
485 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
487 wxPyEndAllowThreads(__tstate
);
488 if (PyErr_Occurred()) return NULL
;
489 } _resultobj
= Py_BuildValue("i",_result
);
492 o
= PyInt_FromLong((long) (*_arg0
));
493 _resultobj
= t_output_helper(_resultobj
, o
);
497 o
= PyInt_FromLong((long) (*_arg1
));
498 _resultobj
= t_output_helper(_resultobj
, o
);
503 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
504 PyObject
* _resultobj
;
506 char *_kwnames
[] = { NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
513 _result
= new wxString (wxGetOsDescription());
515 wxPyEndAllowThreads(__tstate
);
516 if (PyErr_Occurred()) return NULL
;
519 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
521 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
530 static PyObject
*_wrap_wxShutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 PyObject
* _resultobj
;
533 wxShutdownFlags _arg0
;
534 char *_kwnames
[] = { "wFlags", NULL
};
537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxShutdown",_kwnames
,&_arg0
))
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= (bool )wxShutdown(_arg0
);
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
545 } _resultobj
= Py_BuildValue("i",_result
);
549 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
552 char *_kwnames
[] = { "secs", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 char *_kwnames
[] = { "milliseconds", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
580 wxPyEndAllowThreads(__tstate
);
581 if (PyErr_Occurred()) return NULL
;
582 } Py_INCREF(Py_None
);
583 _resultobj
= Py_None
;
587 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
590 char *_kwnames
[] = { NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
597 _result
= (bool )wxYield();
599 wxPyEndAllowThreads(__tstate
);
600 if (PyErr_Occurred()) return NULL
;
601 } _resultobj
= Py_BuildValue("i",_result
);
605 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
608 char *_kwnames
[] = { NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
615 _result
= (bool )wxYieldIfNeeded();
617 wxPyEndAllowThreads(__tstate
);
618 if (PyErr_Occurred()) return NULL
;
619 } _resultobj
= Py_BuildValue("i",_result
);
623 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
624 PyObject
* _resultobj
;
627 char *_kwnames
[] = { "enable", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
632 _arg0
= (bool ) tempbool0
;
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 wxEnableTopLevelWindows(_arg0
);
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
639 } Py_INCREF(Py_None
);
640 _resultobj
= Py_None
;
644 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
649 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
650 PyObject
* _obj0
= 0;
651 PyObject
* _obj1
= 0;
652 PyObject
* _obj2
= 0;
653 char *_kwnames
[] = { "section","entry","file", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
659 _arg0
= wxString_in_helper(_obj0
);
664 _arg1
= wxString_in_helper(_obj1
);
670 _arg2
= wxString_in_helper(_obj2
);
675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
676 _result
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
));
678 wxPyEndAllowThreads(__tstate
);
679 if (PyErr_Occurred()) return NULL
;
682 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
684 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
705 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
709 PyObject
* _obj0
= 0;
710 char *_kwnames
[] = { "in", NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
716 _arg0
= wxString_in_helper(_obj0
);
721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
722 _result
= new wxString (wxStripMenuCodes(*_arg0
));
724 wxPyEndAllowThreads(__tstate
);
725 if (PyErr_Occurred()) return NULL
;
728 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
730 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
743 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
746 char *_kwnames
[] = { NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
753 _result
= new wxString (wxGetEmailAddress());
755 wxPyEndAllowThreads(__tstate
);
756 if (PyErr_Occurred()) return NULL
;
759 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
770 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
773 char *_kwnames
[] = { NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
780 _result
= new wxString (wxGetHostName());
782 wxPyEndAllowThreads(__tstate
);
783 if (PyErr_Occurred()) return NULL
;
786 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
788 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
797 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
800 char *_kwnames
[] = { NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= new wxString (wxGetFullHostName());
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
813 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
815 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
824 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
825 PyObject
* _resultobj
;
827 char *_kwnames
[] = { NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 _result
= new wxString (wxGetUserId());
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
840 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
842 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
851 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 PyObject
* _resultobj
;
854 char *_kwnames
[] = { NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
861 _result
= new wxString (wxGetUserName());
863 wxPyEndAllowThreads(__tstate
);
864 if (PyErr_Occurred()) return NULL
;
867 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
878 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
881 char *_kwnames
[] = { NULL
};
884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
888 _result
= new wxString (wxGetHomeDir());
890 wxPyEndAllowThreads(__tstate
);
891 if (PyErr_Occurred()) return NULL
;
894 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
896 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
905 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
908 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
909 PyObject
* _obj0
= 0;
910 char *_kwnames
[] = { "user", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
917 _arg0
= wxString_in_helper(_obj0
);
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= new wxString (wxGetUserHome(*_arg0
));
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
929 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
931 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
944 static PyObject
*_wrap_wxGetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
946 unsigned long _result
;
947 char *_kwnames
[] = { NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetProcessId",_kwnames
))
953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
954 _result
= (unsigned long )wxGetProcessId();
956 wxPyEndAllowThreads(__tstate
);
957 if (PyErr_Occurred()) return NULL
;
958 } _resultobj
= Py_BuildValue("l",_result
);
962 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
964 wxAcceleratorEntry
* _result
;
966 PyObject
* _obj0
= 0;
967 char *_kwnames
[] = { "label", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
974 _arg0
= wxString_in_helper(_obj0
);
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
986 _resultobj
= Py_BuildValue("s",_ptemp
);
989 _resultobj
= Py_None
;
998 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
1000 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
1004 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
1008 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
1009 pyobj
= PyString_FromString(ptemp
);
1013 static wxString
wxObject_GetClassName(wxObject
*self
) {
1014 return self
->GetClassInfo()->GetClassName();
1016 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
* _resultobj
;
1020 PyObject
* _argo0
= 0;
1021 char *_kwnames
[] = { "self", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
1027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 _result
= new wxString (wxObject_GetClassName(_arg0
));
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1041 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1043 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1052 static void wxObject_Destroy(wxObject
*self
) {
1055 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 PyObject
* _argo0
= 0;
1059 char *_kwnames
[] = { "self", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
1072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1073 wxObject_Destroy(_arg0
);
1075 wxPyEndAllowThreads(__tstate
);
1076 if (PyErr_Occurred()) return NULL
;
1077 } Py_INCREF(Py_None
);
1078 _resultobj
= Py_None
;
1082 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1083 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1089 PyObject
* _obj0
= 0;
1090 char *_kwnames
[] = { "self","x", NULL
};
1093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1097 if (! wxSize_helper(_obj0
, &_arg0
))
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) return NULL
;
1106 } _resultobj
= Py_BuildValue("l",_result
);
1110 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1111 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1116 PyObject
* _obj0
= 0;
1117 char *_kwnames
[] = { "self", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1124 if (! wxSize_helper(_obj0
, &_arg0
))
1128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1129 _result
= (long )wxSize_x_get(_arg0
);
1131 wxPyEndAllowThreads(__tstate
);
1132 if (PyErr_Occurred()) return NULL
;
1133 } _resultobj
= Py_BuildValue("l",_result
);
1137 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1138 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1144 PyObject
* _obj0
= 0;
1145 char *_kwnames
[] = { "self","y", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1152 if (! wxSize_helper(_obj0
, &_arg0
))
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) return NULL
;
1161 } _resultobj
= Py_BuildValue("l",_result
);
1165 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1166 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
* _resultobj
;
1171 PyObject
* _obj0
= 0;
1172 char *_kwnames
[] = { "self", NULL
};
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1179 if (! wxSize_helper(_obj0
, &_arg0
))
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 _result
= (long )wxSize_y_get(_arg0
);
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } _resultobj
= Py_BuildValue("l",_result
);
1192 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1193 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 long _arg0
= (long ) 0;
1197 long _arg1
= (long ) 0;
1198 char *_kwnames
[] = { "w","h", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) return NULL
;
1211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1212 _resultobj
= Py_BuildValue("s",_ptemp
);
1215 _resultobj
= Py_None
;
1220 #define delete_wxSize(_swigobj) (delete _swigobj)
1221 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1225 PyObject
* _obj0
= 0;
1226 char *_kwnames
[] = { "self", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1233 if (! wxSize_helper(_obj0
, &_arg0
))
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 delete_wxSize(_arg0
);
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) return NULL
;
1242 } Py_INCREF(Py_None
);
1243 _resultobj
= Py_None
;
1247 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1248 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1254 PyObject
* _obj0
= 0;
1255 char *_kwnames
[] = { "self","w","h", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1262 if (! wxSize_helper(_obj0
, &_arg0
))
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 wxSize_Set(_arg0
,_arg1
,_arg2
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } Py_INCREF(Py_None
);
1272 _resultobj
= Py_None
;
1276 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1277 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1282 PyObject
* _obj0
= 0;
1283 char *_kwnames
[] = { "self", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1290 if (! wxSize_helper(_obj0
, &_arg0
))
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 _result
= (long )wxSize_GetX(_arg0
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) return NULL
;
1299 } _resultobj
= Py_BuildValue("l",_result
);
1303 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1304 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1309 PyObject
* _obj0
= 0;
1310 char *_kwnames
[] = { "self", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1317 if (! wxSize_helper(_obj0
, &_arg0
))
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 _result
= (long )wxSize_GetY(_arg0
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) return NULL
;
1326 } _resultobj
= Py_BuildValue("l",_result
);
1330 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1331 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1336 PyObject
* _obj0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1344 if (! wxSize_helper(_obj0
, &_arg0
))
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 _result
= (long )wxSize_GetWidth(_arg0
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) return NULL
;
1353 } _resultobj
= Py_BuildValue("l",_result
);
1357 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1358 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1363 PyObject
* _obj0
= 0;
1364 char *_kwnames
[] = { "self", NULL
};
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1371 if (! wxSize_helper(_obj0
, &_arg0
))
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 _result
= (long )wxSize_GetHeight(_arg0
);
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) return NULL
;
1380 } _resultobj
= Py_BuildValue("l",_result
);
1384 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1385 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1390 PyObject
* _obj0
= 0;
1391 char *_kwnames
[] = { "self","w", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1398 if (! wxSize_helper(_obj0
, &_arg0
))
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 wxSize_SetWidth(_arg0
,_arg1
);
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) return NULL
;
1407 } Py_INCREF(Py_None
);
1408 _resultobj
= Py_None
;
1412 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1413 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1418 PyObject
* _obj0
= 0;
1419 char *_kwnames
[] = { "self","h", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1426 if (! wxSize_helper(_obj0
, &_arg0
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 wxSize_SetHeight(_arg0
,_arg1
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 } Py_INCREF(Py_None
);
1436 _resultobj
= Py_None
;
1440 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1441 wxPyBeginBlockThreads();
1442 PyObject
* tup
= PyTuple_New(2);
1443 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1444 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1445 wxPyEndBlockThreads();
1448 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1453 PyObject
* _obj0
= 0;
1454 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1461 if (! wxSize_helper(_obj0
, &_arg0
))
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) return NULL
;
1471 _resultobj
= _result
;
1476 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1478 if (*self
== *sz
) return 0;
1481 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1487 PyObject
* _obj0
= 0;
1489 PyObject
* _obj1
= 0;
1490 char *_kwnames
[] = { "self","sz", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1497 if (! wxSize_helper(_obj0
, &_arg0
))
1502 if (! wxSize_helper(_obj1
, &_arg1
))
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } _resultobj
= Py_BuildValue("i",_result
);
1515 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1516 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1519 wxRealPoint
* _arg0
;
1522 PyObject
* _obj0
= 0;
1523 char *_kwnames
[] = { "self","x", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1530 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 } _resultobj
= Py_BuildValue("d",_result
);
1543 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1544 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1547 wxRealPoint
* _arg0
;
1549 PyObject
* _obj0
= 0;
1550 char *_kwnames
[] = { "self", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1557 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (double )wxRealPoint_x_get(_arg0
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1566 } _resultobj
= Py_BuildValue("d",_result
);
1570 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1571 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1574 wxRealPoint
* _arg0
;
1577 PyObject
* _obj0
= 0;
1578 char *_kwnames
[] = { "self","y", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1585 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1594 } _resultobj
= Py_BuildValue("d",_result
);
1598 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1599 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1602 wxRealPoint
* _arg0
;
1604 PyObject
* _obj0
= 0;
1605 char *_kwnames
[] = { "self", NULL
};
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1612 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 _result
= (double )wxRealPoint_y_get(_arg0
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) return NULL
;
1621 } _resultobj
= Py_BuildValue("d",_result
);
1625 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1626 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1628 wxRealPoint
* _result
;
1629 double _arg0
= (double ) 0.0;
1630 double _arg1
= (double ) 0.0;
1631 char *_kwnames
[] = { "x","y", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1645 _resultobj
= Py_BuildValue("s",_ptemp
);
1648 _resultobj
= Py_None
;
1653 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1654 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1656 wxRealPoint
* _arg0
;
1658 PyObject
* _obj0
= 0;
1659 char *_kwnames
[] = { "self", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1666 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 delete_wxRealPoint(_arg0
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) return NULL
;
1675 } Py_INCREF(Py_None
);
1676 _resultobj
= Py_None
;
1680 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1684 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1686 wxRealPoint
* _arg0
;
1690 PyObject
* _obj0
= 0;
1691 char *_kwnames
[] = { "self","x","y", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1698 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) return NULL
;
1707 } Py_INCREF(Py_None
);
1708 _resultobj
= Py_None
;
1712 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1713 wxPyBeginBlockThreads();
1714 PyObject
* tup
= PyTuple_New(2);
1715 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1716 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1717 wxPyEndBlockThreads();
1720 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1723 wxRealPoint
* _arg0
;
1725 PyObject
* _obj0
= 0;
1726 char *_kwnames
[] = { "self", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1733 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) return NULL
;
1743 _resultobj
= _result
;
1748 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1749 if (! p
) return *self
;
1752 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxRealPoint
* _result
;
1755 wxRealPoint
* _arg0
;
1756 wxRealPoint
* _arg1
;
1758 PyObject
* _obj0
= 0;
1760 PyObject
* _obj1
= 0;
1761 char *_kwnames
[] = { "self","p", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1769 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1774 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) return NULL
;
1783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1788 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1789 if (! p
) return *self
;
1792 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxRealPoint
* _result
;
1795 wxRealPoint
* _arg0
;
1796 wxRealPoint
* _arg1
;
1798 PyObject
* _obj0
= 0;
1800 PyObject
* _obj1
= 0;
1801 char *_kwnames
[] = { "self","p", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1809 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1814 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1823 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1824 _resultobj
= Py_BuildValue("s",_ptemp
);
1828 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1830 if (*self
== *p
) return 0;
1833 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1836 wxRealPoint
* _arg0
;
1837 wxRealPoint
* _arg1
;
1839 PyObject
* _obj0
= 0;
1841 PyObject
* _obj1
= 0;
1842 char *_kwnames
[] = { "self","p", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1849 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1854 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) return NULL
;
1863 } _resultobj
= Py_BuildValue("i",_result
);
1867 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1868 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1874 PyObject
* _obj0
= 0;
1875 char *_kwnames
[] = { "self","x", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1882 if (! wxPoint_helper(_obj0
, &_arg0
))
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) return NULL
;
1891 } _resultobj
= Py_BuildValue("l",_result
);
1895 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1896 static PyObject
*_wrap_wxPoint_x_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_x_get",_kwnames
,&_obj0
))
1909 if (! wxPoint_helper(_obj0
, &_arg0
))
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 _result
= (long )wxPoint_x_get(_arg0
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) return NULL
;
1918 } _resultobj
= Py_BuildValue("l",_result
);
1922 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1923 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1929 PyObject
* _obj0
= 0;
1930 char *_kwnames
[] = { "self","y", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1937 if (! wxPoint_helper(_obj0
, &_arg0
))
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) return NULL
;
1946 } _resultobj
= Py_BuildValue("l",_result
);
1950 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1951 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1956 PyObject
* _obj0
= 0;
1957 char *_kwnames
[] = { "self", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1964 if (! wxPoint_helper(_obj0
, &_arg0
))
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (long )wxPoint_y_get(_arg0
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1973 } _resultobj
= Py_BuildValue("l",_result
);
1977 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1978 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 long _arg0
= (long ) 0;
1982 long _arg1
= (long ) 0;
1983 char *_kwnames
[] = { "x","y", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1997 _resultobj
= Py_BuildValue("s",_ptemp
);
2000 _resultobj
= Py_None
;
2005 #define delete_wxPoint(_swigobj) (delete _swigobj)
2006 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2010 PyObject
* _obj0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
2018 if (! wxPoint_helper(_obj0
, &_arg0
))
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 delete_wxPoint(_arg0
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) return NULL
;
2027 } Py_INCREF(Py_None
);
2028 _resultobj
= Py_None
;
2032 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2036 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2042 PyObject
* _obj0
= 0;
2043 char *_kwnames
[] = { "self","x","y", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2050 if (! wxPoint_helper(_obj0
, &_arg0
))
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) return NULL
;
2059 } Py_INCREF(Py_None
);
2060 _resultobj
= Py_None
;
2064 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2065 wxPyBeginBlockThreads();
2066 PyObject
* tup
= PyTuple_New(2);
2067 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2068 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2069 wxPyEndBlockThreads();
2072 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2077 PyObject
* _obj0
= 0;
2078 char *_kwnames
[] = { "self", NULL
};
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2085 if (! wxPoint_helper(_obj0
, &_arg0
))
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) return NULL
;
2095 _resultobj
= _result
;
2100 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2101 if (! p
) return *self
;
2104 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2110 PyObject
* _obj0
= 0;
2112 PyObject
* _obj1
= 0;
2113 char *_kwnames
[] = { "self","p", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2121 if (! wxPoint_helper(_obj0
, &_arg0
))
2126 if (! wxPoint_helper(_obj1
, &_arg1
))
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) return NULL
;
2135 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2136 _resultobj
= Py_BuildValue("s",_ptemp
);
2140 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2141 if (! p
) return *self
;
2144 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2150 PyObject
* _obj0
= 0;
2152 PyObject
* _obj1
= 0;
2153 char *_kwnames
[] = { "self","p", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2161 if (! wxPoint_helper(_obj0
, &_arg0
))
2166 if (! wxPoint_helper(_obj1
, &_arg1
))
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2176 _resultobj
= Py_BuildValue("s",_ptemp
);
2180 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2182 if (*self
== *p
) return 0;
2185 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2191 PyObject
* _obj0
= 0;
2193 PyObject
* _obj1
= 0;
2194 char *_kwnames
[] = { "self","p", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2201 if (! wxPoint_helper(_obj0
, &_arg0
))
2206 if (! wxPoint_helper(_obj1
, &_arg1
))
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2220 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 int _arg0
= (int ) 0;
2224 int _arg1
= (int ) 0;
2225 int _arg2
= (int ) 0;
2226 int _arg3
= (int ) 0;
2227 char *_kwnames
[] = { "x","y","w","h", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) return NULL
;
2240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2241 _resultobj
= Py_BuildValue("s",_ptemp
);
2244 _resultobj
= Py_None
;
2249 #define delete_wxRect(_swigobj) (delete _swigobj)
2250 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2254 PyObject
* _obj0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2262 if (! wxRect_helper(_obj0
, &_arg0
))
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 delete_wxRect(_arg0
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } Py_INCREF(Py_None
);
2272 _resultobj
= Py_None
;
2276 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2277 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2282 PyObject
* _obj0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2290 if (! wxRect_helper(_obj0
, &_arg0
))
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= (int )wxRect_GetX(_arg0
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2304 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2309 PyObject
* _obj0
= 0;
2310 char *_kwnames
[] = { "self","X", NULL
};
2313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2317 if (! wxRect_helper(_obj0
, &_arg0
))
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 wxRect_SetX(_arg0
,_arg1
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) return NULL
;
2326 } Py_INCREF(Py_None
);
2327 _resultobj
= Py_None
;
2331 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2332 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2337 PyObject
* _obj0
= 0;
2338 char *_kwnames
[] = { "self", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2345 if (! wxRect_helper(_obj0
, &_arg0
))
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 _result
= (int )wxRect_GetY(_arg0
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) return NULL
;
2354 } _resultobj
= Py_BuildValue("i",_result
);
2358 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2359 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2364 PyObject
* _obj0
= 0;
2365 char *_kwnames
[] = { "self","Y", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2372 if (! wxRect_helper(_obj0
, &_arg0
))
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 wxRect_SetY(_arg0
,_arg1
);
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2386 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2387 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2392 PyObject
* _obj0
= 0;
2393 char *_kwnames
[] = { "self", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2400 if (! wxRect_helper(_obj0
, &_arg0
))
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 _result
= (int )wxRect_GetWidth(_arg0
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) return NULL
;
2409 } _resultobj
= Py_BuildValue("i",_result
);
2413 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2414 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2419 PyObject
* _obj0
= 0;
2420 char *_kwnames
[] = { "self","w", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2427 if (! wxRect_helper(_obj0
, &_arg0
))
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 wxRect_SetWidth(_arg0
,_arg1
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2442 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2447 PyObject
* _obj0
= 0;
2448 char *_kwnames
[] = { "self", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2455 if (! wxRect_helper(_obj0
, &_arg0
))
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 _result
= (int )wxRect_GetHeight(_arg0
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } _resultobj
= Py_BuildValue("i",_result
);
2468 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2469 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2474 PyObject
* _obj0
= 0;
2475 char *_kwnames
[] = { "self","h", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2482 if (! wxRect_helper(_obj0
, &_arg0
))
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 wxRect_SetHeight(_arg0
,_arg1
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) return NULL
;
2491 } Py_INCREF(Py_None
);
2492 _resultobj
= Py_None
;
2496 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2497 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
* _resultobj
;
2502 PyObject
* _obj0
= 0;
2503 char *_kwnames
[] = { "self", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2511 if (! wxRect_helper(_obj0
, &_arg0
))
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) return NULL
;
2520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2521 _resultobj
= Py_BuildValue("s",_ptemp
);
2525 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2526 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2531 PyObject
* _obj0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2540 if (! wxRect_helper(_obj0
, &_arg0
))
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 _result
= new wxSize (wxRect_GetSize(_arg0
));
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) return NULL
;
2549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2550 _resultobj
= Py_BuildValue("s",_ptemp
);
2554 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2555 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2560 PyObject
* _obj0
= 0;
2562 PyObject
* _obj1
= 0;
2563 char *_kwnames
[] = { "self","p", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetPosition",_kwnames
,&_obj0
,&_obj1
))
2570 if (! wxRect_helper(_obj0
, &_arg0
))
2575 if (! wxPoint_helper(_obj1
, &_arg1
))
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxRect_SetPosition(_arg0
,*_arg1
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2589 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2590 static PyObject
*_wrap_wxRect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2595 PyObject
* _obj0
= 0;
2597 PyObject
* _obj1
= 0;
2598 char *_kwnames
[] = { "self","s", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetSize",_kwnames
,&_obj0
,&_obj1
))
2605 if (! wxRect_helper(_obj0
, &_arg0
))
2610 if (! wxSize_helper(_obj1
, &_arg1
))
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 wxRect_SetSize(_arg0
,*_arg1
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2625 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2630 PyObject
* _obj0
= 0;
2631 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2638 if (! wxRect_helper(_obj0
, &_arg0
))
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 _result
= (int )wxRect_GetLeft(_arg0
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) return NULL
;
2647 } _resultobj
= Py_BuildValue("i",_result
);
2651 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2652 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
* _resultobj
;
2657 PyObject
* _obj0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2665 if (! wxRect_helper(_obj0
, &_arg0
))
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 _result
= (int )wxRect_GetTop(_arg0
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) return NULL
;
2674 } _resultobj
= Py_BuildValue("i",_result
);
2678 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2679 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2684 PyObject
* _obj0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2692 if (! wxRect_helper(_obj0
, &_arg0
))
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 _result
= (int )wxRect_GetBottom(_arg0
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) return NULL
;
2701 } _resultobj
= Py_BuildValue("i",_result
);
2705 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2706 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2711 PyObject
* _obj0
= 0;
2712 char *_kwnames
[] = { "self", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2719 if (! wxRect_helper(_obj0
, &_arg0
))
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (int )wxRect_GetRight(_arg0
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2733 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2738 PyObject
* _obj0
= 0;
2739 char *_kwnames
[] = { "self","left", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2746 if (! wxRect_helper(_obj0
, &_arg0
))
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 wxRect_SetLeft(_arg0
,_arg1
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2761 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2766 PyObject
* _obj0
= 0;
2767 char *_kwnames
[] = { "self","right", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2774 if (! wxRect_helper(_obj0
, &_arg0
))
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 wxRect_SetRight(_arg0
,_arg1
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) return NULL
;
2783 } Py_INCREF(Py_None
);
2784 _resultobj
= Py_None
;
2788 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2789 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2794 PyObject
* _obj0
= 0;
2795 char *_kwnames
[] = { "self","top", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2802 if (! wxRect_helper(_obj0
, &_arg0
))
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 wxRect_SetTop(_arg0
,_arg1
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2811 } Py_INCREF(Py_None
);
2812 _resultobj
= Py_None
;
2816 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2817 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
* _resultobj
;
2822 PyObject
* _obj0
= 0;
2823 char *_kwnames
[] = { "self","bottom", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2830 if (! wxRect_helper(_obj0
, &_arg0
))
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 wxRect_SetBottom(_arg0
,_arg1
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) return NULL
;
2839 } Py_INCREF(Py_None
);
2840 _resultobj
= Py_None
;
2844 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2845 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2851 PyObject
* _obj0
= 0;
2852 char *_kwnames
[] = { "self","dx","dy", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2859 if (! wxRect_helper(_obj0
, &_arg0
))
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2868 } Py_INCREF(Py_None
);
2869 _resultobj
= Py_None
;
2873 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2874 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2881 PyObject
* _obj0
= 0;
2882 char *_kwnames
[] = { "self","cx","cy", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2889 if (! wxRect_helper(_obj0
, &_arg0
))
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2898 } _resultobj
= Py_BuildValue("i",_result
);
2902 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2903 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2909 PyObject
* _obj0
= 0;
2910 char *_kwnames
[] = { "self","x", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2917 if (! wxRect_helper(_obj0
, &_arg0
))
2921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2922 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2924 wxPyEndAllowThreads(__tstate
);
2925 if (PyErr_Occurred()) return NULL
;
2926 } _resultobj
= Py_BuildValue("i",_result
);
2930 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2931 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2936 PyObject
* _obj0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2944 if (! wxRect_helper(_obj0
, &_arg0
))
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 _result
= (int )wxRect_x_get(_arg0
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2958 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2964 PyObject
* _obj0
= 0;
2965 char *_kwnames
[] = { "self","y", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2972 if (! wxRect_helper(_obj0
, &_arg0
))
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) return NULL
;
2981 } _resultobj
= Py_BuildValue("i",_result
);
2985 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2986 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2991 PyObject
* _obj0
= 0;
2992 char *_kwnames
[] = { "self", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2999 if (! wxRect_helper(_obj0
, &_arg0
))
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 _result
= (int )wxRect_y_get(_arg0
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } _resultobj
= Py_BuildValue("i",_result
);
3012 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3013 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3019 PyObject
* _obj0
= 0;
3020 char *_kwnames
[] = { "self","width", NULL
};
3023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
3027 if (! wxRect_helper(_obj0
, &_arg0
))
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) return NULL
;
3036 } _resultobj
= Py_BuildValue("i",_result
);
3040 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3041 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3042 PyObject
* _resultobj
;
3046 PyObject
* _obj0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
3054 if (! wxRect_helper(_obj0
, &_arg0
))
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 _result
= (int )wxRect_width_get(_arg0
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) return NULL
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3068 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3074 PyObject
* _obj0
= 0;
3075 char *_kwnames
[] = { "self","height", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
3082 if (! wxRect_helper(_obj0
, &_arg0
))
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) return NULL
;
3091 } _resultobj
= Py_BuildValue("i",_result
);
3095 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3096 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3101 PyObject
* _obj0
= 0;
3102 char *_kwnames
[] = { "self", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3109 if (! wxRect_helper(_obj0
, &_arg0
))
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 _result
= (int )wxRect_height_get(_arg0
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) return NULL
;
3118 } _resultobj
= Py_BuildValue("i",_result
);
3122 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3123 wxPyBeginBlockThreads();
3124 PyObject
* tup
= PyTuple_New(4);
3125 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3126 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3127 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3128 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3129 wxPyEndBlockThreads();
3132 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3137 PyObject
* _obj0
= 0;
3138 char *_kwnames
[] = { "self", NULL
};
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3145 if (! wxRect_helper(_obj0
, &_arg0
))
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3155 _resultobj
= _result
;
3160 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3161 if (! rect
) return *self
;
3162 return *self
+ *rect
;
3164 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3170 PyObject
* _obj0
= 0;
3172 PyObject
* _obj1
= 0;
3173 char *_kwnames
[] = { "self","rect", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3181 if (! wxRect_helper(_obj0
, &_arg0
))
3186 if (! wxRect_helper(_obj1
, &_arg1
))
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) return NULL
;
3195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3196 _resultobj
= Py_BuildValue("s",_ptemp
);
3200 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3201 if (! rect
) return 1;
3202 if (*self
== *rect
) return 0;
3205 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3211 PyObject
* _obj0
= 0;
3213 PyObject
* _obj1
= 0;
3214 char *_kwnames
[] = { "self","rect", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3221 if (! wxRect_helper(_obj0
, &_arg0
))
3226 if (! wxRect_helper(_obj1
, &_arg1
))
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) return NULL
;
3235 } _resultobj
= Py_BuildValue("i",_result
);
3239 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3240 wxIndividualLayoutConstraint
*src
;
3242 src
= (wxIndividualLayoutConstraint
*) ptr
;
3243 dest
= (wxObject
*) src
;
3244 return (void *) dest
;
3247 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3248 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3250 wxIndividualLayoutConstraint
* _arg0
;
3252 int _arg2
= (int ) 0;
3253 PyObject
* _argo0
= 0;
3254 PyObject
* _argo1
= 0;
3255 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) return NULL
;
3280 } Py_INCREF(Py_None
);
3281 _resultobj
= Py_None
;
3285 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3286 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3288 wxIndividualLayoutConstraint
* _arg0
;
3290 PyObject
* _argo0
= 0;
3291 char *_kwnames
[] = { "self","value", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) return NULL
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3315 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3317 wxIndividualLayoutConstraint
* _arg0
;
3318 PyObject
* _argo0
= 0;
3319 char *_kwnames
[] = { "self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 wxIndividualLayoutConstraint_AsIs(_arg0
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) return NULL
;
3337 } Py_INCREF(Py_None
);
3338 _resultobj
= Py_None
;
3342 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3343 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3345 wxIndividualLayoutConstraint
* _arg0
;
3347 int _arg2
= (int ) 0;
3348 PyObject
* _argo0
= 0;
3349 PyObject
* _argo1
= 0;
3350 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3363 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) return NULL
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3380 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3381 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3383 wxIndividualLayoutConstraint
* _arg0
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3403 } Py_INCREF(Py_None
);
3404 _resultobj
= Py_None
;
3408 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3409 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxIndividualLayoutConstraint
* _arg0
;
3413 int _arg2
= (int ) 0;
3414 PyObject
* _argo0
= 0;
3415 PyObject
* _argo1
= 0;
3416 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) return NULL
;
3441 } Py_INCREF(Py_None
);
3442 _resultobj
= Py_None
;
3446 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3447 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3449 wxIndividualLayoutConstraint
* _arg0
;
3453 PyObject
* _argo0
= 0;
3454 PyObject
* _argo1
= 0;
3455 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3468 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3469 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3485 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3486 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3488 wxIndividualLayoutConstraint
* _arg0
;
3490 int _arg2
= (int ) 0;
3491 PyObject
* _argo0
= 0;
3492 PyObject
* _argo1
= 0;
3493 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) return NULL
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3524 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxIndividualLayoutConstraint
* _arg0
;
3529 int _arg3
= (int ) 0;
3530 PyObject
* _argo0
= 0;
3531 PyObject
* _argo1
= 0;
3532 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) return NULL
;
3557 } Py_INCREF(Py_None
);
3558 _resultobj
= Py_None
;
3562 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3563 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3565 wxIndividualLayoutConstraint
* _arg0
;
3566 wxRelationship _arg1
;
3569 int _arg4
= (int ) 0;
3570 int _arg5
= (int ) 0;
3571 PyObject
* _argo0
= 0;
3572 PyObject
* _argo2
= 0;
3573 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3586 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) return NULL
;
3598 } Py_INCREF(Py_None
);
3599 _resultobj
= Py_None
;
3603 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3604 wxLayoutConstraints
*src
;
3606 src
= (wxLayoutConstraints
*) ptr
;
3607 dest
= (wxObject
*) src
;
3608 return (void *) dest
;
3611 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3612 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
* _resultobj
;
3614 wxLayoutConstraints
* _result
;
3615 char *_kwnames
[] = { NULL
};
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) return NULL
;
3628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3629 _resultobj
= Py_BuildValue("s",_ptemp
);
3632 _resultobj
= Py_None
;
3637 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3638 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxIndividualLayoutConstraint
* _result
;
3641 wxLayoutConstraints
* _arg0
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3664 _resultobj
= Py_BuildValue("s",_ptemp
);
3667 _resultobj
= Py_None
;
3672 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3673 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3675 wxIndividualLayoutConstraint
* _result
;
3676 wxLayoutConstraints
* _arg0
;
3677 PyObject
* _argo0
= 0;
3678 char *_kwnames
[] = { "self", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3699 _resultobj
= Py_BuildValue("s",_ptemp
);
3702 _resultobj
= Py_None
;
3707 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3708 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3710 wxIndividualLayoutConstraint
* _result
;
3711 wxLayoutConstraints
* _arg0
;
3712 PyObject
* _argo0
= 0;
3713 char *_kwnames
[] = { "self", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) return NULL
;
3733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3734 _resultobj
= Py_BuildValue("s",_ptemp
);
3737 _resultobj
= Py_None
;
3742 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3743 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
* _resultobj
;
3745 wxIndividualLayoutConstraint
* _result
;
3746 wxLayoutConstraints
* _arg0
;
3747 PyObject
* _argo0
= 0;
3748 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3772 _resultobj
= Py_None
;
3777 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3778 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxIndividualLayoutConstraint
* _result
;
3781 wxLayoutConstraints
* _arg0
;
3782 PyObject
* _argo0
= 0;
3783 char *_kwnames
[] = { "self", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) return NULL
;
3803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3804 _resultobj
= Py_BuildValue("s",_ptemp
);
3807 _resultobj
= Py_None
;
3812 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3813 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3815 wxIndividualLayoutConstraint
* _result
;
3816 wxLayoutConstraints
* _arg0
;
3817 PyObject
* _argo0
= 0;
3818 char *_kwnames
[] = { "self", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3839 _resultobj
= Py_BuildValue("s",_ptemp
);
3842 _resultobj
= Py_None
;
3847 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3848 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3850 wxIndividualLayoutConstraint
* _result
;
3851 wxLayoutConstraints
* _arg0
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) return NULL
;
3873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3874 _resultobj
= Py_BuildValue("s",_ptemp
);
3877 _resultobj
= Py_None
;
3882 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3883 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3885 wxIndividualLayoutConstraint
* _result
;
3886 wxLayoutConstraints
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3909 _resultobj
= Py_BuildValue("s",_ptemp
);
3912 _resultobj
= Py_None
;
3917 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3918 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3920 wxAcceleratorEntry
* _result
;
3921 int _arg0
= (int ) 0;
3922 int _arg1
= (int ) 0;
3923 int _arg2
= (int ) 0;
3924 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3938 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 _resultobj
= Py_None
;
3946 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3947 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3949 wxAcceleratorEntry
* _arg0
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 delete_wxAcceleratorEntry(_arg0
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3974 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3975 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3977 wxAcceleratorEntry
* _arg0
;
3981 PyObject
* _argo0
= 0;
3982 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3998 wxPyEndAllowThreads(__tstate
);
3999 if (PyErr_Occurred()) return NULL
;
4000 } Py_INCREF(Py_None
);
4001 _resultobj
= Py_None
;
4005 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4006 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4009 wxAcceleratorEntry
* _arg0
;
4010 PyObject
* _argo0
= 0;
4011 char *_kwnames
[] = { "self", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } _resultobj
= Py_BuildValue("i",_result
);
4033 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4034 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxAcceleratorEntry
* _arg0
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4062 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxAcceleratorEntry
* _arg0
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
4090 wxAcceleratorTable
*src
;
4092 src
= (wxAcceleratorTable
*) ptr
;
4093 dest
= (wxObject
*) src
;
4094 return (void *) dest
;
4097 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4098 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxAcceleratorTable
* _result
;
4102 wxAcceleratorEntry
* _arg1
;
4103 PyObject
* _obj1
= 0;
4104 char *_kwnames
[] = { "choices", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4112 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4113 if (_arg1
== NULL
) {
4119 _arg0
= PyList_Size(_obj1
);
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) return NULL
;
4132 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4133 _resultobj
= Py_BuildValue("s",_ptemp
);
4136 _resultobj
= Py_None
;
4144 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4145 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
* _resultobj
;
4147 wxAcceleratorTable
* _arg0
;
4148 PyObject
* _argo0
= 0;
4149 char *_kwnames
[] = { "self", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 delete_wxAcceleratorTable(_arg0
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) return NULL
;
4167 } Py_INCREF(Py_None
);
4168 _resultobj
= Py_None
;
4172 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4175 src
= (wxBusyInfo
*) ptr
;
4176 dest
= (wxObject
*) src
;
4177 return (void *) dest
;
4180 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4181 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4183 wxBusyInfo
* _result
;
4185 PyObject
* _obj0
= 0;
4186 char *_kwnames
[] = { "message", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4193 _arg0
= wxString_in_helper(_obj0
);
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4205 _resultobj
= Py_BuildValue("s",_ptemp
);
4208 _resultobj
= Py_None
;
4217 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4218 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 delete_wxBusyInfo(_arg0
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } Py_INCREF(Py_None
);
4241 _resultobj
= Py_None
;
4245 static PyMethodDef misccMethods
[] = {
4246 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4276 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4277 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4278 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4279 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4280 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4281 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4282 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4283 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4284 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4285 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4286 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4287 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4288 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4289 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4290 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4291 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4292 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4293 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4294 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4295 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4296 { "wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
4297 { "wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4298 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4299 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4300 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4301 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4302 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4303 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4304 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4305 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4306 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4307 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4308 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4309 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4310 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4311 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4312 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4313 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4314 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4315 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4316 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4317 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4318 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4319 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4320 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4321 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4322 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4323 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4324 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4325 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4326 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4327 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4328 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4329 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4330 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4331 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4332 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4333 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4334 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4335 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4336 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4337 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4338 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4339 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4340 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4341 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4342 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4343 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4344 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4345 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4346 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4347 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4348 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4349 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4350 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4351 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4352 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4353 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4354 { "wxGetProcessId", (PyCFunction
) _wrap_wxGetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
4355 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4356 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4357 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4358 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4359 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4360 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4361 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4362 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4363 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4364 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4365 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4366 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4367 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4368 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4369 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
4370 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4371 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4372 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4373 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4374 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4375 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4376 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4377 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4378 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4379 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4380 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4381 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4382 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4383 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4384 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4385 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4386 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4393 * This table is used by the pointer type-checker
4395 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4396 { "_signed_long","_long",0},
4397 { "_wxPrintQuality","_wxCoord",0},
4398 { "_wxPrintQuality","_int",0},
4399 { "_wxPrintQuality","_signed_int",0},
4400 { "_wxPrintQuality","_unsigned_int",0},
4401 { "_wxPrintQuality","_wxWindowID",0},
4402 { "_wxPrintQuality","_uint",0},
4403 { "_wxPrintQuality","_EBool",0},
4404 { "_wxPrintQuality","_size_t",0},
4405 { "_wxPrintQuality","_time_t",0},
4406 { "_byte","_unsigned_char",0},
4407 { "_long","_unsigned_long",0},
4408 { "_long","_signed_long",0},
4409 { "_size_t","_wxCoord",0},
4410 { "_size_t","_wxPrintQuality",0},
4411 { "_size_t","_time_t",0},
4412 { "_size_t","_unsigned_int",0},
4413 { "_size_t","_int",0},
4414 { "_size_t","_wxWindowID",0},
4415 { "_size_t","_uint",0},
4416 { "_uint","_wxCoord",0},
4417 { "_uint","_wxPrintQuality",0},
4418 { "_uint","_time_t",0},
4419 { "_uint","_size_t",0},
4420 { "_uint","_unsigned_int",0},
4421 { "_uint","_int",0},
4422 { "_uint","_wxWindowID",0},
4423 { "_wxChar","_char",0},
4424 { "_char","_wxChar",0},
4425 { "_EBool","_wxCoord",0},
4426 { "_EBool","_wxPrintQuality",0},
4427 { "_EBool","_signed_int",0},
4428 { "_EBool","_int",0},
4429 { "_EBool","_wxWindowID",0},
4430 { "_unsigned_long","_long",0},
4431 { "_signed_int","_wxCoord",0},
4432 { "_signed_int","_wxPrintQuality",0},
4433 { "_signed_int","_EBool",0},
4434 { "_signed_int","_wxWindowID",0},
4435 { "_signed_int","_int",0},
4436 { "_WXTYPE","_short",0},
4437 { "_WXTYPE","_signed_short",0},
4438 { "_WXTYPE","_unsigned_short",0},
4439 { "_unsigned_short","_WXTYPE",0},
4440 { "_unsigned_short","_short",0},
4441 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4442 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4443 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4444 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4445 { "_signed_short","_WXTYPE",0},
4446 { "_signed_short","_short",0},
4447 { "_unsigned_char","_byte",0},
4448 { "_unsigned_int","_wxCoord",0},
4449 { "_unsigned_int","_wxPrintQuality",0},
4450 { "_unsigned_int","_time_t",0},
4451 { "_unsigned_int","_size_t",0},
4452 { "_unsigned_int","_uint",0},
4453 { "_unsigned_int","_wxWindowID",0},
4454 { "_unsigned_int","_int",0},
4455 { "_short","_WXTYPE",0},
4456 { "_short","_unsigned_short",0},
4457 { "_short","_signed_short",0},
4458 { "_wxWindowID","_wxCoord",0},
4459 { "_wxWindowID","_wxPrintQuality",0},
4460 { "_wxWindowID","_time_t",0},
4461 { "_wxWindowID","_size_t",0},
4462 { "_wxWindowID","_EBool",0},
4463 { "_wxWindowID","_uint",0},
4464 { "_wxWindowID","_int",0},
4465 { "_wxWindowID","_signed_int",0},
4466 { "_wxWindowID","_unsigned_int",0},
4467 { "_int","_wxCoord",0},
4468 { "_int","_wxPrintQuality",0},
4469 { "_int","_time_t",0},
4470 { "_int","_size_t",0},
4471 { "_int","_EBool",0},
4472 { "_int","_uint",0},
4473 { "_int","_wxWindowID",0},
4474 { "_int","_unsigned_int",0},
4475 { "_int","_signed_int",0},
4476 { "_time_t","_wxCoord",0},
4477 { "_time_t","_wxPrintQuality",0},
4478 { "_time_t","_unsigned_int",0},
4479 { "_time_t","_int",0},
4480 { "_time_t","_wxWindowID",0},
4481 { "_time_t","_uint",0},
4482 { "_time_t","_size_t",0},
4483 { "_wxCoord","_int",0},
4484 { "_wxCoord","_signed_int",0},
4485 { "_wxCoord","_unsigned_int",0},
4486 { "_wxCoord","_wxWindowID",0},
4487 { "_wxCoord","_uint",0},
4488 { "_wxCoord","_EBool",0},
4489 { "_wxCoord","_size_t",0},
4490 { "_wxCoord","_time_t",0},
4491 { "_wxCoord","_wxPrintQuality",0},
4494 static PyObject
*SWIG_globals
;
4498 SWIGEXPORT(void) initmiscc() {
4500 SWIG_globals
= SWIG_newvarlink();
4501 m
= Py_InitModule("miscc", misccMethods
);
4502 d
= PyModule_GetDict(m
);
4503 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
4504 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
4505 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4506 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4507 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4508 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4509 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4510 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4511 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4512 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4513 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4514 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4515 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4516 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4517 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4518 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4519 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4520 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4521 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4522 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4523 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4524 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4525 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4528 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4529 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);