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_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
818 char *_kwnames
[] = { NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
825 wxPy_BEGIN_ALLOW_THREADS
;
826 _result
= (wxWindow
*)wxGetActiveWindow();
828 wxPy_END_ALLOW_THREADS
;
830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
831 _resultobj
= Py_BuildValue("s",_ptemp
);
834 _resultobj
= Py_None
;
839 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
842 bool _arg0
= (bool ) TRUE
;
843 int tempbool0
= (int) TRUE
;
844 char *_kwnames
[] = { "resetTimer", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
849 _arg0
= (bool ) tempbool0
;
851 wxPy_BEGIN_ALLOW_THREADS
;
852 _result
= (long )wxGetElapsedTime(_arg0
);
854 wxPy_END_ALLOW_THREADS
;
855 } _resultobj
= Py_BuildValue("l",_result
);
859 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
862 char *_kwnames
[] = { NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
868 wxPy_BEGIN_ALLOW_THREADS
;
869 _result
= (long )wxGetFreeMemory();
871 wxPy_END_ALLOW_THREADS
;
872 } _resultobj
= Py_BuildValue("l",_result
);
876 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
882 char *_kwnames
[] = { NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
894 wxPy_BEGIN_ALLOW_THREADS
;
895 wxGetMousePosition(_arg0
,_arg1
);
897 wxPy_END_ALLOW_THREADS
;
898 } Py_INCREF(Py_None
);
899 _resultobj
= Py_None
;
902 o
= PyInt_FromLong((long) (*_arg0
));
903 _resultobj
= t_output_helper(_resultobj
, o
);
907 o
= PyInt_FromLong((long) (*_arg1
));
908 _resultobj
= t_output_helper(_resultobj
, o
);
913 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
916 char *_kwnames
[] = { NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
922 wxPy_BEGIN_ALLOW_THREADS
;
923 _result
= (bool )wxIsBusy();
925 wxPy_END_ALLOW_THREADS
;
926 } _resultobj
= Py_BuildValue("i",_result
);
930 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
933 char *_kwnames
[] = { NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
939 wxPy_BEGIN_ALLOW_THREADS
;
940 _result
= new wxString (wxNow());
942 wxPy_END_ALLOW_THREADS
;
944 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
952 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
955 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
956 PyObject
* _obj0
= 0;
957 char *_kwnames
[] = { "command", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
964 if (!PyString_Check(_obj0
)) {
965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
968 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (bool )wxShell(*_arg0
);
974 wxPy_END_ALLOW_THREADS
;
975 } _resultobj
= Py_BuildValue("i",_result
);
983 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
985 char *_kwnames
[] = { NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
991 wxPy_BEGIN_ALLOW_THREADS
;
994 wxPy_END_ALLOW_THREADS
;
995 } Py_INCREF(Py_None
);
996 _resultobj
= Py_None
;
1000 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1001 PyObject
* _resultobj
;
1007 char *_kwnames
[] = { NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
1019 wxPy_BEGIN_ALLOW_THREADS
;
1020 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
1022 wxPy_END_ALLOW_THREADS
;
1023 } _resultobj
= Py_BuildValue("i",_result
);
1026 o
= PyInt_FromLong((long) (*_arg0
));
1027 _resultobj
= t_output_helper(_resultobj
, o
);
1031 o
= PyInt_FromLong((long) (*_arg1
));
1032 _resultobj
= t_output_helper(_resultobj
, o
);
1037 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1040 char *_kwnames
[] = { "secs", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
1046 wxPy_BEGIN_ALLOW_THREADS
;
1049 wxPy_END_ALLOW_THREADS
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 char *_kwnames
[] = { NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= (bool )wxYield();
1067 wxPy_END_ALLOW_THREADS
;
1068 } _resultobj
= Py_BuildValue("i",_result
);
1072 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1075 char *_kwnames
[] = { NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 _result
= (bool )wxSafeYield();
1084 wxPy_END_ALLOW_THREADS
;
1085 } _resultobj
= Py_BuildValue("i",_result
);
1089 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1093 char *_kwnames
[] = { "enable", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
1098 _arg0
= (bool ) tempbool0
;
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 wxEnableTopLevelWindows(_arg0
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1114 char * _arg2
= (char *) NULL
;
1115 char *_kwnames
[] = { "section","entry","file", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
1121 wxPy_BEGIN_ALLOW_THREADS
;
1122 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
1124 wxPy_END_ALLOW_THREADS
;
1125 } _resultobj
= Py_BuildValue("s", _result
);
1129 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1134 char *_kwnames
[] = { "name","value", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } _resultobj
= Py_BuildValue("i",_result
);
1148 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1150 char *_kwnames
[] = { NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1156 wxPy_BEGIN_ALLOW_THREADS
;
1159 wxPy_END_ALLOW_THREADS
;
1160 } Py_INCREF(Py_None
);
1161 _resultobj
= Py_None
;
1165 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1169 char *_kwnames
[] = { "resource", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1179 wxPy_END_ALLOW_THREADS
;
1180 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1181 _resultobj
= Py_BuildValue("s",_ptemp
);
1185 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1189 char *_kwnames
[] = { "resource", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1196 wxPy_BEGIN_ALLOW_THREADS
;
1197 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1199 wxPy_END_ALLOW_THREADS
;
1200 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1201 _resultobj
= Py_BuildValue("s",_ptemp
);
1205 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1207 wxMenuBar
* _result
;
1209 char *_kwnames
[] = { "resource", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1219 wxPy_END_ALLOW_THREADS
;
1221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1222 _resultobj
= Py_BuildValue("s",_ptemp
);
1225 _resultobj
= Py_None
;
1230 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1234 char *_kwnames
[] = { "name", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1240 wxPy_BEGIN_ALLOW_THREADS
;
1241 _result
= (int )wxResourceGetIdentifier(_arg0
);
1243 wxPy_END_ALLOW_THREADS
;
1244 } _resultobj
= Py_BuildValue("i",_result
);
1248 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
* _resultobj
;
1252 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1253 PyObject
* _argo1
= 0;
1254 char *_kwnames
[] = { "resource","table", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1267 wxPy_BEGIN_ALLOW_THREADS
;
1268 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1270 wxPy_END_ALLOW_THREADS
;
1271 } _resultobj
= Py_BuildValue("i",_result
);
1275 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1279 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1280 PyObject
* _argo1
= 0;
1281 char *_kwnames
[] = { "filename","table", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1287 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } _resultobj
= Py_BuildValue("i",_result
);
1302 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1306 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1307 PyObject
* _argo1
= 0;
1308 char *_kwnames
[] = { "resource","table", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } _resultobj
= Py_BuildValue("i",_result
);
1329 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1333 char *_kwnames
[] = { "index", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1343 wxPy_END_ALLOW_THREADS
;
1344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1345 _resultobj
= Py_BuildValue("s",_ptemp
);
1349 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1353 char *_kwnames
[] = { "index", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1360 wxPy_BEGIN_ALLOW_THREADS
;
1361 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1363 wxPy_END_ALLOW_THREADS
;
1364 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1365 _resultobj
= Py_BuildValue("s",_ptemp
);
1369 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1373 char *_kwnames
[] = { "index", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1382 wxPy_END_ALLOW_THREADS
;
1383 } _resultobj
= Py_BuildValue("i",_result
);
1387 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1388 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1393 PyObject
* _argo0
= 0;
1394 char *_kwnames
[] = { "self","x", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_argo0
,&_arg1
))
1400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1410 wxPy_END_ALLOW_THREADS
;
1411 } _resultobj
= Py_BuildValue("l",_result
);
1415 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1416 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1420 PyObject
* _argo0
= 0;
1421 char *_kwnames
[] = { "self", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_argo0
))
1427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 _result
= (long )wxSize_x_get(_arg0
);
1437 wxPy_END_ALLOW_THREADS
;
1438 } _resultobj
= Py_BuildValue("l",_result
);
1442 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1443 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1448 PyObject
* _argo0
= 0;
1449 char *_kwnames
[] = { "self","y", NULL
};
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_argo0
,&_arg1
))
1455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1465 wxPy_END_ALLOW_THREADS
;
1466 } _resultobj
= Py_BuildValue("l",_result
);
1470 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1471 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= (long )wxSize_y_get(_arg0
);
1492 wxPy_END_ALLOW_THREADS
;
1493 } _resultobj
= Py_BuildValue("l",_result
);
1497 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1498 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1501 long _arg0
= (long ) 0;
1502 long _arg1
= (long ) 0;
1503 char *_kwnames
[] = { "w","h", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1513 wxPy_END_ALLOW_THREADS
;
1515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1516 _resultobj
= Py_BuildValue("s",_ptemp
);
1519 _resultobj
= Py_None
;
1524 #define delete_wxSize(_swigobj) (delete _swigobj)
1525 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1528 PyObject
* _argo0
= 0;
1529 char *_kwnames
[] = { "self", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_argo0
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 delete_wxSize(_arg0
);
1545 wxPy_END_ALLOW_THREADS
;
1546 } Py_INCREF(Py_None
);
1547 _resultobj
= Py_None
;
1551 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1552 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1557 PyObject
* _argo0
= 0;
1558 char *_kwnames
[] = { "self","w","h", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1571 wxPy_BEGIN_ALLOW_THREADS
;
1572 wxSize_Set(_arg0
,_arg1
,_arg2
);
1574 wxPy_END_ALLOW_THREADS
;
1575 } Py_INCREF(Py_None
);
1576 _resultobj
= Py_None
;
1580 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1581 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 PyObject
* _argo0
= 0;
1586 char *_kwnames
[] = { "self", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_argo0
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= (long )wxSize_GetX(_arg0
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } _resultobj
= Py_BuildValue("l",_result
);
1607 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1608 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "self", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= (long )wxSize_GetY(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } _resultobj
= Py_BuildValue("l",_result
);
1634 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1635 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1639 PyObject
* _argo0
= 0;
1640 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (long )wxSize_GetWidth(_arg0
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } _resultobj
= Py_BuildValue("l",_result
);
1661 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1662 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1666 PyObject
* _argo0
= 0;
1667 char *_kwnames
[] = { "self", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_argo0
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (long )wxSize_GetHeight(_arg0
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } _resultobj
= Py_BuildValue("l",_result
);
1688 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1689 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self","w", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_argo0
,&_arg1
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 wxSize_SetWidth(_arg0
,_arg1
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1717 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1721 PyObject
* _argo0
= 0;
1722 char *_kwnames
[] = { "self","h", NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_argo0
,&_arg1
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p.");
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 wxSize_SetHeight(_arg0
,_arg1
);
1738 wxPy_END_ALLOW_THREADS
;
1739 } Py_INCREF(Py_None
);
1740 _resultobj
= Py_None
;
1744 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1745 PyObject
* tup
= PyTuple_New(2);
1746 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1747 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1750 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1754 PyObject
* _argo0
= 0;
1755 char *_kwnames
[] = { "self", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_argo0
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1771 wxPy_END_ALLOW_THREADS
;
1773 _resultobj
= _result
;
1778 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1779 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
* _resultobj
;
1782 wxRealPoint
* _arg0
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self","x", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_argo0
,&_arg1
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1798 wxPy_BEGIN_ALLOW_THREADS
;
1799 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1801 wxPy_END_ALLOW_THREADS
;
1802 } _resultobj
= Py_BuildValue("d",_result
);
1806 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1807 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1810 wxRealPoint
* _arg0
;
1811 PyObject
* _argo0
= 0;
1812 char *_kwnames
[] = { "self", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_argo0
))
1818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1825 wxPy_BEGIN_ALLOW_THREADS
;
1826 _result
= (double )wxRealPoint_x_get(_arg0
);
1828 wxPy_END_ALLOW_THREADS
;
1829 } _resultobj
= Py_BuildValue("d",_result
);
1833 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1834 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1837 wxRealPoint
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self","y", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_argo0
,&_arg1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } _resultobj
= Py_BuildValue("d",_result
);
1861 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1862 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1865 wxRealPoint
* _arg0
;
1866 PyObject
* _argo0
= 0;
1867 char *_kwnames
[] = { "self", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (double )wxRealPoint_y_get(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } _resultobj
= Py_BuildValue("d",_result
);
1888 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1889 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1891 wxRealPoint
* _result
;
1892 double _arg0
= (double ) 0.0;
1893 double _arg1
= (double ) 0.0;
1894 char *_kwnames
[] = { "x","y", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1904 wxPy_END_ALLOW_THREADS
;
1906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1907 _resultobj
= Py_BuildValue("s",_ptemp
);
1910 _resultobj
= Py_None
;
1915 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1916 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1918 wxRealPoint
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_argo0
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 delete_wxRealPoint(_arg0
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } Py_INCREF(Py_None
);
1938 _resultobj
= Py_None
;
1942 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1946 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1948 wxRealPoint
* _arg0
;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "self","x","y", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_Set. Expected _wxRealPoint_p.");
1965 wxPy_BEGIN_ALLOW_THREADS
;
1966 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1968 wxPy_END_ALLOW_THREADS
;
1969 } Py_INCREF(Py_None
);
1970 _resultobj
= Py_None
;
1974 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1975 PyObject
* tup
= PyTuple_New(2);
1976 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1977 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1980 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1983 wxRealPoint
* _arg0
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_asTuple. Expected _wxRealPoint_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
2001 wxPy_END_ALLOW_THREADS
;
2003 _resultobj
= _result
;
2008 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2009 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2014 PyObject
* _argo0
= 0;
2015 char *_kwnames
[] = { "self","x", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_argo0
,&_arg1
))
2021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } _resultobj
= Py_BuildValue("l",_result
);
2036 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
2037 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2041 PyObject
* _argo0
= 0;
2042 char *_kwnames
[] = { "self", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_argo0
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= (long )wxPoint_x_get(_arg0
);
2058 wxPy_END_ALLOW_THREADS
;
2059 } _resultobj
= Py_BuildValue("l",_result
);
2063 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2064 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2069 PyObject
* _argo0
= 0;
2070 char *_kwnames
[] = { "self","y", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_argo0
,&_arg1
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
2083 wxPy_BEGIN_ALLOW_THREADS
;
2084 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
2086 wxPy_END_ALLOW_THREADS
;
2087 } _resultobj
= Py_BuildValue("l",_result
);
2091 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
2092 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2096 PyObject
* _argo0
= 0;
2097 char *_kwnames
[] = { "self", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_argo0
))
2103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
2110 wxPy_BEGIN_ALLOW_THREADS
;
2111 _result
= (long )wxPoint_y_get(_arg0
);
2113 wxPy_END_ALLOW_THREADS
;
2114 } _resultobj
= Py_BuildValue("l",_result
);
2118 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
2119 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
* _resultobj
;
2122 long _arg0
= (long ) 0;
2123 long _arg1
= (long ) 0;
2124 char *_kwnames
[] = { "x","y", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
2134 wxPy_END_ALLOW_THREADS
;
2136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2137 _resultobj
= Py_BuildValue("s",_ptemp
);
2140 _resultobj
= Py_None
;
2145 #define delete_wxPoint(_swigobj) (delete _swigobj)
2146 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
* _resultobj
;
2149 PyObject
* _argo0
= 0;
2150 char *_kwnames
[] = { "self", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_argo0
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 delete_wxPoint(_arg0
);
2166 wxPy_END_ALLOW_THREADS
;
2167 } Py_INCREF(Py_None
);
2168 _resultobj
= Py_None
;
2172 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2176 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2181 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "self","x","y", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
2195 wxPy_BEGIN_ALLOW_THREADS
;
2196 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2198 wxPy_END_ALLOW_THREADS
;
2199 } Py_INCREF(Py_None
);
2200 _resultobj
= Py_None
;
2204 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2205 PyObject
* tup
= PyTuple_New(2);
2206 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2207 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2210 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_argo0
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2231 wxPy_END_ALLOW_THREADS
;
2233 _resultobj
= _result
;
2238 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2239 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2242 long _arg0
= (long ) 0;
2243 long _arg1
= (long ) 0;
2244 long _arg2
= (long ) 0;
2245 long _arg3
= (long ) 0;
2246 char *_kwnames
[] = { "x","y","w","h", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2253 wxPy_BEGIN_ALLOW_THREADS
;
2254 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2256 wxPy_END_ALLOW_THREADS
;
2258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 _resultobj
= Py_None
;
2267 #define delete_wxRect(_swigobj) (delete _swigobj)
2268 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 char *_kwnames
[] = { "self", NULL
};
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_argo0
))
2278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
2285 wxPy_BEGIN_ALLOW_THREADS
;
2286 delete_wxRect(_arg0
);
2288 wxPy_END_ALLOW_THREADS
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2294 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2295 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (long )wxRect_GetX(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } _resultobj
= Py_BuildValue("l",_result
);
2321 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2322 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self","X", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetX",_kwnames
,&_argo0
,&_arg1
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 wxRect_SetX(_arg0
,_arg1
);
2343 wxPy_END_ALLOW_THREADS
;
2344 } Py_INCREF(Py_None
);
2345 _resultobj
= Py_None
;
2349 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2350 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= (long )wxRect_GetY(_arg0
);
2371 wxPy_END_ALLOW_THREADS
;
2372 } _resultobj
= Py_BuildValue("l",_result
);
2376 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2377 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self","Y", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetY",_kwnames
,&_argo0
,&_arg1
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxRect_SetY(_arg0
,_arg1
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2405 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2409 PyObject
* _argo0
= 0;
2410 char *_kwnames
[] = { "self", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_argo0
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
2423 wxPy_BEGIN_ALLOW_THREADS
;
2424 _result
= (long )wxRect_GetWidth(_arg0
);
2426 wxPy_END_ALLOW_THREADS
;
2427 } _resultobj
= Py_BuildValue("l",_result
);
2431 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2432 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self","w", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetWidth",_kwnames
,&_argo0
,&_arg1
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 wxRect_SetWidth(_arg0
,_arg1
);
2453 wxPy_END_ALLOW_THREADS
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2460 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_argo0
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (long )wxRect_GetHeight(_arg0
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } _resultobj
= Py_BuildValue("l",_result
);
2486 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2487 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2491 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self","h", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetHeight",_kwnames
,&_argo0
,&_arg1
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxRect_SetHeight(_arg0
,_arg1
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2515 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2519 PyObject
* _argo0
= 0;
2520 char *_kwnames
[] = { "self", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_argo0
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
2534 wxPy_BEGIN_ALLOW_THREADS
;
2535 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2537 wxPy_END_ALLOW_THREADS
;
2538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2539 _resultobj
= Py_BuildValue("s",_ptemp
);
2543 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2544 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= new wxSize (wxRect_GetSize(_arg0
));
2566 wxPy_END_ALLOW_THREADS
;
2567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2568 _resultobj
= Py_BuildValue("s",_ptemp
);
2572 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2573 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_argo0
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 _result
= (long )wxRect_GetLeft(_arg0
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } _resultobj
= Py_BuildValue("l",_result
);
2599 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2600 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2604 PyObject
* _argo0
= 0;
2605 char *_kwnames
[] = { "self", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_argo0
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 _result
= (long )wxRect_GetTop(_arg0
);
2621 wxPy_END_ALLOW_THREADS
;
2622 } _resultobj
= Py_BuildValue("l",_result
);
2626 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2627 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2631 PyObject
* _argo0
= 0;
2632 char *_kwnames
[] = { "self", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_argo0
))
2638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 _result
= (long )wxRect_GetBottom(_arg0
);
2648 wxPy_END_ALLOW_THREADS
;
2649 } _resultobj
= Py_BuildValue("l",_result
);
2653 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2654 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2658 PyObject
* _argo0
= 0;
2659 char *_kwnames
[] = { "self", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_argo0
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
2672 wxPy_BEGIN_ALLOW_THREADS
;
2673 _result
= (long )wxRect_GetRight(_arg0
);
2675 wxPy_END_ALLOW_THREADS
;
2676 } _resultobj
= Py_BuildValue("l",_result
);
2680 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2681 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self","x", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_x_set",_kwnames
,&_argo0
,&_arg1
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
2700 wxPy_BEGIN_ALLOW_THREADS
;
2701 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2703 wxPy_END_ALLOW_THREADS
;
2704 } _resultobj
= Py_BuildValue("l",_result
);
2708 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2709 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_argo0
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 _result
= (long )wxRect_x_get(_arg0
);
2730 wxPy_END_ALLOW_THREADS
;
2731 } _resultobj
= Py_BuildValue("l",_result
);
2735 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2736 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self","y", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_y_set",_kwnames
,&_argo0
,&_arg1
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2758 wxPy_END_ALLOW_THREADS
;
2759 } _resultobj
= Py_BuildValue("l",_result
);
2763 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2764 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2768 PyObject
* _argo0
= 0;
2769 char *_kwnames
[] = { "self", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_argo0
))
2775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 _result
= (long )wxRect_y_get(_arg0
);
2785 wxPy_END_ALLOW_THREADS
;
2786 } _resultobj
= Py_BuildValue("l",_result
);
2790 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2791 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self","width", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_width_set",_kwnames
,&_argo0
,&_arg1
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2810 wxPy_BEGIN_ALLOW_THREADS
;
2811 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2813 wxPy_END_ALLOW_THREADS
;
2814 } _resultobj
= Py_BuildValue("l",_result
);
2818 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2819 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2823 PyObject
* _argo0
= 0;
2824 char *_kwnames
[] = { "self", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_argo0
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2837 wxPy_BEGIN_ALLOW_THREADS
;
2838 _result
= (long )wxRect_width_get(_arg0
);
2840 wxPy_END_ALLOW_THREADS
;
2841 } _resultobj
= Py_BuildValue("l",_result
);
2845 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2846 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self","height", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_height_set",_kwnames
,&_argo0
,&_arg1
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2865 wxPy_BEGIN_ALLOW_THREADS
;
2866 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2868 wxPy_END_ALLOW_THREADS
;
2869 } _resultobj
= Py_BuildValue("l",_result
);
2873 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2874 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2878 PyObject
* _argo0
= 0;
2879 char *_kwnames
[] = { "self", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_argo0
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2892 wxPy_BEGIN_ALLOW_THREADS
;
2893 _result
= (long )wxRect_height_get(_arg0
);
2895 wxPy_END_ALLOW_THREADS
;
2896 } _resultobj
= Py_BuildValue("l",_result
);
2900 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2901 PyObject
* tup
= PyTuple_New(4);
2902 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2903 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2904 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2905 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2908 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2929 wxPy_END_ALLOW_THREADS
;
2931 _resultobj
= _result
;
2936 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2937 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxPyTimer
* _result
;
2941 PyObject
* _obj0
= 0;
2942 char *_kwnames
[] = { "notify", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2955 wxPy_END_ALLOW_THREADS
;
2957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2958 _resultobj
= Py_BuildValue("s",_ptemp
);
2961 _resultobj
= Py_None
;
2966 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2967 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2970 PyObject
* _argo0
= 0;
2971 char *_kwnames
[] = { "self", NULL
};
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2984 wxPy_BEGIN_ALLOW_THREADS
;
2985 delete_wxPyTimer(_arg0
);
2987 wxPy_END_ALLOW_THREADS
;
2988 } Py_INCREF(Py_None
);
2989 _resultobj
= Py_None
;
2993 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2994 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Interval",_kwnames
,&_argo0
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= (int )wxPyTimer_Interval(_arg0
);
3015 wxPy_END_ALLOW_THREADS
;
3016 } _resultobj
= Py_BuildValue("i",_result
);
3020 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3021 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3024 int _arg1
= (int ) -1;
3025 int _arg2
= (int ) FALSE
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3050 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3053 PyObject
* _argo0
= 0;
3054 char *_kwnames
[] = { "self", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3067 wxPy_BEGIN_ALLOW_THREADS
;
3068 wxPyTimer_Stop(_arg0
);
3070 wxPy_END_ALLOW_THREADS
;
3071 } Py_INCREF(Py_None
);
3072 _resultobj
= Py_None
;
3076 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3077 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3079 wxIndividualLayoutConstraint
* _arg0
;
3081 int _arg2
= (int ) 0;
3082 PyObject
* _argo0
= 0;
3083 PyObject
* _argo1
= 0;
3084 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3097 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3104 wxPy_BEGIN_ALLOW_THREADS
;
3105 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3107 wxPy_END_ALLOW_THREADS
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3114 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3116 wxIndividualLayoutConstraint
* _arg0
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","value", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3135 wxPy_END_ALLOW_THREADS
;
3136 } Py_INCREF(Py_None
);
3137 _resultobj
= Py_None
;
3141 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3142 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxIndividualLayoutConstraint
* _arg0
;
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "self", NULL
};
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3159 wxPy_BEGIN_ALLOW_THREADS
;
3160 wxIndividualLayoutConstraint_AsIs(_arg0
);
3162 wxPy_END_ALLOW_THREADS
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3168 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3169 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3171 wxIndividualLayoutConstraint
* _arg0
;
3173 int _arg2
= (int ) 0;
3174 PyObject
* _argo0
= 0;
3175 PyObject
* _argo1
= 0;
3176 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3199 wxPy_END_ALLOW_THREADS
;
3200 } Py_INCREF(Py_None
);
3201 _resultobj
= Py_None
;
3205 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3206 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3208 wxIndividualLayoutConstraint
* _arg0
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3233 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3235 wxIndividualLayoutConstraint
* _arg0
;
3237 int _arg2
= (int ) 0;
3238 PyObject
* _argo0
= 0;
3239 PyObject
* _argo1
= 0;
3240 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3253 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3254 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3260 wxPy_BEGIN_ALLOW_THREADS
;
3261 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3263 wxPy_END_ALLOW_THREADS
;
3264 } Py_INCREF(Py_None
);
3265 _resultobj
= Py_None
;
3269 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3270 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3272 wxIndividualLayoutConstraint
* _arg0
;
3276 PyObject
* _argo0
= 0;
3277 PyObject
* _argo1
= 0;
3278 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3301 wxPy_END_ALLOW_THREADS
;
3302 } Py_INCREF(Py_None
);
3303 _resultobj
= Py_None
;
3307 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3310 wxIndividualLayoutConstraint
* _arg0
;
3312 int _arg2
= (int ) 0;
3313 PyObject
* _argo0
= 0;
3314 PyObject
* _argo1
= 0;
3315 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3338 wxPy_END_ALLOW_THREADS
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3344 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3345 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxIndividualLayoutConstraint
* _arg0
;
3350 int _arg3
= (int ) 0;
3351 PyObject
* _argo0
= 0;
3352 PyObject
* _argo1
= 0;
3353 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3366 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3373 wxPy_BEGIN_ALLOW_THREADS
;
3374 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3376 wxPy_END_ALLOW_THREADS
;
3377 } Py_INCREF(Py_None
);
3378 _resultobj
= Py_None
;
3382 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3383 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3385 wxIndividualLayoutConstraint
* _arg0
;
3386 wxRelationship _arg1
;
3389 int _arg4
= (int ) 0;
3390 int _arg5
= (int ) 0;
3391 PyObject
* _argo0
= 0;
3392 PyObject
* _argo2
= 0;
3393 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3406 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3416 wxPy_END_ALLOW_THREADS
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3423 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxLayoutConstraints
* _result
;
3426 char *_kwnames
[] = { NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3436 wxPy_END_ALLOW_THREADS
;
3438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3439 _resultobj
= Py_BuildValue("s",_ptemp
);
3442 _resultobj
= Py_None
;
3447 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3448 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxIndividualLayoutConstraint
* _result
;
3451 wxLayoutConstraints
* _arg0
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self", NULL
};
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3467 wxPy_BEGIN_ALLOW_THREADS
;
3468 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3470 wxPy_END_ALLOW_THREADS
;
3472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3473 _resultobj
= Py_BuildValue("s",_ptemp
);
3476 _resultobj
= Py_None
;
3481 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3482 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3484 wxIndividualLayoutConstraint
* _result
;
3485 wxLayoutConstraints
* _arg0
;
3486 PyObject
* _argo0
= 0;
3487 char *_kwnames
[] = { "self", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3504 wxPy_END_ALLOW_THREADS
;
3506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 _resultobj
= Py_None
;
3515 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3516 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxIndividualLayoutConstraint
* _result
;
3519 wxLayoutConstraints
* _arg0
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3535 wxPy_BEGIN_ALLOW_THREADS
;
3536 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3538 wxPy_END_ALLOW_THREADS
;
3540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3541 _resultobj
= Py_BuildValue("s",_ptemp
);
3544 _resultobj
= Py_None
;
3549 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3550 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3552 wxIndividualLayoutConstraint
* _result
;
3553 wxLayoutConstraints
* _arg0
;
3554 PyObject
* _argo0
= 0;
3555 char *_kwnames
[] = { "self", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3572 wxPy_END_ALLOW_THREADS
;
3574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3575 _resultobj
= Py_BuildValue("s",_ptemp
);
3578 _resultobj
= Py_None
;
3583 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3584 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3586 wxIndividualLayoutConstraint
* _result
;
3587 wxLayoutConstraints
* _arg0
;
3588 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3603 wxPy_BEGIN_ALLOW_THREADS
;
3604 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3606 wxPy_END_ALLOW_THREADS
;
3608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3609 _resultobj
= Py_BuildValue("s",_ptemp
);
3612 _resultobj
= Py_None
;
3617 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3618 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3620 wxIndividualLayoutConstraint
* _result
;
3621 wxLayoutConstraints
* _arg0
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3637 wxPy_BEGIN_ALLOW_THREADS
;
3638 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3640 wxPy_END_ALLOW_THREADS
;
3642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3643 _resultobj
= Py_BuildValue("s",_ptemp
);
3646 _resultobj
= Py_None
;
3651 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3652 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3654 wxIndividualLayoutConstraint
* _result
;
3655 wxLayoutConstraints
* _arg0
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3671 wxPy_BEGIN_ALLOW_THREADS
;
3672 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3674 wxPy_END_ALLOW_THREADS
;
3676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3677 _resultobj
= Py_BuildValue("s",_ptemp
);
3680 _resultobj
= Py_None
;
3685 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3686 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3688 wxIndividualLayoutConstraint
* _result
;
3689 wxLayoutConstraints
* _arg0
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3708 wxPy_END_ALLOW_THREADS
;
3710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3711 _resultobj
= Py_BuildValue("s",_ptemp
);
3714 _resultobj
= Py_None
;
3719 #define new_wxRegion() (new wxRegion())
3720 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3723 char *_kwnames
[] = { NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3730 wxPy_BEGIN_ALLOW_THREADS
;
3731 _result
= (wxRegion
*)new_wxRegion();
3733 wxPy_END_ALLOW_THREADS
;
3735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3736 _resultobj
= Py_BuildValue("s",_ptemp
);
3739 _resultobj
= Py_None
;
3744 #define delete_wxRegion(_swigobj) (delete _swigobj)
3745 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3748 PyObject
* _argo0
= 0;
3749 char *_kwnames
[] = { "self", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3762 wxPy_BEGIN_ALLOW_THREADS
;
3763 delete_wxRegion(_arg0
);
3765 wxPy_END_ALLOW_THREADS
;
3766 } Py_INCREF(Py_None
);
3767 _resultobj
= Py_None
;
3771 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3772 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
* _resultobj
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "self", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 wxRegion_Clear(_arg0
);
3792 wxPy_END_ALLOW_THREADS
;
3793 } Py_INCREF(Py_None
);
3794 _resultobj
= Py_None
;
3798 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3799 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3801 wxRegionContain _result
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "self","x","y", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3819 wxPy_BEGIN_ALLOW_THREADS
;
3820 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3822 wxPy_END_ALLOW_THREADS
;
3823 } _resultobj
= Py_BuildValue("i",_result
);
3827 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3828 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3830 wxRegionContain _result
;
3833 PyObject
* _argo0
= 0;
3834 PyObject
* _argo1
= 0;
3835 char *_kwnames
[] = { "self","pt", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_argo1
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3858 wxPy_END_ALLOW_THREADS
;
3859 } _resultobj
= Py_BuildValue("i",_result
);
3863 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3864 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3866 wxRegionContain _result
;
3869 PyObject
* _argo0
= 0;
3870 PyObject
* _argo1
= 0;
3871 char *_kwnames
[] = { "self","rect", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_argo1
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3884 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
3891 wxPy_BEGIN_ALLOW_THREADS
;
3892 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3894 wxPy_END_ALLOW_THREADS
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3900 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3919 wxPy_BEGIN_ALLOW_THREADS
;
3920 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3922 wxPy_END_ALLOW_THREADS
;
3923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3924 _resultobj
= Py_BuildValue("s",_ptemp
);
3928 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3929 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3935 PyObject
* _argo1
= 0;
3936 char *_kwnames
[] = { "self","rect", NULL
};
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Intersect",_kwnames
,&_argo0
,&_argo1
))
3942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3959 wxPy_END_ALLOW_THREADS
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3964 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3965 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3969 PyObject
* _argo0
= 0;
3970 char *_kwnames
[] = { "self", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3983 wxPy_BEGIN_ALLOW_THREADS
;
3984 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3986 wxPy_END_ALLOW_THREADS
;
3987 } _resultobj
= Py_BuildValue("i",_result
);
3991 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3992 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
* _resultobj
;
3997 PyObject
* _argo0
= 0;
3998 PyObject
* _argo1
= 0;
3999 char *_kwnames
[] = { "self","rect", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Subtract",_kwnames
,&_argo0
,&_argo1
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
4012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
4022 wxPy_END_ALLOW_THREADS
;
4023 } _resultobj
= Py_BuildValue("i",_result
);
4027 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
4028 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4033 PyObject
* _argo0
= 0;
4034 PyObject
* _argo1
= 0;
4035 char *_kwnames
[] = { "self","rect", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Union",_kwnames
,&_argo0
,&_argo1
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
4048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
4055 wxPy_BEGIN_ALLOW_THREADS
;
4056 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
4058 wxPy_END_ALLOW_THREADS
;
4059 } _resultobj
= Py_BuildValue("i",_result
);
4063 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4064 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 PyObject
* _argo1
= 0;
4071 char *_kwnames
[] = { "self","rect", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Xor",_kwnames
,&_argo0
,&_argo1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4084 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
4091 wxPy_BEGIN_ALLOW_THREADS
;
4092 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
4094 wxPy_END_ALLOW_THREADS
;
4095 } _resultobj
= Py_BuildValue("i",_result
);
4099 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4100 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxRegionIterator
* _result
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "region", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4119 wxPy_BEGIN_ALLOW_THREADS
;
4120 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4122 wxPy_END_ALLOW_THREADS
;
4124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4125 _resultobj
= Py_BuildValue("s",_ptemp
);
4128 _resultobj
= Py_None
;
4133 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4134 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4136 wxRegionIterator
* _arg0
;
4137 PyObject
* _argo0
= 0;
4138 char *_kwnames
[] = { "self", NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4151 wxPy_BEGIN_ALLOW_THREADS
;
4152 delete_wxRegionIterator(_arg0
);
4154 wxPy_END_ALLOW_THREADS
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4161 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4164 wxRegionIterator
* _arg0
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "self", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 _result
= (long )wxRegionIterator_GetX(_arg0
);
4182 wxPy_END_ALLOW_THREADS
;
4183 } _resultobj
= Py_BuildValue("l",_result
);
4187 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4188 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4191 wxRegionIterator
* _arg0
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4206 wxPy_BEGIN_ALLOW_THREADS
;
4207 _result
= (long )wxRegionIterator_GetY(_arg0
);
4209 wxPy_END_ALLOW_THREADS
;
4210 } _resultobj
= Py_BuildValue("l",_result
);
4214 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4215 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4218 wxRegionIterator
* _arg0
;
4219 PyObject
* _argo0
= 0;
4220 char *_kwnames
[] = { "self", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4233 wxPy_BEGIN_ALLOW_THREADS
;
4234 _result
= (long )wxRegionIterator_GetW(_arg0
);
4236 wxPy_END_ALLOW_THREADS
;
4237 } _resultobj
= Py_BuildValue("l",_result
);
4241 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4242 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4245 wxRegionIterator
* _arg0
;
4246 PyObject
* _argo0
= 0;
4247 char *_kwnames
[] = { "self", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4260 wxPy_BEGIN_ALLOW_THREADS
;
4261 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4263 wxPy_END_ALLOW_THREADS
;
4264 } _resultobj
= Py_BuildValue("l",_result
);
4268 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4269 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 wxRegionIterator
* _arg0
;
4273 PyObject
* _argo0
= 0;
4274 char *_kwnames
[] = { "self", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4287 wxPy_BEGIN_ALLOW_THREADS
;
4288 _result
= (long )wxRegionIterator_GetH(_arg0
);
4290 wxPy_END_ALLOW_THREADS
;
4291 } _resultobj
= Py_BuildValue("l",_result
);
4295 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4296 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4299 wxRegionIterator
* _arg0
;
4300 PyObject
* _argo0
= 0;
4301 char *_kwnames
[] = { "self", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4317 wxPy_END_ALLOW_THREADS
;
4318 } _resultobj
= Py_BuildValue("l",_result
);
4322 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4323 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4326 wxRegionIterator
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self", NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4345 wxPy_END_ALLOW_THREADS
;
4346 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4347 _resultobj
= Py_BuildValue("s",_ptemp
);
4351 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4352 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4355 wxRegionIterator
* _arg0
;
4356 PyObject
* _argo0
= 0;
4357 char *_kwnames
[] = { "self", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4370 wxPy_BEGIN_ALLOW_THREADS
;
4371 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4373 wxPy_END_ALLOW_THREADS
;
4374 } _resultobj
= Py_BuildValue("i",_result
);
4378 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4379 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4381 wxRegionIterator
* _arg0
;
4382 PyObject
* _argo0
= 0;
4383 char *_kwnames
[] = { "self", NULL
};
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4396 wxPy_BEGIN_ALLOW_THREADS
;
4397 wxRegionIterator_Reset(_arg0
);
4399 wxPy_END_ALLOW_THREADS
;
4400 } Py_INCREF(Py_None
);
4401 _resultobj
= Py_None
;
4405 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4408 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
* _resultobj
;
4410 wxRegionIterator
* _arg0
;
4411 PyObject
* _argo0
= 0;
4412 char *_kwnames
[] = { "self", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4425 wxPy_BEGIN_ALLOW_THREADS
;
4426 wxRegionIterator_Next(_arg0
);
4428 wxPy_END_ALLOW_THREADS
;
4429 } Py_INCREF(Py_None
);
4430 _resultobj
= Py_None
;
4434 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4435 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4437 wxAcceleratorEntry
* _result
;
4438 int _arg0
= (int ) 0;
4439 int _arg1
= (int ) 0;
4440 int _arg2
= (int ) 0;
4441 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4451 wxPy_END_ALLOW_THREADS
;
4453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4454 _resultobj
= Py_BuildValue("s",_ptemp
);
4457 _resultobj
= Py_None
;
4462 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4463 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4465 wxAcceleratorEntry
* _arg0
;
4469 PyObject
* _argo0
= 0;
4470 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4483 wxPy_BEGIN_ALLOW_THREADS
;
4484 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4486 wxPy_END_ALLOW_THREADS
;
4487 } Py_INCREF(Py_None
);
4488 _resultobj
= Py_None
;
4492 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4493 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4496 wxAcceleratorEntry
* _arg0
;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4511 wxPy_BEGIN_ALLOW_THREADS
;
4512 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4514 wxPy_END_ALLOW_THREADS
;
4515 } _resultobj
= Py_BuildValue("i",_result
);
4519 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4520 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 wxAcceleratorEntry
* _arg0
;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4538 wxPy_BEGIN_ALLOW_THREADS
;
4539 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4541 wxPy_END_ALLOW_THREADS
;
4542 } _resultobj
= Py_BuildValue("i",_result
);
4546 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4547 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
* _resultobj
;
4550 wxAcceleratorEntry
* _arg0
;
4551 PyObject
* _argo0
= 0;
4552 char *_kwnames
[] = { "self", NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4565 wxPy_BEGIN_ALLOW_THREADS
;
4566 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4568 wxPy_END_ALLOW_THREADS
;
4569 } _resultobj
= Py_BuildValue("i",_result
);
4573 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4574 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4576 wxAcceleratorTable
* _result
;
4578 wxAcceleratorEntry
* _arg1
;
4579 PyObject
* _obj1
= 0;
4580 char *_kwnames
[] = { "LIST", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4588 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4589 if (_arg1
== NULL
) {
4595 _arg0
= PyList_Size(_obj1
);
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4605 wxPy_END_ALLOW_THREADS
;
4607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4608 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 _resultobj
= Py_None
;
4619 static PyMethodDef misccMethods
[] = {
4620 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4621 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4622 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4623 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4624 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4625 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4626 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4627 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4628 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4629 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4630 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4631 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4632 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4633 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4634 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4635 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4636 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4637 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4638 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4639 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4640 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4641 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4642 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4643 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4644 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4645 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4646 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4647 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4648 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4649 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4650 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4651 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4652 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4653 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4654 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4655 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4656 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4657 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4658 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4659 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4660 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4661 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4662 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4663 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4664 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4665 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4666 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4667 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4668 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4669 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4670 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4671 { "wxPyTimer_Interval", (PyCFunction
) _wrap_wxPyTimer_Interval
, METH_VARARGS
| METH_KEYWORDS
},
4672 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4673 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4674 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4675 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4676 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4677 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4678 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4679 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4680 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4681 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4682 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4683 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4684 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4685 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4686 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4687 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4688 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4689 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4690 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4691 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4692 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4693 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4694 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4695 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4696 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4697 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4698 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4699 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4700 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4701 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4702 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4703 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4704 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4705 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4706 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4707 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4708 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4709 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4710 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4711 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4712 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4713 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4714 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4715 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4716 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4717 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4718 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4719 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4720 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4721 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4722 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4723 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4724 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4725 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4726 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4727 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4728 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4729 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4730 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4731 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4732 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4733 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
4734 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
4735 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
4736 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
4737 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
4738 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
4739 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4740 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
4741 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
4742 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
4743 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
4744 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4745 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4746 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4747 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4748 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4749 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4750 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4751 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4752 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4753 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4754 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4755 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4756 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4757 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4758 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
4759 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4760 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4761 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4762 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4763 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4764 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4765 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4766 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4767 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4768 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
4769 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
4770 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
4771 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4772 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
4773 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
4774 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
4775 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4776 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
4783 * This table is used by the pointer type-checker
4785 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4786 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4787 { "_signed_long","_long",0},
4788 { "_wxPrintQuality","_int",0},
4789 { "_wxPrintQuality","_signed_int",0},
4790 { "_wxPrintQuality","_unsigned_int",0},
4791 { "_wxPrintQuality","_wxWindowID",0},
4792 { "_wxPrintQuality","_uint",0},
4793 { "_wxPrintQuality","_EBool",0},
4794 { "_wxPrintQuality","_size_t",0},
4795 { "_class_wxRegionIterator","_wxRegionIterator",0},
4796 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4797 { "_byte","_unsigned_char",0},
4798 { "_long","_unsigned_long",0},
4799 { "_long","_signed_long",0},
4800 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4801 { "_size_t","_wxPrintQuality",0},
4802 { "_size_t","_unsigned_int",0},
4803 { "_size_t","_int",0},
4804 { "_size_t","_wxWindowID",0},
4805 { "_size_t","_uint",0},
4806 { "_class_wxRealPoint","_wxRealPoint",0},
4807 { "_uint","_wxPrintQuality",0},
4808 { "_uint","_size_t",0},
4809 { "_uint","_unsigned_int",0},
4810 { "_uint","_int",0},
4811 { "_uint","_wxWindowID",0},
4812 { "_wxRect","_class_wxRect",0},
4813 { "_wxPoint","_class_wxPoint",0},
4814 { "_wxPyTimer","_class_wxPyTimer",0},
4815 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4816 { "_EBool","_wxPrintQuality",0},
4817 { "_EBool","_signed_int",0},
4818 { "_EBool","_int",0},
4819 { "_EBool","_wxWindowID",0},
4820 { "_class_wxRegion","_wxRegion",0},
4821 { "_unsigned_long","_long",0},
4822 { "_class_wxRect","_wxRect",0},
4823 { "_class_wxPyTimer","_wxPyTimer",0},
4824 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4825 { "_signed_int","_wxPrintQuality",0},
4826 { "_signed_int","_EBool",0},
4827 { "_signed_int","_wxWindowID",0},
4828 { "_signed_int","_int",0},
4829 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4830 { "_WXTYPE","_short",0},
4831 { "_WXTYPE","_signed_short",0},
4832 { "_WXTYPE","_unsigned_short",0},
4833 { "_unsigned_short","_WXTYPE",0},
4834 { "_unsigned_short","_short",0},
4835 { "_class_wxPoint","_wxPoint",0},
4836 { "_wxRealPoint","_class_wxRealPoint",0},
4837 { "_signed_short","_WXTYPE",0},
4838 { "_signed_short","_short",0},
4839 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4840 { "_unsigned_char","_byte",0},
4841 { "_unsigned_int","_wxPrintQuality",0},
4842 { "_unsigned_int","_size_t",0},
4843 { "_unsigned_int","_uint",0},
4844 { "_unsigned_int","_wxWindowID",0},
4845 { "_unsigned_int","_int",0},
4846 { "_short","_WXTYPE",0},
4847 { "_short","_unsigned_short",0},
4848 { "_short","_signed_short",0},
4849 { "_wxWindowID","_wxPrintQuality",0},
4850 { "_wxWindowID","_size_t",0},
4851 { "_wxWindowID","_EBool",0},
4852 { "_wxWindowID","_uint",0},
4853 { "_wxWindowID","_int",0},
4854 { "_wxWindowID","_signed_int",0},
4855 { "_wxWindowID","_unsigned_int",0},
4856 { "_int","_wxPrintQuality",0},
4857 { "_int","_size_t",0},
4858 { "_int","_EBool",0},
4859 { "_int","_uint",0},
4860 { "_int","_wxWindowID",0},
4861 { "_int","_unsigned_int",0},
4862 { "_int","_signed_int",0},
4863 { "_wxSize","_class_wxSize",0},
4864 { "_wxRegionIterator","_class_wxRegionIterator",0},
4865 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4866 { "_wxRegion","_class_wxRegion",0},
4867 { "_class_wxSize","_wxSize",0},
4870 static PyObject
*SWIG_globals
;
4874 SWIGEXPORT(void) initmiscc() {
4876 SWIG_globals
= SWIG_newvarlink();
4877 m
= Py_InitModule("miscc", misccMethods
);
4878 d
= PyModule_GetDict(m
);
4879 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4880 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4881 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4882 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4883 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4884 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4885 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4886 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4887 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4888 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4889 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4890 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4891 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4892 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4893 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4894 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4895 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4896 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4897 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4898 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4899 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4900 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4901 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
4902 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
4903 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
4904 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
4905 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
4906 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
4907 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
4908 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
4909 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
4910 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
4911 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
4912 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
4913 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
4914 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
4915 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
4916 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
4917 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
4918 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
4919 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
4920 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
4921 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
4922 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
4923 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
4924 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
4925 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
4926 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
4927 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
4928 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
4929 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
4930 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
4931 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
4932 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
4933 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
4934 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
4935 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
4936 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
4937 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
4938 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
4939 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
4940 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
4941 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
4942 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
4943 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
4944 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
4945 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
4946 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
4947 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
4948 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
4949 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
4950 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
4951 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
4952 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
4953 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
4954 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
4955 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
4956 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
4957 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
4958 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
4959 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
4960 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
4961 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
4962 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
4963 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
4964 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
4965 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
4966 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
4967 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
4968 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
4969 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
4970 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
4971 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
4972 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
4973 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
4974 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
4975 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
4976 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
4977 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
4978 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
4979 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
4980 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
4981 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
4982 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
4983 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
4984 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
4985 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
4986 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
4989 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4990 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);