4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmiscc
54 #define SWIG_name "miscc"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
109 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
111 wxGetResource(section
, entry
, &retval
, file
);
116 wxColour
wxSystemSettings_GetSystemColour(int index
) {
117 return wxSystemSettings::GetSystemColour(index
);
120 wxFont
wxSystemSettings_GetSystemFont(int index
) {
121 return wxSystemSettings::GetSystemFont(index
);
124 int wxSystemSettings_GetSystemMetric(int index
) {
125 return wxSystemSettings::GetSystemMetric(index
);
130 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
134 char * _arg1
= (char *) NULL
;
135 char * _arg2
= (char *) NULL
;
136 char * _arg3
= (char *) NULL
;
137 char * _arg4
= (char *) "*.*";
138 int _arg5
= (int ) 0;
139 wxWindow
* _arg6
= (wxWindow
*) NULL
;
140 int _arg7
= (int ) -1;
141 int _arg8
= (int ) -1;
142 PyObject
* _argo6
= 0;
143 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
149 if (_argo6
== Py_None
) { _arg6
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
159 wxPy_END_ALLOW_THREADS
;
161 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
169 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
173 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
174 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
175 wxWindow
* _arg3
= (wxWindow
*) NULL
;
176 int _arg4
= (int ) -1;
177 int _arg5
= (int ) -1;
178 bool _arg6
= (bool ) TRUE
;
179 PyObject
* _obj0
= 0;
180 PyObject
* _obj1
= 0;
181 PyObject
* _obj2
= 0;
182 PyObject
* _argo3
= 0;
183 int tempbool6
= (int) TRUE
;
184 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
190 if (!PyString_Check(_obj0
)) {
191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
194 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
198 if (!PyString_Check(_obj1
)) {
199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
206 if (!PyString_Check(_obj2
)) {
207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
210 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
213 if (_argo3
== Py_None
) { _arg3
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
219 _arg6
= (bool ) tempbool6
;
221 wxPy_BEGIN_ALLOW_THREADS
;
222 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
224 wxPy_END_ALLOW_THREADS
;
226 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
246 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
253 wxWindow
* _arg4
= (wxWindow
*) NULL
;
254 int _arg5
= (int ) -1;
255 int _arg6
= (int ) -1;
256 bool _arg7
= (bool ) TRUE
;
257 int _arg8
= (int ) 150;
258 int _arg9
= (int ) 200;
259 PyObject
* _obj0
= 0;
260 PyObject
* _obj1
= 0;
261 PyObject
* _obj3
= 0;
262 PyObject
* _argo4
= 0;
263 int tempbool7
= (int) TRUE
;
264 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
270 if (!PyString_Check(_obj0
)) {
271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
274 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
277 if (!PyString_Check(_obj1
)) {
278 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
281 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
285 _arg3
= wxString_LIST_helper(_obj3
);
291 if (_argo4
== Py_None
) { _arg4
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
297 _arg7
= (bool ) tempbool7
;
300 _arg2
= PyList_Size(_obj3
);
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
310 wxPy_END_ALLOW_THREADS
;
312 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
331 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
332 PyObject
* _resultobj
;
338 wxWindow
* _arg4
= (wxWindow
*) NULL
;
339 int _arg5
= (int ) -1;
340 int _arg6
= (int ) -1;
341 bool _arg7
= (bool ) TRUE
;
342 int _arg8
= (int ) 150;
343 int _arg9
= (int ) 200;
344 PyObject
* _obj0
= 0;
345 PyObject
* _obj1
= 0;
346 PyObject
* _obj3
= 0;
347 PyObject
* _argo4
= 0;
348 int tempbool7
= (int) TRUE
;
349 char *_kwnames
[] = { "message","caption","LIST","parent","x","y","centre","width","height", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
355 if (!PyString_Check(_obj0
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
362 if (!PyString_Check(_obj1
)) {
363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
366 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
370 _arg3
= wxString_LIST_helper(_obj3
);
376 if (_argo4
== Py_None
) { _arg4
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
382 _arg7
= (bool ) tempbool7
;
385 _arg2
= PyList_Size(_obj3
);
392 wxPy_BEGIN_ALLOW_THREADS
;
393 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
395 wxPy_END_ALLOW_THREADS
;
396 } _resultobj
= Py_BuildValue("i",_result
);
411 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
416 int _arg2
= (int ) wxOK
|wxCENTRE
;
417 wxWindow
* _arg3
= (wxWindow
*) NULL
;
418 int _arg4
= (int ) -1;
419 int _arg5
= (int ) -1;
420 PyObject
* _obj0
= 0;
421 PyObject
* _obj1
= 0;
422 PyObject
* _argo3
= 0;
423 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
429 if (!PyString_Check(_obj0
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
437 if (!PyString_Check(_obj1
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
444 if (_argo3
== Py_None
) { _arg3
= NULL
; }
445 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
451 wxPy_BEGIN_ALLOW_THREADS
;
452 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
454 wxPy_END_ALLOW_THREADS
;
455 } _resultobj
= Py_BuildValue("i",_result
);
467 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
474 long _arg4
= (long ) 0;
475 long _arg5
= (long ) 100;
476 wxWindow
* _arg6
= (wxWindow
*) NULL
;
477 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
478 PyObject
* _obj0
= 0;
479 PyObject
* _obj1
= 0;
480 PyObject
* _obj2
= 0;
481 PyObject
* _argo6
= 0;
483 PyObject
* _obj7
= 0;
484 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
490 if (!PyString_Check(_obj0
)) {
491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
494 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
497 if (!PyString_Check(_obj1
)) {
498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
501 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
504 if (!PyString_Check(_obj2
)) {
505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
508 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
511 if (_argo6
== Py_None
) { _arg6
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
520 if (! wxPoint_helper(_obj7
, &_arg7
))
524 wxPy_BEGIN_ALLOW_THREADS
;
525 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
527 wxPy_END_ALLOW_THREADS
;
528 } _resultobj
= Py_BuildValue("l",_result
);
544 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
547 char *_kwnames
[] = { NULL
};
550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
553 wxPy_BEGIN_ALLOW_THREADS
;
554 _result
= (bool )wxColourDisplay();
556 wxPy_END_ALLOW_THREADS
;
557 } _resultobj
= Py_BuildValue("i",_result
);
561 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 char *_kwnames
[] = { NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
570 wxPy_BEGIN_ALLOW_THREADS
;
571 _result
= (int )wxDisplayDepth();
573 wxPy_END_ALLOW_THREADS
;
574 } _resultobj
= Py_BuildValue("i",_result
);
578 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 PyObject
* _argo0
= 0;
582 char *_kwnames
[] = { "cursor", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
595 wxPy_BEGIN_ALLOW_THREADS
;
598 wxPy_END_ALLOW_THREADS
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 char *_kwnames
[] = { NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
613 wxPy_BEGIN_ALLOW_THREADS
;
614 _result
= (long )wxNewId();
616 wxPy_END_ALLOW_THREADS
;
617 } _resultobj
= Py_BuildValue("l",_result
);
621 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
624 char *_kwnames
[] = { "id", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
630 wxPy_BEGIN_ALLOW_THREADS
;
633 wxPy_END_ALLOW_THREADS
;
634 } Py_INCREF(Py_None
);
635 _resultobj
= Py_None
;
639 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
642 char *_kwnames
[] = { NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (long )wxNewId();
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("l",_result
);
656 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 PyObject
* _resultobj
;
659 char *_kwnames
[] = { "id", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
665 wxPy_BEGIN_ALLOW_THREADS
;
668 wxPy_END_ALLOW_THREADS
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
676 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
677 PyObject
* _argo0
= 0;
678 char *_kwnames
[] = { "cursor", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
691 wxPy_BEGIN_ALLOW_THREADS
;
692 wxBeginBusyCursor(_arg0
);
694 wxPy_END_ALLOW_THREADS
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
702 char *_kwnames
[] = { NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
708 wxPy_BEGIN_ALLOW_THREADS
;
711 wxPy_END_ALLOW_THREADS
;
712 } Py_INCREF(Py_None
);
713 _resultobj
= Py_None
;
717 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
723 char *_kwnames
[] = { NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
735 wxPy_BEGIN_ALLOW_THREADS
;
736 wxDisplaySize(_arg0
,_arg1
);
738 wxPy_END_ALLOW_THREADS
;
739 } Py_INCREF(Py_None
);
740 _resultobj
= Py_None
;
743 o
= PyInt_FromLong((long) (*_arg0
));
744 _resultobj
= t_output_helper(_resultobj
, o
);
748 o
= PyInt_FromLong((long) (*_arg1
));
749 _resultobj
= t_output_helper(_resultobj
, o
);
754 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
756 char *_kwnames
[] = { NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
762 wxPy_BEGIN_ALLOW_THREADS
;
765 wxPy_END_ALLOW_THREADS
;
766 } Py_INCREF(Py_None
);
767 _resultobj
= Py_None
;
771 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 bool _arg1
= (bool ) FALSE
;
776 PyObject
* _obj0
= 0;
777 int tempbool1
= (int) FALSE
;
778 char *_kwnames
[] = { "command","sync", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxExecute",_kwnames
,&_obj0
,&tempbool1
))
784 if (!PyString_Check(_obj0
)) {
785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
788 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
790 _arg1
= (bool ) tempbool1
;
792 wxPy_BEGIN_ALLOW_THREADS
;
793 _result
= (long )wxExecute(*_arg0
,_arg1
);
795 wxPy_END_ALLOW_THREADS
;
796 } _resultobj
= Py_BuildValue("l",_result
);
804 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
810 char *_kwnames
[] = { NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
822 wxPy_BEGIN_ALLOW_THREADS
;
823 wxGetMousePosition(_arg0
,_arg1
);
825 wxPy_END_ALLOW_THREADS
;
826 } Py_INCREF(Py_None
);
827 _resultobj
= Py_None
;
830 o
= PyInt_FromLong((long) (*_arg0
));
831 _resultobj
= t_output_helper(_resultobj
, o
);
835 o
= PyInt_FromLong((long) (*_arg1
));
836 _resultobj
= t_output_helper(_resultobj
, o
);
841 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
844 char *_kwnames
[] = { NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
850 wxPy_BEGIN_ALLOW_THREADS
;
851 _result
= (bool )wxIsBusy();
853 wxPy_END_ALLOW_THREADS
;
854 } _resultobj
= Py_BuildValue("i",_result
);
858 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
861 char *_kwnames
[] = { NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= new wxString (wxNow());
870 wxPy_END_ALLOW_THREADS
;
872 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
880 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
883 char *_kwnames
[] = { "secs", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
889 wxPy_BEGIN_ALLOW_THREADS
;
892 wxPy_END_ALLOW_THREADS
;
893 } Py_INCREF(Py_None
);
894 _resultobj
= Py_None
;
898 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
901 char *_kwnames
[] = { NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (bool )wxYield();
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("i",_result
);
915 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 char *_kwnames
[] = { NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSafeYield",_kwnames
))
924 wxPy_BEGIN_ALLOW_THREADS
;
925 _result
= (bool )wxSafeYield();
927 wxPy_END_ALLOW_THREADS
;
928 } _resultobj
= Py_BuildValue("i",_result
);
932 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
936 char *_kwnames
[] = { "enable", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
941 _arg0
= (bool ) tempbool0
;
943 wxPy_BEGIN_ALLOW_THREADS
;
944 wxEnableTopLevelWindows(_arg0
);
946 wxPy_END_ALLOW_THREADS
;
947 } Py_INCREF(Py_None
);
948 _resultobj
= Py_None
;
952 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
957 char * _arg2
= (char *) NULL
;
958 char *_kwnames
[] = { "section","entry","file", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("s", _result
);
972 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
977 char *_kwnames
[] = { "name","value", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
983 wxPy_BEGIN_ALLOW_THREADS
;
984 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
986 wxPy_END_ALLOW_THREADS
;
987 } _resultobj
= Py_BuildValue("i",_result
);
991 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
993 char *_kwnames
[] = { NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
999 wxPy_BEGIN_ALLOW_THREADS
;
1002 wxPy_END_ALLOW_THREADS
;
1003 } Py_INCREF(Py_None
);
1004 _resultobj
= Py_None
;
1008 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
* _resultobj
;
1012 char *_kwnames
[] = { "resource", NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1019 wxPy_BEGIN_ALLOW_THREADS
;
1020 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1022 wxPy_END_ALLOW_THREADS
;
1023 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1024 _resultobj
= Py_BuildValue("s",_ptemp
);
1028 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1032 char *_kwnames
[] = { "resource", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1042 wxPy_END_ALLOW_THREADS
;
1043 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1044 _resultobj
= Py_BuildValue("s",_ptemp
);
1048 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1050 wxMenuBar
* _result
;
1052 char *_kwnames
[] = { "resource", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1062 wxPy_END_ALLOW_THREADS
;
1064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1065 _resultobj
= Py_BuildValue("s",_ptemp
);
1068 _resultobj
= Py_None
;
1073 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1077 char *_kwnames
[] = { "name", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1083 wxPy_BEGIN_ALLOW_THREADS
;
1084 _result
= (int )wxResourceGetIdentifier(_arg0
);
1086 wxPy_END_ALLOW_THREADS
;
1087 } _resultobj
= Py_BuildValue("i",_result
);
1091 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1095 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1096 PyObject
* _argo1
= 0;
1097 char *_kwnames
[] = { "resource","table", NULL
};
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1110 wxPy_BEGIN_ALLOW_THREADS
;
1111 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1113 wxPy_END_ALLOW_THREADS
;
1114 } _resultobj
= Py_BuildValue("i",_result
);
1118 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1122 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1123 PyObject
* _argo1
= 0;
1124 char *_kwnames
[] = { "filename","table", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } _resultobj
= Py_BuildValue("i",_result
);
1145 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1149 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1150 PyObject
* _argo1
= 0;
1151 char *_kwnames
[] = { "resource","table", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1157 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1167 wxPy_END_ALLOW_THREADS
;
1168 } _resultobj
= Py_BuildValue("i",_result
);
1172 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1176 char *_kwnames
[] = { "index", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1183 wxPy_BEGIN_ALLOW_THREADS
;
1184 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1186 wxPy_END_ALLOW_THREADS
;
1187 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1188 _resultobj
= Py_BuildValue("s",_ptemp
);
1192 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1196 char *_kwnames
[] = { "index", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1206 wxPy_END_ALLOW_THREADS
;
1207 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1208 _resultobj
= Py_BuildValue("s",_ptemp
);
1212 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1216 char *_kwnames
[] = { "index", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1222 wxPy_BEGIN_ALLOW_THREADS
;
1223 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1225 wxPy_END_ALLOW_THREADS
;
1226 } _resultobj
= Py_BuildValue("i",_result
);
1230 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1231 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1237 PyObject
* _obj0
= 0;
1238 char *_kwnames
[] = { "self","x", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1245 if (! wxSize_helper(_obj0
, &_arg0
))
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1252 wxPy_END_ALLOW_THREADS
;
1253 } _resultobj
= Py_BuildValue("l",_result
);
1257 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1258 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1263 PyObject
* _obj0
= 0;
1264 char *_kwnames
[] = { "self", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1271 if (! wxSize_helper(_obj0
, &_arg0
))
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= (long )wxSize_x_get(_arg0
);
1278 wxPy_END_ALLOW_THREADS
;
1279 } _resultobj
= Py_BuildValue("l",_result
);
1283 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1284 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1290 PyObject
* _obj0
= 0;
1291 char *_kwnames
[] = { "self","y", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1298 if (! wxSize_helper(_obj0
, &_arg0
))
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("l",_result
);
1310 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1311 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1316 PyObject
* _obj0
= 0;
1317 char *_kwnames
[] = { "self", NULL
};
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1324 if (! wxSize_helper(_obj0
, &_arg0
))
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 _result
= (long )wxSize_y_get(_arg0
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } _resultobj
= Py_BuildValue("l",_result
);
1336 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1337 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1340 long _arg0
= (long ) 0;
1341 long _arg1
= (long ) 0;
1342 char *_kwnames
[] = { "w","h", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1352 wxPy_END_ALLOW_THREADS
;
1354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1355 _resultobj
= Py_BuildValue("s",_ptemp
);
1358 _resultobj
= Py_None
;
1363 #define delete_wxSize(_swigobj) (delete _swigobj)
1364 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
* _resultobj
;
1368 PyObject
* _obj0
= 0;
1369 char *_kwnames
[] = { "self", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1376 if (! wxSize_helper(_obj0
, &_arg0
))
1380 wxPy_BEGIN_ALLOW_THREADS
;
1381 delete_wxSize(_arg0
);
1383 wxPy_END_ALLOW_THREADS
;
1384 } Py_INCREF(Py_None
);
1385 _resultobj
= Py_None
;
1389 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1390 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1396 PyObject
* _obj0
= 0;
1397 char *_kwnames
[] = { "self","w","h", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1404 if (! wxSize_helper(_obj0
, &_arg0
))
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 wxSize_Set(_arg0
,_arg1
,_arg2
);
1411 wxPy_END_ALLOW_THREADS
;
1412 } Py_INCREF(Py_None
);
1413 _resultobj
= Py_None
;
1417 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1418 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1423 PyObject
* _obj0
= 0;
1424 char *_kwnames
[] = { "self", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1431 if (! wxSize_helper(_obj0
, &_arg0
))
1435 wxPy_BEGIN_ALLOW_THREADS
;
1436 _result
= (long )wxSize_GetX(_arg0
);
1438 wxPy_END_ALLOW_THREADS
;
1439 } _resultobj
= Py_BuildValue("l",_result
);
1443 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1444 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1449 PyObject
* _obj0
= 0;
1450 char *_kwnames
[] = { "self", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1457 if (! wxSize_helper(_obj0
, &_arg0
))
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (long )wxSize_GetY(_arg0
);
1464 wxPy_END_ALLOW_THREADS
;
1465 } _resultobj
= Py_BuildValue("l",_result
);
1469 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1470 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1475 PyObject
* _obj0
= 0;
1476 char *_kwnames
[] = { "self", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1483 if (! wxSize_helper(_obj0
, &_arg0
))
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 _result
= (long )wxSize_GetWidth(_arg0
);
1490 wxPy_END_ALLOW_THREADS
;
1491 } _resultobj
= Py_BuildValue("l",_result
);
1495 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1496 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1501 PyObject
* _obj0
= 0;
1502 char *_kwnames
[] = { "self", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1509 if (! wxSize_helper(_obj0
, &_arg0
))
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= (long )wxSize_GetHeight(_arg0
);
1516 wxPy_END_ALLOW_THREADS
;
1517 } _resultobj
= Py_BuildValue("l",_result
);
1521 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1522 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1527 PyObject
* _obj0
= 0;
1528 char *_kwnames
[] = { "self","w", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1535 if (! wxSize_helper(_obj0
, &_arg0
))
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 wxSize_SetWidth(_arg0
,_arg1
);
1542 wxPy_END_ALLOW_THREADS
;
1543 } Py_INCREF(Py_None
);
1544 _resultobj
= Py_None
;
1548 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1549 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1554 PyObject
* _obj0
= 0;
1555 char *_kwnames
[] = { "self","h", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1562 if (! wxSize_helper(_obj0
, &_arg0
))
1566 wxPy_BEGIN_ALLOW_THREADS
;
1567 wxSize_SetHeight(_arg0
,_arg1
);
1569 wxPy_END_ALLOW_THREADS
;
1570 } Py_INCREF(Py_None
);
1571 _resultobj
= Py_None
;
1575 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1576 PyObject
* tup
= PyTuple_New(2);
1577 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1578 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1581 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1586 PyObject
* _obj0
= 0;
1587 char *_kwnames
[] = { "self", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1594 if (! wxSize_helper(_obj0
, &_arg0
))
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1601 wxPy_END_ALLOW_THREADS
;
1603 _resultobj
= _result
;
1608 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1609 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1612 wxRealPoint
* _arg0
;
1615 PyObject
* _obj0
= 0;
1616 char *_kwnames
[] = { "self","x", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1623 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("d",_result
);
1635 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1636 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1639 wxRealPoint
* _arg0
;
1641 PyObject
* _obj0
= 0;
1642 char *_kwnames
[] = { "self", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1649 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (double )wxRealPoint_x_get(_arg0
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } _resultobj
= Py_BuildValue("d",_result
);
1661 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1662 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1665 wxRealPoint
* _arg0
;
1668 PyObject
* _obj0
= 0;
1669 char *_kwnames
[] = { "self","y", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1676 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } _resultobj
= Py_BuildValue("d",_result
);
1688 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1689 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1692 wxRealPoint
* _arg0
;
1694 PyObject
* _obj0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1702 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (double )wxRealPoint_y_get(_arg0
);
1709 wxPy_END_ALLOW_THREADS
;
1710 } _resultobj
= Py_BuildValue("d",_result
);
1714 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1715 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxRealPoint
* _result
;
1718 double _arg0
= (double ) 0.0;
1719 double _arg1
= (double ) 0.0;
1720 char *_kwnames
[] = { "x","y", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1730 wxPy_END_ALLOW_THREADS
;
1732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1733 _resultobj
= Py_BuildValue("s",_ptemp
);
1736 _resultobj
= Py_None
;
1741 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1742 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 wxRealPoint
* _arg0
;
1746 PyObject
* _obj0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1754 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 delete_wxRealPoint(_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1771 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1773 wxRealPoint
* _arg0
;
1777 PyObject
* _obj0
= 0;
1778 char *_kwnames
[] = { "self","x","y", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1785 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1799 PyObject
* tup
= PyTuple_New(2);
1800 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1801 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1804 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1807 wxRealPoint
* _arg0
;
1809 PyObject
* _obj0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1817 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1826 _resultobj
= _result
;
1831 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1832 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1838 PyObject
* _obj0
= 0;
1839 char *_kwnames
[] = { "self","x", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1846 if (! wxPoint_helper(_obj0
, &_arg0
))
1850 wxPy_BEGIN_ALLOW_THREADS
;
1851 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1853 wxPy_END_ALLOW_THREADS
;
1854 } _resultobj
= Py_BuildValue("l",_result
);
1858 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1859 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1864 PyObject
* _obj0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1872 if (! wxPoint_helper(_obj0
, &_arg0
))
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (long )wxPoint_x_get(_arg0
);
1879 wxPy_END_ALLOW_THREADS
;
1880 } _resultobj
= Py_BuildValue("l",_result
);
1884 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1885 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1891 PyObject
* _obj0
= 0;
1892 char *_kwnames
[] = { "self","y", NULL
};
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1899 if (! wxPoint_helper(_obj0
, &_arg0
))
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } _resultobj
= Py_BuildValue("l",_result
);
1911 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1912 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1917 PyObject
* _obj0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1925 if (! wxPoint_helper(_obj0
, &_arg0
))
1929 wxPy_BEGIN_ALLOW_THREADS
;
1930 _result
= (long )wxPoint_y_get(_arg0
);
1932 wxPy_END_ALLOW_THREADS
;
1933 } _resultobj
= Py_BuildValue("l",_result
);
1937 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1938 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1941 long _arg0
= (long ) 0;
1942 long _arg1
= (long ) 0;
1943 char *_kwnames
[] = { "x","y", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1953 wxPy_END_ALLOW_THREADS
;
1955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1956 _resultobj
= Py_BuildValue("s",_ptemp
);
1959 _resultobj
= Py_None
;
1964 #define delete_wxPoint(_swigobj) (delete _swigobj)
1965 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1969 PyObject
* _obj0
= 0;
1970 char *_kwnames
[] = { "self", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1977 if (! wxPoint_helper(_obj0
, &_arg0
))
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 delete_wxPoint(_arg0
);
1984 wxPy_END_ALLOW_THREADS
;
1985 } Py_INCREF(Py_None
);
1986 _resultobj
= Py_None
;
1990 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1994 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
2000 PyObject
* _obj0
= 0;
2001 char *_kwnames
[] = { "self","x","y", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2008 if (! wxPoint_helper(_obj0
, &_arg0
))
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2015 wxPy_END_ALLOW_THREADS
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2022 PyObject
* tup
= PyTuple_New(2);
2023 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2024 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2027 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2032 PyObject
* _obj0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2040 if (! wxPoint_helper(_obj0
, &_arg0
))
2044 wxPy_BEGIN_ALLOW_THREADS
;
2045 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2047 wxPy_END_ALLOW_THREADS
;
2049 _resultobj
= _result
;
2054 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2055 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2058 long _arg0
= (long ) 0;
2059 long _arg1
= (long ) 0;
2060 long _arg2
= (long ) 0;
2061 long _arg3
= (long ) 0;
2062 char *_kwnames
[] = { "x","y","w","h", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2072 wxPy_END_ALLOW_THREADS
;
2074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2078 _resultobj
= Py_None
;
2083 #define delete_wxRect(_swigobj) (delete _swigobj)
2084 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _obj0
= 0;
2089 char *_kwnames
[] = { "self", NULL
};
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2096 if (! wxRect_helper(_obj0
, &_arg0
))
2100 wxPy_BEGIN_ALLOW_THREADS
;
2101 delete_wxRect(_arg0
);
2103 wxPy_END_ALLOW_THREADS
;
2104 } Py_INCREF(Py_None
);
2105 _resultobj
= Py_None
;
2109 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2110 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2115 PyObject
* _obj0
= 0;
2116 char *_kwnames
[] = { "self", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2123 if (! wxRect_helper(_obj0
, &_arg0
))
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 _result
= (long )wxRect_GetX(_arg0
);
2130 wxPy_END_ALLOW_THREADS
;
2131 } _resultobj
= Py_BuildValue("l",_result
);
2135 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2136 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2141 PyObject
* _obj0
= 0;
2142 char *_kwnames
[] = { "self","X", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2149 if (! wxRect_helper(_obj0
, &_arg0
))
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 wxRect_SetX(_arg0
,_arg1
);
2156 wxPy_END_ALLOW_THREADS
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2163 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2168 PyObject
* _obj0
= 0;
2169 char *_kwnames
[] = { "self", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2176 if (! wxRect_helper(_obj0
, &_arg0
))
2180 wxPy_BEGIN_ALLOW_THREADS
;
2181 _result
= (long )wxRect_GetY(_arg0
);
2183 wxPy_END_ALLOW_THREADS
;
2184 } _resultobj
= Py_BuildValue("l",_result
);
2188 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2189 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2194 PyObject
* _obj0
= 0;
2195 char *_kwnames
[] = { "self","Y", NULL
};
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2202 if (! wxRect_helper(_obj0
, &_arg0
))
2206 wxPy_BEGIN_ALLOW_THREADS
;
2207 wxRect_SetY(_arg0
,_arg1
);
2209 wxPy_END_ALLOW_THREADS
;
2210 } Py_INCREF(Py_None
);
2211 _resultobj
= Py_None
;
2215 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2216 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2221 PyObject
* _obj0
= 0;
2222 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2229 if (! wxRect_helper(_obj0
, &_arg0
))
2233 wxPy_BEGIN_ALLOW_THREADS
;
2234 _result
= (long )wxRect_GetWidth(_arg0
);
2236 wxPy_END_ALLOW_THREADS
;
2237 } _resultobj
= Py_BuildValue("l",_result
);
2241 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2242 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2247 PyObject
* _obj0
= 0;
2248 char *_kwnames
[] = { "self","w", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2255 if (! wxRect_helper(_obj0
, &_arg0
))
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 wxRect_SetWidth(_arg0
,_arg1
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2268 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2269 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2274 PyObject
* _obj0
= 0;
2275 char *_kwnames
[] = { "self", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2282 if (! wxRect_helper(_obj0
, &_arg0
))
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 _result
= (long )wxRect_GetHeight(_arg0
);
2289 wxPy_END_ALLOW_THREADS
;
2290 } _resultobj
= Py_BuildValue("l",_result
);
2294 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2295 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2300 PyObject
* _obj0
= 0;
2301 char *_kwnames
[] = { "self","h", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2308 if (! wxRect_helper(_obj0
, &_arg0
))
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 wxRect_SetHeight(_arg0
,_arg1
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2321 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2322 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2327 PyObject
* _obj0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2336 if (! wxRect_helper(_obj0
, &_arg0
))
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2343 wxPy_END_ALLOW_THREADS
;
2344 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2345 _resultobj
= Py_BuildValue("s",_ptemp
);
2349 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2350 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2355 PyObject
* _obj0
= 0;
2356 char *_kwnames
[] = { "self", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2364 if (! wxRect_helper(_obj0
, &_arg0
))
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= new wxSize (wxRect_GetSize(_arg0
));
2371 wxPy_END_ALLOW_THREADS
;
2372 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2373 _resultobj
= Py_BuildValue("s",_ptemp
);
2377 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2378 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2383 PyObject
* _obj0
= 0;
2384 char *_kwnames
[] = { "self", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2391 if (! wxRect_helper(_obj0
, &_arg0
))
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 _result
= (long )wxRect_GetLeft(_arg0
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } _resultobj
= Py_BuildValue("l",_result
);
2403 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2404 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2409 PyObject
* _obj0
= 0;
2410 char *_kwnames
[] = { "self", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2417 if (! wxRect_helper(_obj0
, &_arg0
))
2421 wxPy_BEGIN_ALLOW_THREADS
;
2422 _result
= (long )wxRect_GetTop(_arg0
);
2424 wxPy_END_ALLOW_THREADS
;
2425 } _resultobj
= Py_BuildValue("l",_result
);
2429 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2430 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2435 PyObject
* _obj0
= 0;
2436 char *_kwnames
[] = { "self", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2443 if (! wxRect_helper(_obj0
, &_arg0
))
2447 wxPy_BEGIN_ALLOW_THREADS
;
2448 _result
= (long )wxRect_GetBottom(_arg0
);
2450 wxPy_END_ALLOW_THREADS
;
2451 } _resultobj
= Py_BuildValue("l",_result
);
2455 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2456 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2461 PyObject
* _obj0
= 0;
2462 char *_kwnames
[] = { "self", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2469 if (! wxRect_helper(_obj0
, &_arg0
))
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 _result
= (long )wxRect_GetRight(_arg0
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } _resultobj
= Py_BuildValue("l",_result
);
2481 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2482 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2488 PyObject
* _obj0
= 0;
2489 char *_kwnames
[] = { "self","x", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2496 if (! wxRect_helper(_obj0
, &_arg0
))
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2503 wxPy_END_ALLOW_THREADS
;
2504 } _resultobj
= Py_BuildValue("l",_result
);
2508 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2509 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2514 PyObject
* _obj0
= 0;
2515 char *_kwnames
[] = { "self", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2522 if (! wxRect_helper(_obj0
, &_arg0
))
2526 wxPy_BEGIN_ALLOW_THREADS
;
2527 _result
= (long )wxRect_x_get(_arg0
);
2529 wxPy_END_ALLOW_THREADS
;
2530 } _resultobj
= Py_BuildValue("l",_result
);
2534 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2535 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
* _resultobj
;
2541 PyObject
* _obj0
= 0;
2542 char *_kwnames
[] = { "self","y", NULL
};
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2549 if (! wxRect_helper(_obj0
, &_arg0
))
2553 wxPy_BEGIN_ALLOW_THREADS
;
2554 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2556 wxPy_END_ALLOW_THREADS
;
2557 } _resultobj
= Py_BuildValue("l",_result
);
2561 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2562 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
* _resultobj
;
2567 PyObject
* _obj0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2575 if (! wxRect_helper(_obj0
, &_arg0
))
2579 wxPy_BEGIN_ALLOW_THREADS
;
2580 _result
= (long )wxRect_y_get(_arg0
);
2582 wxPy_END_ALLOW_THREADS
;
2583 } _resultobj
= Py_BuildValue("l",_result
);
2587 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2588 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2594 PyObject
* _obj0
= 0;
2595 char *_kwnames
[] = { "self","width", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2602 if (! wxRect_helper(_obj0
, &_arg0
))
2606 wxPy_BEGIN_ALLOW_THREADS
;
2607 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2609 wxPy_END_ALLOW_THREADS
;
2610 } _resultobj
= Py_BuildValue("l",_result
);
2614 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2615 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2620 PyObject
* _obj0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2628 if (! wxRect_helper(_obj0
, &_arg0
))
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 _result
= (long )wxRect_width_get(_arg0
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } _resultobj
= Py_BuildValue("l",_result
);
2640 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2641 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2647 PyObject
* _obj0
= 0;
2648 char *_kwnames
[] = { "self","height", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2655 if (! wxRect_helper(_obj0
, &_arg0
))
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } _resultobj
= Py_BuildValue("l",_result
);
2667 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2668 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2673 PyObject
* _obj0
= 0;
2674 char *_kwnames
[] = { "self", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2681 if (! wxRect_helper(_obj0
, &_arg0
))
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 _result
= (long )wxRect_height_get(_arg0
);
2688 wxPy_END_ALLOW_THREADS
;
2689 } _resultobj
= Py_BuildValue("l",_result
);
2693 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2694 PyObject
* tup
= PyTuple_New(4);
2695 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2696 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2697 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2698 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2701 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2706 PyObject
* _obj0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2714 if (! wxRect_helper(_obj0
, &_arg0
))
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2721 wxPy_END_ALLOW_THREADS
;
2723 _resultobj
= _result
;
2728 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2729 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2731 wxPyTimer
* _result
;
2733 PyObject
* _obj0
= 0;
2734 char *_kwnames
[] = { "notify", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2747 wxPy_END_ALLOW_THREADS
;
2749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2750 _resultobj
= Py_BuildValue("s",_ptemp
);
2753 _resultobj
= Py_None
;
2758 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2759 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 delete_wxPyTimer(_arg0
);
2779 wxPy_END_ALLOW_THREADS
;
2780 } Py_INCREF(Py_None
);
2781 _resultobj
= Py_None
;
2785 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2786 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2790 PyObject
* _argo0
= 0;
2791 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Interval",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 _result
= (int )wxPyTimer_Interval(_arg0
);
2807 wxPy_END_ALLOW_THREADS
;
2808 } _resultobj
= Py_BuildValue("i",_result
);
2812 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2813 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2816 int _arg1
= (int ) -1;
2817 int _arg2
= (int ) FALSE
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2835 wxPy_END_ALLOW_THREADS
;
2836 } Py_INCREF(Py_None
);
2837 _resultobj
= Py_None
;
2841 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2842 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2845 PyObject
* _argo0
= 0;
2846 char *_kwnames
[] = { "self", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 wxPyTimer_Stop(_arg0
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } Py_INCREF(Py_None
);
2864 _resultobj
= Py_None
;
2868 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2869 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2871 wxIndividualLayoutConstraint
* _arg0
;
2873 int _arg2
= (int ) 0;
2874 PyObject
* _argo0
= 0;
2875 PyObject
* _argo1
= 0;
2876 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2906 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2908 wxIndividualLayoutConstraint
* _arg0
;
2910 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self","value", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2927 wxPy_END_ALLOW_THREADS
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2934 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2936 wxIndividualLayoutConstraint
* _arg0
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 wxIndividualLayoutConstraint_AsIs(_arg0
);
2954 wxPy_END_ALLOW_THREADS
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2961 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxIndividualLayoutConstraint
* _arg0
;
2965 int _arg2
= (int ) 0;
2966 PyObject
* _argo0
= 0;
2967 PyObject
* _argo1
= 0;
2968 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2991 wxPy_END_ALLOW_THREADS
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2998 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3000 wxIndividualLayoutConstraint
* _arg0
;
3001 PyObject
* _argo0
= 0;
3002 char *_kwnames
[] = { "self", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3015 wxPy_BEGIN_ALLOW_THREADS
;
3016 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3018 wxPy_END_ALLOW_THREADS
;
3019 } Py_INCREF(Py_None
);
3020 _resultobj
= Py_None
;
3024 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3025 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxIndividualLayoutConstraint
* _arg0
;
3029 int _arg2
= (int ) 0;
3030 PyObject
* _argo0
= 0;
3031 PyObject
* _argo1
= 0;
3032 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3052 wxPy_BEGIN_ALLOW_THREADS
;
3053 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3055 wxPy_END_ALLOW_THREADS
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3062 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3064 wxIndividualLayoutConstraint
* _arg0
;
3068 PyObject
* _argo0
= 0;
3069 PyObject
* _argo1
= 0;
3070 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3083 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3093 wxPy_END_ALLOW_THREADS
;
3094 } Py_INCREF(Py_None
);
3095 _resultobj
= Py_None
;
3099 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3100 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxIndividualLayoutConstraint
* _arg0
;
3104 int _arg2
= (int ) 0;
3105 PyObject
* _argo0
= 0;
3106 PyObject
* _argo1
= 0;
3107 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3127 wxPy_BEGIN_ALLOW_THREADS
;
3128 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3130 wxPy_END_ALLOW_THREADS
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3137 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxIndividualLayoutConstraint
* _arg0
;
3142 int _arg3
= (int ) 0;
3143 PyObject
* _argo0
= 0;
3144 PyObject
* _argo1
= 0;
3145 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3168 wxPy_END_ALLOW_THREADS
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3175 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxIndividualLayoutConstraint
* _arg0
;
3178 wxRelationship _arg1
;
3181 int _arg4
= (int ) 0;
3182 int _arg5
= (int ) 0;
3183 PyObject
* _argo0
= 0;
3184 PyObject
* _argo2
= 0;
3185 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3198 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3205 wxPy_BEGIN_ALLOW_THREADS
;
3206 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3208 wxPy_END_ALLOW_THREADS
;
3209 } Py_INCREF(Py_None
);
3210 _resultobj
= Py_None
;
3214 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3215 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
* _resultobj
;
3217 wxLayoutConstraints
* _result
;
3218 char *_kwnames
[] = { NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3225 wxPy_BEGIN_ALLOW_THREADS
;
3226 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3228 wxPy_END_ALLOW_THREADS
;
3230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3231 _resultobj
= Py_BuildValue("s",_ptemp
);
3234 _resultobj
= Py_None
;
3239 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3240 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxIndividualLayoutConstraint
* _result
;
3243 wxLayoutConstraints
* _arg0
;
3244 PyObject
* _argo0
= 0;
3245 char *_kwnames
[] = { "self", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3262 wxPy_END_ALLOW_THREADS
;
3264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3265 _resultobj
= Py_BuildValue("s",_ptemp
);
3268 _resultobj
= Py_None
;
3273 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3274 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3276 wxIndividualLayoutConstraint
* _result
;
3277 wxLayoutConstraints
* _arg0
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3293 wxPy_BEGIN_ALLOW_THREADS
;
3294 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3296 wxPy_END_ALLOW_THREADS
;
3298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3299 _resultobj
= Py_BuildValue("s",_ptemp
);
3302 _resultobj
= Py_None
;
3307 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3308 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3310 wxIndividualLayoutConstraint
* _result
;
3311 wxLayoutConstraints
* _arg0
;
3312 PyObject
* _argo0
= 0;
3313 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3327 wxPy_BEGIN_ALLOW_THREADS
;
3328 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3330 wxPy_END_ALLOW_THREADS
;
3332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3333 _resultobj
= Py_BuildValue("s",_ptemp
);
3336 _resultobj
= Py_None
;
3341 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3342 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 wxIndividualLayoutConstraint
* _result
;
3345 wxLayoutConstraints
* _arg0
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3364 wxPy_END_ALLOW_THREADS
;
3366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3367 _resultobj
= Py_BuildValue("s",_ptemp
);
3370 _resultobj
= Py_None
;
3375 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3376 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3378 wxIndividualLayoutConstraint
* _result
;
3379 wxLayoutConstraints
* _arg0
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "self", NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3395 wxPy_BEGIN_ALLOW_THREADS
;
3396 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3398 wxPy_END_ALLOW_THREADS
;
3400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3401 _resultobj
= Py_BuildValue("s",_ptemp
);
3404 _resultobj
= Py_None
;
3409 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3410 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
* _resultobj
;
3412 wxIndividualLayoutConstraint
* _result
;
3413 wxLayoutConstraints
* _arg0
;
3414 PyObject
* _argo0
= 0;
3415 char *_kwnames
[] = { "self", NULL
};
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3432 wxPy_END_ALLOW_THREADS
;
3434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3435 _resultobj
= Py_BuildValue("s",_ptemp
);
3438 _resultobj
= Py_None
;
3443 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3444 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3446 wxIndividualLayoutConstraint
* _result
;
3447 wxLayoutConstraints
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3466 wxPy_END_ALLOW_THREADS
;
3468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3469 _resultobj
= Py_BuildValue("s",_ptemp
);
3472 _resultobj
= Py_None
;
3477 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3478 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3479 PyObject
* _resultobj
;
3480 wxIndividualLayoutConstraint
* _result
;
3481 wxLayoutConstraints
* _arg0
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3497 wxPy_BEGIN_ALLOW_THREADS
;
3498 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3500 wxPy_END_ALLOW_THREADS
;
3502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3503 _resultobj
= Py_BuildValue("s",_ptemp
);
3506 _resultobj
= Py_None
;
3511 #define new_wxRegion() (new wxRegion())
3512 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3515 char *_kwnames
[] = { NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxRegion",_kwnames
))
3522 wxPy_BEGIN_ALLOW_THREADS
;
3523 _result
= (wxRegion
*)new_wxRegion();
3525 wxPy_END_ALLOW_THREADS
;
3527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3528 _resultobj
= Py_BuildValue("s",_ptemp
);
3531 _resultobj
= Py_None
;
3536 #define delete_wxRegion(_swigobj) (delete _swigobj)
3537 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self", NULL
};
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3554 wxPy_BEGIN_ALLOW_THREADS
;
3555 delete_wxRegion(_arg0
);
3557 wxPy_END_ALLOW_THREADS
;
3558 } Py_INCREF(Py_None
);
3559 _resultobj
= Py_None
;
3563 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3564 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 PyObject
* _argo0
= 0;
3568 char *_kwnames
[] = { "self", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3581 wxPy_BEGIN_ALLOW_THREADS
;
3582 wxRegion_Clear(_arg0
);
3584 wxPy_END_ALLOW_THREADS
;
3585 } Py_INCREF(Py_None
);
3586 _resultobj
= Py_None
;
3590 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3591 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3593 wxRegionContain _result
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self","x","y", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3614 wxPy_END_ALLOW_THREADS
;
3615 } _resultobj
= Py_BuildValue("i",_result
);
3619 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3620 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3622 wxRegionContain _result
;
3625 PyObject
* _argo0
= 0;
3627 PyObject
* _obj1
= 0;
3628 char *_kwnames
[] = { "self","pt", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3642 if (! wxPoint_helper(_obj1
, &_arg1
))
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3649 wxPy_END_ALLOW_THREADS
;
3650 } _resultobj
= Py_BuildValue("i",_result
);
3654 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3655 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3657 wxRegionContain _result
;
3660 PyObject
* _argo0
= 0;
3662 PyObject
* _obj1
= 0;
3663 char *_kwnames
[] = { "self","rect", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3677 if (! wxRect_helper(_obj1
, &_arg1
))
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3690 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3694 PyObject
* _argo0
= 0;
3695 char *_kwnames
[] = { "self", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3709 wxPy_BEGIN_ALLOW_THREADS
;
3710 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3712 wxPy_END_ALLOW_THREADS
;
3713 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3714 _resultobj
= Py_BuildValue("s",_ptemp
);
3718 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3719 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3726 PyObject
* _obj1
= 0;
3727 char *_kwnames
[] = { "self","rect", NULL
};
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Intersect",_kwnames
,&_argo0
,&_obj1
))
3733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3741 if (! wxRect_helper(_obj1
, &_arg1
))
3745 wxPy_BEGIN_ALLOW_THREADS
;
3746 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3748 wxPy_END_ALLOW_THREADS
;
3749 } _resultobj
= Py_BuildValue("i",_result
);
3753 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3754 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
* _resultobj
;
3759 PyObject
* _argo0
= 0;
3761 PyObject
* _obj1
= 0;
3762 char *_kwnames
[] = { "self","rect", NULL
};
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Subtract",_kwnames
,&_argo0
,&_obj1
))
3768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3776 if (! wxRect_helper(_obj1
, &_arg1
))
3780 wxPy_BEGIN_ALLOW_THREADS
;
3781 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3783 wxPy_END_ALLOW_THREADS
;
3784 } _resultobj
= Py_BuildValue("i",_result
);
3788 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3789 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3794 PyObject
* _argo0
= 0;
3796 PyObject
* _obj1
= 0;
3797 char *_kwnames
[] = { "self","rect", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Union",_kwnames
,&_argo0
,&_obj1
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3811 if (! wxRect_helper(_obj1
, &_arg1
))
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3818 wxPy_END_ALLOW_THREADS
;
3819 } _resultobj
= Py_BuildValue("i",_result
);
3823 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3824 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3829 PyObject
* _argo0
= 0;
3831 PyObject
* _obj1
= 0;
3832 char *_kwnames
[] = { "self","rect", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_Xor",_kwnames
,&_argo0
,&_obj1
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3846 if (! wxRect_helper(_obj1
, &_arg1
))
3850 wxPy_BEGIN_ALLOW_THREADS
;
3851 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3853 wxPy_END_ALLOW_THREADS
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3859 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3861 wxRegionIterator
* _result
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "region", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3878 wxPy_BEGIN_ALLOW_THREADS
;
3879 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3881 wxPy_END_ALLOW_THREADS
;
3883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3884 _resultobj
= Py_BuildValue("s",_ptemp
);
3887 _resultobj
= Py_None
;
3892 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3893 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3895 wxRegionIterator
* _arg0
;
3896 PyObject
* _argo0
= 0;
3897 char *_kwnames
[] = { "self", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3910 wxPy_BEGIN_ALLOW_THREADS
;
3911 delete_wxRegionIterator(_arg0
);
3913 wxPy_END_ALLOW_THREADS
;
3914 } Py_INCREF(Py_None
);
3915 _resultobj
= Py_None
;
3919 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3920 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3923 wxRegionIterator
* _arg0
;
3924 PyObject
* _argo0
= 0;
3925 char *_kwnames
[] = { "self", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3938 wxPy_BEGIN_ALLOW_THREADS
;
3939 _result
= (long )wxRegionIterator_GetX(_arg0
);
3941 wxPy_END_ALLOW_THREADS
;
3942 } _resultobj
= Py_BuildValue("l",_result
);
3946 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3947 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxRegionIterator
* _arg0
;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 _result
= (long )wxRegionIterator_GetY(_arg0
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } _resultobj
= Py_BuildValue("l",_result
);
3973 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3974 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3977 wxRegionIterator
* _arg0
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 _result
= (long )wxRegionIterator_GetW(_arg0
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } _resultobj
= Py_BuildValue("l",_result
);
4000 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4001 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4004 wxRegionIterator
* _arg0
;
4005 PyObject
* _argo0
= 0;
4006 char *_kwnames
[] = { "self", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4022 wxPy_END_ALLOW_THREADS
;
4023 } _resultobj
= Py_BuildValue("l",_result
);
4027 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4028 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4031 wxRegionIterator
* _arg0
;
4032 PyObject
* _argo0
= 0;
4033 char *_kwnames
[] = { "self", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4046 wxPy_BEGIN_ALLOW_THREADS
;
4047 _result
= (long )wxRegionIterator_GetH(_arg0
);
4049 wxPy_END_ALLOW_THREADS
;
4050 } _resultobj
= Py_BuildValue("l",_result
);
4054 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4055 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4058 wxRegionIterator
* _arg0
;
4059 PyObject
* _argo0
= 0;
4060 char *_kwnames
[] = { "self", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4076 wxPy_END_ALLOW_THREADS
;
4077 } _resultobj
= Py_BuildValue("l",_result
);
4081 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4082 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4085 wxRegionIterator
* _arg0
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4104 wxPy_END_ALLOW_THREADS
;
4105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4106 _resultobj
= Py_BuildValue("s",_ptemp
);
4110 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4111 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4114 wxRegionIterator
* _arg0
;
4115 PyObject
* _argo0
= 0;
4116 char *_kwnames
[] = { "self", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4129 wxPy_BEGIN_ALLOW_THREADS
;
4130 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4132 wxPy_END_ALLOW_THREADS
;
4133 } _resultobj
= Py_BuildValue("i",_result
);
4137 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4138 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4140 wxRegionIterator
* _arg0
;
4141 PyObject
* _argo0
= 0;
4142 char *_kwnames
[] = { "self", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 wxRegionIterator_Reset(_arg0
);
4158 wxPy_END_ALLOW_THREADS
;
4159 } Py_INCREF(Py_None
);
4160 _resultobj
= Py_None
;
4164 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4167 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4169 wxRegionIterator
* _arg0
;
4170 PyObject
* _argo0
= 0;
4171 char *_kwnames
[] = { "self", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4184 wxPy_BEGIN_ALLOW_THREADS
;
4185 wxRegionIterator_Next(_arg0
);
4187 wxPy_END_ALLOW_THREADS
;
4188 } Py_INCREF(Py_None
);
4189 _resultobj
= Py_None
;
4193 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4194 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4196 wxAcceleratorEntry
* _result
;
4197 int _arg0
= (int ) 0;
4198 int _arg1
= (int ) 0;
4199 int _arg2
= (int ) 0;
4200 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4210 wxPy_END_ALLOW_THREADS
;
4212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4213 _resultobj
= Py_BuildValue("s",_ptemp
);
4216 _resultobj
= Py_None
;
4221 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4222 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4224 wxAcceleratorEntry
* _arg0
;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 delete_wxAcceleratorEntry(_arg0
);
4242 wxPy_END_ALLOW_THREADS
;
4243 } Py_INCREF(Py_None
);
4244 _resultobj
= Py_None
;
4248 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4249 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4251 wxAcceleratorEntry
* _arg0
;
4255 PyObject
* _argo0
= 0;
4256 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4269 wxPy_BEGIN_ALLOW_THREADS
;
4270 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4272 wxPy_END_ALLOW_THREADS
;
4273 } Py_INCREF(Py_None
);
4274 _resultobj
= Py_None
;
4278 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4279 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4282 wxAcceleratorEntry
* _arg0
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4300 wxPy_END_ALLOW_THREADS
;
4301 } _resultobj
= Py_BuildValue("i",_result
);
4305 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4306 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4309 wxAcceleratorEntry
* _arg0
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } _resultobj
= Py_BuildValue("i",_result
);
4332 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4333 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 wxAcceleratorEntry
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } _resultobj
= Py_BuildValue("i",_result
);
4359 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4360 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4362 wxAcceleratorTable
* _result
;
4364 wxAcceleratorEntry
* _arg1
;
4365 PyObject
* _obj1
= 0;
4366 char *_kwnames
[] = { "LIST", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4374 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4375 if (_arg1
== NULL
) {
4381 _arg0
= PyList_Size(_obj1
);
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4391 wxPy_END_ALLOW_THREADS
;
4393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4394 _resultobj
= Py_BuildValue("s",_ptemp
);
4397 _resultobj
= Py_None
;
4405 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4406 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
* _resultobj
;
4408 wxAcceleratorTable
* _arg0
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4424 delete_wxAcceleratorTable(_arg0
);
4426 wxPy_END_ALLOW_THREADS
;
4427 } Py_INCREF(Py_None
);
4428 _resultobj
= Py_None
;
4432 static PyMethodDef misccMethods
[] = {
4433 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4434 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4435 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4436 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4437 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4438 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4439 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4440 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4441 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4442 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4443 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4444 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4445 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4446 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4447 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4448 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4449 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4450 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4451 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4452 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4453 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4454 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4455 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4456 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4457 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4458 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4459 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4460 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4461 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4462 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4463 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4464 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4465 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4466 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4467 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4468 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4469 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4470 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4471 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4472 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4473 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4474 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4475 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4476 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4477 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4478 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4479 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4480 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4481 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4482 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4483 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
4484 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
4485 { "wxPyTimer_Interval", (PyCFunction
) _wrap_wxPyTimer_Interval
, METH_VARARGS
| METH_KEYWORDS
},
4486 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4487 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
4488 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4489 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4490 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4491 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4492 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4493 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4494 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4495 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4496 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4497 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4498 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4499 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4500 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4501 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4502 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4503 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4504 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4505 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4506 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4507 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4508 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4509 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4510 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4511 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4512 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4513 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4514 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4515 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4516 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4517 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4518 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4519 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4520 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4521 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4522 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4523 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4524 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4525 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4526 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4527 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4528 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4529 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4530 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4531 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4532 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4533 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4534 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4535 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4536 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4537 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4538 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4539 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4540 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4541 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4542 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4543 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4544 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4545 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4546 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4547 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
4548 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
4549 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
4550 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
4551 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
4552 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
4553 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4554 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
4555 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
4556 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
4557 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
4558 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
4559 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4560 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4561 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
4562 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4563 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4564 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4565 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4566 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4567 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
4568 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4569 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4570 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4571 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4572 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4573 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4574 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4575 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4576 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
4577 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
4578 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
4579 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4580 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
4581 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
4582 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
4583 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
4584 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
4591 * This table is used by the pointer type-checker
4593 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4594 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4595 { "_signed_long","_long",0},
4596 { "_wxPrintQuality","_int",0},
4597 { "_wxPrintQuality","_signed_int",0},
4598 { "_wxPrintQuality","_unsigned_int",0},
4599 { "_wxPrintQuality","_wxWindowID",0},
4600 { "_wxPrintQuality","_uint",0},
4601 { "_wxPrintQuality","_EBool",0},
4602 { "_wxPrintQuality","_size_t",0},
4603 { "_class_wxRegionIterator","_wxRegionIterator",0},
4604 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4605 { "_byte","_unsigned_char",0},
4606 { "_long","_unsigned_long",0},
4607 { "_long","_signed_long",0},
4608 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4609 { "_size_t","_wxPrintQuality",0},
4610 { "_size_t","_unsigned_int",0},
4611 { "_size_t","_int",0},
4612 { "_size_t","_wxWindowID",0},
4613 { "_size_t","_uint",0},
4614 { "_class_wxRealPoint","_wxRealPoint",0},
4615 { "_uint","_wxPrintQuality",0},
4616 { "_uint","_size_t",0},
4617 { "_uint","_unsigned_int",0},
4618 { "_uint","_int",0},
4619 { "_uint","_wxWindowID",0},
4620 { "_wxRect","_class_wxRect",0},
4621 { "_wxPoint","_class_wxPoint",0},
4622 { "_wxPyTimer","_class_wxPyTimer",0},
4623 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4624 { "_EBool","_wxPrintQuality",0},
4625 { "_EBool","_signed_int",0},
4626 { "_EBool","_int",0},
4627 { "_EBool","_wxWindowID",0},
4628 { "_class_wxRegion","_wxRegion",0},
4629 { "_unsigned_long","_long",0},
4630 { "_class_wxRect","_wxRect",0},
4631 { "_class_wxPyTimer","_wxPyTimer",0},
4632 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4633 { "_signed_int","_wxPrintQuality",0},
4634 { "_signed_int","_EBool",0},
4635 { "_signed_int","_wxWindowID",0},
4636 { "_signed_int","_int",0},
4637 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4638 { "_WXTYPE","_short",0},
4639 { "_WXTYPE","_signed_short",0},
4640 { "_WXTYPE","_unsigned_short",0},
4641 { "_unsigned_short","_WXTYPE",0},
4642 { "_unsigned_short","_short",0},
4643 { "_class_wxPoint","_wxPoint",0},
4644 { "_wxRealPoint","_class_wxRealPoint",0},
4645 { "_signed_short","_WXTYPE",0},
4646 { "_signed_short","_short",0},
4647 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4648 { "_unsigned_char","_byte",0},
4649 { "_unsigned_int","_wxPrintQuality",0},
4650 { "_unsigned_int","_size_t",0},
4651 { "_unsigned_int","_uint",0},
4652 { "_unsigned_int","_wxWindowID",0},
4653 { "_unsigned_int","_int",0},
4654 { "_short","_WXTYPE",0},
4655 { "_short","_unsigned_short",0},
4656 { "_short","_signed_short",0},
4657 { "_wxWindowID","_wxPrintQuality",0},
4658 { "_wxWindowID","_size_t",0},
4659 { "_wxWindowID","_EBool",0},
4660 { "_wxWindowID","_uint",0},
4661 { "_wxWindowID","_int",0},
4662 { "_wxWindowID","_signed_int",0},
4663 { "_wxWindowID","_unsigned_int",0},
4664 { "_int","_wxPrintQuality",0},
4665 { "_int","_size_t",0},
4666 { "_int","_EBool",0},
4667 { "_int","_uint",0},
4668 { "_int","_wxWindowID",0},
4669 { "_int","_unsigned_int",0},
4670 { "_int","_signed_int",0},
4671 { "_wxSize","_class_wxSize",0},
4672 { "_wxRegionIterator","_class_wxRegionIterator",0},
4673 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4674 { "_wxRegion","_class_wxRegion",0},
4675 { "_class_wxSize","_wxSize",0},
4678 static PyObject
*SWIG_globals
;
4682 SWIGEXPORT(void) initmiscc() {
4684 SWIG_globals
= SWIG_newvarlink();
4685 m
= Py_InitModule("miscc", misccMethods
);
4686 d
= PyModule_GetDict(m
);
4687 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4688 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4689 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4690 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4691 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4692 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4693 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4694 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4695 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4696 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4697 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4698 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4699 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4700 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4701 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4702 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4703 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4704 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4705 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4706 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4707 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4708 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4709 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
4710 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
4711 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
4712 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
4713 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
4714 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
4715 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
4716 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
4717 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
4718 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
4719 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
4720 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
4721 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
4722 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
4723 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
4724 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
4725 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
4726 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
4727 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
4728 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
4729 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
4730 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
4731 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
4732 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
4733 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
4734 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
4735 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
4736 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
4737 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
4738 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
4739 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
4740 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
4741 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
4742 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
4743 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
4744 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
4745 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
4746 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
4747 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
4748 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
4749 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
4750 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
4751 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
4752 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
4753 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
4754 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
4755 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
4756 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
4757 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
4758 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
4759 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
4760 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
4761 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
4762 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
4763 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
4764 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
4765 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
4766 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
4767 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
4768 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
4769 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
4770 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
4771 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
4772 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
4773 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
4774 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
4775 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
4776 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
4777 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
4778 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
4779 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
4780 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
4781 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
4782 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
4783 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
4784 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
4785 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
4786 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
4787 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
4788 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
4789 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
4790 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
4791 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
4792 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
4793 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
4794 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
4797 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4798 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);