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
);
108 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
111 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
115 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
122 wxGetResource(section
, entry
, &retval
, file
);
127 wxColour
wxSystemSettings_GetSystemColour(int index
) {
128 return wxSystemSettings::GetSystemColour(index
);
131 wxFont
wxSystemSettings_GetSystemFont(int index
) {
132 return wxSystemSettings::GetSystemFont(index
);
135 int wxSystemSettings_GetSystemMetric(int index
) {
136 return wxSystemSettings::GetSystemMetric(index
);
141 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
142 PyObject
* _resultobj
;
145 char * _arg1
= (char *) NULL
;
146 char * _arg2
= (char *) NULL
;
147 char * _arg3
= (char *) NULL
;
148 char * _arg4
= (char *) "*.*";
149 int _arg5
= (int ) 0;
150 wxWindow
* _arg6
= (wxWindow
*) NULL
;
151 int _arg7
= (int ) -1;
152 int _arg8
= (int ) -1;
153 PyObject
* _argo6
= 0;
154 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
160 if (_argo6
== Py_None
) { _arg6
= NULL
; }
161 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
167 wxPy_BEGIN_ALLOW_THREADS
;
168 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
170 wxPy_END_ALLOW_THREADS
;
172 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
180 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
184 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
185 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
186 wxWindow
* _arg3
= (wxWindow
*) NULL
;
187 int _arg4
= (int ) -1;
188 int _arg5
= (int ) -1;
189 bool _arg6
= (bool ) TRUE
;
190 PyObject
* _obj0
= 0;
191 PyObject
* _obj1
= 0;
192 PyObject
* _obj2
= 0;
193 PyObject
* _argo3
= 0;
194 int tempbool6
= (int) TRUE
;
195 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
201 if (!PyString_Check(_obj0
)) {
202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
205 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
209 if (!PyString_Check(_obj1
)) {
210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
213 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
217 if (!PyString_Check(_obj2
)) {
218 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
221 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
224 if (_argo3
== Py_None
) { _arg3
= NULL
; }
225 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
230 _arg6
= (bool ) tempbool6
;
232 wxPy_BEGIN_ALLOW_THREADS
;
233 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
235 wxPy_END_ALLOW_THREADS
;
237 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
257 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
258 PyObject
* _resultobj
;
264 wxWindow
* _arg4
= (wxWindow
*) NULL
;
265 int _arg5
= (int ) -1;
266 int _arg6
= (int ) -1;
267 bool _arg7
= (bool ) TRUE
;
268 int _arg8
= (int ) 150;
269 int _arg9
= (int ) 200;
270 PyObject
* _obj0
= 0;
271 PyObject
* _obj1
= 0;
272 PyObject
* _obj3
= 0;
273 PyObject
* _argo4
= 0;
274 int tempbool7
= (int) TRUE
;
275 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
281 if (!PyString_Check(_obj0
)) {
282 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
285 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
288 if (!PyString_Check(_obj1
)) {
289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
292 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
296 _arg3
= wxString_LIST_helper(_obj3
);
302 if (_argo4
== Py_None
) { _arg4
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
308 _arg7
= (bool ) tempbool7
;
311 _arg2
= PyList_Size(_obj3
);
318 wxPy_BEGIN_ALLOW_THREADS
;
319 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
321 wxPy_END_ALLOW_THREADS
;
323 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
342 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
349 wxWindow
* _arg4
= (wxWindow
*) NULL
;
350 int _arg5
= (int ) -1;
351 int _arg6
= (int ) -1;
352 bool _arg7
= (bool ) TRUE
;
353 int _arg8
= (int ) 150;
354 int _arg9
= (int ) 200;
355 PyObject
* _obj0
= 0;
356 PyObject
* _obj1
= 0;
357 PyObject
* _obj3
= 0;
358 PyObject
* _argo4
= 0;
359 int tempbool7
= (int) TRUE
;
360 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
366 if (!PyString_Check(_obj0
)) {
367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
370 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
373 if (!PyString_Check(_obj1
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
381 _arg3
= wxString_LIST_helper(_obj3
);
387 if (_argo4
== Py_None
) { _arg4
= NULL
; }
388 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
393 _arg7
= (bool ) tempbool7
;
396 _arg2
= PyList_Size(_obj3
);
403 wxPy_BEGIN_ALLOW_THREADS
;
404 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
406 wxPy_END_ALLOW_THREADS
;
407 } _resultobj
= Py_BuildValue("i",_result
);
422 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
426 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
427 int _arg2
= (int ) wxOK
|wxCENTRE
;
428 wxWindow
* _arg3
= (wxWindow
*) NULL
;
429 int _arg4
= (int ) -1;
430 int _arg5
= (int ) -1;
431 PyObject
* _obj0
= 0;
432 PyObject
* _obj1
= 0;
433 PyObject
* _argo3
= 0;
434 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
440 if (!PyString_Check(_obj0
)) {
441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
444 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
448 if (!PyString_Check(_obj1
)) {
449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
452 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
455 if (_argo3
== Py_None
) { _arg3
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
462 wxPy_BEGIN_ALLOW_THREADS
;
463 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
465 wxPy_END_ALLOW_THREADS
;
466 } _resultobj
= Py_BuildValue("i",_result
);
478 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
485 long _arg4
= (long ) 0;
486 long _arg5
= (long ) 100;
487 wxWindow
* _arg6
= (wxWindow
*) NULL
;
488 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
489 PyObject
* _obj0
= 0;
490 PyObject
* _obj1
= 0;
491 PyObject
* _obj2
= 0;
492 PyObject
* _argo6
= 0;
493 PyObject
* _argo7
= 0;
494 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_argo7
))
500 if (!PyString_Check(_obj0
)) {
501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
504 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
507 if (!PyString_Check(_obj1
)) {
508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
511 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
514 if (!PyString_Check(_obj2
)) {
515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
518 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
521 if (_argo6
== Py_None
) { _arg6
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
528 if (_argo7
== Py_None
) { _arg7
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxPoint_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGetNumberFromUser. Expected _wxPoint_p.");
535 wxPy_BEGIN_ALLOW_THREADS
;
536 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
538 wxPy_END_ALLOW_THREADS
;
539 } _resultobj
= Py_BuildValue("l",_result
);
555 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
558 char *_kwnames
[] = { NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
564 wxPy_BEGIN_ALLOW_THREADS
;
565 _result
= (bool )wxColourDisplay();
567 wxPy_END_ALLOW_THREADS
;
568 } _resultobj
= Py_BuildValue("i",_result
);
572 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
575 char *_kwnames
[] = { NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
581 wxPy_BEGIN_ALLOW_THREADS
;
582 _result
= (int )wxDisplayDepth();
584 wxPy_END_ALLOW_THREADS
;
585 } _resultobj
= Py_BuildValue("i",_result
);
589 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
590 PyObject
* _resultobj
;
592 PyObject
* _argo0
= 0;
593 char *_kwnames
[] = { "cursor", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
606 wxPy_BEGIN_ALLOW_THREADS
;
609 wxPy_END_ALLOW_THREADS
;
610 } Py_INCREF(Py_None
);
611 _resultobj
= Py_None
;
615 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
618 char *_kwnames
[] = { NULL
};
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
624 wxPy_BEGIN_ALLOW_THREADS
;
625 _result
= (long )wxNewId();
627 wxPy_END_ALLOW_THREADS
;
628 } _resultobj
= Py_BuildValue("l",_result
);
632 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
635 char *_kwnames
[] = { "id", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
641 wxPy_BEGIN_ALLOW_THREADS
;
644 wxPy_END_ALLOW_THREADS
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
653 char *_kwnames
[] = { NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= (long )wxNewId();
662 wxPy_END_ALLOW_THREADS
;
663 } _resultobj
= Py_BuildValue("l",_result
);
667 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
670 char *_kwnames
[] = { "id", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
676 wxPy_BEGIN_ALLOW_THREADS
;
679 wxPy_END_ALLOW_THREADS
;
680 } Py_INCREF(Py_None
);
681 _resultobj
= Py_None
;
685 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 PyObject
* _resultobj
;
687 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "cursor", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxBeginBusyCursor(_arg0
);
705 wxPy_END_ALLOW_THREADS
;
706 } Py_INCREF(Py_None
);
707 _resultobj
= Py_None
;
711 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
712 PyObject
* _resultobj
;
713 char *_kwnames
[] = { NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
719 wxPy_BEGIN_ALLOW_THREADS
;
722 wxPy_END_ALLOW_THREADS
;
723 } Py_INCREF(Py_None
);
724 _resultobj
= Py_None
;
728 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
734 char *_kwnames
[] = { NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
746 wxPy_BEGIN_ALLOW_THREADS
;
747 wxDisplaySize(_arg0
,_arg1
);
749 wxPy_END_ALLOW_THREADS
;
750 } Py_INCREF(Py_None
);
751 _resultobj
= Py_None
;
754 o
= PyInt_FromLong((long) (*_arg0
));
755 _resultobj
= t_output_helper(_resultobj
, o
);
759 o
= PyInt_FromLong((long) (*_arg1
));
760 _resultobj
= t_output_helper(_resultobj
, o
);
765 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
767 char *_kwnames
[] = { NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
773 wxPy_BEGIN_ALLOW_THREADS
;
776 wxPy_END_ALLOW_THREADS
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
782 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
786 bool _arg1
= (bool ) FALSE
;
787 PyObject
* _obj0
= 0;
788 int tempbool1
= (int) FALSE
;
789 char *_kwnames
[] = { "command","sync", NULL
};
792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxExecute",_kwnames
,&_obj0
,&tempbool1
))
795 if (!PyString_Check(_obj0
)) {
796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
799 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
801 _arg1
= (bool ) tempbool1
;
803 wxPy_BEGIN_ALLOW_THREADS
;
804 _result
= (long )wxExecute(*_arg0
,_arg1
);
806 wxPy_END_ALLOW_THREADS
;
807 } _resultobj
= Py_BuildValue("l",_result
);
815 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
821 char *_kwnames
[] = { NULL
};
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
833 wxPy_BEGIN_ALLOW_THREADS
;
834 wxGetMousePosition(_arg0
,_arg1
);
836 wxPy_END_ALLOW_THREADS
;
837 } Py_INCREF(Py_None
);
838 _resultobj
= Py_None
;
841 o
= PyInt_FromLong((long) (*_arg0
));
842 _resultobj
= t_output_helper(_resultobj
, o
);
846 o
= PyInt_FromLong((long) (*_arg1
));
847 _resultobj
= t_output_helper(_resultobj
, o
);
852 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
855 char *_kwnames
[] = { NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
861 wxPy_BEGIN_ALLOW_THREADS
;
862 _result
= (bool )wxIsBusy();
864 wxPy_END_ALLOW_THREADS
;
865 } _resultobj
= Py_BuildValue("i",_result
);
869 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
872 char *_kwnames
[] = { NULL
};
875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
878 wxPy_BEGIN_ALLOW_THREADS
;
879 _result
= new wxString (wxNow());
881 wxPy_END_ALLOW_THREADS
;
883 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
891 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
894 char *_kwnames
[] = { "secs", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
900 wxPy_BEGIN_ALLOW_THREADS
;
903 wxPy_END_ALLOW_THREADS
;
904 } Py_INCREF(Py_None
);
905 _resultobj
= Py_None
;
909 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
912 char *_kwnames
[] = { NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
918 wxPy_BEGIN_ALLOW_THREADS
;
919 _result
= (bool )wxYield();
921 wxPy_END_ALLOW_THREADS
;
922 } _resultobj
= Py_BuildValue("i",_result
);
926 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
929 char *_kwnames
[] = { NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
935 wxPy_BEGIN_ALLOW_THREADS
;
936 _result
= (bool )wxSafeYield();
938 wxPy_END_ALLOW_THREADS
;
939 } _resultobj
= Py_BuildValue("i",_result
);
943 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
947 char *_kwnames
[] = { "enable", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
952 _arg0
= (bool ) tempbool0
;
954 wxPy_BEGIN_ALLOW_THREADS
;
955 wxEnableTopLevelWindows(_arg0
);
957 wxPy_END_ALLOW_THREADS
;
958 } Py_INCREF(Py_None
);
959 _resultobj
= Py_None
;
963 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
968 char * _arg2
= (char *) NULL
;
969 char *_kwnames
[] = { "section","entry","file", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
975 wxPy_BEGIN_ALLOW_THREADS
;
976 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
978 wxPy_END_ALLOW_THREADS
;
979 } _resultobj
= Py_BuildValue("s", _result
);
983 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
988 char *_kwnames
[] = { "name","value", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
994 wxPy_BEGIN_ALLOW_THREADS
;
995 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
997 wxPy_END_ALLOW_THREADS
;
998 } _resultobj
= Py_BuildValue("i",_result
);
1002 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1003 PyObject
* _resultobj
;
1004 char *_kwnames
[] = { NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1010 wxPy_BEGIN_ALLOW_THREADS
;
1013 wxPy_END_ALLOW_THREADS
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1023 char *_kwnames
[] = { "resource", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1033 wxPy_END_ALLOW_THREADS
;
1034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1035 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1043 char *_kwnames
[] = { "resource", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1053 wxPy_END_ALLOW_THREADS
;
1054 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1055 _resultobj
= Py_BuildValue("s",_ptemp
);
1059 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1061 wxMenuBar
* _result
;
1063 char *_kwnames
[] = { "resource", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1073 wxPy_END_ALLOW_THREADS
;
1075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1076 _resultobj
= Py_BuildValue("s",_ptemp
);
1079 _resultobj
= Py_None
;
1084 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 char *_kwnames
[] = { "name", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (int )wxResourceGetIdentifier(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1098 } _resultobj
= Py_BuildValue("i",_result
);
1102 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1106 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1107 PyObject
* _argo1
= 0;
1108 char *_kwnames
[] = { "resource","table", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1121 wxPy_BEGIN_ALLOW_THREADS
;
1122 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1124 wxPy_END_ALLOW_THREADS
;
1125 } _resultobj
= Py_BuildValue("i",_result
);
1129 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1133 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1134 PyObject
* _argo1
= 0;
1135 char *_kwnames
[] = { "filename","table", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1151 wxPy_END_ALLOW_THREADS
;
1152 } _resultobj
= Py_BuildValue("i",_result
);
1156 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1161 PyObject
* _argo1
= 0;
1162 char *_kwnames
[] = { "resource","table", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1168 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1187 char *_kwnames
[] = { "index", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1197 wxPy_END_ALLOW_THREADS
;
1198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1199 _resultobj
= Py_BuildValue("s",_ptemp
);
1203 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1207 char *_kwnames
[] = { "index", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1217 wxPy_END_ALLOW_THREADS
;
1218 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1219 _resultobj
= Py_BuildValue("s",_ptemp
);
1223 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 char *_kwnames
[] = { "index", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1236 wxPy_END_ALLOW_THREADS
;
1237 } _resultobj
= Py_BuildValue("i",_result
);
1241 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1242 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self","x", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_argo0
,&_arg1
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1264 wxPy_END_ALLOW_THREADS
;
1265 } _resultobj
= Py_BuildValue("l",_result
);
1269 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1270 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "self", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (long )wxSize_x_get(_arg0
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } _resultobj
= Py_BuildValue("l",_result
);
1296 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1297 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1302 PyObject
* _argo0
= 0;
1303 char *_kwnames
[] = { "self","y", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_argo0
,&_arg1
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1316 wxPy_BEGIN_ALLOW_THREADS
;
1317 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1319 wxPy_END_ALLOW_THREADS
;
1320 } _resultobj
= Py_BuildValue("l",_result
);
1324 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1325 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1329 PyObject
* _argo0
= 0;
1330 char *_kwnames
[] = { "self", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_argo0
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1343 wxPy_BEGIN_ALLOW_THREADS
;
1344 _result
= (long )wxSize_y_get(_arg0
);
1346 wxPy_END_ALLOW_THREADS
;
1347 } _resultobj
= Py_BuildValue("l",_result
);
1351 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1352 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1355 long _arg0
= (long ) 0;
1356 long _arg1
= (long ) 0;
1357 char *_kwnames
[] = { "w","h", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1370 _resultobj
= Py_BuildValue("s",_ptemp
);
1373 _resultobj
= Py_None
;
1378 #define delete_wxSize(_swigobj) (delete _swigobj)
1379 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1382 PyObject
* _argo0
= 0;
1383 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 delete_wxSize(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1400 } Py_INCREF(Py_None
);
1401 _resultobj
= Py_None
;
1405 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1406 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","w","h", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1425 wxPy_BEGIN_ALLOW_THREADS
;
1426 wxSize_Set(_arg0
,_arg1
,_arg2
);
1428 wxPy_END_ALLOW_THREADS
;
1429 } Py_INCREF(Py_None
);
1430 _resultobj
= Py_None
;
1434 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1435 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 _result
= (long )wxSize_GetX(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } _resultobj
= Py_BuildValue("l",_result
);
1461 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1462 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_argo0
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1480 wxPy_BEGIN_ALLOW_THREADS
;
1481 _result
= (long )wxSize_GetY(_arg0
);
1483 wxPy_END_ALLOW_THREADS
;
1484 } _resultobj
= Py_BuildValue("l",_result
);
1488 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1489 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1493 PyObject
* _argo0
= 0;
1494 char *_kwnames
[] = { "self", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_argo0
))
1500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 _result
= (long )wxSize_GetWidth(_arg0
);
1510 wxPy_END_ALLOW_THREADS
;
1511 } _resultobj
= Py_BuildValue("l",_result
);
1515 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1516 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (long )wxSize_GetHeight(_arg0
);
1537 wxPy_END_ALLOW_THREADS
;
1538 } _resultobj
= Py_BuildValue("l",_result
);
1542 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1543 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self","w", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 wxSize_SetWidth(_arg0
,_arg1
);
1564 wxPy_END_ALLOW_THREADS
;
1565 } Py_INCREF(Py_None
);
1566 _resultobj
= Py_None
;
1570 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1571 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1575 PyObject
* _argo0
= 0;
1576 char *_kwnames
[] = { "self","h", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p.");
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 wxSize_SetHeight(_arg0
,_arg1
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1598 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1599 PyObject
* tup
= PyTuple_New(2);
1600 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1601 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1604 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_argo0
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1622 wxPy_BEGIN_ALLOW_THREADS
;
1623 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1625 wxPy_END_ALLOW_THREADS
;
1627 _resultobj
= _result
;
1632 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1633 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1636 wxRealPoint
* _arg0
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self","x", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_argo0
,&_arg1
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } _resultobj
= Py_BuildValue("d",_result
);
1660 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1661 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxRealPoint
* _arg0
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (double )wxRealPoint_x_get(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } _resultobj
= Py_BuildValue("d",_result
);
1687 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1688 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 wxRealPoint
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self","y", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_argo0
,&_arg1
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } _resultobj
= Py_BuildValue("d",_result
);
1715 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1716 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1719 wxRealPoint
* _arg0
;
1720 PyObject
* _argo0
= 0;
1721 char *_kwnames
[] = { "self", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_argo0
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1734 wxPy_BEGIN_ALLOW_THREADS
;
1735 _result
= (double )wxRealPoint_y_get(_arg0
);
1737 wxPy_END_ALLOW_THREADS
;
1738 } _resultobj
= Py_BuildValue("d",_result
);
1742 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1743 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
* _resultobj
;
1745 wxRealPoint
* _result
;
1746 double _arg0
= (double ) 0.0;
1747 double _arg1
= (double ) 0.0;
1748 char *_kwnames
[] = { "x","y", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
1760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1761 _resultobj
= Py_BuildValue("s",_ptemp
);
1764 _resultobj
= Py_None
;
1769 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1770 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1772 wxRealPoint
* _arg0
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "self", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 delete_wxRealPoint(_arg0
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } Py_INCREF(Py_None
);
1792 _resultobj
= Py_None
;
1796 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1800 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxRealPoint
* _arg0
;
1805 PyObject
* _argo0
= 0;
1806 char *_kwnames
[] = { "self","x","y", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_Set. Expected _wxRealPoint_p.");
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1822 wxPy_END_ALLOW_THREADS
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1829 PyObject
* tup
= PyTuple_New(2);
1830 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1831 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1834 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1837 wxRealPoint
* _arg0
;
1838 PyObject
* _argo0
= 0;
1839 char *_kwnames
[] = { "self", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_argo0
))
1845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_asTuple. Expected _wxRealPoint_p.");
1852 wxPy_BEGIN_ALLOW_THREADS
;
1853 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1855 wxPy_END_ALLOW_THREADS
;
1857 _resultobj
= _result
;
1862 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1863 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1868 PyObject
* _argo0
= 0;
1869 char *_kwnames
[] = { "self","x", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_argo0
,&_arg1
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1882 wxPy_BEGIN_ALLOW_THREADS
;
1883 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1885 wxPy_END_ALLOW_THREADS
;
1886 } _resultobj
= Py_BuildValue("l",_result
);
1890 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1891 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
* _resultobj
;
1895 PyObject
* _argo0
= 0;
1896 char *_kwnames
[] = { "self", NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_argo0
))
1902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1909 wxPy_BEGIN_ALLOW_THREADS
;
1910 _result
= (long )wxPoint_x_get(_arg0
);
1912 wxPy_END_ALLOW_THREADS
;
1913 } _resultobj
= Py_BuildValue("l",_result
);
1917 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1918 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self","y", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_argo0
,&_arg1
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1937 wxPy_BEGIN_ALLOW_THREADS
;
1938 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1940 wxPy_END_ALLOW_THREADS
;
1941 } _resultobj
= Py_BuildValue("l",_result
);
1945 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1946 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1950 PyObject
* _argo0
= 0;
1951 char *_kwnames
[] = { "self", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (long )wxPoint_y_get(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } _resultobj
= Py_BuildValue("l",_result
);
1972 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1973 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1976 long _arg0
= (long ) 0;
1977 long _arg1
= (long ) 0;
1978 char *_kwnames
[] = { "x","y", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1988 wxPy_END_ALLOW_THREADS
;
1990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1991 _resultobj
= Py_BuildValue("s",_ptemp
);
1994 _resultobj
= Py_None
;
1999 #define delete_wxPoint(_swigobj) (delete _swigobj)
2000 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 delete_wxPoint(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2026 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2030 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self","x","y", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2052 wxPy_END_ALLOW_THREADS
;
2053 } Py_INCREF(Py_None
);
2054 _resultobj
= Py_None
;
2058 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2059 PyObject
* tup
= PyTuple_New(2);
2060 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2061 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2064 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_argo0
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2085 wxPy_END_ALLOW_THREADS
;
2087 _resultobj
= _result
;
2092 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2093 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2096 long _arg0
= (long ) 0;
2097 long _arg1
= (long ) 0;
2098 long _arg2
= (long ) 0;
2099 long _arg3
= (long ) 0;
2100 char *_kwnames
[] = { "x","y","w","h", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2110 wxPy_END_ALLOW_THREADS
;
2112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2113 _resultobj
= Py_BuildValue("s",_ptemp
);
2116 _resultobj
= Py_None
;
2121 #define delete_wxRect(_swigobj) (delete _swigobj)
2122 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "self", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_argo0
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 delete_wxRect(_arg0
);
2142 wxPy_END_ALLOW_THREADS
;
2143 } Py_INCREF(Py_None
);
2144 _resultobj
= Py_None
;
2148 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2149 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 _result
= (long )wxRect_GetX(_arg0
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } _resultobj
= Py_BuildValue("l",_result
);
2175 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2176 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2180 PyObject
* _argo0
= 0;
2181 char *_kwnames
[] = { "self","X", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetX",_kwnames
,&_argo0
,&_arg1
))
2187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
2194 wxPy_BEGIN_ALLOW_THREADS
;
2195 wxRect_SetX(_arg0
,_arg1
);
2197 wxPy_END_ALLOW_THREADS
;
2198 } Py_INCREF(Py_None
);
2199 _resultobj
= Py_None
;
2203 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2204 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2208 PyObject
* _argo0
= 0;
2209 char *_kwnames
[] = { "self", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_argo0
))
2215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 _result
= (long )wxRect_GetY(_arg0
);
2225 wxPy_END_ALLOW_THREADS
;
2226 } _resultobj
= Py_BuildValue("l",_result
);
2230 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2231 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2235 PyObject
* _argo0
= 0;
2236 char *_kwnames
[] = { "self","Y", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetY",_kwnames
,&_argo0
,&_arg1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 wxRect_SetY(_arg0
,_arg1
);
2252 wxPy_END_ALLOW_THREADS
;
2253 } Py_INCREF(Py_None
);
2254 _resultobj
= Py_None
;
2258 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2259 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2263 PyObject
* _argo0
= 0;
2264 char *_kwnames
[] = { "self", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_argo0
))
2270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 _result
= (long )wxRect_GetWidth(_arg0
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } _resultobj
= Py_BuildValue("l",_result
);
2285 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2286 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2290 PyObject
* _argo0
= 0;
2291 char *_kwnames
[] = { "self","w", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 wxRect_SetWidth(_arg0
,_arg1
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2313 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2314 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2318 PyObject
* _argo0
= 0;
2319 char *_kwnames
[] = { "self", NULL
};
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_argo0
))
2325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
2332 wxPy_BEGIN_ALLOW_THREADS
;
2333 _result
= (long )wxRect_GetHeight(_arg0
);
2335 wxPy_END_ALLOW_THREADS
;
2336 } _resultobj
= Py_BuildValue("l",_result
);
2340 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2341 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2345 PyObject
* _argo0
= 0;
2346 char *_kwnames
[] = { "self","h", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
2359 wxPy_BEGIN_ALLOW_THREADS
;
2360 wxRect_SetHeight(_arg0
,_arg1
);
2362 wxPy_END_ALLOW_THREADS
;
2363 } Py_INCREF(Py_None
);
2364 _resultobj
= Py_None
;
2368 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2369 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2391 wxPy_END_ALLOW_THREADS
;
2392 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2393 _resultobj
= Py_BuildValue("s",_ptemp
);
2397 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2398 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2402 PyObject
* _argo0
= 0;
2403 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_argo0
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
2417 wxPy_BEGIN_ALLOW_THREADS
;
2418 _result
= new wxSize (wxRect_GetSize(_arg0
));
2420 wxPy_END_ALLOW_THREADS
;
2421 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2422 _resultobj
= Py_BuildValue("s",_ptemp
);
2426 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2427 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2431 PyObject
* _argo0
= 0;
2432 char *_kwnames
[] = { "self", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_argo0
))
2438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 _result
= (long )wxRect_GetLeft(_arg0
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } _resultobj
= Py_BuildValue("l",_result
);
2453 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2454 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2458 PyObject
* _argo0
= 0;
2459 char *_kwnames
[] = { "self", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_argo0
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 _result
= (long )wxRect_GetTop(_arg0
);
2475 wxPy_END_ALLOW_THREADS
;
2476 } _resultobj
= Py_BuildValue("l",_result
);
2480 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2481 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_argo0
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 _result
= (long )wxRect_GetBottom(_arg0
);
2502 wxPy_END_ALLOW_THREADS
;
2503 } _resultobj
= Py_BuildValue("l",_result
);
2507 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2508 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_argo0
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
2526 wxPy_BEGIN_ALLOW_THREADS
;
2527 _result
= (long )wxRect_GetRight(_arg0
);
2529 wxPy_END_ALLOW_THREADS
;
2530 } _resultobj
= Py_BuildValue("l",_result
);
2534 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2535 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2540 PyObject
* _argo0
= 0;
2541 char *_kwnames
[] = { "self","x", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_x_set",_kwnames
,&_argo0
,&_arg1
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } _resultobj
= Py_BuildValue("l",_result
);
2562 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2563 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_argo0
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (long )wxRect_x_get(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 } _resultobj
= Py_BuildValue("l",_result
);
2589 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2590 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2595 PyObject
* _argo0
= 0;
2596 char *_kwnames
[] = { "self","y", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_y_set",_kwnames
,&_argo0
,&_arg1
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2612 wxPy_END_ALLOW_THREADS
;
2613 } _resultobj
= Py_BuildValue("l",_result
);
2617 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2618 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 _result
= (long )wxRect_y_get(_arg0
);
2639 wxPy_END_ALLOW_THREADS
;
2640 } _resultobj
= Py_BuildValue("l",_result
);
2644 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2645 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self","width", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_width_set",_kwnames
,&_argo0
,&_arg1
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2664 wxPy_BEGIN_ALLOW_THREADS
;
2665 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2667 wxPy_END_ALLOW_THREADS
;
2668 } _resultobj
= Py_BuildValue("l",_result
);
2672 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2673 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2677 PyObject
* _argo0
= 0;
2678 char *_kwnames
[] = { "self", NULL
};
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_argo0
))
2684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= (long )wxRect_width_get(_arg0
);
2694 wxPy_END_ALLOW_THREADS
;
2695 } _resultobj
= Py_BuildValue("l",_result
);
2699 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2700 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self","height", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_height_set",_kwnames
,&_argo0
,&_arg1
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2722 wxPy_END_ALLOW_THREADS
;
2723 } _resultobj
= Py_BuildValue("l",_result
);
2727 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2728 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2729 PyObject
* _resultobj
;
2732 PyObject
* _argo0
= 0;
2733 char *_kwnames
[] = { "self", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (long )wxRect_height_get(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("l",_result
);
2754 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2755 PyObject
* tup
= PyTuple_New(4);
2756 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2757 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2758 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2759 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2762 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_argo0
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2785 _resultobj
= _result
;
2790 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2791 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2793 wxPyTimer
* _result
;
2795 PyObject
* _obj0
= 0;
2796 char *_kwnames
[] = { "notify", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2806 wxPy_BEGIN_ALLOW_THREADS
;
2807 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2809 wxPy_END_ALLOW_THREADS
;
2811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2812 _resultobj
= Py_BuildValue("s",_ptemp
);
2815 _resultobj
= Py_None
;
2820 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2821 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2838 wxPy_BEGIN_ALLOW_THREADS
;
2839 delete_wxPyTimer(_arg0
);
2841 wxPy_END_ALLOW_THREADS
;
2842 } Py_INCREF(Py_None
);
2843 _resultobj
= Py_None
;
2847 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2848 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Interval",_kwnames
,&_argo0
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 _result
= (int )wxPyTimer_Interval(_arg0
);
2869 wxPy_END_ALLOW_THREADS
;
2870 } _resultobj
= Py_BuildValue("i",_result
);
2874 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2875 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2878 int _arg1
= (int ) -1;
2879 int _arg2
= (int ) FALSE
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } Py_INCREF(Py_None
);
2899 _resultobj
= Py_None
;
2903 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2904 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 wxPyTimer_Stop(_arg0
);
2924 wxPy_END_ALLOW_THREADS
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2930 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2931 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2933 wxIndividualLayoutConstraint
* _arg0
;
2935 int _arg2
= (int ) 0;
2936 PyObject
* _argo0
= 0;
2937 PyObject
* _argo1
= 0;
2938 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2958 wxPy_BEGIN_ALLOW_THREADS
;
2959 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2961 wxPy_END_ALLOW_THREADS
;
2962 } Py_INCREF(Py_None
);
2963 _resultobj
= Py_None
;
2967 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2968 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2970 wxIndividualLayoutConstraint
* _arg0
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self","value", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2989 wxPy_END_ALLOW_THREADS
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2996 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2998 wxIndividualLayoutConstraint
* _arg0
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 wxIndividualLayoutConstraint_AsIs(_arg0
);
3016 wxPy_END_ALLOW_THREADS
;
3017 } Py_INCREF(Py_None
);
3018 _resultobj
= Py_None
;
3022 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3023 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3025 wxIndividualLayoutConstraint
* _arg0
;
3027 int _arg2
= (int ) 0;
3028 PyObject
* _argo0
= 0;
3029 PyObject
* _argo1
= 0;
3030 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3050 wxPy_BEGIN_ALLOW_THREADS
;
3051 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3053 wxPy_END_ALLOW_THREADS
;
3054 } Py_INCREF(Py_None
);
3055 _resultobj
= Py_None
;
3059 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3060 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3062 wxIndividualLayoutConstraint
* _arg0
;
3063 PyObject
* _argo0
= 0;
3064 char *_kwnames
[] = { "self", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3080 wxPy_END_ALLOW_THREADS
;
3081 } Py_INCREF(Py_None
);
3082 _resultobj
= Py_None
;
3086 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3087 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3089 wxIndividualLayoutConstraint
* _arg0
;
3091 int _arg2
= (int ) 0;
3092 PyObject
* _argo0
= 0;
3093 PyObject
* _argo1
= 0;
3094 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3114 wxPy_BEGIN_ALLOW_THREADS
;
3115 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3117 wxPy_END_ALLOW_THREADS
;
3118 } Py_INCREF(Py_None
);
3119 _resultobj
= Py_None
;
3123 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3124 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
* _resultobj
;
3126 wxIndividualLayoutConstraint
* _arg0
;
3130 PyObject
* _argo0
= 0;
3131 PyObject
* _argo1
= 0;
3132 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3161 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3162 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3164 wxIndividualLayoutConstraint
* _arg0
;
3166 int _arg2
= (int ) 0;
3167 PyObject
* _argo0
= 0;
3168 PyObject
* _argo1
= 0;
3169 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3192 wxPy_END_ALLOW_THREADS
;
3193 } Py_INCREF(Py_None
);
3194 _resultobj
= Py_None
;
3198 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3199 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
* _resultobj
;
3201 wxIndividualLayoutConstraint
* _arg0
;
3204 int _arg3
= (int ) 0;
3205 PyObject
* _argo0
= 0;
3206 PyObject
* _argo1
= 0;
3207 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3227 wxPy_BEGIN_ALLOW_THREADS
;
3228 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3230 wxPy_END_ALLOW_THREADS
;
3231 } Py_INCREF(Py_None
);
3232 _resultobj
= Py_None
;
3236 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3237 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3239 wxIndividualLayoutConstraint
* _arg0
;
3240 wxRelationship _arg1
;
3243 int _arg4
= (int ) 0;
3244 int _arg5
= (int ) 0;
3245 PyObject
* _argo0
= 0;
3246 PyObject
* _argo2
= 0;
3247 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3260 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3267 wxPy_BEGIN_ALLOW_THREADS
;
3268 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3270 wxPy_END_ALLOW_THREADS
;
3271 } Py_INCREF(Py_None
);
3272 _resultobj
= Py_None
;
3276 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3277 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3279 wxLayoutConstraints
* _result
;
3280 char *_kwnames
[] = { NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3287 wxPy_BEGIN_ALLOW_THREADS
;
3288 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3290 wxPy_END_ALLOW_THREADS
;
3292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3293 _resultobj
= Py_BuildValue("s",_ptemp
);
3296 _resultobj
= Py_None
;
3301 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3302 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
* _resultobj
;
3304 wxIndividualLayoutConstraint
* _result
;
3305 wxLayoutConstraints
* _arg0
;
3306 PyObject
* _argo0
= 0;
3307 char *_kwnames
[] = { "self", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3321 wxPy_BEGIN_ALLOW_THREADS
;
3322 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3324 wxPy_END_ALLOW_THREADS
;
3326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3327 _resultobj
= Py_BuildValue("s",_ptemp
);
3330 _resultobj
= Py_None
;
3335 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3336 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3338 wxIndividualLayoutConstraint
* _result
;
3339 wxLayoutConstraints
* _arg0
;
3340 PyObject
* _argo0
= 0;
3341 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3355 wxPy_BEGIN_ALLOW_THREADS
;
3356 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3358 wxPy_END_ALLOW_THREADS
;
3360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3361 _resultobj
= Py_BuildValue("s",_ptemp
);
3364 _resultobj
= Py_None
;
3369 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3370 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3372 wxIndividualLayoutConstraint
* _result
;
3373 wxLayoutConstraints
* _arg0
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3389 wxPy_BEGIN_ALLOW_THREADS
;
3390 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3392 wxPy_END_ALLOW_THREADS
;
3394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3395 _resultobj
= Py_BuildValue("s",_ptemp
);
3398 _resultobj
= Py_None
;
3403 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3404 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3406 wxIndividualLayoutConstraint
* _result
;
3407 wxLayoutConstraints
* _arg0
;
3408 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3423 wxPy_BEGIN_ALLOW_THREADS
;
3424 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3426 wxPy_END_ALLOW_THREADS
;
3428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3429 _resultobj
= Py_BuildValue("s",_ptemp
);
3432 _resultobj
= Py_None
;
3437 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3438 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxIndividualLayoutConstraint
* _result
;
3441 wxLayoutConstraints
* _arg0
;
3442 PyObject
* _argo0
= 0;
3443 char *_kwnames
[] = { "self", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3457 wxPy_BEGIN_ALLOW_THREADS
;
3458 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3460 wxPy_END_ALLOW_THREADS
;
3462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3463 _resultobj
= Py_BuildValue("s",_ptemp
);
3466 _resultobj
= Py_None
;
3471 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3472 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3474 wxIndividualLayoutConstraint
* _result
;
3475 wxLayoutConstraints
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3491 wxPy_BEGIN_ALLOW_THREADS
;
3492 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3494 wxPy_END_ALLOW_THREADS
;
3496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3497 _resultobj
= Py_BuildValue("s",_ptemp
);
3500 _resultobj
= Py_None
;
3505 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3506 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
* _resultobj
;
3508 wxIndividualLayoutConstraint
* _result
;
3509 wxLayoutConstraints
* _arg0
;
3510 PyObject
* _argo0
= 0;
3511 char *_kwnames
[] = { "self", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3525 wxPy_BEGIN_ALLOW_THREADS
;
3526 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3528 wxPy_END_ALLOW_THREADS
;
3530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3534 _resultobj
= Py_None
;
3539 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3540 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxIndividualLayoutConstraint
* _result
;
3543 wxLayoutConstraints
* _arg0
;
3544 PyObject
* _argo0
= 0;
3545 char *_kwnames
[] = { "self", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3559 wxPy_BEGIN_ALLOW_THREADS
;
3560 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3562 wxPy_END_ALLOW_THREADS
;
3564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3565 _resultobj
= Py_BuildValue("s",_ptemp
);
3568 _resultobj
= Py_None
;
3573 #define new_wxRegion() (new wxRegion())
3574 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3577 char *_kwnames
[] = { NULL
};
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (wxRegion
*)new_wxRegion();
3587 wxPy_END_ALLOW_THREADS
;
3589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3590 _resultobj
= Py_BuildValue("s",_ptemp
);
3593 _resultobj
= Py_None
;
3598 #define delete_wxRegion(_swigobj) (delete _swigobj)
3599 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3602 PyObject
* _argo0
= 0;
3603 char *_kwnames
[] = { "self", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3616 wxPy_BEGIN_ALLOW_THREADS
;
3617 delete_wxRegion(_arg0
);
3619 wxPy_END_ALLOW_THREADS
;
3620 } Py_INCREF(Py_None
);
3621 _resultobj
= Py_None
;
3625 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3626 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3629 PyObject
* _argo0
= 0;
3630 char *_kwnames
[] = { "self", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 wxRegion_Clear(_arg0
);
3646 wxPy_END_ALLOW_THREADS
;
3647 } Py_INCREF(Py_None
);
3648 _resultobj
= Py_None
;
3652 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3653 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3655 wxRegionContain _result
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "self","x","y", NULL
};
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3673 wxPy_BEGIN_ALLOW_THREADS
;
3674 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3676 wxPy_END_ALLOW_THREADS
;
3677 } _resultobj
= Py_BuildValue("i",_result
);
3681 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3682 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3684 wxRegionContain _result
;
3687 PyObject
* _argo0
= 0;
3688 PyObject
* _argo1
= 0;
3689 char *_kwnames
[] = { "self","pt", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_argo1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3712 wxPy_END_ALLOW_THREADS
;
3713 } _resultobj
= Py_BuildValue("i",_result
);
3717 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3718 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3720 wxRegionContain _result
;
3723 PyObject
* _argo0
= 0;
3724 PyObject
* _argo1
= 0;
3725 char *_kwnames
[] = { "self","rect", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_argo1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3748 wxPy_END_ALLOW_THREADS
;
3749 } _resultobj
= Py_BuildValue("i",_result
);
3753 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3754 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3758 PyObject
* _argo0
= 0;
3759 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3776 wxPy_END_ALLOW_THREADS
;
3777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3778 _resultobj
= Py_BuildValue("s",_ptemp
);
3782 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3783 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3788 PyObject
* _argo0
= 0;
3789 PyObject
* _argo1
= 0;
3790 char *_kwnames
[] = { "self","rect", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Intersect",_kwnames
,&_argo0
,&_argo1
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3813 wxPy_END_ALLOW_THREADS
;
3814 } _resultobj
= Py_BuildValue("i",_result
);
3818 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3819 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
* _resultobj
;
3824 PyObject
* _argo0
= 0;
3825 PyObject
* _argo1
= 0;
3826 char *_kwnames
[] = { "self","rect", NULL
};
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Subtract",_kwnames
,&_argo0
,&_argo1
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3849 wxPy_END_ALLOW_THREADS
;
3850 } _resultobj
= Py_BuildValue("i",_result
);
3854 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3855 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3860 PyObject
* _argo0
= 0;
3861 PyObject
* _argo1
= 0;
3862 char *_kwnames
[] = { "self","rect", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Union",_kwnames
,&_argo0
,&_argo1
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3891 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3896 PyObject
* _argo0
= 0;
3897 PyObject
* _argo1
= 0;
3898 char *_kwnames
[] = { "self","rect", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Xor",_kwnames
,&_argo0
,&_argo1
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3911 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3927 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3929 wxRegionIterator
* _result
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "region", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3946 wxPy_BEGIN_ALLOW_THREADS
;
3947 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3949 wxPy_END_ALLOW_THREADS
;
3951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3952 _resultobj
= Py_BuildValue("s",_ptemp
);
3955 _resultobj
= Py_None
;
3960 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3961 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
* _resultobj
;
3963 wxRegionIterator
* _arg0
;
3964 PyObject
* _argo0
= 0;
3965 char *_kwnames
[] = { "self", NULL
};
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3978 wxPy_BEGIN_ALLOW_THREADS
;
3979 delete_wxRegionIterator(_arg0
);
3981 wxPy_END_ALLOW_THREADS
;
3982 } Py_INCREF(Py_None
);
3983 _resultobj
= Py_None
;
3987 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3988 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3991 wxRegionIterator
* _arg0
;
3992 PyObject
* _argo0
= 0;
3993 char *_kwnames
[] = { "self", NULL
};
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4006 wxPy_BEGIN_ALLOW_THREADS
;
4007 _result
= (long )wxRegionIterator_GetX(_arg0
);
4009 wxPy_END_ALLOW_THREADS
;
4010 } _resultobj
= Py_BuildValue("l",_result
);
4014 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4015 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4018 wxRegionIterator
* _arg0
;
4019 PyObject
* _argo0
= 0;
4020 char *_kwnames
[] = { "self", NULL
};
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4033 wxPy_BEGIN_ALLOW_THREADS
;
4034 _result
= (long )wxRegionIterator_GetY(_arg0
);
4036 wxPy_END_ALLOW_THREADS
;
4037 } _resultobj
= Py_BuildValue("l",_result
);
4041 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4042 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4045 wxRegionIterator
* _arg0
;
4046 PyObject
* _argo0
= 0;
4047 char *_kwnames
[] = { "self", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4060 wxPy_BEGIN_ALLOW_THREADS
;
4061 _result
= (long )wxRegionIterator_GetW(_arg0
);
4063 wxPy_END_ALLOW_THREADS
;
4064 } _resultobj
= Py_BuildValue("l",_result
);
4068 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4069 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4072 wxRegionIterator
* _arg0
;
4073 PyObject
* _argo0
= 0;
4074 char *_kwnames
[] = { "self", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4090 wxPy_END_ALLOW_THREADS
;
4091 } _resultobj
= Py_BuildValue("l",_result
);
4095 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4096 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4099 wxRegionIterator
* _arg0
;
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (long )wxRegionIterator_GetH(_arg0
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } _resultobj
= Py_BuildValue("l",_result
);
4122 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4123 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4126 wxRegionIterator
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4141 wxPy_BEGIN_ALLOW_THREADS
;
4142 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4144 wxPy_END_ALLOW_THREADS
;
4145 } _resultobj
= Py_BuildValue("l",_result
);
4149 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4150 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxRegionIterator
* _arg0
;
4154 PyObject
* _argo0
= 0;
4155 char *_kwnames
[] = { "self", NULL
};
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4172 wxPy_END_ALLOW_THREADS
;
4173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4174 _resultobj
= Py_BuildValue("s",_ptemp
);
4178 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4179 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4180 PyObject
* _resultobj
;
4182 wxRegionIterator
* _arg0
;
4183 PyObject
* _argo0
= 0;
4184 char *_kwnames
[] = { "self", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4197 wxPy_BEGIN_ALLOW_THREADS
;
4198 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4200 wxPy_END_ALLOW_THREADS
;
4201 } _resultobj
= Py_BuildValue("i",_result
);
4205 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4206 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
* _resultobj
;
4208 wxRegionIterator
* _arg0
;
4209 PyObject
* _argo0
= 0;
4210 char *_kwnames
[] = { "self", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4223 wxPy_BEGIN_ALLOW_THREADS
;
4224 wxRegionIterator_Reset(_arg0
);
4226 wxPy_END_ALLOW_THREADS
;
4227 } Py_INCREF(Py_None
);
4228 _resultobj
= Py_None
;
4232 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4235 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4237 wxRegionIterator
* _arg0
;
4238 PyObject
* _argo0
= 0;
4239 char *_kwnames
[] = { "self", NULL
};
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4252 wxPy_BEGIN_ALLOW_THREADS
;
4253 wxRegionIterator_Next(_arg0
);
4255 wxPy_END_ALLOW_THREADS
;
4256 } Py_INCREF(Py_None
);
4257 _resultobj
= Py_None
;
4261 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4262 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
* _resultobj
;
4264 wxAcceleratorEntry
* _result
;
4265 int _arg0
= (int ) 0;
4266 int _arg1
= (int ) 0;
4267 int _arg2
= (int ) 0;
4268 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4275 wxPy_BEGIN_ALLOW_THREADS
;
4276 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4278 wxPy_END_ALLOW_THREADS
;
4280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4281 _resultobj
= Py_BuildValue("s",_ptemp
);
4284 _resultobj
= Py_None
;
4289 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4290 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
* _resultobj
;
4292 wxAcceleratorEntry
* _arg0
;
4296 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4310 wxPy_BEGIN_ALLOW_THREADS
;
4311 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4313 wxPy_END_ALLOW_THREADS
;
4314 } Py_INCREF(Py_None
);
4315 _resultobj
= Py_None
;
4319 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4320 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
* _resultobj
;
4323 wxAcceleratorEntry
* _arg0
;
4324 PyObject
* _argo0
= 0;
4325 char *_kwnames
[] = { "self", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4338 wxPy_BEGIN_ALLOW_THREADS
;
4339 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4341 wxPy_END_ALLOW_THREADS
;
4342 } _resultobj
= Py_BuildValue("i",_result
);
4346 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4347 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4350 wxAcceleratorEntry
* _arg0
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4368 wxPy_END_ALLOW_THREADS
;
4369 } _resultobj
= Py_BuildValue("i",_result
);
4373 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4374 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4377 wxAcceleratorEntry
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4395 wxPy_END_ALLOW_THREADS
;
4396 } _resultobj
= Py_BuildValue("i",_result
);
4400 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4401 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4403 wxAcceleratorTable
* _result
;
4405 wxAcceleratorEntry
* _arg1
;
4406 PyObject
* _obj1
= 0;
4407 char *_kwnames
[] = { "LIST", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4415 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4416 if (_arg1
== NULL
) {
4422 _arg0
= PyList_Size(_obj1
);
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4432 wxPy_END_ALLOW_THREADS
;
4434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4435 _resultobj
= Py_BuildValue("s",_ptemp
);
4438 _resultobj
= Py_None
;
4446 static PyMethodDef misccMethods
[] = {
4447 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxPyTimer_Interval", (PyCFunction
) _wrap_wxPyTimer_Interval
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4520 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4521 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4522 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4523 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4524 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4525 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4526 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4527 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4528 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4529 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4530 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4531 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4532 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4533 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4534 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4535 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4536 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4537 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4538 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4539 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4540 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4541 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4542 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4543 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4544 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4545 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4546 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4547 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4548 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4549 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4550 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4551 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4552 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4553 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4554 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4555 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4556 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4557 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4558 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4559 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
4560 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
4561 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
4562 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
4563 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
4564 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
4565 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4566 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
4567 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
4568 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
4569 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
4570 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4571 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4572 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4573 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4574 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4575 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4576 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4577 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4578 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4579 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4580 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4581 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4582 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4583 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4584 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4585 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4586 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4587 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4588 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
4589 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
4590 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
4591 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4592 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
4593 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
4594 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
4595 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4596 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
4603 * This table is used by the pointer type-checker
4605 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4606 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4607 { "_signed_long","_long",0},
4608 { "_wxPrintQuality","_int",0},
4609 { "_wxPrintQuality","_signed_int",0},
4610 { "_wxPrintQuality","_unsigned_int",0},
4611 { "_wxPrintQuality","_wxWindowID",0},
4612 { "_wxPrintQuality","_uint",0},
4613 { "_wxPrintQuality","_EBool",0},
4614 { "_wxPrintQuality","_size_t",0},
4615 { "_class_wxRegionIterator","_wxRegionIterator",0},
4616 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4617 { "_byte","_unsigned_char",0},
4618 { "_long","_unsigned_long",0},
4619 { "_long","_signed_long",0},
4620 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4621 { "_size_t","_wxPrintQuality",0},
4622 { "_size_t","_unsigned_int",0},
4623 { "_size_t","_int",0},
4624 { "_size_t","_wxWindowID",0},
4625 { "_size_t","_uint",0},
4626 { "_class_wxRealPoint","_wxRealPoint",0},
4627 { "_uint","_wxPrintQuality",0},
4628 { "_uint","_size_t",0},
4629 { "_uint","_unsigned_int",0},
4630 { "_uint","_int",0},
4631 { "_uint","_wxWindowID",0},
4632 { "_wxRect","_class_wxRect",0},
4633 { "_wxPoint","_class_wxPoint",0},
4634 { "_wxPyTimer","_class_wxPyTimer",0},
4635 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4636 { "_EBool","_wxPrintQuality",0},
4637 { "_EBool","_signed_int",0},
4638 { "_EBool","_int",0},
4639 { "_EBool","_wxWindowID",0},
4640 { "_class_wxRegion","_wxRegion",0},
4641 { "_unsigned_long","_long",0},
4642 { "_class_wxRect","_wxRect",0},
4643 { "_class_wxPyTimer","_wxPyTimer",0},
4644 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4645 { "_signed_int","_wxPrintQuality",0},
4646 { "_signed_int","_EBool",0},
4647 { "_signed_int","_wxWindowID",0},
4648 { "_signed_int","_int",0},
4649 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4650 { "_WXTYPE","_short",0},
4651 { "_WXTYPE","_signed_short",0},
4652 { "_WXTYPE","_unsigned_short",0},
4653 { "_unsigned_short","_WXTYPE",0},
4654 { "_unsigned_short","_short",0},
4655 { "_class_wxPoint","_wxPoint",0},
4656 { "_wxRealPoint","_class_wxRealPoint",0},
4657 { "_signed_short","_WXTYPE",0},
4658 { "_signed_short","_short",0},
4659 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4660 { "_unsigned_char","_byte",0},
4661 { "_unsigned_int","_wxPrintQuality",0},
4662 { "_unsigned_int","_size_t",0},
4663 { "_unsigned_int","_uint",0},
4664 { "_unsigned_int","_wxWindowID",0},
4665 { "_unsigned_int","_int",0},
4666 { "_short","_WXTYPE",0},
4667 { "_short","_unsigned_short",0},
4668 { "_short","_signed_short",0},
4669 { "_wxWindowID","_wxPrintQuality",0},
4670 { "_wxWindowID","_size_t",0},
4671 { "_wxWindowID","_EBool",0},
4672 { "_wxWindowID","_uint",0},
4673 { "_wxWindowID","_int",0},
4674 { "_wxWindowID","_signed_int",0},
4675 { "_wxWindowID","_unsigned_int",0},
4676 { "_int","_wxPrintQuality",0},
4677 { "_int","_size_t",0},
4678 { "_int","_EBool",0},
4679 { "_int","_uint",0},
4680 { "_int","_wxWindowID",0},
4681 { "_int","_unsigned_int",0},
4682 { "_int","_signed_int",0},
4683 { "_wxSize","_class_wxSize",0},
4684 { "_wxRegionIterator","_class_wxRegionIterator",0},
4685 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4686 { "_wxRegion","_class_wxRegion",0},
4687 { "_class_wxSize","_wxSize",0},
4690 static PyObject
*SWIG_globals
;
4694 SWIGEXPORT(void) initmiscc() {
4696 SWIG_globals
= SWIG_newvarlink();
4697 m
= Py_InitModule("miscc", misccMethods
);
4698 d
= PyModule_GetDict(m
);
4699 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4700 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4701 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4702 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4703 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4704 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4705 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4706 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4707 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4708 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4709 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4710 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4711 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4712 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4713 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4714 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4715 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4716 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4717 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4718 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4719 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4720 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4721 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
4722 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
4723 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
4724 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
4725 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
4726 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
4727 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
4728 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
4729 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
4730 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
4731 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
4732 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
4733 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
4734 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
4735 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
4736 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
4737 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
4738 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
4739 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
4740 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
4741 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
4742 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
4743 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
4744 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
4745 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
4746 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
4747 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
4748 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
4749 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
4750 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
4751 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
4752 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
4753 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
4754 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
4755 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
4756 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
4757 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
4758 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
4759 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
4760 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
4761 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
4762 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
4763 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
4764 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
4765 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
4766 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
4767 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
4768 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
4769 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
4770 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
4771 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
4772 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
4773 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
4774 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
4775 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
4776 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
4777 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
4778 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
4779 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
4780 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
4781 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
4782 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
4783 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
4784 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
4785 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
4786 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
4787 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
4788 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
4789 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
4790 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
4791 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
4792 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
4793 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
4794 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
4795 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
4796 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
4797 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
4798 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
4799 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
4800 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
4801 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
4802 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
4803 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
4804 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
4805 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
4806 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
4809 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4810 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);