4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmiscc
54 #define SWIG_name "miscc"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
120 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
122 wxGetResource(section
, entry
, &retval
, file
);
127 wxColour
wxSystemSettings_GetSystemColour(int index
) {
128 return wxSystemSettings::GetSystemColour(index
);
131 wxFont
wxSystemSettings_GetSystemFont(int index
) {
132 return wxSystemSettings::GetSystemFont(index
);
135 int wxSystemSettings_GetSystemMetric(int index
) {
136 return wxSystemSettings::GetSystemMetric(index
);
141 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
142 PyObject
* _resultobj
;
145 char * _arg1
= (char *) NULL
;
146 char * _arg2
= (char *) NULL
;
147 char * _arg3
= (char *) NULL
;
148 char * _arg4
= (char *) "*.*";
149 int _arg5
= (int ) 0;
150 wxWindow
* _arg6
= (wxWindow
*) NULL
;
151 int _arg7
= (int ) -1;
152 int _arg8
= (int ) -1;
153 PyObject
* _argo6
= 0;
156 if(!PyArg_ParseTuple(args
,"s|ssssiOii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
159 if (_argo6
== Py_None
) { _arg6
= NULL
; }
160 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
166 wxPy_BEGIN_ALLOW_THREADS
;
167 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
169 wxPy_END_ALLOW_THREADS
;
171 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
179 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
180 PyObject
* _resultobj
;
183 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
184 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
185 wxWindow
* _arg3
= (wxWindow
*) NULL
;
186 int _arg4
= (int ) -1;
187 int _arg5
= (int ) -1;
188 bool _arg6
= (bool ) TRUE
;
189 PyObject
* _obj0
= 0;
190 PyObject
* _obj1
= 0;
191 PyObject
* _obj2
= 0;
192 PyObject
* _argo3
= 0;
193 int tempbool6
= (int) TRUE
;
196 if(!PyArg_ParseTuple(args
,"O|OOOiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
199 if (!PyString_Check(_obj0
)) {
200 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
203 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
207 if (!PyString_Check(_obj1
)) {
208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
211 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
215 if (!PyString_Check(_obj2
)) {
216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
219 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
222 if (_argo3
== Py_None
) { _arg3
= NULL
; }
223 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
228 _arg6
= (bool ) tempbool6
;
230 wxPy_BEGIN_ALLOW_THREADS
;
231 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
233 wxPy_END_ALLOW_THREADS
;
235 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
255 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
256 PyObject
* _resultobj
;
262 wxWindow
* _arg4
= (wxWindow
*) NULL
;
263 int _arg5
= (int ) -1;
264 int _arg6
= (int ) -1;
265 bool _arg7
= (bool ) TRUE
;
266 int _arg8
= (int ) 150;
267 int _arg9
= (int ) 200;
268 PyObject
* _obj0
= 0;
269 PyObject
* _obj1
= 0;
270 PyObject
* _obj3
= 0;
271 PyObject
* _argo4
= 0;
272 int tempbool7
= (int) TRUE
;
275 if(!PyArg_ParseTuple(args
,"OOO|Oiiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
278 if (!PyString_Check(_obj0
)) {
279 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
282 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
285 if (!PyString_Check(_obj1
)) {
286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
289 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
293 _arg3
= wxString_LIST_helper(_obj3
);
299 if (_argo4
== Py_None
) { _arg4
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
305 _arg7
= (bool ) tempbool7
;
308 _arg2
= PyList_Size(_obj3
);
315 wxPy_BEGIN_ALLOW_THREADS
;
316 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
318 wxPy_END_ALLOW_THREADS
;
320 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
339 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
340 PyObject
* _resultobj
;
346 wxWindow
* _arg4
= (wxWindow
*) NULL
;
347 int _arg5
= (int ) -1;
348 int _arg6
= (int ) -1;
349 bool _arg7
= (bool ) TRUE
;
350 int _arg8
= (int ) 150;
351 int _arg9
= (int ) 200;
352 PyObject
* _obj0
= 0;
353 PyObject
* _obj1
= 0;
354 PyObject
* _obj3
= 0;
355 PyObject
* _argo4
= 0;
356 int tempbool7
= (int) TRUE
;
359 if(!PyArg_ParseTuple(args
,"OOO|Oiiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
362 if (!PyString_Check(_obj0
)) {
363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
366 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
369 if (!PyString_Check(_obj1
)) {
370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
373 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
377 _arg3
= wxString_LIST_helper(_obj3
);
383 if (_argo4
== Py_None
) { _arg4
= NULL
; }
384 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
389 _arg7
= (bool ) tempbool7
;
392 _arg2
= PyList_Size(_obj3
);
399 wxPy_BEGIN_ALLOW_THREADS
;
400 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
402 wxPy_END_ALLOW_THREADS
;
403 } _resultobj
= Py_BuildValue("i",_result
);
418 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
419 PyObject
* _resultobj
;
422 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
423 int _arg2
= (int ) wxOK
|wxCENTRE
;
424 wxWindow
* _arg3
= (wxWindow
*) NULL
;
425 int _arg4
= (int ) -1;
426 int _arg5
= (int ) -1;
427 PyObject
* _obj0
= 0;
428 PyObject
* _obj1
= 0;
429 PyObject
* _argo3
= 0;
432 if(!PyArg_ParseTuple(args
,"O|OiOii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
435 if (!PyString_Check(_obj0
)) {
436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
439 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
443 if (!PyString_Check(_obj1
)) {
444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
447 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
450 if (_argo3
== Py_None
) { _arg3
= NULL
; }
451 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
457 wxPy_BEGIN_ALLOW_THREADS
;
458 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
460 wxPy_END_ALLOW_THREADS
;
461 } _resultobj
= Py_BuildValue("i",_result
);
473 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
) {
474 PyObject
* _resultobj
;
480 long _arg4
= (long ) 0;
481 long _arg5
= (long ) 100;
482 wxWindow
* _arg6
= (wxWindow
*) NULL
;
483 wxPoint
* _arg7
= (wxPoint
*) &wxPyDefaultPosition
;
484 PyObject
* _obj0
= 0;
485 PyObject
* _obj1
= 0;
486 PyObject
* _obj2
= 0;
487 PyObject
* _argo6
= 0;
488 PyObject
* _argo7
= 0;
491 if(!PyArg_ParseTuple(args
,"OOOl|llOO:wxGetNumberFromUser",&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_argo7
))
494 if (!PyString_Check(_obj0
)) {
495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
498 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
501 if (!PyString_Check(_obj1
)) {
502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
505 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
508 if (!PyString_Check(_obj2
)) {
509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
512 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
515 if (_argo6
== Py_None
) { _arg6
= NULL
; }
516 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
522 if (_argo7
== Py_None
) { _arg7
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxPoint_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGetNumberFromUser. Expected _wxPoint_p.");
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
532 wxPy_END_ALLOW_THREADS
;
533 } _resultobj
= Py_BuildValue("l",_result
);
549 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
550 PyObject
* _resultobj
;
554 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
557 wxPy_BEGIN_ALLOW_THREADS
;
558 _result
= (bool )wxColourDisplay();
560 wxPy_END_ALLOW_THREADS
;
561 } _resultobj
= Py_BuildValue("i",_result
);
565 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
566 PyObject
* _resultobj
;
570 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (int )wxDisplayDepth();
576 wxPy_END_ALLOW_THREADS
;
577 } _resultobj
= Py_BuildValue("i",_result
);
581 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
582 PyObject
* _resultobj
;
584 PyObject
* _argo0
= 0;
587 if(!PyArg_ParseTuple(args
,"O:wxSetCursor",&_argo0
))
590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
597 wxPy_BEGIN_ALLOW_THREADS
;
600 wxPy_END_ALLOW_THREADS
;
601 } Py_INCREF(Py_None
);
602 _resultobj
= Py_None
;
606 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
) {
607 PyObject
* _resultobj
;
611 if(!PyArg_ParseTuple(args
,":wxNewId"))
614 wxPy_BEGIN_ALLOW_THREADS
;
615 _result
= (long )wxNewId();
617 wxPy_END_ALLOW_THREADS
;
618 } _resultobj
= Py_BuildValue("l",_result
);
622 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
) {
623 PyObject
* _resultobj
;
627 if(!PyArg_ParseTuple(args
,"l:wxRegisterId",&_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
) {
640 PyObject
* _resultobj
;
644 if(!PyArg_ParseTuple(args
,":NewId"))
647 wxPy_BEGIN_ALLOW_THREADS
;
648 _result
= (long )wxNewId();
650 wxPy_END_ALLOW_THREADS
;
651 } _resultobj
= Py_BuildValue("l",_result
);
655 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
656 PyObject
* _resultobj
;
660 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
663 wxPy_BEGIN_ALLOW_THREADS
;
666 wxPy_END_ALLOW_THREADS
;
667 } Py_INCREF(Py_None
);
668 _resultobj
= Py_None
;
672 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
673 PyObject
* _resultobj
;
674 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
675 PyObject
* _argo0
= 0;
678 if(!PyArg_ParseTuple(args
,"|O:wxBeginBusyCursor",&_argo0
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 wxBeginBusyCursor(_arg0
);
691 wxPy_END_ALLOW_THREADS
;
692 } Py_INCREF(Py_None
);
693 _resultobj
= Py_None
;
697 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
698 PyObject
* _resultobj
;
701 if(!PyArg_ParseTuple(args
,":wxBell"))
704 wxPy_BEGIN_ALLOW_THREADS
;
707 wxPy_END_ALLOW_THREADS
;
708 } Py_INCREF(Py_None
);
709 _resultobj
= Py_None
;
713 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
714 PyObject
* _resultobj
;
727 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
730 wxPy_BEGIN_ALLOW_THREADS
;
731 wxDisplaySize(_arg0
,_arg1
);
733 wxPy_END_ALLOW_THREADS
;
734 } Py_INCREF(Py_None
);
735 _resultobj
= Py_None
;
738 o
= PyInt_FromLong((long) (*_arg0
));
739 _resultobj
= t_output_helper(_resultobj
, o
);
743 o
= PyInt_FromLong((long) (*_arg1
));
744 _resultobj
= t_output_helper(_resultobj
, o
);
749 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
750 PyObject
* _resultobj
;
753 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
756 wxPy_BEGIN_ALLOW_THREADS
;
759 wxPy_END_ALLOW_THREADS
;
760 } Py_INCREF(Py_None
);
761 _resultobj
= Py_None
;
765 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
766 PyObject
* _resultobj
;
769 bool _arg1
= (bool ) FALSE
;
770 PyObject
* _obj0
= 0;
771 int tempbool1
= (int) FALSE
;
774 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
777 if (!PyString_Check(_obj0
)) {
778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
781 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
783 _arg1
= (bool ) tempbool1
;
785 wxPy_BEGIN_ALLOW_THREADS
;
786 _result
= (long )wxExecute(*_arg0
,_arg1
);
788 wxPy_END_ALLOW_THREADS
;
789 } _resultobj
= Py_BuildValue("l",_result
);
797 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
798 PyObject
* _resultobj
;
811 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
814 wxPy_BEGIN_ALLOW_THREADS
;
815 wxGetMousePosition(_arg0
,_arg1
);
817 wxPy_END_ALLOW_THREADS
;
818 } Py_INCREF(Py_None
);
819 _resultobj
= Py_None
;
822 o
= PyInt_FromLong((long) (*_arg0
));
823 _resultobj
= t_output_helper(_resultobj
, o
);
827 o
= PyInt_FromLong((long) (*_arg1
));
828 _resultobj
= t_output_helper(_resultobj
, o
);
833 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
834 PyObject
* _resultobj
;
838 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (bool )wxIsBusy();
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("i",_result
);
849 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
850 PyObject
* _resultobj
;
854 if(!PyArg_ParseTuple(args
,":wxNow"))
857 wxPy_BEGIN_ALLOW_THREADS
;
858 _result
= new wxString (wxNow());
860 wxPy_END_ALLOW_THREADS
;
862 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
870 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
) {
871 PyObject
* _resultobj
;
875 if(!PyArg_ParseTuple(args
,"i:wxSleep",&_arg0
))
878 wxPy_BEGIN_ALLOW_THREADS
;
881 wxPy_END_ALLOW_THREADS
;
882 } Py_INCREF(Py_None
);
883 _resultobj
= Py_None
;
887 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
888 PyObject
* _resultobj
;
892 if(!PyArg_ParseTuple(args
,":wxYield"))
895 wxPy_BEGIN_ALLOW_THREADS
;
896 _result
= (bool )wxYield();
898 wxPy_END_ALLOW_THREADS
;
899 } _resultobj
= Py_BuildValue("i",_result
);
903 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
) {
904 PyObject
* _resultobj
;
908 if(!PyArg_ParseTuple(args
,":wxSafeYield"))
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (bool )wxSafeYield();
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("i",_result
);
919 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
) {
920 PyObject
* _resultobj
;
925 if(!PyArg_ParseTuple(args
,"i:wxEnableTopLevelWindows",&tempbool0
))
927 _arg0
= (bool ) tempbool0
;
929 wxPy_BEGIN_ALLOW_THREADS
;
930 wxEnableTopLevelWindows(_arg0
);
932 wxPy_END_ALLOW_THREADS
;
933 } Py_INCREF(Py_None
);
934 _resultobj
= Py_None
;
938 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
939 PyObject
* _resultobj
;
943 char * _arg2
= (char *) NULL
;
946 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
949 wxPy_BEGIN_ALLOW_THREADS
;
950 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
952 wxPy_END_ALLOW_THREADS
;
953 } _resultobj
= Py_BuildValue("s", _result
);
957 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
958 PyObject
* _resultobj
;
964 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
967 wxPy_BEGIN_ALLOW_THREADS
;
968 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
970 wxPy_END_ALLOW_THREADS
;
971 } _resultobj
= Py_BuildValue("i",_result
);
975 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
976 PyObject
* _resultobj
;
979 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
982 wxPy_BEGIN_ALLOW_THREADS
;
985 wxPy_END_ALLOW_THREADS
;
986 } Py_INCREF(Py_None
);
987 _resultobj
= Py_None
;
991 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
992 PyObject
* _resultobj
;
998 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1004 wxPy_END_ALLOW_THREADS
;
1005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1006 _resultobj
= Py_BuildValue("s",_ptemp
);
1010 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
1011 PyObject
* _resultobj
;
1017 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1023 wxPy_END_ALLOW_THREADS
;
1024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1025 _resultobj
= Py_BuildValue("s",_ptemp
);
1029 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
1030 PyObject
* _resultobj
;
1031 wxMenuBar
* _result
;
1036 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
1039 wxPy_BEGIN_ALLOW_THREADS
;
1040 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1042 wxPy_END_ALLOW_THREADS
;
1044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1045 _resultobj
= Py_BuildValue("s",_ptemp
);
1048 _resultobj
= Py_None
;
1053 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
1054 PyObject
* _resultobj
;
1059 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 _result
= (int )wxResourceGetIdentifier(_arg0
);
1065 wxPy_END_ALLOW_THREADS
;
1066 } _resultobj
= Py_BuildValue("i",_result
);
1070 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
1071 PyObject
* _resultobj
;
1074 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1075 PyObject
* _argo1
= 0;
1078 if(!PyArg_ParseTuple(args
,"s|O:wxResourceParseData",&_arg0
,&_argo1
))
1081 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1082 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1088 wxPy_BEGIN_ALLOW_THREADS
;
1089 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1091 wxPy_END_ALLOW_THREADS
;
1092 } _resultobj
= Py_BuildValue("i",_result
);
1096 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
1097 PyObject
* _resultobj
;
1100 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1101 PyObject
* _argo1
= 0;
1104 if(!PyArg_ParseTuple(args
,"s|O:wxResourceParseFile",&_arg0
,&_argo1
))
1107 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1114 wxPy_BEGIN_ALLOW_THREADS
;
1115 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1117 wxPy_END_ALLOW_THREADS
;
1118 } _resultobj
= Py_BuildValue("i",_result
);
1122 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
1123 PyObject
* _resultobj
;
1126 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1127 PyObject
* _argo1
= 0;
1130 if(!PyArg_ParseTuple(args
,"s|O:wxResourceParseString",&_arg0
,&_argo1
))
1133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } _resultobj
= Py_BuildValue("i",_result
);
1148 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
) {
1149 PyObject
* _resultobj
;
1155 if(!PyArg_ParseTuple(args
,"i:wxSystemSettings_GetSystemColour",&_arg0
))
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1161 wxPy_END_ALLOW_THREADS
;
1162 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1163 _resultobj
= Py_BuildValue("s",_ptemp
);
1167 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
) {
1168 PyObject
* _resultobj
;
1174 if(!PyArg_ParseTuple(args
,"i:wxSystemSettings_GetSystemFont",&_arg0
))
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1180 wxPy_END_ALLOW_THREADS
;
1181 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1182 _resultobj
= Py_BuildValue("s",_ptemp
);
1186 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
) {
1187 PyObject
* _resultobj
;
1192 if(!PyArg_ParseTuple(args
,"i:wxSystemSettings_GetSystemMetric",&_arg0
))
1195 wxPy_BEGIN_ALLOW_THREADS
;
1196 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1198 wxPy_END_ALLOW_THREADS
;
1199 } _resultobj
= Py_BuildValue("i",_result
);
1203 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1204 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
) {
1205 PyObject
* _resultobj
;
1209 PyObject
* _argo0
= 0;
1212 if(!PyArg_ParseTuple(args
,"Ol:wxSize_x_set",&_argo0
,&_arg1
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1222 wxPy_BEGIN_ALLOW_THREADS
;
1223 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1225 wxPy_END_ALLOW_THREADS
;
1226 } _resultobj
= Py_BuildValue("l",_result
);
1230 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1231 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
) {
1232 PyObject
* _resultobj
;
1235 PyObject
* _argo0
= 0;
1238 if(!PyArg_ParseTuple(args
,"O:wxSize_x_get",&_argo0
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (long )wxSize_x_get(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1252 } _resultobj
= Py_BuildValue("l",_result
);
1256 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1257 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
) {
1258 PyObject
* _resultobj
;
1262 PyObject
* _argo0
= 0;
1265 if(!PyArg_ParseTuple(args
,"Ol:wxSize_y_set",&_argo0
,&_arg1
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1278 wxPy_END_ALLOW_THREADS
;
1279 } _resultobj
= Py_BuildValue("l",_result
);
1283 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1284 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
) {
1285 PyObject
* _resultobj
;
1288 PyObject
* _argo0
= 0;
1291 if(!PyArg_ParseTuple(args
,"O:wxSize_y_get",&_argo0
))
1294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1301 wxPy_BEGIN_ALLOW_THREADS
;
1302 _result
= (long )wxSize_y_get(_arg0
);
1304 wxPy_END_ALLOW_THREADS
;
1305 } _resultobj
= Py_BuildValue("l",_result
);
1309 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1310 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1311 PyObject
* _resultobj
;
1313 long _arg0
= (long ) 0;
1314 long _arg1
= (long ) 0;
1318 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1327 _resultobj
= Py_BuildValue("s",_ptemp
);
1330 _resultobj
= Py_None
;
1335 #define delete_wxSize(_swigobj) (delete _swigobj)
1336 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1337 PyObject
* _resultobj
;
1339 PyObject
* _argo0
= 0;
1342 if(!PyArg_ParseTuple(args
,"O:delete_wxSize",&_argo0
))
1345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 delete_wxSize(_arg0
);
1355 wxPy_END_ALLOW_THREADS
;
1356 } Py_INCREF(Py_None
);
1357 _resultobj
= Py_None
;
1361 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1362 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1363 PyObject
* _resultobj
;
1367 PyObject
* _argo0
= 0;
1370 if(!PyArg_ParseTuple(args
,"Oll:wxSize_Set",&_argo0
,&_arg1
,&_arg2
))
1373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1380 wxPy_BEGIN_ALLOW_THREADS
;
1381 wxSize_Set(_arg0
,_arg1
,_arg2
);
1383 wxPy_END_ALLOW_THREADS
;
1384 } Py_INCREF(Py_None
);
1385 _resultobj
= Py_None
;
1389 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1390 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
) {
1391 PyObject
* _resultobj
;
1394 PyObject
* _argo0
= 0;
1397 if(!PyArg_ParseTuple(args
,"O:wxSize_GetX",&_argo0
))
1400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 _result
= (long )wxSize_GetX(_arg0
);
1410 wxPy_END_ALLOW_THREADS
;
1411 } _resultobj
= Py_BuildValue("l",_result
);
1415 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1416 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
) {
1417 PyObject
* _resultobj
;
1420 PyObject
* _argo0
= 0;
1423 if(!PyArg_ParseTuple(args
,"O:wxSize_GetY",&_argo0
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (long )wxSize_GetY(_arg0
);
1436 wxPy_END_ALLOW_THREADS
;
1437 } _resultobj
= Py_BuildValue("l",_result
);
1441 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1442 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
) {
1443 PyObject
* _resultobj
;
1446 PyObject
* _argo0
= 0;
1449 if(!PyArg_ParseTuple(args
,"O:wxSize_GetWidth",&_argo0
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p.");
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= (long )wxSize_GetWidth(_arg0
);
1462 wxPy_END_ALLOW_THREADS
;
1463 } _resultobj
= Py_BuildValue("l",_result
);
1467 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1468 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
) {
1469 PyObject
* _resultobj
;
1472 PyObject
* _argo0
= 0;
1475 if(!PyArg_ParseTuple(args
,"O:wxSize_GetHeight",&_argo0
))
1478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p.");
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= (long )wxSize_GetHeight(_arg0
);
1488 wxPy_END_ALLOW_THREADS
;
1489 } _resultobj
= Py_BuildValue("l",_result
);
1493 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1494 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
) {
1495 PyObject
* _resultobj
;
1498 PyObject
* _argo0
= 0;
1501 if(!PyArg_ParseTuple(args
,"Ol:wxSize_SetWidth",&_argo0
,&_arg1
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p.");
1511 wxPy_BEGIN_ALLOW_THREADS
;
1512 wxSize_SetWidth(_arg0
,_arg1
);
1514 wxPy_END_ALLOW_THREADS
;
1515 } Py_INCREF(Py_None
);
1516 _resultobj
= Py_None
;
1520 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1521 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
) {
1522 PyObject
* _resultobj
;
1525 PyObject
* _argo0
= 0;
1528 if(!PyArg_ParseTuple(args
,"Ol:wxSize_SetHeight",&_argo0
,&_arg1
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxSize_SetHeight(_arg0
,_arg1
);
1541 wxPy_END_ALLOW_THREADS
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1548 PyObject
* tup
= PyTuple_New(2);
1549 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1550 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1553 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
) {
1554 PyObject
* _resultobj
;
1557 PyObject
* _argo0
= 0;
1560 if(!PyArg_ParseTuple(args
,"O:wxSize_asTuple",&_argo0
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSize_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1573 wxPy_END_ALLOW_THREADS
;
1575 _resultobj
= _result
;
1580 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1581 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1582 PyObject
* _resultobj
;
1584 wxRealPoint
* _arg0
;
1586 PyObject
* _argo0
= 0;
1589 if(!PyArg_ParseTuple(args
,"Od:wxRealPoint_x_set",&_argo0
,&_arg1
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } _resultobj
= Py_BuildValue("d",_result
);
1607 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1608 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1609 PyObject
* _resultobj
;
1611 wxRealPoint
* _arg0
;
1612 PyObject
* _argo0
= 0;
1615 if(!PyArg_ParseTuple(args
,"O:wxRealPoint_x_get",&_argo0
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1625 wxPy_BEGIN_ALLOW_THREADS
;
1626 _result
= (double )wxRealPoint_x_get(_arg0
);
1628 wxPy_END_ALLOW_THREADS
;
1629 } _resultobj
= Py_BuildValue("d",_result
);
1633 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1634 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1635 PyObject
* _resultobj
;
1637 wxRealPoint
* _arg0
;
1639 PyObject
* _argo0
= 0;
1642 if(!PyArg_ParseTuple(args
,"Od:wxRealPoint_y_set",&_argo0
,&_arg1
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } _resultobj
= Py_BuildValue("d",_result
);
1660 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1661 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1662 PyObject
* _resultobj
;
1664 wxRealPoint
* _arg0
;
1665 PyObject
* _argo0
= 0;
1668 if(!PyArg_ParseTuple(args
,"O:wxRealPoint_y_get",&_argo0
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 _result
= (double )wxRealPoint_y_get(_arg0
);
1681 wxPy_END_ALLOW_THREADS
;
1682 } _resultobj
= Py_BuildValue("d",_result
);
1686 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1687 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1688 PyObject
* _resultobj
;
1689 wxRealPoint
* _result
;
1690 double _arg0
= (double ) 0.0;
1691 double _arg1
= (double ) 0.0;
1695 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1701 wxPy_END_ALLOW_THREADS
;
1703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1704 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 _resultobj
= Py_None
;
1712 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1713 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1714 PyObject
* _resultobj
;
1715 wxRealPoint
* _arg0
;
1716 PyObject
* _argo0
= 0;
1719 if(!PyArg_ParseTuple(args
,"O:delete_wxRealPoint",&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 delete_wxRealPoint(_arg0
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1738 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1739 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1740 PyObject
* _resultobj
;
1744 PyObject
* _argo0
= 0;
1747 if(!PyArg_ParseTuple(args
,"Ol:wxPoint_x_set",&_argo0
,&_arg1
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } _resultobj
= Py_BuildValue("l",_result
);
1765 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1766 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1767 PyObject
* _resultobj
;
1770 PyObject
* _argo0
= 0;
1773 if(!PyArg_ParseTuple(args
,"O:wxPoint_x_get",&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 _result
= (long )wxPoint_x_get(_arg0
);
1786 wxPy_END_ALLOW_THREADS
;
1787 } _resultobj
= Py_BuildValue("l",_result
);
1791 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1792 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1793 PyObject
* _resultobj
;
1797 PyObject
* _argo0
= 0;
1800 if(!PyArg_ParseTuple(args
,"Ol:wxPoint_y_set",&_argo0
,&_arg1
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1813 wxPy_END_ALLOW_THREADS
;
1814 } _resultobj
= Py_BuildValue("l",_result
);
1818 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1819 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1820 PyObject
* _resultobj
;
1823 PyObject
* _argo0
= 0;
1826 if(!PyArg_ParseTuple(args
,"O:wxPoint_y_get",&_argo0
))
1829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1836 wxPy_BEGIN_ALLOW_THREADS
;
1837 _result
= (long )wxPoint_y_get(_arg0
);
1839 wxPy_END_ALLOW_THREADS
;
1840 } _resultobj
= Py_BuildValue("l",_result
);
1844 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1845 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1846 PyObject
* _resultobj
;
1848 long _arg0
= (long ) 0;
1849 long _arg1
= (long ) 0;
1853 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1859 wxPy_END_ALLOW_THREADS
;
1861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1862 _resultobj
= Py_BuildValue("s",_ptemp
);
1865 _resultobj
= Py_None
;
1870 #define delete_wxPoint(_swigobj) (delete _swigobj)
1871 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1872 PyObject
* _resultobj
;
1874 PyObject
* _argo0
= 0;
1877 if(!PyArg_ParseTuple(args
,"O:delete_wxPoint",&_argo0
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 delete_wxPoint(_arg0
);
1890 wxPy_END_ALLOW_THREADS
;
1891 } Py_INCREF(Py_None
);
1892 _resultobj
= Py_None
;
1896 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1900 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1901 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1908 if(!PyArg_ParseTuple(args
,"Oll:wxPoint_Set",&_argo0
,&_arg1
,&_arg2
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1921 wxPy_END_ALLOW_THREADS
;
1922 } Py_INCREF(Py_None
);
1923 _resultobj
= Py_None
;
1927 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1928 PyObject
* tup
= PyTuple_New(2);
1929 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1930 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1933 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
) {
1934 PyObject
* _resultobj
;
1937 PyObject
* _argo0
= 0;
1940 if(!PyArg_ParseTuple(args
,"O:wxPoint_asTuple",&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPoint_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1955 _resultobj
= _result
;
1960 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1961 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1962 PyObject
* _resultobj
;
1964 long _arg0
= (long ) 0;
1965 long _arg1
= (long ) 0;
1966 long _arg2
= (long ) 0;
1967 long _arg3
= (long ) 0;
1971 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1977 wxPy_END_ALLOW_THREADS
;
1979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1980 _resultobj
= Py_BuildValue("s",_ptemp
);
1983 _resultobj
= Py_None
;
1988 #define delete_wxRect(_swigobj) (delete _swigobj)
1989 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1990 PyObject
* _resultobj
;
1992 PyObject
* _argo0
= 0;
1995 if(!PyArg_ParseTuple(args
,"O:delete_wxRect",&_argo0
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 delete_wxRect(_arg0
);
2008 wxPy_END_ALLOW_THREADS
;
2009 } Py_INCREF(Py_None
);
2010 _resultobj
= Py_None
;
2014 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2015 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
2016 PyObject
* _resultobj
;
2019 PyObject
* _argo0
= 0;
2022 if(!PyArg_ParseTuple(args
,"O:wxRect_GetX",&_argo0
))
2025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
2032 wxPy_BEGIN_ALLOW_THREADS
;
2033 _result
= (long )wxRect_GetX(_arg0
);
2035 wxPy_END_ALLOW_THREADS
;
2036 } _resultobj
= Py_BuildValue("l",_result
);
2040 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2041 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
2042 PyObject
* _resultobj
;
2045 PyObject
* _argo0
= 0;
2048 if(!PyArg_ParseTuple(args
,"Ol:wxRect_SetX",&_argo0
,&_arg1
))
2051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
2058 wxPy_BEGIN_ALLOW_THREADS
;
2059 wxRect_SetX(_arg0
,_arg1
);
2061 wxPy_END_ALLOW_THREADS
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2067 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2068 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
2069 PyObject
* _resultobj
;
2072 PyObject
* _argo0
= 0;
2075 if(!PyArg_ParseTuple(args
,"O:wxRect_GetY",&_argo0
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
2085 wxPy_BEGIN_ALLOW_THREADS
;
2086 _result
= (long )wxRect_GetY(_arg0
);
2088 wxPy_END_ALLOW_THREADS
;
2089 } _resultobj
= Py_BuildValue("l",_result
);
2093 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2094 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
2095 PyObject
* _resultobj
;
2098 PyObject
* _argo0
= 0;
2101 if(!PyArg_ParseTuple(args
,"Ol:wxRect_SetY",&_argo0
,&_arg1
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxRect_SetY(_arg0
,_arg1
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2121 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2128 if(!PyArg_ParseTuple(args
,"O:wxRect_GetWidth",&_argo0
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
2138 wxPy_BEGIN_ALLOW_THREADS
;
2139 _result
= (long )wxRect_GetWidth(_arg0
);
2141 wxPy_END_ALLOW_THREADS
;
2142 } _resultobj
= Py_BuildValue("l",_result
);
2146 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2147 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
2148 PyObject
* _resultobj
;
2151 PyObject
* _argo0
= 0;
2154 if(!PyArg_ParseTuple(args
,"Ol:wxRect_SetWidth",&_argo0
,&_arg1
))
2157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
2164 wxPy_BEGIN_ALLOW_THREADS
;
2165 wxRect_SetWidth(_arg0
,_arg1
);
2167 wxPy_END_ALLOW_THREADS
;
2168 } Py_INCREF(Py_None
);
2169 _resultobj
= Py_None
;
2173 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2174 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
2175 PyObject
* _resultobj
;
2178 PyObject
* _argo0
= 0;
2181 if(!PyArg_ParseTuple(args
,"O:wxRect_GetHeight",&_argo0
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
2191 wxPy_BEGIN_ALLOW_THREADS
;
2192 _result
= (long )wxRect_GetHeight(_arg0
);
2194 wxPy_END_ALLOW_THREADS
;
2195 } _resultobj
= Py_BuildValue("l",_result
);
2199 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2200 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
2201 PyObject
* _resultobj
;
2204 PyObject
* _argo0
= 0;
2207 if(!PyArg_ParseTuple(args
,"Ol:wxRect_SetHeight",&_argo0
,&_arg1
))
2210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 wxRect_SetHeight(_arg0
,_arg1
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } Py_INCREF(Py_None
);
2222 _resultobj
= Py_None
;
2226 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2227 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
2228 PyObject
* _resultobj
;
2231 PyObject
* _argo0
= 0;
2235 if(!PyArg_ParseTuple(args
,"O:wxRect_GetPosition",&_argo0
))
2238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
2245 wxPy_BEGIN_ALLOW_THREADS
;
2246 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2248 wxPy_END_ALLOW_THREADS
;
2249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2250 _resultobj
= Py_BuildValue("s",_ptemp
);
2254 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2255 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
2256 PyObject
* _resultobj
;
2259 PyObject
* _argo0
= 0;
2263 if(!PyArg_ParseTuple(args
,"O:wxRect_GetSize",&_argo0
))
2266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 _result
= new wxSize (wxRect_GetSize(_arg0
));
2276 wxPy_END_ALLOW_THREADS
;
2277 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2278 _resultobj
= Py_BuildValue("s",_ptemp
);
2282 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2283 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2290 if(!PyArg_ParseTuple(args
,"O:wxRect_GetLeft",&_argo0
))
2293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
2300 wxPy_BEGIN_ALLOW_THREADS
;
2301 _result
= (long )wxRect_GetLeft(_arg0
);
2303 wxPy_END_ALLOW_THREADS
;
2304 } _resultobj
= Py_BuildValue("l",_result
);
2308 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2309 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
2310 PyObject
* _resultobj
;
2313 PyObject
* _argo0
= 0;
2316 if(!PyArg_ParseTuple(args
,"O:wxRect_GetTop",&_argo0
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
2326 wxPy_BEGIN_ALLOW_THREADS
;
2327 _result
= (long )wxRect_GetTop(_arg0
);
2329 wxPy_END_ALLOW_THREADS
;
2330 } _resultobj
= Py_BuildValue("l",_result
);
2334 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2335 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
2336 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2342 if(!PyArg_ParseTuple(args
,"O:wxRect_GetBottom",&_argo0
))
2345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
2352 wxPy_BEGIN_ALLOW_THREADS
;
2353 _result
= (long )wxRect_GetBottom(_arg0
);
2355 wxPy_END_ALLOW_THREADS
;
2356 } _resultobj
= Py_BuildValue("l",_result
);
2360 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2361 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
2362 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2368 if(!PyArg_ParseTuple(args
,"O:wxRect_GetRight",&_argo0
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
2378 wxPy_BEGIN_ALLOW_THREADS
;
2379 _result
= (long )wxRect_GetRight(_arg0
);
2381 wxPy_END_ALLOW_THREADS
;
2382 } _resultobj
= Py_BuildValue("l",_result
);
2386 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2387 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
2388 PyObject
* _resultobj
;
2392 PyObject
* _argo0
= 0;
2395 if(!PyArg_ParseTuple(args
,"Ol:wxRect_x_set",&_argo0
,&_arg1
))
2398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } _resultobj
= Py_BuildValue("l",_result
);
2413 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
2414 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
2415 PyObject
* _resultobj
;
2418 PyObject
* _argo0
= 0;
2421 if(!PyArg_ParseTuple(args
,"O:wxRect_x_get",&_argo0
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
2431 wxPy_BEGIN_ALLOW_THREADS
;
2432 _result
= (long )wxRect_x_get(_arg0
);
2434 wxPy_END_ALLOW_THREADS
;
2435 } _resultobj
= Py_BuildValue("l",_result
);
2439 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2440 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
2441 PyObject
* _resultobj
;
2445 PyObject
* _argo0
= 0;
2448 if(!PyArg_ParseTuple(args
,"Ol:wxRect_y_set",&_argo0
,&_arg1
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } _resultobj
= Py_BuildValue("l",_result
);
2466 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
2467 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
2468 PyObject
* _resultobj
;
2471 PyObject
* _argo0
= 0;
2474 if(!PyArg_ParseTuple(args
,"O:wxRect_y_get",&_argo0
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
2484 wxPy_BEGIN_ALLOW_THREADS
;
2485 _result
= (long )wxRect_y_get(_arg0
);
2487 wxPy_END_ALLOW_THREADS
;
2488 } _resultobj
= Py_BuildValue("l",_result
);
2492 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2493 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
2494 PyObject
* _resultobj
;
2498 PyObject
* _argo0
= 0;
2501 if(!PyArg_ParseTuple(args
,"Ol:wxRect_width_set",&_argo0
,&_arg1
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2511 wxPy_BEGIN_ALLOW_THREADS
;
2512 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2514 wxPy_END_ALLOW_THREADS
;
2515 } _resultobj
= Py_BuildValue("l",_result
);
2519 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2520 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
2521 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2527 if(!PyArg_ParseTuple(args
,"O:wxRect_width_get",&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 _result
= (long )wxRect_width_get(_arg0
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } _resultobj
= Py_BuildValue("l",_result
);
2545 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2546 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2554 if(!PyArg_ParseTuple(args
,"Ol:wxRect_height_set",&_argo0
,&_arg1
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2567 wxPy_END_ALLOW_THREADS
;
2568 } _resultobj
= Py_BuildValue("l",_result
);
2572 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2573 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2574 PyObject
* _resultobj
;
2577 PyObject
* _argo0
= 0;
2580 if(!PyArg_ParseTuple(args
,"O:wxRect_height_get",&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 _result
= (long )wxRect_height_get(_arg0
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } _resultobj
= Py_BuildValue("l",_result
);
2598 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2599 PyObject
* tup
= PyTuple_New(4);
2600 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2601 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2602 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2603 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2606 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
) {
2607 PyObject
* _resultobj
;
2610 PyObject
* _argo0
= 0;
2613 if(!PyArg_ParseTuple(args
,"O:wxRect_asTuple",&_argo0
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRect_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2626 wxPy_END_ALLOW_THREADS
;
2628 _resultobj
= _result
;
2633 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2634 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2635 PyObject
* _resultobj
;
2636 wxPyTimer
* _result
;
2638 PyObject
* _obj0
= 0;
2642 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2651 wxPy_END_ALLOW_THREADS
;
2653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2654 _resultobj
= Py_BuildValue("s",_ptemp
);
2657 _resultobj
= Py_None
;
2662 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2663 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2664 PyObject
* _resultobj
;
2666 PyObject
* _argo0
= 0;
2669 if(!PyArg_ParseTuple(args
,"O:delete_wxPyTimer",&_argo0
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 delete_wxPyTimer(_arg0
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } Py_INCREF(Py_None
);
2684 _resultobj
= Py_None
;
2688 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2689 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2696 if(!PyArg_ParseTuple(args
,"O:wxPyTimer_Interval",&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 _result
= (int )wxPyTimer_Interval(_arg0
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2715 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2716 PyObject
* _resultobj
;
2718 int _arg1
= (int ) -1;
2719 int _arg2
= (int ) FALSE
;
2720 PyObject
* _argo0
= 0;
2723 if(!PyArg_ParseTuple(args
,"O|ii:wxPyTimer_Start",&_argo0
,&_arg1
,&_arg2
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2736 wxPy_END_ALLOW_THREADS
;
2737 } Py_INCREF(Py_None
);
2738 _resultobj
= Py_None
;
2742 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2743 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2744 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2749 if(!PyArg_ParseTuple(args
,"O:wxPyTimer_Stop",&_argo0
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 wxPyTimer_Stop(_arg0
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2769 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2770 PyObject
* _resultobj
;
2771 wxIndividualLayoutConstraint
* _arg0
;
2773 int _arg2
= (int ) 0;
2774 PyObject
* _argo0
= 0;
2775 PyObject
* _argo1
= 0;
2778 if(!PyArg_ParseTuple(args
,"OO|i:wxIndividualLayoutConstraint_Above",&_argo0
,&_argo1
,&_arg2
))
2781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2795 wxPy_BEGIN_ALLOW_THREADS
;
2796 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2798 wxPy_END_ALLOW_THREADS
;
2799 } Py_INCREF(Py_None
);
2800 _resultobj
= Py_None
;
2804 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2805 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2806 PyObject
* _resultobj
;
2807 wxIndividualLayoutConstraint
* _arg0
;
2809 PyObject
* _argo0
= 0;
2812 if(!PyArg_ParseTuple(args
,"Oi:wxIndividualLayoutConstraint_Absolute",&_argo0
,&_arg1
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2822 wxPy_BEGIN_ALLOW_THREADS
;
2823 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2825 wxPy_END_ALLOW_THREADS
;
2826 } Py_INCREF(Py_None
);
2827 _resultobj
= Py_None
;
2831 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2832 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2833 PyObject
* _resultobj
;
2834 wxIndividualLayoutConstraint
* _arg0
;
2835 PyObject
* _argo0
= 0;
2838 if(!PyArg_ParseTuple(args
,"O:wxIndividualLayoutConstraint_AsIs",&_argo0
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2848 wxPy_BEGIN_ALLOW_THREADS
;
2849 wxIndividualLayoutConstraint_AsIs(_arg0
);
2851 wxPy_END_ALLOW_THREADS
;
2852 } Py_INCREF(Py_None
);
2853 _resultobj
= Py_None
;
2857 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2858 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2859 PyObject
* _resultobj
;
2860 wxIndividualLayoutConstraint
* _arg0
;
2862 int _arg2
= (int ) 0;
2863 PyObject
* _argo0
= 0;
2864 PyObject
* _argo1
= 0;
2867 if(!PyArg_ParseTuple(args
,"OO|i:wxIndividualLayoutConstraint_Below",&_argo0
,&_argo1
,&_arg2
))
2870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2884 wxPy_BEGIN_ALLOW_THREADS
;
2885 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2887 wxPy_END_ALLOW_THREADS
;
2888 } Py_INCREF(Py_None
);
2889 _resultobj
= Py_None
;
2893 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2894 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2895 PyObject
* _resultobj
;
2896 wxIndividualLayoutConstraint
* _arg0
;
2897 PyObject
* _argo0
= 0;
2900 if(!PyArg_ParseTuple(args
,"O:wxIndividualLayoutConstraint_Unconstrained",&_argo0
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2910 wxPy_BEGIN_ALLOW_THREADS
;
2911 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2913 wxPy_END_ALLOW_THREADS
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2920 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2921 PyObject
* _resultobj
;
2922 wxIndividualLayoutConstraint
* _arg0
;
2924 int _arg2
= (int ) 0;
2925 PyObject
* _argo0
= 0;
2926 PyObject
* _argo1
= 0;
2929 if(!PyArg_ParseTuple(args
,"OO|i:wxIndividualLayoutConstraint_LeftOf",&_argo0
,&_argo1
,&_arg2
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2946 wxPy_BEGIN_ALLOW_THREADS
;
2947 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2949 wxPy_END_ALLOW_THREADS
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2956 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2957 PyObject
* _resultobj
;
2958 wxIndividualLayoutConstraint
* _arg0
;
2962 PyObject
* _argo0
= 0;
2963 PyObject
* _argo1
= 0;
2966 if(!PyArg_ParseTuple(args
,"OOii:wxIndividualLayoutConstraint_PercentOf",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2983 wxPy_BEGIN_ALLOW_THREADS
;
2984 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2986 wxPy_END_ALLOW_THREADS
;
2987 } Py_INCREF(Py_None
);
2988 _resultobj
= Py_None
;
2992 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2993 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2994 PyObject
* _resultobj
;
2995 wxIndividualLayoutConstraint
* _arg0
;
2997 int _arg2
= (int ) 0;
2998 PyObject
* _argo0
= 0;
2999 PyObject
* _argo1
= 0;
3002 if(!PyArg_ParseTuple(args
,"OO|i:wxIndividualLayoutConstraint_RightOf",&_argo0
,&_argo1
,&_arg2
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3022 wxPy_END_ALLOW_THREADS
;
3023 } Py_INCREF(Py_None
);
3024 _resultobj
= Py_None
;
3028 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3029 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
3030 PyObject
* _resultobj
;
3031 wxIndividualLayoutConstraint
* _arg0
;
3034 int _arg3
= (int ) 0;
3035 PyObject
* _argo0
= 0;
3036 PyObject
* _argo1
= 0;
3039 if(!PyArg_ParseTuple(args
,"OOi|i:wxIndividualLayoutConstraint_SameAs",&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3056 wxPy_BEGIN_ALLOW_THREADS
;
3057 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3059 wxPy_END_ALLOW_THREADS
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3066 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
3067 PyObject
* _resultobj
;
3068 wxIndividualLayoutConstraint
* _arg0
;
3069 wxRelationship _arg1
;
3072 int _arg4
= (int ) 0;
3073 int _arg5
= (int ) 0;
3074 PyObject
* _argo0
= 0;
3075 PyObject
* _argo2
= 0;
3078 if(!PyArg_ParseTuple(args
,"OiOi|ii:wxIndividualLayoutConstraint_Set",&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3088 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3098 wxPy_END_ALLOW_THREADS
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3105 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
3106 PyObject
* _resultobj
;
3107 wxLayoutConstraints
* _result
;
3111 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
3114 wxPy_BEGIN_ALLOW_THREADS
;
3115 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3117 wxPy_END_ALLOW_THREADS
;
3119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3120 _resultobj
= Py_BuildValue("s",_ptemp
);
3123 _resultobj
= Py_None
;
3128 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3129 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
3130 PyObject
* _resultobj
;
3131 wxIndividualLayoutConstraint
* _result
;
3132 wxLayoutConstraints
* _arg0
;
3133 PyObject
* _argo0
= 0;
3137 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_bottom_get",&_argo0
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3147 wxPy_BEGIN_ALLOW_THREADS
;
3148 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3150 wxPy_END_ALLOW_THREADS
;
3152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3153 _resultobj
= Py_BuildValue("s",_ptemp
);
3156 _resultobj
= Py_None
;
3161 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3162 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3164 wxIndividualLayoutConstraint
* _result
;
3165 wxLayoutConstraints
* _arg0
;
3166 PyObject
* _argo0
= 0;
3170 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_centreX_get",&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3183 wxPy_END_ALLOW_THREADS
;
3185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3186 _resultobj
= Py_BuildValue("s",_ptemp
);
3189 _resultobj
= Py_None
;
3194 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3195 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
3196 PyObject
* _resultobj
;
3197 wxIndividualLayoutConstraint
* _result
;
3198 wxLayoutConstraints
* _arg0
;
3199 PyObject
* _argo0
= 0;
3203 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_centreY_get",&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3216 wxPy_END_ALLOW_THREADS
;
3218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3219 _resultobj
= Py_BuildValue("s",_ptemp
);
3222 _resultobj
= Py_None
;
3227 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3228 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
3229 PyObject
* _resultobj
;
3230 wxIndividualLayoutConstraint
* _result
;
3231 wxLayoutConstraints
* _arg0
;
3232 PyObject
* _argo0
= 0;
3236 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_height_get",&_argo0
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3246 wxPy_BEGIN_ALLOW_THREADS
;
3247 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3249 wxPy_END_ALLOW_THREADS
;
3251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3252 _resultobj
= Py_BuildValue("s",_ptemp
);
3255 _resultobj
= Py_None
;
3260 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3261 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
3262 PyObject
* _resultobj
;
3263 wxIndividualLayoutConstraint
* _result
;
3264 wxLayoutConstraints
* _arg0
;
3265 PyObject
* _argo0
= 0;
3269 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_left_get",&_argo0
))
3272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3282 wxPy_END_ALLOW_THREADS
;
3284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3285 _resultobj
= Py_BuildValue("s",_ptemp
);
3288 _resultobj
= Py_None
;
3293 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3294 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
3295 PyObject
* _resultobj
;
3296 wxIndividualLayoutConstraint
* _result
;
3297 wxLayoutConstraints
* _arg0
;
3298 PyObject
* _argo0
= 0;
3302 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_right_get",&_argo0
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3312 wxPy_BEGIN_ALLOW_THREADS
;
3313 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3315 wxPy_END_ALLOW_THREADS
;
3317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3318 _resultobj
= Py_BuildValue("s",_ptemp
);
3321 _resultobj
= Py_None
;
3326 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3327 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
3328 PyObject
* _resultobj
;
3329 wxIndividualLayoutConstraint
* _result
;
3330 wxLayoutConstraints
* _arg0
;
3331 PyObject
* _argo0
= 0;
3335 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_top_get",&_argo0
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3345 wxPy_BEGIN_ALLOW_THREADS
;
3346 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3348 wxPy_END_ALLOW_THREADS
;
3350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3351 _resultobj
= Py_BuildValue("s",_ptemp
);
3354 _resultobj
= Py_None
;
3359 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3360 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
3361 PyObject
* _resultobj
;
3362 wxIndividualLayoutConstraint
* _result
;
3363 wxLayoutConstraints
* _arg0
;
3364 PyObject
* _argo0
= 0;
3368 if(!PyArg_ParseTuple(args
,"O:wxLayoutConstraints_width_get",&_argo0
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3378 wxPy_BEGIN_ALLOW_THREADS
;
3379 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3381 wxPy_END_ALLOW_THREADS
;
3383 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3384 _resultobj
= Py_BuildValue("s",_ptemp
);
3387 _resultobj
= Py_None
;
3392 #define new_wxRegion() (new wxRegion())
3393 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
) {
3394 PyObject
* _resultobj
;
3399 if(!PyArg_ParseTuple(args
,":new_wxRegion"))
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 _result
= (wxRegion
*)new_wxRegion();
3405 wxPy_END_ALLOW_THREADS
;
3407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3408 _resultobj
= Py_BuildValue("s",_ptemp
);
3411 _resultobj
= Py_None
;
3416 #define delete_wxRegion(_swigobj) (delete _swigobj)
3417 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
) {
3418 PyObject
* _resultobj
;
3420 PyObject
* _argo0
= 0;
3423 if(!PyArg_ParseTuple(args
,"O:delete_wxRegion",&_argo0
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 delete_wxRegion(_arg0
);
3436 wxPy_END_ALLOW_THREADS
;
3437 } Py_INCREF(Py_None
);
3438 _resultobj
= Py_None
;
3442 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3443 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
) {
3444 PyObject
* _resultobj
;
3446 PyObject
* _argo0
= 0;
3449 if(!PyArg_ParseTuple(args
,"O:wxRegion_Clear",&_argo0
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3459 wxPy_BEGIN_ALLOW_THREADS
;
3460 wxRegion_Clear(_arg0
);
3462 wxPy_END_ALLOW_THREADS
;
3463 } Py_INCREF(Py_None
);
3464 _resultobj
= Py_None
;
3468 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3469 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
) {
3470 PyObject
* _resultobj
;
3471 wxRegionContain _result
;
3475 PyObject
* _argo0
= 0;
3478 if(!PyArg_ParseTuple(args
,"Oll:wxRegion_Contains",&_argo0
,&_arg1
,&_arg2
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3491 wxPy_END_ALLOW_THREADS
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3497 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
) {
3498 PyObject
* _resultobj
;
3499 wxRegionContain _result
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _argo1
= 0;
3506 if(!PyArg_ParseTuple(args
,"OO:wxRegion_ContainsPoint",&_argo0
,&_argo1
))
3509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPoint_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3526 wxPy_END_ALLOW_THREADS
;
3527 } _resultobj
= Py_BuildValue("i",_result
);
3531 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3532 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
) {
3533 PyObject
* _resultobj
;
3534 wxRegionContain _result
;
3537 PyObject
* _argo0
= 0;
3538 PyObject
* _argo1
= 0;
3541 if(!PyArg_ParseTuple(args
,"OO:wxRegion_ContainsRect",&_argo0
,&_argo1
))
3544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
3558 wxPy_BEGIN_ALLOW_THREADS
;
3559 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3561 wxPy_END_ALLOW_THREADS
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3567 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
) {
3568 PyObject
* _resultobj
;
3571 PyObject
* _argo0
= 0;
3575 if(!PyArg_ParseTuple(args
,"O:wxRegion_GetBox",&_argo0
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3585 wxPy_BEGIN_ALLOW_THREADS
;
3586 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3588 wxPy_END_ALLOW_THREADS
;
3589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3590 _resultobj
= Py_BuildValue("s",_ptemp
);
3594 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3595 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
) {
3596 PyObject
* _resultobj
;
3600 PyObject
* _argo0
= 0;
3601 PyObject
* _argo1
= 0;
3604 if(!PyArg_ParseTuple(args
,"OO:wxRegion_Intersect",&_argo0
,&_argo1
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
3621 wxPy_BEGIN_ALLOW_THREADS
;
3622 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
3624 wxPy_END_ALLOW_THREADS
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3630 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
) {
3631 PyObject
* _resultobj
;
3635 PyObject
* _argo0
= 0;
3636 PyObject
* _argo1
= 0;
3639 if(!PyArg_ParseTuple(args
,"OO:wxRegion_Subtract",&_argo0
,&_argo1
))
3642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
3659 wxPy_END_ALLOW_THREADS
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3665 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
) {
3666 PyObject
* _resultobj
;
3670 PyObject
* _argo0
= 0;
3671 PyObject
* _argo1
= 0;
3674 if(!PyArg_ParseTuple(args
,"OO:wxRegion_Union",&_argo0
,&_argo1
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
3691 wxPy_BEGIN_ALLOW_THREADS
;
3692 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
3694 wxPy_END_ALLOW_THREADS
;
3695 } _resultobj
= Py_BuildValue("i",_result
);
3699 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
3700 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
) {
3701 PyObject
* _resultobj
;
3705 PyObject
* _argo0
= 0;
3706 PyObject
* _argo1
= 0;
3709 if(!PyArg_ParseTuple(args
,"OO:wxRegion_Xor",&_argo0
,&_argo1
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
3719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRect_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
3726 wxPy_BEGIN_ALLOW_THREADS
;
3727 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
3729 wxPy_END_ALLOW_THREADS
;
3730 } _resultobj
= Py_BuildValue("i",_result
);
3734 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
3735 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3736 PyObject
* _resultobj
;
3737 wxRegionIterator
* _result
;
3739 PyObject
* _argo0
= 0;
3743 if(!PyArg_ParseTuple(args
,"O:new_wxRegionIterator",&_argo0
))
3746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3756 wxPy_END_ALLOW_THREADS
;
3758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3759 _resultobj
= Py_BuildValue("s",_ptemp
);
3762 _resultobj
= Py_None
;
3767 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3768 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3769 PyObject
* _resultobj
;
3770 wxRegionIterator
* _arg0
;
3771 PyObject
* _argo0
= 0;
3774 if(!PyArg_ParseTuple(args
,"O:delete_wxRegionIterator",&_argo0
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 delete_wxRegionIterator(_arg0
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } Py_INCREF(Py_None
);
3789 _resultobj
= Py_None
;
3793 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3794 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
) {
3795 PyObject
* _resultobj
;
3797 wxRegionIterator
* _arg0
;
3798 PyObject
* _argo0
= 0;
3801 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetX",&_argo0
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3811 wxPy_BEGIN_ALLOW_THREADS
;
3812 _result
= (long )wxRegionIterator_GetX(_arg0
);
3814 wxPy_END_ALLOW_THREADS
;
3815 } _resultobj
= Py_BuildValue("l",_result
);
3819 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3820 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
) {
3821 PyObject
* _resultobj
;
3823 wxRegionIterator
* _arg0
;
3824 PyObject
* _argo0
= 0;
3827 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetY",&_argo0
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 _result
= (long )wxRegionIterator_GetY(_arg0
);
3840 wxPy_END_ALLOW_THREADS
;
3841 } _resultobj
= Py_BuildValue("l",_result
);
3845 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3846 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
) {
3847 PyObject
* _resultobj
;
3849 wxRegionIterator
* _arg0
;
3850 PyObject
* _argo0
= 0;
3853 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetW",&_argo0
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (long )wxRegionIterator_GetW(_arg0
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } _resultobj
= Py_BuildValue("l",_result
);
3871 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3872 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
) {
3873 PyObject
* _resultobj
;
3875 wxRegionIterator
* _arg0
;
3876 PyObject
* _argo0
= 0;
3879 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetWidth",&_argo0
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3889 wxPy_BEGIN_ALLOW_THREADS
;
3890 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3892 wxPy_END_ALLOW_THREADS
;
3893 } _resultobj
= Py_BuildValue("l",_result
);
3897 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3898 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
) {
3899 PyObject
* _resultobj
;
3901 wxRegionIterator
* _arg0
;
3902 PyObject
* _argo0
= 0;
3905 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetH",&_argo0
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 _result
= (long )wxRegionIterator_GetH(_arg0
);
3918 wxPy_END_ALLOW_THREADS
;
3919 } _resultobj
= Py_BuildValue("l",_result
);
3923 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3924 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
) {
3925 PyObject
* _resultobj
;
3927 wxRegionIterator
* _arg0
;
3928 PyObject
* _argo0
= 0;
3931 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetHeight",&_argo0
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3941 wxPy_BEGIN_ALLOW_THREADS
;
3942 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3944 wxPy_END_ALLOW_THREADS
;
3945 } _resultobj
= Py_BuildValue("l",_result
);
3949 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3950 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
) {
3951 PyObject
* _resultobj
;
3953 wxRegionIterator
* _arg0
;
3954 PyObject
* _argo0
= 0;
3958 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_GetRect",&_argo0
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3971 wxPy_END_ALLOW_THREADS
;
3972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3973 _resultobj
= Py_BuildValue("s",_ptemp
);
3977 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3978 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
) {
3979 PyObject
* _resultobj
;
3981 wxRegionIterator
* _arg0
;
3982 PyObject
* _argo0
= 0;
3985 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_HaveRects",&_argo0
))
3988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4004 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
) {
4005 PyObject
* _resultobj
;
4006 wxRegionIterator
* _arg0
;
4007 PyObject
* _argo0
= 0;
4010 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_Reset",&_argo0
))
4013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4020 wxPy_BEGIN_ALLOW_THREADS
;
4021 wxRegionIterator_Reset(_arg0
);
4023 wxPy_END_ALLOW_THREADS
;
4024 } Py_INCREF(Py_None
);
4025 _resultobj
= Py_None
;
4029 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4032 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
) {
4033 PyObject
* _resultobj
;
4034 wxRegionIterator
* _arg0
;
4035 PyObject
* _argo0
= 0;
4038 if(!PyArg_ParseTuple(args
,"O:wxRegionIterator_Next",&_argo0
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4048 wxPy_BEGIN_ALLOW_THREADS
;
4049 wxRegionIterator_Next(_arg0
);
4051 wxPy_END_ALLOW_THREADS
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4057 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4058 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
4059 PyObject
* _resultobj
;
4060 wxAcceleratorEntry
* _result
;
4061 int _arg0
= (int ) 0;
4062 int _arg1
= (int ) 0;
4063 int _arg2
= (int ) 0;
4067 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4073 wxPy_END_ALLOW_THREADS
;
4075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4076 _resultobj
= Py_BuildValue("s",_ptemp
);
4079 _resultobj
= Py_None
;
4084 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4085 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
4086 PyObject
* _resultobj
;
4087 wxAcceleratorEntry
* _arg0
;
4091 PyObject
* _argo0
= 0;
4094 if(!PyArg_ParseTuple(args
,"Oiii:wxAcceleratorEntry_Set",&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4104 wxPy_BEGIN_ALLOW_THREADS
;
4105 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4107 wxPy_END_ALLOW_THREADS
;
4108 } Py_INCREF(Py_None
);
4109 _resultobj
= Py_None
;
4113 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4114 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
4115 PyObject
* _resultobj
;
4117 wxAcceleratorEntry
* _arg0
;
4118 PyObject
* _argo0
= 0;
4121 if(!PyArg_ParseTuple(args
,"O:wxAcceleratorEntry_GetFlags",&_argo0
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4134 wxPy_END_ALLOW_THREADS
;
4135 } _resultobj
= Py_BuildValue("i",_result
);
4139 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4140 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
4141 PyObject
* _resultobj
;
4143 wxAcceleratorEntry
* _arg0
;
4144 PyObject
* _argo0
= 0;
4147 if(!PyArg_ParseTuple(args
,"O:wxAcceleratorEntry_GetKeyCode",&_argo0
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4160 wxPy_END_ALLOW_THREADS
;
4161 } _resultobj
= Py_BuildValue("i",_result
);
4165 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4166 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
4167 PyObject
* _resultobj
;
4169 wxAcceleratorEntry
* _arg0
;
4170 PyObject
* _argo0
= 0;
4173 if(!PyArg_ParseTuple(args
,"O:wxAcceleratorEntry_GetCommand",&_argo0
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4186 wxPy_END_ALLOW_THREADS
;
4187 } _resultobj
= Py_BuildValue("i",_result
);
4191 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4192 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
4193 PyObject
* _resultobj
;
4194 wxAcceleratorTable
* _result
;
4196 wxAcceleratorEntry
* _arg1
;
4197 PyObject
* _obj1
= 0;
4201 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
4205 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4206 if (_arg1
== NULL
) {
4212 _arg0
= PyList_Size(_obj1
);
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4222 wxPy_END_ALLOW_THREADS
;
4224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4225 _resultobj
= Py_BuildValue("s",_ptemp
);
4228 _resultobj
= Py_None
;
4236 static PyMethodDef misccMethods
[] = {
4237 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, METH_VARARGS
},
4238 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
},
4239 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
},
4240 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
},
4241 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
},
4242 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, METH_VARARGS
},
4243 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next
, METH_VARARGS
},
4244 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset
, METH_VARARGS
},
4245 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
},
4246 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect
, METH_VARARGS
},
4247 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
},
4248 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH
, METH_VARARGS
},
4249 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
},
4250 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW
, METH_VARARGS
},
4251 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY
, METH_VARARGS
},
4252 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX
, METH_VARARGS
},
4253 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator
, METH_VARARGS
},
4254 { "new_wxRegionIterator", _wrap_new_wxRegionIterator
, METH_VARARGS
},
4255 { "wxRegion_Xor", _wrap_wxRegion_Xor
, METH_VARARGS
},
4256 { "wxRegion_Union", _wrap_wxRegion_Union
, METH_VARARGS
},
4257 { "wxRegion_Subtract", _wrap_wxRegion_Subtract
, METH_VARARGS
},
4258 { "wxRegion_Intersect", _wrap_wxRegion_Intersect
, METH_VARARGS
},
4259 { "wxRegion_GetBox", _wrap_wxRegion_GetBox
, METH_VARARGS
},
4260 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect
, METH_VARARGS
},
4261 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint
, METH_VARARGS
},
4262 { "wxRegion_Contains", _wrap_wxRegion_Contains
, METH_VARARGS
},
4263 { "wxRegion_Clear", _wrap_wxRegion_Clear
, METH_VARARGS
},
4264 { "delete_wxRegion", _wrap_delete_wxRegion
, METH_VARARGS
},
4265 { "new_wxRegion", _wrap_new_wxRegion
, METH_VARARGS
},
4266 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
},
4267 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
},
4268 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
},
4269 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
},
4270 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
},
4271 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
},
4272 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
},
4273 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
},
4274 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, METH_VARARGS
},
4275 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
},
4276 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
},
4277 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
},
4278 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
},
4279 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
},
4280 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
},
4281 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
},
4282 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
},
4283 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
},
4284 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
},
4285 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, METH_VARARGS
},
4286 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, METH_VARARGS
},
4287 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, METH_VARARGS
},
4288 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, METH_VARARGS
},
4289 { "new_wxPyTimer", _wrap_new_wxPyTimer
, METH_VARARGS
},
4290 { "wxRect_asTuple", _wrap_wxRect_asTuple
, METH_VARARGS
},
4291 { "wxRect_height_get", _wrap_wxRect_height_get
, METH_VARARGS
},
4292 { "wxRect_height_set", _wrap_wxRect_height_set
, METH_VARARGS
},
4293 { "wxRect_width_get", _wrap_wxRect_width_get
, METH_VARARGS
},
4294 { "wxRect_width_set", _wrap_wxRect_width_set
, METH_VARARGS
},
4295 { "wxRect_y_get", _wrap_wxRect_y_get
, METH_VARARGS
},
4296 { "wxRect_y_set", _wrap_wxRect_y_set
, METH_VARARGS
},
4297 { "wxRect_x_get", _wrap_wxRect_x_get
, METH_VARARGS
},
4298 { "wxRect_x_set", _wrap_wxRect_x_set
, METH_VARARGS
},
4299 { "wxRect_GetRight", _wrap_wxRect_GetRight
, METH_VARARGS
},
4300 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, METH_VARARGS
},
4301 { "wxRect_GetTop", _wrap_wxRect_GetTop
, METH_VARARGS
},
4302 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, METH_VARARGS
},
4303 { "wxRect_GetSize", _wrap_wxRect_GetSize
, METH_VARARGS
},
4304 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, METH_VARARGS
},
4305 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, METH_VARARGS
},
4306 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, METH_VARARGS
},
4307 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, METH_VARARGS
},
4308 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, METH_VARARGS
},
4309 { "wxRect_SetY", _wrap_wxRect_SetY
, METH_VARARGS
},
4310 { "wxRect_GetY", _wrap_wxRect_GetY
, METH_VARARGS
},
4311 { "wxRect_SetX", _wrap_wxRect_SetX
, METH_VARARGS
},
4312 { "wxRect_GetX", _wrap_wxRect_GetX
, METH_VARARGS
},
4313 { "delete_wxRect", _wrap_delete_wxRect
, METH_VARARGS
},
4314 { "new_wxRect", _wrap_new_wxRect
, METH_VARARGS
},
4315 { "wxPoint_asTuple", _wrap_wxPoint_asTuple
, METH_VARARGS
},
4316 { "wxPoint_Set", _wrap_wxPoint_Set
, METH_VARARGS
},
4317 { "delete_wxPoint", _wrap_delete_wxPoint
, METH_VARARGS
},
4318 { "new_wxPoint", _wrap_new_wxPoint
, METH_VARARGS
},
4319 { "wxPoint_y_get", _wrap_wxPoint_y_get
, METH_VARARGS
},
4320 { "wxPoint_y_set", _wrap_wxPoint_y_set
, METH_VARARGS
},
4321 { "wxPoint_x_get", _wrap_wxPoint_x_get
, METH_VARARGS
},
4322 { "wxPoint_x_set", _wrap_wxPoint_x_set
, METH_VARARGS
},
4323 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, METH_VARARGS
},
4324 { "new_wxRealPoint", _wrap_new_wxRealPoint
, METH_VARARGS
},
4325 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, METH_VARARGS
},
4326 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, METH_VARARGS
},
4327 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, METH_VARARGS
},
4328 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, METH_VARARGS
},
4329 { "wxSize_asTuple", _wrap_wxSize_asTuple
, METH_VARARGS
},
4330 { "wxSize_SetHeight", _wrap_wxSize_SetHeight
, METH_VARARGS
},
4331 { "wxSize_SetWidth", _wrap_wxSize_SetWidth
, METH_VARARGS
},
4332 { "wxSize_GetHeight", _wrap_wxSize_GetHeight
, METH_VARARGS
},
4333 { "wxSize_GetWidth", _wrap_wxSize_GetWidth
, METH_VARARGS
},
4334 { "wxSize_GetY", _wrap_wxSize_GetY
, METH_VARARGS
},
4335 { "wxSize_GetX", _wrap_wxSize_GetX
, METH_VARARGS
},
4336 { "wxSize_Set", _wrap_wxSize_Set
, METH_VARARGS
},
4337 { "delete_wxSize", _wrap_delete_wxSize
, METH_VARARGS
},
4338 { "new_wxSize", _wrap_new_wxSize
, METH_VARARGS
},
4339 { "wxSize_height_get", _wrap_wxSize_y_get
, METH_VARARGS
},
4340 { "wxSize_height_set", _wrap_wxSize_y_set
, METH_VARARGS
},
4341 { "wxSize_width_get", _wrap_wxSize_x_get
, METH_VARARGS
},
4342 { "wxSize_width_set", _wrap_wxSize_x_set
, METH_VARARGS
},
4343 { "wxSize_y_get", _wrap_wxSize_y_get
, METH_VARARGS
},
4344 { "wxSize_y_set", _wrap_wxSize_y_set
, METH_VARARGS
},
4345 { "wxSize_x_get", _wrap_wxSize_x_get
, METH_VARARGS
},
4346 { "wxSize_x_set", _wrap_wxSize_x_set
, METH_VARARGS
},
4347 { "wxSystemSettings_GetSystemMetric", _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
},
4348 { "wxSystemSettings_GetSystemFont", _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
},
4349 { "wxSystemSettings_GetSystemColour", _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
},
4350 { "wxResourceParseString", _wrap_wxResourceParseString
, METH_VARARGS
},
4351 { "wxResourceParseFile", _wrap_wxResourceParseFile
, METH_VARARGS
},
4352 { "wxResourceParseData", _wrap_wxResourceParseData
, METH_VARARGS
},
4353 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, METH_VARARGS
},
4354 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, METH_VARARGS
},
4355 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, METH_VARARGS
},
4356 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, METH_VARARGS
},
4357 { "wxResourceClear", _wrap_wxResourceClear
, METH_VARARGS
},
4358 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, METH_VARARGS
},
4359 { "wxGetResource", _wrap_wxGetResource
, METH_VARARGS
},
4360 { "wxEnableTopLevelWindows", _wrap_wxEnableTopLevelWindows
, METH_VARARGS
},
4361 { "wxSafeYield", _wrap_wxSafeYield
, METH_VARARGS
},
4362 { "wxYield", _wrap_wxYield
, METH_VARARGS
},
4363 { "wxSleep", _wrap_wxSleep
, METH_VARARGS
},
4364 { "wxNow", _wrap_wxNow
, METH_VARARGS
},
4365 { "wxIsBusy", _wrap_wxIsBusy
, METH_VARARGS
},
4366 { "wxGetMousePosition", _wrap_wxGetMousePosition
, METH_VARARGS
},
4367 { "wxExecute", _wrap_wxExecute
, METH_VARARGS
},
4368 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, METH_VARARGS
},
4369 { "wxDisplaySize", _wrap_wxDisplaySize
, METH_VARARGS
},
4370 { "wxBell", _wrap_wxBell
, METH_VARARGS
},
4371 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, METH_VARARGS
},
4372 { "RegisterId", _wrap_RegisterId
, METH_VARARGS
},
4373 { "NewId", _wrap_NewId
, METH_VARARGS
},
4374 { "wxRegisterId", _wrap_wxRegisterId
, METH_VARARGS
},
4375 { "wxNewId", _wrap_wxNewId
, METH_VARARGS
},
4376 { "wxSetCursor", _wrap_wxSetCursor
, METH_VARARGS
},
4377 { "wxDisplayDepth", _wrap_wxDisplayDepth
, METH_VARARGS
},
4378 { "wxColourDisplay", _wrap_wxColourDisplay
, METH_VARARGS
},
4379 { "wxGetNumberFromUser", _wrap_wxGetNumberFromUser
, METH_VARARGS
},
4380 { "wxMessageBox", _wrap_wxMessageBox
, METH_VARARGS
},
4381 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
},
4382 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, METH_VARARGS
},
4383 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, METH_VARARGS
},
4384 { "wxFileSelector", _wrap_wxFileSelector
, METH_VARARGS
},
4391 * This table is used by the pointer type-checker
4393 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4394 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4395 { "_signed_long","_long",0},
4396 { "_wxPrintQuality","_int",0},
4397 { "_wxPrintQuality","_signed_int",0},
4398 { "_wxPrintQuality","_unsigned_int",0},
4399 { "_wxPrintQuality","_wxWindowID",0},
4400 { "_wxPrintQuality","_uint",0},
4401 { "_wxPrintQuality","_EBool",0},
4402 { "_wxPrintQuality","_size_t",0},
4403 { "_class_wxRegionIterator","_wxRegionIterator",0},
4404 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4405 { "_byte","_unsigned_char",0},
4406 { "_long","_unsigned_long",0},
4407 { "_long","_signed_long",0},
4408 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4409 { "_size_t","_wxPrintQuality",0},
4410 { "_size_t","_unsigned_int",0},
4411 { "_size_t","_int",0},
4412 { "_size_t","_wxWindowID",0},
4413 { "_size_t","_uint",0},
4414 { "_class_wxRealPoint","_wxRealPoint",0},
4415 { "_uint","_wxPrintQuality",0},
4416 { "_uint","_size_t",0},
4417 { "_uint","_unsigned_int",0},
4418 { "_uint","_int",0},
4419 { "_uint","_wxWindowID",0},
4420 { "_wxRect","_class_wxRect",0},
4421 { "_wxPoint","_class_wxPoint",0},
4422 { "_wxPyTimer","_class_wxPyTimer",0},
4423 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4424 { "_EBool","_wxPrintQuality",0},
4425 { "_EBool","_signed_int",0},
4426 { "_EBool","_int",0},
4427 { "_EBool","_wxWindowID",0},
4428 { "_class_wxRegion","_wxRegion",0},
4429 { "_unsigned_long","_long",0},
4430 { "_class_wxRect","_wxRect",0},
4431 { "_class_wxPyTimer","_wxPyTimer",0},
4432 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4433 { "_signed_int","_wxPrintQuality",0},
4434 { "_signed_int","_EBool",0},
4435 { "_signed_int","_wxWindowID",0},
4436 { "_signed_int","_int",0},
4437 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4438 { "_WXTYPE","_short",0},
4439 { "_WXTYPE","_signed_short",0},
4440 { "_WXTYPE","_unsigned_short",0},
4441 { "_unsigned_short","_WXTYPE",0},
4442 { "_unsigned_short","_short",0},
4443 { "_class_wxPoint","_wxPoint",0},
4444 { "_wxRealPoint","_class_wxRealPoint",0},
4445 { "_signed_short","_WXTYPE",0},
4446 { "_signed_short","_short",0},
4447 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4448 { "_unsigned_char","_byte",0},
4449 { "_unsigned_int","_wxPrintQuality",0},
4450 { "_unsigned_int","_size_t",0},
4451 { "_unsigned_int","_uint",0},
4452 { "_unsigned_int","_wxWindowID",0},
4453 { "_unsigned_int","_int",0},
4454 { "_short","_WXTYPE",0},
4455 { "_short","_unsigned_short",0},
4456 { "_short","_signed_short",0},
4457 { "_wxWindowID","_wxPrintQuality",0},
4458 { "_wxWindowID","_size_t",0},
4459 { "_wxWindowID","_EBool",0},
4460 { "_wxWindowID","_uint",0},
4461 { "_wxWindowID","_int",0},
4462 { "_wxWindowID","_signed_int",0},
4463 { "_wxWindowID","_unsigned_int",0},
4464 { "_int","_wxPrintQuality",0},
4465 { "_int","_size_t",0},
4466 { "_int","_EBool",0},
4467 { "_int","_uint",0},
4468 { "_int","_wxWindowID",0},
4469 { "_int","_unsigned_int",0},
4470 { "_int","_signed_int",0},
4471 { "_wxSize","_class_wxSize",0},
4472 { "_wxRegionIterator","_class_wxRegionIterator",0},
4473 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4474 { "_wxRegion","_class_wxRegion",0},
4475 { "_class_wxSize","_wxSize",0},
4478 static PyObject
*SWIG_globals
;
4482 SWIGEXPORT(void) initmiscc() {
4484 SWIG_globals
= SWIG_newvarlink();
4485 m
= Py_InitModule("miscc", misccMethods
);
4486 d
= PyModule_GetDict(m
);
4487 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4488 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4489 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4490 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4491 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4492 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4493 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4494 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4495 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4496 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4497 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4498 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4499 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4500 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4501 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4502 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4503 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4504 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4505 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4506 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
4507 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
4508 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
4509 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
4510 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
4511 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
4512 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
4513 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
4514 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
4515 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
4516 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
4517 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
4518 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
4519 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
4520 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
4521 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
4522 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
4523 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
4524 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
4525 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
4526 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
4527 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
4528 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
4529 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
4530 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
4531 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
4532 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
4533 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
4534 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
4535 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
4536 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
4537 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
4538 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
4539 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
4540 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
4541 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
4542 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
4543 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
4544 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
4545 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
4546 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
4547 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
4548 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
4549 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
4550 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
4551 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
4552 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
4553 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
4554 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
4555 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
4556 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
4557 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
4558 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
4559 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
4560 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
4561 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
4562 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
4563 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
4564 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
4565 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
4566 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
4567 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
4568 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
4569 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
4570 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
4571 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
4572 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
4573 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
4574 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
4575 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
4576 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
4577 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
4578 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
4579 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
4580 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
4581 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
4582 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
4583 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
4584 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
4585 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
4586 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
4587 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
4588 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
4589 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
4590 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
4591 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
4592 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
4593 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
4594 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
4597 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4598 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);