4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmiscc
54 #define SWIG_name "miscc"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
111 wxGetResource(section
, entry
, &retval
, file
);
116 wxColour
wxSystemSettings_GetSystemColour(int index
) {
117 return wxSystemSettings::GetSystemColour(index
);
120 wxFont
wxSystemSettings_GetSystemFont(int index
) {
121 return wxSystemSettings::GetSystemFont(index
);
124 int wxSystemSettings_GetSystemMetric(int index
) {
125 return wxSystemSettings::GetSystemMetric(index
);
130 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
134 char * _arg1
= (char *) NULL
;
135 char * _arg2
= (char *) NULL
;
136 char * _arg3
= (char *) NULL
;
137 char * _arg4
= (char *) "*.*";
138 int _arg5
= (int ) 0;
139 wxWindow
* _arg6
= (wxWindow
*) NULL
;
140 int _arg7
= (int ) -1;
141 int _arg8
= (int ) -1;
142 PyObject
* _argo6
= 0;
143 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
149 if (_argo6
== Py_None
) { _arg6
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
159 wxPy_END_ALLOW_THREADS
;
161 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
169 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
173 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
174 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
175 wxWindow
* _arg3
= (wxWindow
*) NULL
;
176 int _arg4
= (int ) -1;
177 int _arg5
= (int ) -1;
178 bool _arg6
= (bool ) TRUE
;
179 PyObject
* _obj0
= 0;
180 PyObject
* _obj1
= 0;
181 PyObject
* _obj2
= 0;
182 PyObject
* _argo3
= 0;
183 int tempbool6
= (int) TRUE
;
184 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
190 if (!PyString_Check(_obj0
)) {
191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
194 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
198 if (!PyString_Check(_obj1
)) {
199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
206 if (!PyString_Check(_obj2
)) {
207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
210 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
213 if (_argo3
== Py_None
) { _arg3
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
219 _arg6
= (bool ) tempbool6
;
221 wxPy_BEGIN_ALLOW_THREADS
;
222 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
224 wxPy_END_ALLOW_THREADS
;
226 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
246 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
253 wxWindow
* _arg4
= (wxWindow
*) NULL
;
254 int _arg5
= (int ) -1;
255 int _arg6
= (int ) -1;
256 bool _arg7
= (bool ) TRUE
;
257 int _arg8
= (int ) 150;
258 int _arg9
= (int ) 200;
259 PyObject
* _obj0
= 0;
260 PyObject
* _obj1
= 0;
261 PyObject
* _obj3
= 0;
262 PyObject
* _argo4
= 0;
263 int tempbool7
= (int) TRUE
;
264 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
270 if (!PyString_Check(_obj0
)) {
271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
274 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
277 if (!PyString_Check(_obj1
)) {
278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
281 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
285 _arg3
= wxString_LIST_helper(_obj3
);
291 if (_argo4
== Py_None
) { _arg4
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
297 _arg7
= (bool ) tempbool7
;
300 _arg2
= PyList_Size(_obj3
);
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
310 wxPy_END_ALLOW_THREADS
;
312 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
331 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
338 wxWindow
* _arg4
= (wxWindow
*) NULL
;
339 int _arg5
= (int ) -1;
340 int _arg6
= (int ) -1;
341 bool _arg7
= (bool ) TRUE
;
342 int _arg8
= (int ) 150;
343 int _arg9
= (int ) 200;
344 PyObject
* _obj0
= 0;
345 PyObject
* _obj1
= 0;
346 PyObject
* _obj3
= 0;
347 PyObject
* _argo4
= 0;
348 int tempbool7
= (int) TRUE
;
349 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
355 if (!PyString_Check(_obj0
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
362 if (!PyString_Check(_obj1
)) {
363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
366 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
370 _arg3
= wxString_LIST_helper(_obj3
);
376 if (_argo4
== Py_None
) { _arg4
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
382 _arg7
= (bool ) tempbool7
;
385 _arg2
= PyList_Size(_obj3
);
392 wxPy_BEGIN_ALLOW_THREADS
;
393 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
395 wxPy_END_ALLOW_THREADS
;
396 } _resultobj
= Py_BuildValue("i",_result
);
411 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
416 int _arg2
= (int ) wxOK
|wxCENTRE
;
417 wxWindow
* _arg3
= (wxWindow
*) NULL
;
418 int _arg4
= (int ) -1;
419 int _arg5
= (int ) -1;
420 PyObject
* _obj0
= 0;
421 PyObject
* _obj1
= 0;
422 PyObject
* _argo3
= 0;
423 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
429 if (!PyString_Check(_obj0
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
437 if (!PyString_Check(_obj1
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
444 if (_argo3
== Py_None
) { _arg3
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
454 wxPy_END_ALLOW_THREADS
;
455 } _resultobj
= Py_BuildValue("i",_result
);
467 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
474 long _arg4
= (long ) 0;
475 long _arg5
= (long ) 100;
476 wxWindow
* _arg6
= (wxWindow
*) NULL
;
477 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
478 PyObject
* _obj0
= 0;
479 PyObject
* _obj1
= 0;
480 PyObject
* _obj2
= 0;
481 PyObject
* _argo6
= 0;
483 PyObject
* _obj7
= 0;
484 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
490 if (!PyString_Check(_obj0
)) {
491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
494 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
497 if (!PyString_Check(_obj1
)) {
498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
501 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
504 if (!PyString_Check(_obj2
)) {
505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
508 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
511 if (_argo6
== Py_None
) { _arg6
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
520 if (! wxPoint_helper(_obj7
, &_arg7
))
524 wxPy_BEGIN_ALLOW_THREADS
;
525 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
527 wxPy_END_ALLOW_THREADS
;
528 } _resultobj
= Py_BuildValue("l",_result
);
544 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
547 char *_kwnames
[] = { NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
553 wxPy_BEGIN_ALLOW_THREADS
;
554 _result
= (bool )wxColourDisplay();
556 wxPy_END_ALLOW_THREADS
;
557 } _resultobj
= Py_BuildValue("i",_result
);
561 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 char *_kwnames
[] = { NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= (int )wxDisplayDepth();
573 wxPy_END_ALLOW_THREADS
;
574 } _resultobj
= Py_BuildValue("i",_result
);
578 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 PyObject
* _argo0
= 0;
582 char *_kwnames
[] = { "cursor", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
595 wxPy_BEGIN_ALLOW_THREADS
;
598 wxPy_END_ALLOW_THREADS
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 char *_kwnames
[] = { NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
613 wxPy_BEGIN_ALLOW_THREADS
;
614 _result
= (long )wxNewId();
616 wxPy_END_ALLOW_THREADS
;
617 } _resultobj
= Py_BuildValue("l",_result
);
621 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
624 char *_kwnames
[] = { "id", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
630 wxPy_BEGIN_ALLOW_THREADS
;
633 wxPy_END_ALLOW_THREADS
;
634 } Py_INCREF(Py_None
);
635 _resultobj
= Py_None
;
639 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 char *_kwnames
[] = { NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (long )wxNewId();
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("l",_result
);
656 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
659 char *_kwnames
[] = { "id", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
665 wxPy_BEGIN_ALLOW_THREADS
;
668 wxPy_END_ALLOW_THREADS
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
676 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "cursor", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxBeginBusyCursor(_arg0
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
702 char *_kwnames
[] = { NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
708 wxPy_BEGIN_ALLOW_THREADS
;
711 wxPy_END_ALLOW_THREADS
;
712 } Py_INCREF(Py_None
);
713 _resultobj
= Py_None
;
717 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
723 char *_kwnames
[] = { NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
735 wxPy_BEGIN_ALLOW_THREADS
;
736 wxDisplaySize(_arg0
,_arg1
);
738 wxPy_END_ALLOW_THREADS
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
743 o
= PyInt_FromLong((long) (*_arg0
));
744 _resultobj
= t_output_helper(_resultobj
, o
);
748 o
= PyInt_FromLong((long) (*_arg1
));
749 _resultobj
= t_output_helper(_resultobj
, o
);
754 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
756 char *_kwnames
[] = { NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
762 wxPy_BEGIN_ALLOW_THREADS
;
765 wxPy_END_ALLOW_THREADS
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 bool _arg1
= (bool ) FALSE
;
776 PyObject
* _obj0
= 0;
777 int tempbool1
= (int) FALSE
;
778 char *_kwnames
[] = { "command","sync", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxExecute",_kwnames
,&_obj0
,&tempbool1
))
784 if (!PyString_Check(_obj0
)) {
785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
788 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
790 _arg1
= (bool ) tempbool1
;
792 wxPy_BEGIN_ALLOW_THREADS
;
793 _result
= (long )wxExecute(*_arg0
,_arg1
);
795 wxPy_END_ALLOW_THREADS
;
796 } _resultobj
= Py_BuildValue("l",_result
);
804 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
807 char *_kwnames
[] = { NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
814 wxPy_BEGIN_ALLOW_THREADS
;
815 _result
= (wxWindow
*)wxGetActiveWindow();
817 wxPy_END_ALLOW_THREADS
;
819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
820 _resultobj
= Py_BuildValue("s",_ptemp
);
823 _resultobj
= Py_None
;
828 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
831 bool _arg0
= (bool ) TRUE
;
832 int tempbool0
= (int) TRUE
;
833 char *_kwnames
[] = { "resetTimer", NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
838 _arg0
= (bool ) tempbool0
;
840 wxPy_BEGIN_ALLOW_THREADS
;
841 _result
= (long )wxGetElapsedTime(_arg0
);
843 wxPy_END_ALLOW_THREADS
;
844 } _resultobj
= Py_BuildValue("l",_result
);
848 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
851 char *_kwnames
[] = { NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
857 wxPy_BEGIN_ALLOW_THREADS
;
858 _result
= (long )wxGetFreeMemory();
860 wxPy_END_ALLOW_THREADS
;
861 } _resultobj
= Py_BuildValue("l",_result
);
865 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
871 char *_kwnames
[] = { NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
883 wxPy_BEGIN_ALLOW_THREADS
;
884 wxGetMousePosition(_arg0
,_arg1
);
886 wxPy_END_ALLOW_THREADS
;
887 } Py_INCREF(Py_None
);
888 _resultobj
= Py_None
;
891 o
= PyInt_FromLong((long) (*_arg0
));
892 _resultobj
= t_output_helper(_resultobj
, o
);
896 o
= PyInt_FromLong((long) (*_arg1
));
897 _resultobj
= t_output_helper(_resultobj
, o
);
902 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
903 PyObject
* _resultobj
;
905 char *_kwnames
[] = { NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (bool )wxIsBusy();
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("i",_result
);
919 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
922 char *_kwnames
[] = { NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
928 wxPy_BEGIN_ALLOW_THREADS
;
929 _result
= new wxString (wxNow());
931 wxPy_END_ALLOW_THREADS
;
933 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
941 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
944 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
945 PyObject
* _obj0
= 0;
946 char *_kwnames
[] = { "command", NULL
};
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
953 if (!PyString_Check(_obj0
)) {
954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
957 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= (bool )wxShell(*_arg0
);
963 wxPy_END_ALLOW_THREADS
;
964 } _resultobj
= Py_BuildValue("i",_result
);
972 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
974 char *_kwnames
[] = { NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
980 wxPy_BEGIN_ALLOW_THREADS
;
983 wxPy_END_ALLOW_THREADS
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
996 char *_kwnames
[] = { NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1015 o
= PyInt_FromLong((long) (*_arg0
));
1016 _resultobj
= t_output_helper(_resultobj
, o
);
1020 o
= PyInt_FromLong((long) (*_arg1
));
1021 _resultobj
= t_output_helper(_resultobj
, o
);
1026 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1029 char *_kwnames
[] = { "secs", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
1035 wxPy_BEGIN_ALLOW_THREADS
;
1038 wxPy_END_ALLOW_THREADS
;
1039 } Py_INCREF(Py_None
);
1040 _resultobj
= Py_None
;
1044 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1047 char *_kwnames
[] = { NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 _result
= (bool )wxYield();
1056 wxPy_END_ALLOW_THREADS
;
1057 } _resultobj
= Py_BuildValue("i",_result
);
1061 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1064 char *_kwnames
[] = { NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 _result
= (bool )wxSafeYield();
1073 wxPy_END_ALLOW_THREADS
;
1074 } _resultobj
= Py_BuildValue("i",_result
);
1078 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1082 char *_kwnames
[] = { "enable", NULL
};
1085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
1087 _arg0
= (bool ) tempbool0
;
1089 wxPy_BEGIN_ALLOW_THREADS
;
1090 wxEnableTopLevelWindows(_arg0
);
1092 wxPy_END_ALLOW_THREADS
;
1093 } Py_INCREF(Py_None
);
1094 _resultobj
= Py_None
;
1098 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1103 char * _arg2
= (char *) NULL
;
1104 char *_kwnames
[] = { "section","entry","file", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } _resultobj
= Py_BuildValue("s", _result
);
1118 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1123 char *_kwnames
[] = { "name","value", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1132 wxPy_END_ALLOW_THREADS
;
1133 } _resultobj
= Py_BuildValue("i",_result
);
1137 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1139 char *_kwnames
[] = { NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1145 wxPy_BEGIN_ALLOW_THREADS
;
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1154 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1158 char *_kwnames
[] = { "resource", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1168 wxPy_END_ALLOW_THREADS
;
1169 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1170 _resultobj
= Py_BuildValue("s",_ptemp
);
1174 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1178 char *_kwnames
[] = { "resource", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1185 wxPy_BEGIN_ALLOW_THREADS
;
1186 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1188 wxPy_END_ALLOW_THREADS
;
1189 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1190 _resultobj
= Py_BuildValue("s",_ptemp
);
1194 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1196 wxMenuBar
* _result
;
1198 char *_kwnames
[] = { "resource", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1205 wxPy_BEGIN_ALLOW_THREADS
;
1206 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1208 wxPy_END_ALLOW_THREADS
;
1210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1211 _resultobj
= Py_BuildValue("s",_ptemp
);
1214 _resultobj
= Py_None
;
1219 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 char *_kwnames
[] = { "name", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 _result
= (int )wxResourceGetIdentifier(_arg0
);
1232 wxPy_END_ALLOW_THREADS
;
1233 } _resultobj
= Py_BuildValue("i",_result
);
1237 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1241 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1242 PyObject
* _argo1
= 0;
1243 char *_kwnames
[] = { "resource","table", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } _resultobj
= Py_BuildValue("i",_result
);
1264 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1268 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1269 PyObject
* _argo1
= 0;
1270 char *_kwnames
[] = { "filename","table", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 } _resultobj
= Py_BuildValue("i",_result
);
1291 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1295 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1296 PyObject
* _argo1
= 0;
1297 char *_kwnames
[] = { "resource","table", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1313 wxPy_END_ALLOW_THREADS
;
1314 } _resultobj
= Py_BuildValue("i",_result
);
1318 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1319 PyObject
* _resultobj
;
1322 char *_kwnames
[] = { "index", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1332 wxPy_END_ALLOW_THREADS
;
1333 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1334 _resultobj
= Py_BuildValue("s",_ptemp
);
1338 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1342 char *_kwnames
[] = { "index", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1352 wxPy_END_ALLOW_THREADS
;
1353 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1362 char *_kwnames
[] = { "index", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1371 wxPy_END_ALLOW_THREADS
;
1372 } _resultobj
= Py_BuildValue("i",_result
);
1376 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1377 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1383 PyObject
* _obj0
= 0;
1384 char *_kwnames
[] = { "self","x", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1391 if (! wxSize_helper(_obj0
, &_arg0
))
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1398 wxPy_END_ALLOW_THREADS
;
1399 } _resultobj
= Py_BuildValue("l",_result
);
1403 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1404 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1409 PyObject
* _obj0
= 0;
1410 char *_kwnames
[] = { "self", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1417 if (! wxSize_helper(_obj0
, &_arg0
))
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (long )wxSize_x_get(_arg0
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } _resultobj
= Py_BuildValue("l",_result
);
1429 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1430 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1436 PyObject
* _obj0
= 0;
1437 char *_kwnames
[] = { "self","y", NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1444 if (! wxSize_helper(_obj0
, &_arg0
))
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1451 wxPy_END_ALLOW_THREADS
;
1452 } _resultobj
= Py_BuildValue("l",_result
);
1456 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1457 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1462 PyObject
* _obj0
= 0;
1463 char *_kwnames
[] = { "self", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1470 if (! wxSize_helper(_obj0
, &_arg0
))
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 _result
= (long )wxSize_y_get(_arg0
);
1477 wxPy_END_ALLOW_THREADS
;
1478 } _resultobj
= Py_BuildValue("l",_result
);
1482 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1483 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1486 long _arg0
= (long ) 0;
1487 long _arg1
= (long ) 0;
1488 char *_kwnames
[] = { "w","h", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1495 wxPy_BEGIN_ALLOW_THREADS
;
1496 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1498 wxPy_END_ALLOW_THREADS
;
1500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1504 _resultobj
= Py_None
;
1509 #define delete_wxSize(_swigobj) (delete _swigobj)
1510 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1514 PyObject
* _obj0
= 0;
1515 char *_kwnames
[] = { "self", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1522 if (! wxSize_helper(_obj0
, &_arg0
))
1526 wxPy_BEGIN_ALLOW_THREADS
;
1527 delete_wxSize(_arg0
);
1529 wxPy_END_ALLOW_THREADS
;
1530 } Py_INCREF(Py_None
);
1531 _resultobj
= Py_None
;
1535 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1536 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1542 PyObject
* _obj0
= 0;
1543 char *_kwnames
[] = { "self","w","h", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1550 if (! wxSize_helper(_obj0
, &_arg0
))
1554 wxPy_BEGIN_ALLOW_THREADS
;
1555 wxSize_Set(_arg0
,_arg1
,_arg2
);
1557 wxPy_END_ALLOW_THREADS
;
1558 } Py_INCREF(Py_None
);
1559 _resultobj
= Py_None
;
1563 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1564 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1569 PyObject
* _obj0
= 0;
1570 char *_kwnames
[] = { "self", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1577 if (! wxSize_helper(_obj0
, &_arg0
))
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= (long )wxSize_GetX(_arg0
);
1584 wxPy_END_ALLOW_THREADS
;
1585 } _resultobj
= Py_BuildValue("l",_result
);
1589 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1590 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1595 PyObject
* _obj0
= 0;
1596 char *_kwnames
[] = { "self", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1603 if (! wxSize_helper(_obj0
, &_arg0
))
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (long )wxSize_GetY(_arg0
);
1610 wxPy_END_ALLOW_THREADS
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1616 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1621 PyObject
* _obj0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1629 if (! wxSize_helper(_obj0
, &_arg0
))
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (long )wxSize_GetWidth(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("l",_result
);
1641 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1642 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1647 PyObject
* _obj0
= 0;
1648 char *_kwnames
[] = { "self", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1655 if (! wxSize_helper(_obj0
, &_arg0
))
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 _result
= (long )wxSize_GetHeight(_arg0
);
1662 wxPy_END_ALLOW_THREADS
;
1663 } _resultobj
= Py_BuildValue("l",_result
);
1667 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1668 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1673 PyObject
* _obj0
= 0;
1674 char *_kwnames
[] = { "self","w", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1681 if (! wxSize_helper(_obj0
, &_arg0
))
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 wxSize_SetWidth(_arg0
,_arg1
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } Py_INCREF(Py_None
);
1690 _resultobj
= Py_None
;
1694 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1695 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1700 PyObject
* _obj0
= 0;
1701 char *_kwnames
[] = { "self","h", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1708 if (! wxSize_helper(_obj0
, &_arg0
))
1712 wxPy_BEGIN_ALLOW_THREADS
;
1713 wxSize_SetHeight(_arg0
,_arg1
);
1715 wxPy_END_ALLOW_THREADS
;
1716 } Py_INCREF(Py_None
);
1717 _resultobj
= Py_None
;
1721 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1722 PyObject
* tup
= PyTuple_New(2);
1723 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1724 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1727 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1732 PyObject
* _obj0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1740 if (! wxSize_helper(_obj0
, &_arg0
))
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1747 wxPy_END_ALLOW_THREADS
;
1749 _resultobj
= _result
;
1754 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1755 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1758 wxRealPoint
* _arg0
;
1761 PyObject
* _obj0
= 0;
1762 char *_kwnames
[] = { "self","x", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1769 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1773 wxPy_BEGIN_ALLOW_THREADS
;
1774 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1776 wxPy_END_ALLOW_THREADS
;
1777 } _resultobj
= Py_BuildValue("d",_result
);
1781 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1782 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1785 wxRealPoint
* _arg0
;
1787 PyObject
* _obj0
= 0;
1788 char *_kwnames
[] = { "self", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1795 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1799 wxPy_BEGIN_ALLOW_THREADS
;
1800 _result
= (double )wxRealPoint_x_get(_arg0
);
1802 wxPy_END_ALLOW_THREADS
;
1803 } _resultobj
= Py_BuildValue("d",_result
);
1807 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1808 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1811 wxRealPoint
* _arg0
;
1814 PyObject
* _obj0
= 0;
1815 char *_kwnames
[] = { "self","y", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1822 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1829 wxPy_END_ALLOW_THREADS
;
1830 } _resultobj
= Py_BuildValue("d",_result
);
1834 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1835 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxRealPoint
* _arg0
;
1840 PyObject
* _obj0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1848 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 _result
= (double )wxRealPoint_y_get(_arg0
);
1855 wxPy_END_ALLOW_THREADS
;
1856 } _resultobj
= Py_BuildValue("d",_result
);
1860 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1861 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1863 wxRealPoint
* _result
;
1864 double _arg0
= (double ) 0.0;
1865 double _arg1
= (double ) 0.0;
1866 char *_kwnames
[] = { "x","y", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1876 wxPy_END_ALLOW_THREADS
;
1878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1879 _resultobj
= Py_BuildValue("s",_ptemp
);
1882 _resultobj
= Py_None
;
1887 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1888 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxRealPoint
* _arg0
;
1892 PyObject
* _obj0
= 0;
1893 char *_kwnames
[] = { "self", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1900 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 delete_wxRealPoint(_arg0
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } Py_INCREF(Py_None
);
1909 _resultobj
= Py_None
;
1913 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1917 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1919 wxRealPoint
* _arg0
;
1923 PyObject
* _obj0
= 0;
1924 char *_kwnames
[] = { "self","x","y", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1931 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } Py_INCREF(Py_None
);
1940 _resultobj
= Py_None
;
1944 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1945 PyObject
* tup
= PyTuple_New(2);
1946 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1947 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1950 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1953 wxRealPoint
* _arg0
;
1955 PyObject
* _obj0
= 0;
1956 char *_kwnames
[] = { "self", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1963 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1970 wxPy_END_ALLOW_THREADS
;
1972 _resultobj
= _result
;
1977 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1978 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1984 PyObject
* _obj0
= 0;
1985 char *_kwnames
[] = { "self","x", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1992 if (! wxPoint_helper(_obj0
, &_arg0
))
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1999 wxPy_END_ALLOW_THREADS
;
2000 } _resultobj
= Py_BuildValue("l",_result
);
2004 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
2005 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2010 PyObject
* _obj0
= 0;
2011 char *_kwnames
[] = { "self", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
2018 if (! wxPoint_helper(_obj0
, &_arg0
))
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= (long )wxPoint_x_get(_arg0
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } _resultobj
= Py_BuildValue("l",_result
);
2030 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2031 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2037 PyObject
* _obj0
= 0;
2038 char *_kwnames
[] = { "self","y", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
2045 if (! wxPoint_helper(_obj0
, &_arg0
))
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } _resultobj
= Py_BuildValue("l",_result
);
2057 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
2058 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2063 PyObject
* _obj0
= 0;
2064 char *_kwnames
[] = { "self", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
2071 if (! wxPoint_helper(_obj0
, &_arg0
))
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 _result
= (long )wxPoint_y_get(_arg0
);
2078 wxPy_END_ALLOW_THREADS
;
2079 } _resultobj
= Py_BuildValue("l",_result
);
2083 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
2084 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2087 long _arg0
= (long ) 0;
2088 long _arg1
= (long ) 0;
2089 char *_kwnames
[] = { "x","y", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
2099 wxPy_END_ALLOW_THREADS
;
2101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2102 _resultobj
= Py_BuildValue("s",_ptemp
);
2105 _resultobj
= Py_None
;
2110 #define delete_wxPoint(_swigobj) (delete _swigobj)
2111 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2115 PyObject
* _obj0
= 0;
2116 char *_kwnames
[] = { "self", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
2123 if (! wxPoint_helper(_obj0
, &_arg0
))
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 delete_wxPoint(_arg0
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } Py_INCREF(Py_None
);
2132 _resultobj
= Py_None
;
2136 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2140 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2146 PyObject
* _obj0
= 0;
2147 char *_kwnames
[] = { "self","x","y", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2154 if (! wxPoint_helper(_obj0
, &_arg0
))
2158 wxPy_BEGIN_ALLOW_THREADS
;
2159 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2161 wxPy_END_ALLOW_THREADS
;
2162 } Py_INCREF(Py_None
);
2163 _resultobj
= Py_None
;
2167 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2168 PyObject
* tup
= PyTuple_New(2);
2169 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2170 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2173 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2178 PyObject
* _obj0
= 0;
2179 char *_kwnames
[] = { "self", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2186 if (! wxPoint_helper(_obj0
, &_arg0
))
2190 wxPy_BEGIN_ALLOW_THREADS
;
2191 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2193 wxPy_END_ALLOW_THREADS
;
2195 _resultobj
= _result
;
2200 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2201 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2204 long _arg0
= (long ) 0;
2205 long _arg1
= (long ) 0;
2206 long _arg2
= (long ) 0;
2207 long _arg3
= (long ) 0;
2208 char *_kwnames
[] = { "x","y","w","h", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2218 wxPy_END_ALLOW_THREADS
;
2220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2221 _resultobj
= Py_BuildValue("s",_ptemp
);
2224 _resultobj
= Py_None
;
2229 #define delete_wxRect(_swigobj) (delete _swigobj)
2230 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2234 PyObject
* _obj0
= 0;
2235 char *_kwnames
[] = { "self", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2242 if (! wxRect_helper(_obj0
, &_arg0
))
2246 wxPy_BEGIN_ALLOW_THREADS
;
2247 delete_wxRect(_arg0
);
2249 wxPy_END_ALLOW_THREADS
;
2250 } Py_INCREF(Py_None
);
2251 _resultobj
= Py_None
;
2255 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2256 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2261 PyObject
* _obj0
= 0;
2262 char *_kwnames
[] = { "self", NULL
};
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2269 if (! wxRect_helper(_obj0
, &_arg0
))
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 _result
= (long )wxRect_GetX(_arg0
);
2276 wxPy_END_ALLOW_THREADS
;
2277 } _resultobj
= Py_BuildValue("l",_result
);
2281 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2282 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
* _resultobj
;
2287 PyObject
* _obj0
= 0;
2288 char *_kwnames
[] = { "self","X", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2295 if (! wxRect_helper(_obj0
, &_arg0
))
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 wxRect_SetX(_arg0
,_arg1
);
2302 wxPy_END_ALLOW_THREADS
;
2303 } Py_INCREF(Py_None
);
2304 _resultobj
= Py_None
;
2308 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2309 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2314 PyObject
* _obj0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2322 if (! wxRect_helper(_obj0
, &_arg0
))
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 _result
= (long )wxRect_GetY(_arg0
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } _resultobj
= Py_BuildValue("l",_result
);
2334 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2335 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2340 PyObject
* _obj0
= 0;
2341 char *_kwnames
[] = { "self","Y", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2348 if (! wxRect_helper(_obj0
, &_arg0
))
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 wxRect_SetY(_arg0
,_arg1
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } Py_INCREF(Py_None
);
2357 _resultobj
= Py_None
;
2361 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2362 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2367 PyObject
* _obj0
= 0;
2368 char *_kwnames
[] = { "self", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2375 if (! wxRect_helper(_obj0
, &_arg0
))
2379 wxPy_BEGIN_ALLOW_THREADS
;
2380 _result
= (long )wxRect_GetWidth(_arg0
);
2382 wxPy_END_ALLOW_THREADS
;
2383 } _resultobj
= Py_BuildValue("l",_result
);
2387 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2388 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2393 PyObject
* _obj0
= 0;
2394 char *_kwnames
[] = { "self","w", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2401 if (! wxRect_helper(_obj0
, &_arg0
))
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 wxRect_SetWidth(_arg0
,_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } Py_INCREF(Py_None
);
2410 _resultobj
= Py_None
;
2414 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2415 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2420 PyObject
* _obj0
= 0;
2421 char *_kwnames
[] = { "self", NULL
};
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2428 if (! wxRect_helper(_obj0
, &_arg0
))
2432 wxPy_BEGIN_ALLOW_THREADS
;
2433 _result
= (long )wxRect_GetHeight(_arg0
);
2435 wxPy_END_ALLOW_THREADS
;
2436 } _resultobj
= Py_BuildValue("l",_result
);
2440 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2441 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2446 PyObject
* _obj0
= 0;
2447 char *_kwnames
[] = { "self","h", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2454 if (! wxRect_helper(_obj0
, &_arg0
))
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 wxRect_SetHeight(_arg0
,_arg1
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } Py_INCREF(Py_None
);
2463 _resultobj
= Py_None
;
2467 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2468 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2473 PyObject
* _obj0
= 0;
2474 char *_kwnames
[] = { "self", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2482 if (! wxRect_helper(_obj0
, &_arg0
))
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2489 wxPy_END_ALLOW_THREADS
;
2490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2491 _resultobj
= Py_BuildValue("s",_ptemp
);
2495 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2496 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2501 PyObject
* _obj0
= 0;
2502 char *_kwnames
[] = { "self", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2510 if (! wxRect_helper(_obj0
, &_arg0
))
2514 wxPy_BEGIN_ALLOW_THREADS
;
2515 _result
= new wxSize (wxRect_GetSize(_arg0
));
2517 wxPy_END_ALLOW_THREADS
;
2518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2519 _resultobj
= Py_BuildValue("s",_ptemp
);
2523 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2524 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2529 PyObject
* _obj0
= 0;
2530 char *_kwnames
[] = { "self", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2537 if (! wxRect_helper(_obj0
, &_arg0
))
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 _result
= (long )wxRect_GetLeft(_arg0
);
2544 wxPy_END_ALLOW_THREADS
;
2545 } _resultobj
= Py_BuildValue("l",_result
);
2549 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2550 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
* _resultobj
;
2555 PyObject
* _obj0
= 0;
2556 char *_kwnames
[] = { "self", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2563 if (! wxRect_helper(_obj0
, &_arg0
))
2567 wxPy_BEGIN_ALLOW_THREADS
;
2568 _result
= (long )wxRect_GetTop(_arg0
);
2570 wxPy_END_ALLOW_THREADS
;
2571 } _resultobj
= Py_BuildValue("l",_result
);
2575 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2576 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
* _resultobj
;
2581 PyObject
* _obj0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2589 if (! wxRect_helper(_obj0
, &_arg0
))
2593 wxPy_BEGIN_ALLOW_THREADS
;
2594 _result
= (long )wxRect_GetBottom(_arg0
);
2596 wxPy_END_ALLOW_THREADS
;
2597 } _resultobj
= Py_BuildValue("l",_result
);
2601 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2602 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
* _resultobj
;
2607 PyObject
* _obj0
= 0;
2608 char *_kwnames
[] = { "self", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2615 if (! wxRect_helper(_obj0
, &_arg0
))
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 _result
= (long )wxRect_GetRight(_arg0
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } _resultobj
= Py_BuildValue("l",_result
);
2627 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2628 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2634 PyObject
* _obj0
= 0;
2635 char *_kwnames
[] = { "self","x", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2642 if (! wxRect_helper(_obj0
, &_arg0
))
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2649 wxPy_END_ALLOW_THREADS
;
2650 } _resultobj
= Py_BuildValue("l",_result
);
2654 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2655 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2660 PyObject
* _obj0
= 0;
2661 char *_kwnames
[] = { "self", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2668 if (! wxRect_helper(_obj0
, &_arg0
))
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (long )wxRect_x_get(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2676 } _resultobj
= Py_BuildValue("l",_result
);
2680 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2681 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2687 PyObject
* _obj0
= 0;
2688 char *_kwnames
[] = { "self","y", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2695 if (! wxRect_helper(_obj0
, &_arg0
))
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2702 wxPy_END_ALLOW_THREADS
;
2703 } _resultobj
= Py_BuildValue("l",_result
);
2707 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2708 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2713 PyObject
* _obj0
= 0;
2714 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2721 if (! wxRect_helper(_obj0
, &_arg0
))
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 _result
= (long )wxRect_y_get(_arg0
);
2728 wxPy_END_ALLOW_THREADS
;
2729 } _resultobj
= Py_BuildValue("l",_result
);
2733 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2734 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2740 PyObject
* _obj0
= 0;
2741 char *_kwnames
[] = { "self","width", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2748 if (! wxRect_helper(_obj0
, &_arg0
))
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2755 wxPy_END_ALLOW_THREADS
;
2756 } _resultobj
= Py_BuildValue("l",_result
);
2760 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2761 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2766 PyObject
* _obj0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2774 if (! wxRect_helper(_obj0
, &_arg0
))
2778 wxPy_BEGIN_ALLOW_THREADS
;
2779 _result
= (long )wxRect_width_get(_arg0
);
2781 wxPy_END_ALLOW_THREADS
;
2782 } _resultobj
= Py_BuildValue("l",_result
);
2786 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2787 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2793 PyObject
* _obj0
= 0;
2794 char *_kwnames
[] = { "self","height", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2801 if (! wxRect_helper(_obj0
, &_arg0
))
2805 wxPy_BEGIN_ALLOW_THREADS
;
2806 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2808 wxPy_END_ALLOW_THREADS
;
2809 } _resultobj
= Py_BuildValue("l",_result
);
2813 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2814 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2819 PyObject
* _obj0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2827 if (! wxRect_helper(_obj0
, &_arg0
))
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 _result
= (long )wxRect_height_get(_arg0
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } _resultobj
= Py_BuildValue("l",_result
);
2839 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2840 PyObject
* tup
= PyTuple_New(4);
2841 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2842 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2843 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2844 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2847 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2852 PyObject
* _obj0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2860 if (! wxRect_helper(_obj0
, &_arg0
))
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2867 wxPy_END_ALLOW_THREADS
;
2869 _resultobj
= _result
;
2874 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2875 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2877 wxPyTimer
* _result
;
2879 PyObject
* _obj0
= 0;
2880 char *_kwnames
[] = { "notify", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2893 wxPy_END_ALLOW_THREADS
;
2895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2896 _resultobj
= Py_BuildValue("s",_ptemp
);
2899 _resultobj
= Py_None
;
2904 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2905 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 delete_wxPyTimer(_arg0
);
2925 wxPy_END_ALLOW_THREADS
;
2926 } Py_INCREF(Py_None
);
2927 _resultobj
= Py_None
;
2931 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2932 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Interval",_kwnames
,&_argo0
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 _result
= (int )wxPyTimer_Interval(_arg0
);
2953 wxPy_END_ALLOW_THREADS
;
2954 } _resultobj
= Py_BuildValue("i",_result
);
2958 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2959 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2962 int _arg1
= (int ) -1;
2963 int _arg2
= (int ) FALSE
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2978 wxPy_BEGIN_ALLOW_THREADS
;
2979 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2981 wxPy_END_ALLOW_THREADS
;
2982 } Py_INCREF(Py_None
);
2983 _resultobj
= Py_None
;
2987 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2988 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
* _resultobj
;
2991 PyObject
* _argo0
= 0;
2992 char *_kwnames
[] = { "self", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3005 wxPy_BEGIN_ALLOW_THREADS
;
3006 wxPyTimer_Stop(_arg0
);
3008 wxPy_END_ALLOW_THREADS
;
3009 } Py_INCREF(Py_None
);
3010 _resultobj
= Py_None
;
3014 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3015 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3017 wxIndividualLayoutConstraint
* _arg0
;
3019 int _arg2
= (int ) 0;
3020 PyObject
* _argo0
= 0;
3021 PyObject
* _argo1
= 0;
3022 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3035 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3042 wxPy_BEGIN_ALLOW_THREADS
;
3043 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3045 wxPy_END_ALLOW_THREADS
;
3046 } Py_INCREF(Py_None
);
3047 _resultobj
= Py_None
;
3051 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3052 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxIndividualLayoutConstraint
* _arg0
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self","value", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3080 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3082 wxIndividualLayoutConstraint
* _arg0
;
3083 PyObject
* _argo0
= 0;
3084 char *_kwnames
[] = { "self", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3097 wxPy_BEGIN_ALLOW_THREADS
;
3098 wxIndividualLayoutConstraint_AsIs(_arg0
);
3100 wxPy_END_ALLOW_THREADS
;
3101 } Py_INCREF(Py_None
);
3102 _resultobj
= Py_None
;
3106 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3107 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3109 wxIndividualLayoutConstraint
* _arg0
;
3111 int _arg2
= (int ) 0;
3112 PyObject
* _argo0
= 0;
3113 PyObject
* _argo1
= 0;
3114 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3134 wxPy_BEGIN_ALLOW_THREADS
;
3135 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3137 wxPy_END_ALLOW_THREADS
;
3138 } Py_INCREF(Py_None
);
3139 _resultobj
= Py_None
;
3143 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3144 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
* _resultobj
;
3146 wxIndividualLayoutConstraint
* _arg0
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3161 wxPy_BEGIN_ALLOW_THREADS
;
3162 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3164 wxPy_END_ALLOW_THREADS
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3171 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3173 wxIndividualLayoutConstraint
* _arg0
;
3175 int _arg2
= (int ) 0;
3176 PyObject
* _argo0
= 0;
3177 PyObject
* _argo1
= 0;
3178 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3201 wxPy_END_ALLOW_THREADS
;
3202 } Py_INCREF(Py_None
);
3203 _resultobj
= Py_None
;
3207 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3208 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3210 wxIndividualLayoutConstraint
* _arg0
;
3214 PyObject
* _argo0
= 0;
3215 PyObject
* _argo1
= 0;
3216 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3236 wxPy_BEGIN_ALLOW_THREADS
;
3237 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3239 wxPy_END_ALLOW_THREADS
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3246 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxIndividualLayoutConstraint
* _arg0
;
3250 int _arg2
= (int ) 0;
3251 PyObject
* _argo0
= 0;
3252 PyObject
* _argo1
= 0;
3253 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3273 wxPy_BEGIN_ALLOW_THREADS
;
3274 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3276 wxPy_END_ALLOW_THREADS
;
3277 } Py_INCREF(Py_None
);
3278 _resultobj
= Py_None
;
3282 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3283 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3285 wxIndividualLayoutConstraint
* _arg0
;
3288 int _arg3
= (int ) 0;
3289 PyObject
* _argo0
= 0;
3290 PyObject
* _argo1
= 0;
3291 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
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_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3314 wxPy_END_ALLOW_THREADS
;
3315 } Py_INCREF(Py_None
);
3316 _resultobj
= Py_None
;
3320 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3321 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3323 wxIndividualLayoutConstraint
* _arg0
;
3324 wxRelationship _arg1
;
3327 int _arg4
= (int ) 0;
3328 int _arg5
= (int ) 0;
3329 PyObject
* _argo0
= 0;
3330 PyObject
* _argo2
= 0;
3331 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3344 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3351 wxPy_BEGIN_ALLOW_THREADS
;
3352 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3354 wxPy_END_ALLOW_THREADS
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3360 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3361 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3363 wxLayoutConstraints
* _result
;
3364 char *_kwnames
[] = { NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3371 wxPy_BEGIN_ALLOW_THREADS
;
3372 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3374 wxPy_END_ALLOW_THREADS
;
3376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3377 _resultobj
= Py_BuildValue("s",_ptemp
);
3380 _resultobj
= Py_None
;
3385 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3386 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3388 wxIndividualLayoutConstraint
* _result
;
3389 wxLayoutConstraints
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 char *_kwnames
[] = { "self", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3408 wxPy_END_ALLOW_THREADS
;
3410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3411 _resultobj
= Py_BuildValue("s",_ptemp
);
3414 _resultobj
= Py_None
;
3419 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3420 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3422 wxIndividualLayoutConstraint
* _result
;
3423 wxLayoutConstraints
* _arg0
;
3424 PyObject
* _argo0
= 0;
3425 char *_kwnames
[] = { "self", NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3439 wxPy_BEGIN_ALLOW_THREADS
;
3440 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3442 wxPy_END_ALLOW_THREADS
;
3444 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3445 _resultobj
= Py_BuildValue("s",_ptemp
);
3448 _resultobj
= Py_None
;
3453 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3454 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
* _resultobj
;
3456 wxIndividualLayoutConstraint
* _result
;
3457 wxLayoutConstraints
* _arg0
;
3458 PyObject
* _argo0
= 0;
3459 char *_kwnames
[] = { "self", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3473 wxPy_BEGIN_ALLOW_THREADS
;
3474 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3476 wxPy_END_ALLOW_THREADS
;
3478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3479 _resultobj
= Py_BuildValue("s",_ptemp
);
3482 _resultobj
= Py_None
;
3487 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3488 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3490 wxIndividualLayoutConstraint
* _result
;
3491 wxLayoutConstraints
* _arg0
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3507 wxPy_BEGIN_ALLOW_THREADS
;
3508 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3510 wxPy_END_ALLOW_THREADS
;
3512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3513 _resultobj
= Py_BuildValue("s",_ptemp
);
3516 _resultobj
= Py_None
;
3521 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3522 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3524 wxIndividualLayoutConstraint
* _result
;
3525 wxLayoutConstraints
* _arg0
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3541 wxPy_BEGIN_ALLOW_THREADS
;
3542 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3544 wxPy_END_ALLOW_THREADS
;
3546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3547 _resultobj
= Py_BuildValue("s",_ptemp
);
3550 _resultobj
= Py_None
;
3555 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3556 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3558 wxIndividualLayoutConstraint
* _result
;
3559 wxLayoutConstraints
* _arg0
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3578 wxPy_END_ALLOW_THREADS
;
3580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3581 _resultobj
= Py_BuildValue("s",_ptemp
);
3584 _resultobj
= Py_None
;
3589 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3590 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3592 wxIndividualLayoutConstraint
* _result
;
3593 wxLayoutConstraints
* _arg0
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self", NULL
};
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3609 wxPy_BEGIN_ALLOW_THREADS
;
3610 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3612 wxPy_END_ALLOW_THREADS
;
3614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3615 _resultobj
= Py_BuildValue("s",_ptemp
);
3618 _resultobj
= Py_None
;
3623 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3624 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3626 wxIndividualLayoutConstraint
* _result
;
3627 wxLayoutConstraints
* _arg0
;
3628 PyObject
* _argo0
= 0;
3629 char *_kwnames
[] = { "self", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3646 wxPy_END_ALLOW_THREADS
;
3648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3649 _resultobj
= Py_BuildValue("s",_ptemp
);
3652 _resultobj
= Py_None
;
3657 #define new_wxRegion() (new wxRegion())
3658 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3661 char *_kwnames
[] = { NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3668 wxPy_BEGIN_ALLOW_THREADS
;
3669 _result
= (wxRegion
*)new_wxRegion();
3671 wxPy_END_ALLOW_THREADS
;
3673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3674 _resultobj
= Py_BuildValue("s",_ptemp
);
3677 _resultobj
= Py_None
;
3682 #define delete_wxRegion(_swigobj) (delete _swigobj)
3683 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3686 PyObject
* _argo0
= 0;
3687 char *_kwnames
[] = { "self", NULL
};
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3700 wxPy_BEGIN_ALLOW_THREADS
;
3701 delete_wxRegion(_arg0
);
3703 wxPy_END_ALLOW_THREADS
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3709 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3710 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3727 wxPy_BEGIN_ALLOW_THREADS
;
3728 wxRegion_Clear(_arg0
);
3730 wxPy_END_ALLOW_THREADS
;
3731 } Py_INCREF(Py_None
);
3732 _resultobj
= Py_None
;
3736 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3737 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3739 wxRegionContain _result
;
3743 PyObject
* _argo0
= 0;
3744 char *_kwnames
[] = { "self","x","y", NULL
};
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3757 wxPy_BEGIN_ALLOW_THREADS
;
3758 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3760 wxPy_END_ALLOW_THREADS
;
3761 } _resultobj
= Py_BuildValue("i",_result
);
3765 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3766 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3768 wxRegionContain _result
;
3771 PyObject
* _argo0
= 0;
3773 PyObject
* _obj1
= 0;
3774 char *_kwnames
[] = { "self","pt", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3788 if (! wxPoint_helper(_obj1
, &_arg1
))
3792 wxPy_BEGIN_ALLOW_THREADS
;
3793 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3795 wxPy_END_ALLOW_THREADS
;
3796 } _resultobj
= Py_BuildValue("i",_result
);
3800 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3801 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3803 wxRegionContain _result
;
3806 PyObject
* _argo0
= 0;
3808 PyObject
* _obj1
= 0;
3809 char *_kwnames
[] = { "self","rect", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3823 if (! wxRect_helper(_obj1
, &_arg1
))
3827 wxPy_BEGIN_ALLOW_THREADS
;
3828 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3830 wxPy_END_ALLOW_THREADS
;
3831 } _resultobj
= Py_BuildValue("i",_result
);
3835 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3836 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3840 PyObject
* _argo0
= 0;
3841 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3858 wxPy_END_ALLOW_THREADS
;
3859 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3860 _resultobj
= Py_BuildValue("s",_ptemp
);
3864 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3865 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
* _resultobj
;
3870 PyObject
* _argo0
= 0;
3872 PyObject
* _obj1
= 0;
3873 char *_kwnames
[] = { "self","rect", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Intersect",_kwnames
,&_argo0
,&_obj1
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3887 if (! wxRect_helper(_obj1
, &_arg1
))
3891 wxPy_BEGIN_ALLOW_THREADS
;
3892 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3894 wxPy_END_ALLOW_THREADS
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3900 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3927 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3932 PyObject
* _argo0
= 0;
3934 PyObject
* _obj1
= 0;
3935 char *_kwnames
[] = { "self","rect", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Subtract",_kwnames
,&_argo0
,&_obj1
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3949 if (! wxRect_helper(_obj1
, &_arg1
))
3953 wxPy_BEGIN_ALLOW_THREADS
;
3954 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3956 wxPy_END_ALLOW_THREADS
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3962 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3967 PyObject
* _argo0
= 0;
3969 PyObject
* _obj1
= 0;
3970 char *_kwnames
[] = { "self","rect", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Union",_kwnames
,&_argo0
,&_obj1
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3984 if (! wxRect_helper(_obj1
, &_arg1
))
3988 wxPy_BEGIN_ALLOW_THREADS
;
3989 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3991 wxPy_END_ALLOW_THREADS
;
3992 } _resultobj
= Py_BuildValue("i",_result
);
3996 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3997 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
4002 PyObject
* _argo0
= 0;
4004 PyObject
* _obj1
= 0;
4005 char *_kwnames
[] = { "self","rect", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Xor",_kwnames
,&_argo0
,&_obj1
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4019 if (! wxRect_helper(_obj1
, &_arg1
))
4023 wxPy_BEGIN_ALLOW_THREADS
;
4024 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
4026 wxPy_END_ALLOW_THREADS
;
4027 } _resultobj
= Py_BuildValue("i",_result
);
4031 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4032 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4034 wxRegionIterator
* _result
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "region", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4051 wxPy_BEGIN_ALLOW_THREADS
;
4052 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4054 wxPy_END_ALLOW_THREADS
;
4056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4057 _resultobj
= Py_BuildValue("s",_ptemp
);
4060 _resultobj
= Py_None
;
4065 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4066 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 wxRegionIterator
* _arg0
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 delete_wxRegionIterator(_arg0
);
4086 wxPy_END_ALLOW_THREADS
;
4087 } Py_INCREF(Py_None
);
4088 _resultobj
= Py_None
;
4092 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4093 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4096 wxRegionIterator
* _arg0
;
4097 PyObject
* _argo0
= 0;
4098 char *_kwnames
[] = { "self", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4111 wxPy_BEGIN_ALLOW_THREADS
;
4112 _result
= (long )wxRegionIterator_GetX(_arg0
);
4114 wxPy_END_ALLOW_THREADS
;
4115 } _resultobj
= Py_BuildValue("l",_result
);
4119 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4120 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4123 wxRegionIterator
* _arg0
;
4124 PyObject
* _argo0
= 0;
4125 char *_kwnames
[] = { "self", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4138 wxPy_BEGIN_ALLOW_THREADS
;
4139 _result
= (long )wxRegionIterator_GetY(_arg0
);
4141 wxPy_END_ALLOW_THREADS
;
4142 } _resultobj
= Py_BuildValue("l",_result
);
4146 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4147 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4150 wxRegionIterator
* _arg0
;
4151 PyObject
* _argo0
= 0;
4152 char *_kwnames
[] = { "self", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4165 wxPy_BEGIN_ALLOW_THREADS
;
4166 _result
= (long )wxRegionIterator_GetW(_arg0
);
4168 wxPy_END_ALLOW_THREADS
;
4169 } _resultobj
= Py_BuildValue("l",_result
);
4173 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4174 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4177 wxRegionIterator
* _arg0
;
4178 PyObject
* _argo0
= 0;
4179 char *_kwnames
[] = { "self", NULL
};
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4195 wxPy_END_ALLOW_THREADS
;
4196 } _resultobj
= Py_BuildValue("l",_result
);
4200 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4201 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4204 wxRegionIterator
* _arg0
;
4205 PyObject
* _argo0
= 0;
4206 char *_kwnames
[] = { "self", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= (long )wxRegionIterator_GetH(_arg0
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } _resultobj
= Py_BuildValue("l",_result
);
4227 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4228 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4231 wxRegionIterator
* _arg0
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } _resultobj
= Py_BuildValue("l",_result
);
4254 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4255 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 wxRegionIterator
* _arg0
;
4259 PyObject
* _argo0
= 0;
4260 char *_kwnames
[] = { "self", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4277 wxPy_END_ALLOW_THREADS
;
4278 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4279 _resultobj
= Py_BuildValue("s",_ptemp
);
4283 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4284 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4287 wxRegionIterator
* _arg0
;
4288 PyObject
* _argo0
= 0;
4289 char *_kwnames
[] = { "self", NULL
};
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4302 wxPy_BEGIN_ALLOW_THREADS
;
4303 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4305 wxPy_END_ALLOW_THREADS
;
4306 } _resultobj
= Py_BuildValue("i",_result
);
4310 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4311 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4313 wxRegionIterator
* _arg0
;
4314 PyObject
* _argo0
= 0;
4315 char *_kwnames
[] = { "self", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4328 wxPy_BEGIN_ALLOW_THREADS
;
4329 wxRegionIterator_Reset(_arg0
);
4331 wxPy_END_ALLOW_THREADS
;
4332 } Py_INCREF(Py_None
);
4333 _resultobj
= Py_None
;
4337 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4340 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4342 wxRegionIterator
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4357 wxPy_BEGIN_ALLOW_THREADS
;
4358 wxRegionIterator_Next(_arg0
);
4360 wxPy_END_ALLOW_THREADS
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4367 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4369 wxAcceleratorEntry
* _result
;
4370 int _arg0
= (int ) 0;
4371 int _arg1
= (int ) 0;
4372 int _arg2
= (int ) 0;
4373 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4380 wxPy_BEGIN_ALLOW_THREADS
;
4381 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4383 wxPy_END_ALLOW_THREADS
;
4385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4386 _resultobj
= Py_BuildValue("s",_ptemp
);
4389 _resultobj
= Py_None
;
4394 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4395 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4397 wxAcceleratorEntry
* _arg0
;
4398 PyObject
* _argo0
= 0;
4399 char *_kwnames
[] = { "self", NULL
};
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4412 wxPy_BEGIN_ALLOW_THREADS
;
4413 delete_wxAcceleratorEntry(_arg0
);
4415 wxPy_END_ALLOW_THREADS
;
4416 } Py_INCREF(Py_None
);
4417 _resultobj
= Py_None
;
4421 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4422 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4424 wxAcceleratorEntry
* _arg0
;
4428 PyObject
* _argo0
= 0;
4429 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4452 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4455 wxAcceleratorEntry
* _arg0
;
4456 PyObject
* _argo0
= 0;
4457 char *_kwnames
[] = { "self", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4470 wxPy_BEGIN_ALLOW_THREADS
;
4471 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4473 wxPy_END_ALLOW_THREADS
;
4474 } _resultobj
= Py_BuildValue("i",_result
);
4478 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4479 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4482 wxAcceleratorEntry
* _arg0
;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4497 wxPy_BEGIN_ALLOW_THREADS
;
4498 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4500 wxPy_END_ALLOW_THREADS
;
4501 } _resultobj
= Py_BuildValue("i",_result
);
4505 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4506 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4509 wxAcceleratorEntry
* _arg0
;
4510 PyObject
* _argo0
= 0;
4511 char *_kwnames
[] = { "self", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } _resultobj
= Py_BuildValue("i",_result
);
4532 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4533 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxAcceleratorTable
* _result
;
4537 wxAcceleratorEntry
* _arg1
;
4538 PyObject
* _obj1
= 0;
4539 char *_kwnames
[] = { "LIST", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4547 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4548 if (_arg1
== NULL
) {
4554 _arg0
= PyList_Size(_obj1
);
4561 wxPy_BEGIN_ALLOW_THREADS
;
4562 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4564 wxPy_END_ALLOW_THREADS
;
4566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4567 _resultobj
= Py_BuildValue("s",_ptemp
);
4570 _resultobj
= Py_None
;
4578 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4579 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4581 wxAcceleratorTable
* _arg0
;
4582 PyObject
* _argo0
= 0;
4583 char *_kwnames
[] = { "self", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 delete_wxAcceleratorTable(_arg0
);
4599 wxPy_END_ALLOW_THREADS
;
4600 } Py_INCREF(Py_None
);
4601 _resultobj
= Py_None
;
4605 static PyMethodDef misccMethods
[] = {
4606 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4607 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4608 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4609 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4610 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4611 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4612 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4613 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4614 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4615 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4616 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4617 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4618 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4619 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4620 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4621 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4622 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4623 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4624 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4625 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4626 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4627 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4628 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4629 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4630 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4631 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4632 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4633 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4634 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4635 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4636 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4637 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4638 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4639 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4640 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4641 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4642 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4643 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4644 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4645 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4646 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4647 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4648 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4649 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4650 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4651 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4652 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4653 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4654 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4655 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4656 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4657 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4658 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4659 { "wxPyTimer_Interval", (PyCFunction
) _wrap_wxPyTimer_Interval
, METH_VARARGS
| METH_KEYWORDS
},
4660 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4661 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4662 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4663 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4664 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4665 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4666 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4667 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4710 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4711 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4712 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4713 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4714 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4715 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4716 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4717 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4718 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4719 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4720 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4721 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
4722 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
4723 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
4724 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
4725 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
4726 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
4727 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4728 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
4729 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
4730 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
4731 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
4732 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4733 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4734 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4735 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4736 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4737 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4738 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4739 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4740 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4741 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4742 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4743 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4744 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4745 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4746 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4747 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4748 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4749 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4750 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4751 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4752 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4753 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
4771 * This table is used by the pointer type-checker
4773 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4774 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4775 { "_signed_long","_long",0},
4776 { "_wxPrintQuality","_int",0},
4777 { "_wxPrintQuality","_signed_int",0},
4778 { "_wxPrintQuality","_unsigned_int",0},
4779 { "_wxPrintQuality","_wxWindowID",0},
4780 { "_wxPrintQuality","_uint",0},
4781 { "_wxPrintQuality","_EBool",0},
4782 { "_wxPrintQuality","_size_t",0},
4783 { "_class_wxRegionIterator","_wxRegionIterator",0},
4784 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4785 { "_byte","_unsigned_char",0},
4786 { "_long","_unsigned_long",0},
4787 { "_long","_signed_long",0},
4788 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4789 { "_size_t","_wxPrintQuality",0},
4790 { "_size_t","_unsigned_int",0},
4791 { "_size_t","_int",0},
4792 { "_size_t","_wxWindowID",0},
4793 { "_size_t","_uint",0},
4794 { "_class_wxRealPoint","_wxRealPoint",0},
4795 { "_uint","_wxPrintQuality",0},
4796 { "_uint","_size_t",0},
4797 { "_uint","_unsigned_int",0},
4798 { "_uint","_int",0},
4799 { "_uint","_wxWindowID",0},
4800 { "_wxRect","_class_wxRect",0},
4801 { "_wxPoint","_class_wxPoint",0},
4802 { "_wxPyTimer","_class_wxPyTimer",0},
4803 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4804 { "_EBool","_wxPrintQuality",0},
4805 { "_EBool","_signed_int",0},
4806 { "_EBool","_int",0},
4807 { "_EBool","_wxWindowID",0},
4808 { "_class_wxRegion","_wxRegion",0},
4809 { "_unsigned_long","_long",0},
4810 { "_class_wxRect","_wxRect",0},
4811 { "_class_wxPyTimer","_wxPyTimer",0},
4812 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4813 { "_signed_int","_wxPrintQuality",0},
4814 { "_signed_int","_EBool",0},
4815 { "_signed_int","_wxWindowID",0},
4816 { "_signed_int","_int",0},
4817 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4818 { "_WXTYPE","_short",0},
4819 { "_WXTYPE","_signed_short",0},
4820 { "_WXTYPE","_unsigned_short",0},
4821 { "_unsigned_short","_WXTYPE",0},
4822 { "_unsigned_short","_short",0},
4823 { "_class_wxPoint","_wxPoint",0},
4824 { "_wxRealPoint","_class_wxRealPoint",0},
4825 { "_signed_short","_WXTYPE",0},
4826 { "_signed_short","_short",0},
4827 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4828 { "_unsigned_char","_byte",0},
4829 { "_unsigned_int","_wxPrintQuality",0},
4830 { "_unsigned_int","_size_t",0},
4831 { "_unsigned_int","_uint",0},
4832 { "_unsigned_int","_wxWindowID",0},
4833 { "_unsigned_int","_int",0},
4834 { "_short","_WXTYPE",0},
4835 { "_short","_unsigned_short",0},
4836 { "_short","_signed_short",0},
4837 { "_wxWindowID","_wxPrintQuality",0},
4838 { "_wxWindowID","_size_t",0},
4839 { "_wxWindowID","_EBool",0},
4840 { "_wxWindowID","_uint",0},
4841 { "_wxWindowID","_int",0},
4842 { "_wxWindowID","_signed_int",0},
4843 { "_wxWindowID","_unsigned_int",0},
4844 { "_int","_wxPrintQuality",0},
4845 { "_int","_size_t",0},
4846 { "_int","_EBool",0},
4847 { "_int","_uint",0},
4848 { "_int","_wxWindowID",0},
4849 { "_int","_unsigned_int",0},
4850 { "_int","_signed_int",0},
4851 { "_wxSize","_class_wxSize",0},
4852 { "_wxRegionIterator","_class_wxRegionIterator",0},
4853 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4854 { "_wxRegion","_class_wxRegion",0},
4855 { "_class_wxSize","_wxSize",0},
4858 static PyObject
*SWIG_globals
;
4862 SWIGEXPORT(void) initmiscc() {
4864 SWIG_globals
= SWIG_newvarlink();
4865 m
= Py_InitModule("miscc", misccMethods
);
4866 d
= PyModule_GetDict(m
);
4867 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4868 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4869 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4870 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4871 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4872 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4873 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4874 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4875 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4876 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4877 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4878 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4879 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4880 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4881 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4882 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4883 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4884 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4885 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4886 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4887 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4888 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4889 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
4890 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
4891 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
4892 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
4893 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
4894 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
4895 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
4896 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
4897 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
4898 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
4899 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
4900 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
4901 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
4902 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
4903 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
4904 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
4905 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
4906 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
4907 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
4908 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
4909 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
4910 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
4911 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
4912 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
4913 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
4914 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
4915 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
4916 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
4917 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
4918 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
4919 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
4920 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
4921 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
4922 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
4923 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
4924 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
4925 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
4926 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
4927 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
4928 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
4929 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
4930 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
4931 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
4932 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
4933 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
4934 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
4935 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
4936 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
4937 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
4938 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
4939 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
4940 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
4941 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
4942 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
4943 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
4944 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
4945 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
4946 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
4947 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
4948 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
4949 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
4950 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
4951 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
4952 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
4953 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
4954 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
4955 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
4956 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
4957 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
4958 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
4959 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
4960 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
4961 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
4962 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
4963 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
4964 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
4965 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
4966 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
4967 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
4968 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
4969 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
4970 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
4971 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
4972 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
4973 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
4974 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
4977 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4978 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);