4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
119 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
121 wxGetResource(section
, entry
, &retval
, file
);
125 void wxToolTip_Enable(bool flag
) {
126 wxToolTip::Enable(flag
);
129 void wxToolTip_SetDelay(long milliseconds
) {
130 wxToolTip::SetDelay(milliseconds
);
132 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
) {
133 PyObject
* _resultobj
;
139 char * _arg4
= "*.*";
141 wxWindow
* _arg6
= NULL
;
147 if(!PyArg_ParseTuple(args
,"s|ssssisii:wxFileSelector",&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argc6
,&_arg7
,&_arg8
))
150 if (SWIG_GetPtr(_argc6
,(void **) &_arg6
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
155 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
157 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
165 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
) {
166 PyObject
* _resultobj
;
169 wxString
* _arg1
= &wxPyEmptyStr
;
170 wxString
* _arg2
= &wxPyEmptyStr
;
171 wxWindow
* _arg3
= NULL
;
175 PyObject
* _obj0
= 0;
176 PyObject
* _obj1
= 0;
177 PyObject
* _obj2
= 0;
182 if(!PyArg_ParseTuple(args
,"O|OOsiii:wxGetTextFromUser",&_obj0
,&_obj1
,&_obj2
,&_argc3
,&_arg4
,&_arg5
,&tempbool6
))
185 if (!PyString_Check(_obj0
)) {
186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
189 _arg0
= new wxString(PyString_AsString(_obj0
));
193 if (!PyString_Check(_obj1
)) {
194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
197 _arg1
= new wxString(PyString_AsString(_obj1
));
201 if (!PyString_Check(_obj2
)) {
202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
205 _arg2
= new wxString(PyString_AsString(_obj2
));
208 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
213 _arg6
= (bool ) tempbool6
;
214 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
216 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
236 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
) {
237 PyObject
* _resultobj
;
243 wxWindow
* _arg4
= NULL
;
249 PyObject
* _obj0
= 0;
250 PyObject
* _obj1
= 0;
251 PyObject
* _obj3
= 0;
256 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoice",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
259 if (!PyString_Check(_obj0
)) {
260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
263 _arg0
= new wxString(PyString_AsString(_obj0
));
266 if (!PyString_Check(_obj1
)) {
267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
270 _arg1
= new wxString(PyString_AsString(_obj1
));
274 _arg3
= wxString_LIST_helper(_obj3
);
280 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
285 _arg7
= (bool ) tempbool7
;
287 _arg2
= PyList_Size(_obj3
);
289 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
291 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
310 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
) {
311 PyObject
* _resultobj
;
317 wxWindow
* _arg4
= NULL
;
323 PyObject
* _obj0
= 0;
324 PyObject
* _obj1
= 0;
325 PyObject
* _obj3
= 0;
330 if(!PyArg_ParseTuple(args
,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0
,&_obj1
,&_obj3
,&_argc4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
333 if (!PyString_Check(_obj0
)) {
334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
337 _arg0
= new wxString(PyString_AsString(_obj0
));
340 if (!PyString_Check(_obj1
)) {
341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
344 _arg1
= new wxString(PyString_AsString(_obj1
));
348 _arg3
= wxString_LIST_helper(_obj3
);
354 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxWindow_p")) {
355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
359 _arg7
= (bool ) tempbool7
;
361 _arg2
= PyList_Size(_obj3
);
363 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
364 _resultobj
= Py_BuildValue("i",_result
);
379 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
) {
380 PyObject
* _resultobj
;
383 wxString
* _arg1
= &wxPyEmptyStr
;
384 int _arg2
= (wxOK
)|(wxCENTRE
);
385 wxWindow
* _arg3
= NULL
;
388 PyObject
* _obj0
= 0;
389 PyObject
* _obj1
= 0;
393 if(!PyArg_ParseTuple(args
,"O|Oisii:wxMessageBox",&_obj0
,&_obj1
,&_arg2
,&_argc3
,&_arg4
,&_arg5
))
396 if (!PyString_Check(_obj0
)) {
397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
400 _arg0
= new wxString(PyString_AsString(_obj0
));
404 if (!PyString_Check(_obj1
)) {
405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
408 _arg1
= new wxString(PyString_AsString(_obj1
));
411 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxWindow_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
416 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
417 _resultobj
= Py_BuildValue("i",_result
);
429 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
) {
430 PyObject
* _resultobj
;
434 if(!PyArg_ParseTuple(args
,":wxColourDisplay"))
436 _result
= (bool )wxColourDisplay();
437 _resultobj
= Py_BuildValue("i",_result
);
441 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
) {
442 PyObject
* _resultobj
;
446 if(!PyArg_ParseTuple(args
,":wxDisplayDepth"))
448 _result
= (int )wxDisplayDepth();
449 _resultobj
= Py_BuildValue("i",_result
);
453 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
) {
454 PyObject
* _resultobj
;
459 if(!PyArg_ParseTuple(args
,"s:wxSetCursor",&_argc0
))
462 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
469 _resultobj
= Py_None
;
473 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
) {
474 PyObject
* _resultobj
;
478 if(!PyArg_ParseTuple(args
,":NewId"))
480 _result
= (long )NewId();
481 _resultobj
= Py_BuildValue("l",_result
);
485 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
) {
486 PyObject
* _resultobj
;
490 if(!PyArg_ParseTuple(args
,"l:RegisterId",&_arg0
))
494 _resultobj
= Py_None
;
498 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
) {
499 PyObject
* _resultobj
;
500 wxCursor
* _arg0
= wxHOURGLASS_CURSOR
;
504 if(!PyArg_ParseTuple(args
,"|s:wxBeginBusyCursor",&_argc0
))
507 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxCursor_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
512 wxBeginBusyCursor(_arg0
);
514 _resultobj
= Py_None
;
518 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
) {
519 PyObject
* _resultobj
;
522 if(!PyArg_ParseTuple(args
,":wxBell"))
526 _resultobj
= Py_None
;
530 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
) {
531 PyObject
* _resultobj
;
544 if(!PyArg_ParseTuple(args
,":wxDisplaySize"))
546 wxDisplaySize(_arg0
,_arg1
);
548 _resultobj
= Py_None
;
551 o
= PyInt_FromLong((long) (*_arg0
));
552 _resultobj
= t_output_helper(_resultobj
, o
);
556 o
= PyInt_FromLong((long) (*_arg1
));
557 _resultobj
= t_output_helper(_resultobj
, o
);
562 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
) {
563 PyObject
* _resultobj
;
566 if(!PyArg_ParseTuple(args
,":wxEndBusyCursor"))
570 _resultobj
= Py_None
;
574 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
) {
575 PyObject
* _resultobj
;
579 PyObject
* _obj0
= 0;
583 if(!PyArg_ParseTuple(args
,"O|i:wxExecute",&_obj0
,&tempbool1
))
586 if (!PyString_Check(_obj0
)) {
587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
590 _arg0
= new wxString(PyString_AsString(_obj0
));
592 _arg1
= (bool ) tempbool1
;
593 _result
= (long )wxExecute(*_arg0
,_arg1
);
594 _resultobj
= Py_BuildValue("l",_result
);
602 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
) {
603 PyObject
* _resultobj
;
606 wxWindow
* _arg1
= NULL
;
607 PyObject
* _obj0
= 0;
612 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByLabel",&_obj0
,&_argc1
))
615 if (!PyString_Check(_obj0
)) {
616 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
619 _arg0
= new wxString(PyString_AsString(_obj0
));
622 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
627 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
629 _resultobj
= Py_BuildValue("s",_ptemp
);
637 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
) {
638 PyObject
* _resultobj
;
641 wxWindow
* _arg1
= NULL
;
642 PyObject
* _obj0
= 0;
647 if(!PyArg_ParseTuple(args
,"O|s:wxFindWindowByName",&_obj0
,&_argc1
))
650 if (!PyString_Check(_obj0
)) {
651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
654 _arg0
= new wxString(PyString_AsString(_obj0
));
657 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
662 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
664 _resultobj
= Py_BuildValue("s",_ptemp
);
672 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
) {
673 PyObject
* _resultobj
;
678 if(!PyArg_ParseTuple(args
,":wxGetActiveWindow"))
680 _result
= (wxWindow
*)wxGetActiveWindow();
681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
682 _resultobj
= Py_BuildValue("s",_ptemp
);
686 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
) {
687 PyObject
* _resultobj
;
693 if(!PyArg_ParseTuple(args
,"|i:wxGetElapsedTime",&tempbool0
))
695 _arg0
= (bool ) tempbool0
;
696 _result
= (long )wxGetElapsedTime(_arg0
);
697 _resultobj
= Py_BuildValue("l",_result
);
701 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
) {
702 PyObject
* _resultobj
;
706 if(!PyArg_ParseTuple(args
,":wxGetFreeMemory"))
708 _result
= (long )wxGetFreeMemory();
709 _resultobj
= Py_BuildValue("l",_result
);
713 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
) {
714 PyObject
* _resultobj
;
727 if(!PyArg_ParseTuple(args
,":wxGetMousePosition"))
729 wxGetMousePosition(_arg0
,_arg1
);
731 _resultobj
= Py_None
;
734 o
= PyInt_FromLong((long) (*_arg0
));
735 _resultobj
= t_output_helper(_resultobj
, o
);
739 o
= PyInt_FromLong((long) (*_arg1
));
740 _resultobj
= t_output_helper(_resultobj
, o
);
745 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
) {
746 PyObject
* _resultobj
;
750 if(!PyArg_ParseTuple(args
,":wxIsBusy"))
752 _result
= (bool )wxIsBusy();
753 _resultobj
= Py_BuildValue("i",_result
);
757 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
) {
758 PyObject
* _resultobj
;
762 if(!PyArg_ParseTuple(args
,":wxNow"))
764 _result
= new wxString (wxNow());
766 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
774 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
) {
775 PyObject
* _resultobj
;
777 wxString
* _arg0
= &wxPyEmptyStr
;
778 PyObject
* _obj0
= 0;
781 if(!PyArg_ParseTuple(args
,"|O:wxShell",&_obj0
))
785 if (!PyString_Check(_obj0
)) {
786 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
789 _arg0
= new wxString(PyString_AsString(_obj0
));
791 _result
= (bool )wxShell(*_arg0
);
792 _resultobj
= Py_BuildValue("i",_result
);
800 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
) {
801 PyObject
* _resultobj
;
804 if(!PyArg_ParseTuple(args
,":wxStartTimer"))
808 _resultobj
= Py_None
;
812 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
) {
813 PyObject
* _resultobj
;
827 if(!PyArg_ParseTuple(args
,":wxGetOsVersion"))
829 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
830 _resultobj
= Py_BuildValue("i",_result
);
833 o
= PyInt_FromLong((long) (*_arg0
));
834 _resultobj
= t_output_helper(_resultobj
, o
);
838 o
= PyInt_FromLong((long) (*_arg1
));
839 _resultobj
= t_output_helper(_resultobj
, o
);
844 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
) {
845 PyObject
* _resultobj
;
849 if(!PyArg_ParseTuple(args
,":wxYield"))
851 _result
= (bool )wxYield();
852 _resultobj
= Py_BuildValue("i",_result
);
856 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
) {
857 PyObject
* _resultobj
;
864 if(!PyArg_ParseTuple(args
,"ss|s:wxGetResource",&_arg0
,&_arg1
,&_arg2
))
866 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
867 _resultobj
= Py_BuildValue("s", _result
);
871 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
) {
872 PyObject
* _resultobj
;
878 if(!PyArg_ParseTuple(args
,"si:wxResourceAddIdentifier",&_arg0
,&_arg1
))
880 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
881 _resultobj
= Py_BuildValue("i",_result
);
885 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
) {
886 PyObject
* _resultobj
;
889 if(!PyArg_ParseTuple(args
,":wxResourceClear"))
893 _resultobj
= Py_None
;
897 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
) {
898 PyObject
* _resultobj
;
904 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateBitmap",&_arg0
))
906 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
907 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
908 _resultobj
= Py_BuildValue("s",_ptemp
);
912 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
) {
913 PyObject
* _resultobj
;
919 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateIcon",&_arg0
))
921 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
922 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
923 _resultobj
= Py_BuildValue("s",_ptemp
);
927 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
) {
928 PyObject
* _resultobj
;
934 if(!PyArg_ParseTuple(args
,"s:wxResourceCreateMenuBar",&_arg0
))
936 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
938 _resultobj
= Py_BuildValue("s",_ptemp
);
942 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
) {
943 PyObject
* _resultobj
;
948 if(!PyArg_ParseTuple(args
,"s:wxResourceGetIdentifier",&_arg0
))
950 _result
= (int )wxResourceGetIdentifier(_arg0
);
951 _resultobj
= Py_BuildValue("i",_result
);
955 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
) {
956 PyObject
* _resultobj
;
959 wxResourceTable
* _arg1
= NULL
;
963 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseData",&_arg0
,&_argc1
))
966 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
971 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
972 _resultobj
= Py_BuildValue("i",_result
);
976 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
) {
977 PyObject
* _resultobj
;
980 wxResourceTable
* _arg1
= NULL
;
984 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseFile",&_arg0
,&_argc1
))
987 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
992 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
993 _resultobj
= Py_BuildValue("i",_result
);
997 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
) {
998 PyObject
* _resultobj
;
1001 wxResourceTable
* _arg1
= NULL
;
1005 if(!PyArg_ParseTuple(args
,"s|s:wxResourceParseString",&_arg0
,&_argc1
))
1008 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1013 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1014 _resultobj
= Py_BuildValue("i",_result
);
1018 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1024 if(!PyArg_ParseTuple(args
,"i:wxToolTip_Enable",&tempbool0
))
1026 _arg0
= (bool ) tempbool0
;
1027 wxToolTip_Enable(_arg0
);
1029 _resultobj
= Py_None
;
1033 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
) {
1034 PyObject
* _resultobj
;
1038 if(!PyArg_ParseTuple(args
,"l:wxToolTip_SetDelay",&_arg0
))
1040 wxToolTip_SetDelay(_arg0
);
1042 _resultobj
= Py_None
;
1046 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1047 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
) {
1048 PyObject
* _resultobj
;
1055 if(!PyArg_ParseTuple(args
,"sl:wxSize_x_set",&_argc0
,&_arg1
))
1058 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p.");
1063 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1064 _resultobj
= Py_BuildValue("l",_result
);
1068 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1069 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
) {
1070 PyObject
* _resultobj
;
1076 if(!PyArg_ParseTuple(args
,"s:wxSize_x_get",&_argc0
))
1079 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p.");
1084 _result
= (long )wxSize_x_get(_arg0
);
1085 _resultobj
= Py_BuildValue("l",_result
);
1089 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1090 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
) {
1091 PyObject
* _resultobj
;
1098 if(!PyArg_ParseTuple(args
,"sl:wxSize_y_set",&_argc0
,&_arg1
))
1101 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p.");
1106 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1107 _resultobj
= Py_BuildValue("l",_result
);
1111 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1112 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
) {
1113 PyObject
* _resultobj
;
1119 if(!PyArg_ParseTuple(args
,"s:wxSize_y_get",&_argc0
))
1122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p.");
1127 _result
= (long )wxSize_y_get(_arg0
);
1128 _resultobj
= Py_BuildValue("l",_result
);
1132 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1133 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
) {
1134 PyObject
* _resultobj
;
1141 if(!PyArg_ParseTuple(args
,"|ll:new_wxSize",&_arg0
,&_arg1
))
1143 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1145 _resultobj
= Py_BuildValue("s",_ptemp
);
1149 #define delete_wxSize(_swigobj) (delete _swigobj)
1150 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
) {
1151 PyObject
* _resultobj
;
1156 if(!PyArg_ParseTuple(args
,"s:delete_wxSize",&_argc0
))
1159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p.");
1164 delete_wxSize(_arg0
);
1166 _resultobj
= Py_None
;
1170 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1171 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
) {
1172 PyObject
* _resultobj
;
1179 if(!PyArg_ParseTuple(args
,"sll:wxSize_Set",&_argc0
,&_arg1
,&_arg2
))
1182 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p.");
1187 wxSize_Set(_arg0
,_arg1
,_arg2
);
1189 _resultobj
= Py_None
;
1193 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1194 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
) {
1195 PyObject
* _resultobj
;
1201 if(!PyArg_ParseTuple(args
,"s:wxSize_GetX",&_argc0
))
1204 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p.");
1209 _result
= (long )wxSize_GetX(_arg0
);
1210 _resultobj
= Py_BuildValue("l",_result
);
1214 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1215 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
) {
1216 PyObject
* _resultobj
;
1222 if(!PyArg_ParseTuple(args
,"s:wxSize_GetY",&_argc0
))
1225 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p.");
1230 _result
= (long )wxSize_GetY(_arg0
);
1231 _resultobj
= Py_BuildValue("l",_result
);
1235 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1236 PyObject
* tup
= PyTuple_New(2);
1237 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1238 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1241 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
) {
1242 PyObject
* _resultobj
;
1248 if(!PyArg_ParseTuple(args
,"s:wxSize_asTuple",&_argc0
))
1251 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxSize_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p.");
1256 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1258 _resultobj
= _result
;
1263 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1264 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
) {
1265 PyObject
* _resultobj
;
1267 wxRealPoint
* _arg0
;
1272 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_x_set",&_argc0
,&_arg1
))
1275 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p.");
1280 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1281 _resultobj
= Py_BuildValue("d",_result
);
1285 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1286 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
) {
1287 PyObject
* _resultobj
;
1289 wxRealPoint
* _arg0
;
1293 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_x_get",&_argc0
))
1296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p.");
1301 _result
= (double )wxRealPoint_x_get(_arg0
);
1302 _resultobj
= Py_BuildValue("d",_result
);
1306 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1307 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
) {
1308 PyObject
* _resultobj
;
1310 wxRealPoint
* _arg0
;
1315 if(!PyArg_ParseTuple(args
,"sd:wxRealPoint_y_set",&_argc0
,&_arg1
))
1318 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p.");
1323 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1324 _resultobj
= Py_BuildValue("d",_result
);
1328 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1329 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
) {
1330 PyObject
* _resultobj
;
1332 wxRealPoint
* _arg0
;
1336 if(!PyArg_ParseTuple(args
,"s:wxRealPoint_y_get",&_argc0
))
1339 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p.");
1344 _result
= (double )wxRealPoint_y_get(_arg0
);
1345 _resultobj
= Py_BuildValue("d",_result
);
1349 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1350 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1351 PyObject
* _resultobj
;
1352 wxRealPoint
* _result
;
1358 if(!PyArg_ParseTuple(args
,"|dd:new_wxRealPoint",&_arg0
,&_arg1
))
1360 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1362 _resultobj
= Py_BuildValue("s",_ptemp
);
1366 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1367 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
) {
1368 PyObject
* _resultobj
;
1369 wxRealPoint
* _arg0
;
1373 if(!PyArg_ParseTuple(args
,"s:delete_wxRealPoint",&_argc0
))
1376 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRealPoint_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p.");
1381 delete_wxRealPoint(_arg0
);
1383 _resultobj
= Py_None
;
1387 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1388 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
) {
1389 PyObject
* _resultobj
;
1396 if(!PyArg_ParseTuple(args
,"sl:wxPoint_x_set",&_argc0
,&_arg1
))
1399 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p.");
1404 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1405 _resultobj
= Py_BuildValue("l",_result
);
1409 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1410 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
) {
1411 PyObject
* _resultobj
;
1417 if(!PyArg_ParseTuple(args
,"s:wxPoint_x_get",&_argc0
))
1420 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p.");
1425 _result
= (long )wxPoint_x_get(_arg0
);
1426 _resultobj
= Py_BuildValue("l",_result
);
1430 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1431 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
) {
1432 PyObject
* _resultobj
;
1439 if(!PyArg_ParseTuple(args
,"sl:wxPoint_y_set",&_argc0
,&_arg1
))
1442 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p.");
1447 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1448 _resultobj
= Py_BuildValue("l",_result
);
1452 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1453 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
) {
1454 PyObject
* _resultobj
;
1460 if(!PyArg_ParseTuple(args
,"s:wxPoint_y_get",&_argc0
))
1463 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p.");
1468 _result
= (long )wxPoint_y_get(_arg0
);
1469 _resultobj
= Py_BuildValue("l",_result
);
1473 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1474 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
) {
1475 PyObject
* _resultobj
;
1482 if(!PyArg_ParseTuple(args
,"|ll:new_wxPoint",&_arg0
,&_arg1
))
1484 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1486 _resultobj
= Py_BuildValue("s",_ptemp
);
1490 #define delete_wxPoint(_swigobj) (delete _swigobj)
1491 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
) {
1492 PyObject
* _resultobj
;
1497 if(!PyArg_ParseTuple(args
,"s:delete_wxPoint",&_argc0
))
1500 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p.");
1505 delete_wxPoint(_arg0
);
1507 _resultobj
= Py_None
;
1511 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1515 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
) {
1516 PyObject
* _resultobj
;
1523 if(!PyArg_ParseTuple(args
,"sll:wxPoint_Set",&_argc0
,&_arg1
,&_arg2
))
1526 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p.");
1531 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1533 _resultobj
= Py_None
;
1537 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1538 PyObject
* tup
= PyTuple_New(2);
1539 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1540 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1543 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
) {
1544 PyObject
* _resultobj
;
1550 if(!PyArg_ParseTuple(args
,"s:wxPoint_asTuple",&_argc0
))
1553 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPoint_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p.");
1558 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1560 _resultobj
= _result
;
1565 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1566 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
) {
1567 PyObject
* _resultobj
;
1576 if(!PyArg_ParseTuple(args
,"|llll:new_wxRect",&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1578 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1579 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1580 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 #define delete_wxRect(_swigobj) (delete _swigobj)
1585 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
) {
1586 PyObject
* _resultobj
;
1591 if(!PyArg_ParseTuple(args
,"s:delete_wxRect",&_argc0
))
1594 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p.");
1599 delete_wxRect(_arg0
);
1601 _resultobj
= Py_None
;
1605 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1606 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
) {
1607 PyObject
* _resultobj
;
1613 if(!PyArg_ParseTuple(args
,"s:wxRect_GetX",&_argc0
))
1616 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p.");
1621 _result
= (long )wxRect_GetX(_arg0
);
1622 _resultobj
= Py_BuildValue("l",_result
);
1626 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1627 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
) {
1628 PyObject
* _resultobj
;
1634 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetX",&_argc0
,&_arg1
))
1637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p.");
1642 wxRect_SetX(_arg0
,_arg1
);
1644 _resultobj
= Py_None
;
1648 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
1649 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
) {
1650 PyObject
* _resultobj
;
1656 if(!PyArg_ParseTuple(args
,"s:wxRect_GetY",&_argc0
))
1659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p.");
1664 _result
= (long )wxRect_GetY(_arg0
);
1665 _resultobj
= Py_BuildValue("l",_result
);
1669 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
1670 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
) {
1671 PyObject
* _resultobj
;
1677 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetY",&_argc0
,&_arg1
))
1680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p.");
1685 wxRect_SetY(_arg0
,_arg1
);
1687 _resultobj
= Py_None
;
1691 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
1692 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
) {
1693 PyObject
* _resultobj
;
1699 if(!PyArg_ParseTuple(args
,"s:wxRect_GetWidth",&_argc0
))
1702 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p.");
1707 _result
= (long )wxRect_GetWidth(_arg0
);
1708 _resultobj
= Py_BuildValue("l",_result
);
1712 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1713 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
) {
1714 PyObject
* _resultobj
;
1720 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetWidth",&_argc0
,&_arg1
))
1723 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p.");
1728 wxRect_SetWidth(_arg0
,_arg1
);
1730 _resultobj
= Py_None
;
1734 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
1735 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
) {
1736 PyObject
* _resultobj
;
1742 if(!PyArg_ParseTuple(args
,"s:wxRect_GetHeight",&_argc0
))
1745 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p.");
1750 _result
= (long )wxRect_GetHeight(_arg0
);
1751 _resultobj
= Py_BuildValue("l",_result
);
1755 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1756 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
) {
1757 PyObject
* _resultobj
;
1763 if(!PyArg_ParseTuple(args
,"sl:wxRect_SetHeight",&_argc0
,&_arg1
))
1766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p.");
1771 wxRect_SetHeight(_arg0
,_arg1
);
1773 _resultobj
= Py_None
;
1777 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
1778 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
) {
1779 PyObject
* _resultobj
;
1786 if(!PyArg_ParseTuple(args
,"s:wxRect_GetPosition",&_argc0
))
1789 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p.");
1794 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
1795 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1796 _resultobj
= Py_BuildValue("s",_ptemp
);
1800 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
1801 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
) {
1802 PyObject
* _resultobj
;
1809 if(!PyArg_ParseTuple(args
,"s:wxRect_GetSize",&_argc0
))
1812 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p.");
1817 _result
= new wxSize (wxRect_GetSize(_arg0
));
1818 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1819 _resultobj
= Py_BuildValue("s",_ptemp
);
1823 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
1824 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
) {
1825 PyObject
* _resultobj
;
1831 if(!PyArg_ParseTuple(args
,"s:wxRect_GetLeft",&_argc0
))
1834 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p.");
1839 _result
= (long )wxRect_GetLeft(_arg0
);
1840 _resultobj
= Py_BuildValue("l",_result
);
1844 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
1845 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
) {
1846 PyObject
* _resultobj
;
1852 if(!PyArg_ParseTuple(args
,"s:wxRect_GetTop",&_argc0
))
1855 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p.");
1860 _result
= (long )wxRect_GetTop(_arg0
);
1861 _resultobj
= Py_BuildValue("l",_result
);
1865 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
1866 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
) {
1867 PyObject
* _resultobj
;
1873 if(!PyArg_ParseTuple(args
,"s:wxRect_GetBottom",&_argc0
))
1876 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p.");
1881 _result
= (long )wxRect_GetBottom(_arg0
);
1882 _resultobj
= Py_BuildValue("l",_result
);
1886 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
1887 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
) {
1888 PyObject
* _resultobj
;
1894 if(!PyArg_ParseTuple(args
,"s:wxRect_GetRight",&_argc0
))
1897 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p.");
1902 _result
= (long )wxRect_GetRight(_arg0
);
1903 _resultobj
= Py_BuildValue("l",_result
);
1907 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1908 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
) {
1909 PyObject
* _resultobj
;
1916 if(!PyArg_ParseTuple(args
,"sl:wxRect_x_set",&_argc0
,&_arg1
))
1919 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p.");
1924 _result
= (long )wxRect_x_set(_arg0
,_arg1
);
1925 _resultobj
= Py_BuildValue("l",_result
);
1929 #define wxRect_x_get(_swigobj) ((long ) _swigobj->x)
1930 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
) {
1931 PyObject
* _resultobj
;
1937 if(!PyArg_ParseTuple(args
,"s:wxRect_x_get",&_argc0
))
1940 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p.");
1945 _result
= (long )wxRect_x_get(_arg0
);
1946 _resultobj
= Py_BuildValue("l",_result
);
1950 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1951 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
) {
1952 PyObject
* _resultobj
;
1959 if(!PyArg_ParseTuple(args
,"sl:wxRect_y_set",&_argc0
,&_arg1
))
1962 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p.");
1967 _result
= (long )wxRect_y_set(_arg0
,_arg1
);
1968 _resultobj
= Py_BuildValue("l",_result
);
1972 #define wxRect_y_get(_swigobj) ((long ) _swigobj->y)
1973 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
) {
1974 PyObject
* _resultobj
;
1980 if(!PyArg_ParseTuple(args
,"s:wxRect_y_get",&_argc0
))
1983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p.");
1988 _result
= (long )wxRect_y_get(_arg0
);
1989 _resultobj
= Py_BuildValue("l",_result
);
1993 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
1994 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
) {
1995 PyObject
* _resultobj
;
2002 if(!PyArg_ParseTuple(args
,"sl:wxRect_width_set",&_argc0
,&_arg1
))
2005 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p.");
2010 _result
= (long )wxRect_width_set(_arg0
,_arg1
);
2011 _resultobj
= Py_BuildValue("l",_result
);
2015 #define wxRect_width_get(_swigobj) ((long ) _swigobj->width)
2016 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
) {
2017 PyObject
* _resultobj
;
2023 if(!PyArg_ParseTuple(args
,"s:wxRect_width_get",&_argc0
))
2026 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p.");
2031 _result
= (long )wxRect_width_get(_arg0
);
2032 _resultobj
= Py_BuildValue("l",_result
);
2036 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2037 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
) {
2038 PyObject
* _resultobj
;
2045 if(!PyArg_ParseTuple(args
,"sl:wxRect_height_set",&_argc0
,&_arg1
))
2048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p.");
2053 _result
= (long )wxRect_height_set(_arg0
,_arg1
);
2054 _resultobj
= Py_BuildValue("l",_result
);
2058 #define wxRect_height_get(_swigobj) ((long ) _swigobj->height)
2059 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
) {
2060 PyObject
* _resultobj
;
2066 if(!PyArg_ParseTuple(args
,"s:wxRect_height_get",&_argc0
))
2069 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p.");
2074 _result
= (long )wxRect_height_get(_arg0
);
2075 _resultobj
= Py_BuildValue("l",_result
);
2079 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2080 PyObject
* tup
= PyTuple_New(4);
2081 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2082 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2083 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->width
));
2084 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->height
));
2087 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
) {
2088 PyObject
* _resultobj
;
2094 if(!PyArg_ParseTuple(args
,"s:wxRect_asTuple",&_argc0
))
2097 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRect_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p.");
2102 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2104 _resultobj
= _result
;
2109 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
2110 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2111 PyObject
* _resultobj
;
2112 wxPyTimer
* _result
;
2114 PyObject
* _obj0
= 0;
2118 if(!PyArg_ParseTuple(args
,"O:new_wxPyTimer",&_obj0
))
2123 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
2124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
2125 _resultobj
= Py_BuildValue("s",_ptemp
);
2129 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
2130 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
) {
2131 PyObject
* _resultobj
;
2136 if(!PyArg_ParseTuple(args
,"s:delete_wxPyTimer",&_argc0
))
2139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
2144 delete_wxPyTimer(_arg0
);
2146 _resultobj
= Py_None
;
2150 #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval())
2151 static PyObject
*_wrap_wxPyTimer_Interval(PyObject
*self
, PyObject
*args
) {
2152 PyObject
* _resultobj
;
2158 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Interval",&_argc0
))
2161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p.");
2166 _result
= (int )wxPyTimer_Interval(_arg0
);
2167 _resultobj
= Py_BuildValue("i",_result
);
2171 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
2172 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
) {
2173 PyObject
* _resultobj
;
2180 if(!PyArg_ParseTuple(args
,"s|ii:wxPyTimer_Start",&_argc0
,&_arg1
,&_arg2
))
2183 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
2188 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
2190 _resultobj
= Py_None
;
2194 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
2195 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
) {
2196 PyObject
* _resultobj
;
2201 if(!PyArg_ParseTuple(args
,"s:wxPyTimer_Stop",&_argc0
))
2204 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxPyTimer_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
2209 wxPyTimer_Stop(_arg0
);
2211 _resultobj
= Py_None
;
2215 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2216 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
) {
2217 PyObject
* _resultobj
;
2218 wxIndividualLayoutConstraint
* _arg0
;
2225 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0
,&_argc1
,&_arg2
))
2228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2234 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2239 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2241 _resultobj
= Py_None
;
2245 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2246 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
) {
2247 PyObject
* _resultobj
;
2248 wxIndividualLayoutConstraint
* _arg0
;
2253 if(!PyArg_ParseTuple(args
,"si:wxIndividualLayoutConstraint_Absolute",&_argc0
,&_arg1
))
2256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2261 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2263 _resultobj
= Py_None
;
2267 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2268 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
) {
2269 PyObject
* _resultobj
;
2270 wxIndividualLayoutConstraint
* _arg0
;
2274 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_AsIs",&_argc0
))
2277 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2282 wxIndividualLayoutConstraint_AsIs(_arg0
);
2284 _resultobj
= Py_None
;
2288 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2289 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
) {
2290 PyObject
* _resultobj
;
2291 wxIndividualLayoutConstraint
* _arg0
;
2298 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0
,&_argc1
,&_arg2
))
2301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2307 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2312 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2314 _resultobj
= Py_None
;
2318 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2319 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
) {
2320 PyObject
* _resultobj
;
2321 wxIndividualLayoutConstraint
* _arg0
;
2325 if(!PyArg_ParseTuple(args
,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0
))
2328 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2333 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2335 _resultobj
= Py_None
;
2339 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2340 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
) {
2341 PyObject
* _resultobj
;
2342 wxIndividualLayoutConstraint
* _arg0
;
2349 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0
,&_argc1
,&_arg2
))
2352 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2358 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
2363 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
2365 _resultobj
= Py_None
;
2369 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
2370 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
) {
2371 PyObject
* _resultobj
;
2372 wxIndividualLayoutConstraint
* _arg0
;
2380 if(!PyArg_ParseTuple(args
,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2383 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
2389 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
2394 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
2396 _resultobj
= Py_None
;
2400 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
2401 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
) {
2402 PyObject
* _resultobj
;
2403 wxIndividualLayoutConstraint
* _arg0
;
2410 if(!PyArg_ParseTuple(args
,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0
,&_argc1
,&_arg2
))
2413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
2419 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
2424 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
2426 _resultobj
= Py_None
;
2430 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
2431 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
) {
2432 PyObject
* _resultobj
;
2433 wxIndividualLayoutConstraint
* _arg0
;
2441 if(!PyArg_ParseTuple(args
,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0
,&_argc1
,&_arg2
,&_arg3
))
2444 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
2450 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxWindow_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
2455 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
2457 _resultobj
= Py_None
;
2461 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2462 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
) {
2463 PyObject
* _resultobj
;
2464 wxIndividualLayoutConstraint
* _arg0
;
2465 wxRelationship _arg1
;
2474 if(!PyArg_ParseTuple(args
,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0
,&_arg1
,&_argc2
,&_arg3
,&_arg4
,&_arg5
))
2477 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
2483 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxWindow_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
2488 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
2490 _resultobj
= Py_None
;
2494 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
2495 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
) {
2496 PyObject
* _resultobj
;
2497 wxLayoutConstraints
* _result
;
2501 if(!PyArg_ParseTuple(args
,":new_wxLayoutConstraints"))
2503 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
2504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2505 _resultobj
= Py_BuildValue("s",_ptemp
);
2509 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
2510 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
) {
2511 PyObject
* _resultobj
;
2512 wxIndividualLayoutConstraint
* _result
;
2513 wxLayoutConstraints
* _arg0
;
2518 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_bottom_get",&_argc0
))
2521 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
2526 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
2527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2528 _resultobj
= Py_BuildValue("s",_ptemp
);
2532 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
2533 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
) {
2534 PyObject
* _resultobj
;
2535 wxIndividualLayoutConstraint
* _result
;
2536 wxLayoutConstraints
* _arg0
;
2541 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreX_get",&_argc0
))
2544 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
2549 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
2550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2551 _resultobj
= Py_BuildValue("s",_ptemp
);
2555 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
2556 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
) {
2557 PyObject
* _resultobj
;
2558 wxIndividualLayoutConstraint
* _result
;
2559 wxLayoutConstraints
* _arg0
;
2564 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_centreY_get",&_argc0
))
2567 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
2572 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
2573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2574 _resultobj
= Py_BuildValue("s",_ptemp
);
2578 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
2579 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
) {
2580 PyObject
* _resultobj
;
2581 wxIndividualLayoutConstraint
* _result
;
2582 wxLayoutConstraints
* _arg0
;
2587 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_height_get",&_argc0
))
2590 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
2595 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
2596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2597 _resultobj
= Py_BuildValue("s",_ptemp
);
2601 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
2602 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
) {
2603 PyObject
* _resultobj
;
2604 wxIndividualLayoutConstraint
* _result
;
2605 wxLayoutConstraints
* _arg0
;
2610 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_left_get",&_argc0
))
2613 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
2618 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
2619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2620 _resultobj
= Py_BuildValue("s",_ptemp
);
2624 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
2625 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
) {
2626 PyObject
* _resultobj
;
2627 wxIndividualLayoutConstraint
* _result
;
2628 wxLayoutConstraints
* _arg0
;
2633 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_right_get",&_argc0
))
2636 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
2641 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
2642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2643 _resultobj
= Py_BuildValue("s",_ptemp
);
2647 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
2648 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
) {
2649 PyObject
* _resultobj
;
2650 wxIndividualLayoutConstraint
* _result
;
2651 wxLayoutConstraints
* _arg0
;
2656 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_top_get",&_argc0
))
2659 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
2664 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
2665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2666 _resultobj
= Py_BuildValue("s",_ptemp
);
2670 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
2671 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
) {
2672 PyObject
* _resultobj
;
2673 wxIndividualLayoutConstraint
* _result
;
2674 wxLayoutConstraints
* _arg0
;
2679 if(!PyArg_ParseTuple(args
,"s:wxLayoutConstraints_width_get",&_argc0
))
2682 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
2687 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
2688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
2689 _resultobj
= Py_BuildValue("s",_ptemp
);
2693 #define new_wxRegion() (new wxRegion())
2694 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
) {
2695 PyObject
* _resultobj
;
2700 if(!PyArg_ParseTuple(args
,":new_wxRegion"))
2702 _result
= (wxRegion
*)new_wxRegion();
2703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
2704 _resultobj
= Py_BuildValue("s",_ptemp
);
2708 #define delete_wxRegion(_swigobj) (delete _swigobj)
2709 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
) {
2710 PyObject
* _resultobj
;
2715 if(!PyArg_ParseTuple(args
,"s:delete_wxRegion",&_argc0
))
2718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
2723 delete_wxRegion(_arg0
);
2725 _resultobj
= Py_None
;
2729 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
2730 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
) {
2731 PyObject
* _resultobj
;
2736 if(!PyArg_ParseTuple(args
,"s:wxRegion_Clear",&_argc0
))
2739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
2744 wxRegion_Clear(_arg0
);
2746 _resultobj
= Py_None
;
2750 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
2751 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
) {
2752 PyObject
* _resultobj
;
2753 wxRegionContain _result
;
2760 if(!PyArg_ParseTuple(args
,"sll:wxRegion_Contains",&_argc0
,&_arg1
,&_arg2
))
2763 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
2768 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
2769 _resultobj
= Py_BuildValue("i",_result
);
2773 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2774 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
) {
2775 PyObject
* _resultobj
;
2776 wxRegionContain _result
;
2783 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsPoint",&_argc0
,&_argc1
))
2786 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
2792 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxPoint_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p.");
2797 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
2798 _resultobj
= Py_BuildValue("i",_result
);
2802 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
2803 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
) {
2804 PyObject
* _resultobj
;
2805 wxRegionContain _result
;
2812 if(!PyArg_ParseTuple(args
,"ss:wxRegion_ContainsRect",&_argc0
,&_argc1
))
2815 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
2821 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p.");
2826 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
2827 _resultobj
= Py_BuildValue("i",_result
);
2831 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
2832 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
) {
2833 PyObject
* _resultobj
;
2840 if(!PyArg_ParseTuple(args
,"s:wxRegion_GetBox",&_argc0
))
2843 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
2848 _result
= new wxRect (wxRegion_GetBox(_arg0
));
2849 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2850 _resultobj
= Py_BuildValue("s",_ptemp
);
2854 #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
2855 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
) {
2856 PyObject
* _resultobj
;
2864 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Intersect",&_argc0
,&_argc1
))
2867 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
2873 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p.");
2878 _result
= (bool )wxRegion_Intersect(_arg0
,*_arg1
);
2879 _resultobj
= Py_BuildValue("i",_result
);
2883 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
2884 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
) {
2885 PyObject
* _resultobj
;
2891 if(!PyArg_ParseTuple(args
,"s:wxRegion_IsEmpty",&_argc0
))
2894 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
2899 _result
= (bool )wxRegion_IsEmpty(_arg0
);
2900 _resultobj
= Py_BuildValue("i",_result
);
2904 #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
2905 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
) {
2906 PyObject
* _resultobj
;
2914 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Subtract",&_argc0
,&_argc1
))
2917 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
2923 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p.");
2928 _result
= (bool )wxRegion_Subtract(_arg0
,*_arg1
);
2929 _resultobj
= Py_BuildValue("i",_result
);
2933 #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
2934 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
) {
2935 PyObject
* _resultobj
;
2943 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Union",&_argc0
,&_argc1
))
2946 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
2952 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p.");
2957 _result
= (bool )wxRegion_Union(_arg0
,*_arg1
);
2958 _resultobj
= Py_BuildValue("i",_result
);
2962 #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
2963 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
) {
2964 PyObject
* _resultobj
;
2972 if(!PyArg_ParseTuple(args
,"ss:wxRegion_Xor",&_argc0
,&_argc1
))
2975 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
2976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
2981 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxRect_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p.");
2986 _result
= (bool )wxRegion_Xor(_arg0
,*_arg1
);
2987 _resultobj
= Py_BuildValue("i",_result
);
2991 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
2992 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
2993 PyObject
* _resultobj
;
2994 wxRegionIterator
* _result
;
3000 if(!PyArg_ParseTuple(args
,"s:new_wxRegionIterator",&_argc0
))
3003 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegion_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
3008 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
3009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
3010 _resultobj
= Py_BuildValue("s",_ptemp
);
3014 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
3015 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
) {
3016 PyObject
* _resultobj
;
3017 wxRegionIterator
* _arg0
;
3021 if(!PyArg_ParseTuple(args
,"s:delete_wxRegionIterator",&_argc0
))
3024 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
3029 delete_wxRegionIterator(_arg0
);
3031 _resultobj
= Py_None
;
3035 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
3036 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
) {
3037 PyObject
* _resultobj
;
3039 wxRegionIterator
* _arg0
;
3043 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetX",&_argc0
))
3046 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
3051 _result
= (long )wxRegionIterator_GetX(_arg0
);
3052 _resultobj
= Py_BuildValue("l",_result
);
3056 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
3057 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
) {
3058 PyObject
* _resultobj
;
3060 wxRegionIterator
* _arg0
;
3064 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetY",&_argc0
))
3067 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
3072 _result
= (long )wxRegionIterator_GetY(_arg0
);
3073 _resultobj
= Py_BuildValue("l",_result
);
3077 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
3078 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
) {
3079 PyObject
* _resultobj
;
3081 wxRegionIterator
* _arg0
;
3085 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetW",&_argc0
))
3088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
3093 _result
= (long )wxRegionIterator_GetW(_arg0
);
3094 _resultobj
= Py_BuildValue("l",_result
);
3098 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
3099 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
) {
3100 PyObject
* _resultobj
;
3102 wxRegionIterator
* _arg0
;
3106 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetWidth",&_argc0
))
3109 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
3114 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
3115 _resultobj
= Py_BuildValue("l",_result
);
3119 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
3120 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
) {
3121 PyObject
* _resultobj
;
3123 wxRegionIterator
* _arg0
;
3127 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetH",&_argc0
))
3130 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
3135 _result
= (long )wxRegionIterator_GetH(_arg0
);
3136 _resultobj
= Py_BuildValue("l",_result
);
3140 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
3141 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
) {
3142 PyObject
* _resultobj
;
3144 wxRegionIterator
* _arg0
;
3148 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetHeight",&_argc0
))
3151 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
3156 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
3157 _resultobj
= Py_BuildValue("l",_result
);
3161 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
3162 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
) {
3163 PyObject
* _resultobj
;
3165 wxRegionIterator
* _arg0
;
3170 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_GetRect",&_argc0
))
3173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
3178 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
3179 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3180 _resultobj
= Py_BuildValue("s",_ptemp
);
3184 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
3185 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
) {
3186 PyObject
* _resultobj
;
3188 wxRegionIterator
* _arg0
;
3192 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_HaveRects",&_argc0
))
3195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
3200 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
3201 _resultobj
= Py_BuildValue("i",_result
);
3205 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
3206 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
) {
3207 PyObject
* _resultobj
;
3208 wxRegionIterator
* _arg0
;
3212 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Reset",&_argc0
))
3215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
3220 wxRegionIterator_Reset(_arg0
);
3222 _resultobj
= Py_None
;
3226 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
3229 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
) {
3230 PyObject
* _resultobj
;
3231 wxRegionIterator
* _arg0
;
3235 if(!PyArg_ParseTuple(args
,"s:wxRegionIterator_Next",&_argc0
))
3238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
3243 wxRegionIterator_Next(_arg0
);
3245 _resultobj
= Py_None
;
3249 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3250 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
) {
3251 PyObject
* _resultobj
;
3252 wxAcceleratorEntry
* _result
;
3259 if(!PyArg_ParseTuple(args
,"|iii:new_wxAcceleratorEntry",&_arg0
,&_arg1
,&_arg2
))
3261 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3263 _resultobj
= Py_BuildValue("s",_ptemp
);
3267 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3268 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
) {
3269 PyObject
* _resultobj
;
3270 wxAcceleratorEntry
* _arg0
;
3277 if(!PyArg_ParseTuple(args
,"siii:wxAcceleratorEntry_Set",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
3280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3285 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3287 _resultobj
= Py_None
;
3291 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3292 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
) {
3293 PyObject
* _resultobj
;
3295 wxAcceleratorEntry
* _arg0
;
3299 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetFlags",&_argc0
))
3302 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3307 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3308 _resultobj
= Py_BuildValue("i",_result
);
3312 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3313 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
) {
3314 PyObject
* _resultobj
;
3316 wxAcceleratorEntry
* _arg0
;
3320 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetKeyCode",&_argc0
))
3323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3328 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3329 _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3334 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
) {
3335 PyObject
* _resultobj
;
3337 wxAcceleratorEntry
* _arg0
;
3341 if(!PyArg_ParseTuple(args
,"s:wxAcceleratorEntry_GetCommand",&_argc0
))
3344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3349 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3350 _resultobj
= Py_BuildValue("i",_result
);
3354 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3355 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
) {
3356 PyObject
* _resultobj
;
3357 wxAcceleratorTable
* _result
;
3359 wxAcceleratorEntry
* _arg1
;
3360 PyObject
* _obj1
= 0;
3364 if(!PyArg_ParseTuple(args
,"O:new_wxAcceleratorTable",&_obj1
))
3368 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3369 if (_arg1
== NULL
) {
3374 _arg0
= PyList_Size(_obj1
);
3376 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3378 _resultobj
= Py_BuildValue("s",_ptemp
);
3385 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
3386 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
) {
3387 PyObject
* _resultobj
;
3388 wxToolTip
* _result
;
3390 PyObject
* _obj0
= 0;
3394 if(!PyArg_ParseTuple(args
,"O:new_wxToolTip",&_obj0
))
3397 if (!PyString_Check(_obj0
)) {
3398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3401 _arg0
= new wxString(PyString_AsString(_obj0
));
3403 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
3404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
3405 _resultobj
= Py_BuildValue("s",_ptemp
);
3413 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
3414 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
) {
3415 PyObject
* _resultobj
;
3419 PyObject
* _obj1
= 0;
3422 if(!PyArg_ParseTuple(args
,"sO:wxToolTip_SetTip",&_argc0
,&_obj1
))
3425 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolTip_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
3431 if (!PyString_Check(_obj1
)) {
3432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3435 _arg1
= new wxString(PyString_AsString(_obj1
));
3437 wxToolTip_SetTip(_arg0
,*_arg1
);
3439 _resultobj
= Py_None
;
3447 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
3448 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
) {
3449 PyObject
* _resultobj
;
3455 if(!PyArg_ParseTuple(args
,"s:wxToolTip_GetTip",&_argc0
))
3458 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolTip_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
3463 _result
= new wxString (wxToolTip_GetTip(_arg0
));
3465 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3473 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
3474 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
) {
3475 PyObject
* _resultobj
;
3482 if(!PyArg_ParseTuple(args
,"s:wxToolTip_GetWindow",&_argc0
))
3485 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolTip_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
3490 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
3491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3496 static PyMethodDef misccMethods
[] = {
3497 { "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow
, 1 },
3498 { "wxToolTip_GetTip", _wrap_wxToolTip_GetTip
, 1 },
3499 { "wxToolTip_SetTip", _wrap_wxToolTip_SetTip
, 1 },
3500 { "new_wxToolTip", _wrap_new_wxToolTip
, 1 },
3501 { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable
, 1 },
3502 { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand
, 1 },
3503 { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode
, 1 },
3504 { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags
, 1 },
3505 { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set
, 1 },
3506 { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry
, 1 },
3507 { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next
, 1 },
3508 { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset
, 1 },
3509 { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects
, 1 },
3510 { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect
, 1 },
3511 { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight
, 1 },
3512 { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH
, 1 },
3513 { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth
, 1 },
3514 { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW
, 1 },
3515 { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY
, 1 },
3516 { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX
, 1 },
3517 { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator
, 1 },
3518 { "new_wxRegionIterator", _wrap_new_wxRegionIterator
, 1 },
3519 { "wxRegion_Xor", _wrap_wxRegion_Xor
, 1 },
3520 { "wxRegion_Union", _wrap_wxRegion_Union
, 1 },
3521 { "wxRegion_Subtract", _wrap_wxRegion_Subtract
, 1 },
3522 { "wxRegion_IsEmpty", _wrap_wxRegion_IsEmpty
, 1 },
3523 { "wxRegion_Intersect", _wrap_wxRegion_Intersect
, 1 },
3524 { "wxRegion_GetBox", _wrap_wxRegion_GetBox
, 1 },
3525 { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect
, 1 },
3526 { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint
, 1 },
3527 { "wxRegion_Contains", _wrap_wxRegion_Contains
, 1 },
3528 { "wxRegion_Clear", _wrap_wxRegion_Clear
, 1 },
3529 { "delete_wxRegion", _wrap_delete_wxRegion
, 1 },
3530 { "new_wxRegion", _wrap_new_wxRegion
, 1 },
3531 { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get
, 1 },
3532 { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get
, 1 },
3533 { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get
, 1 },
3534 { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get
, 1 },
3535 { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get
, 1 },
3536 { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get
, 1 },
3537 { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get
, 1 },
3538 { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get
, 1 },
3539 { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints
, 1 },
3540 { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set
, 1 },
3541 { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs
, 1 },
3542 { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf
, 1 },
3543 { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf
, 1 },
3544 { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf
, 1 },
3545 { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained
, 1 },
3546 { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below
, 1 },
3547 { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs
, 1 },
3548 { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute
, 1 },
3549 { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above
, 1 },
3550 { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop
, 1 },
3551 { "wxPyTimer_Start", _wrap_wxPyTimer_Start
, 1 },
3552 { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval
, 1 },
3553 { "delete_wxPyTimer", _wrap_delete_wxPyTimer
, 1 },
3554 { "new_wxPyTimer", _wrap_new_wxPyTimer
, 1 },
3555 { "wxRect_asTuple", _wrap_wxRect_asTuple
, 1 },
3556 { "wxRect_height_get", _wrap_wxRect_height_get
, 1 },
3557 { "wxRect_height_set", _wrap_wxRect_height_set
, 1 },
3558 { "wxRect_width_get", _wrap_wxRect_width_get
, 1 },
3559 { "wxRect_width_set", _wrap_wxRect_width_set
, 1 },
3560 { "wxRect_y_get", _wrap_wxRect_y_get
, 1 },
3561 { "wxRect_y_set", _wrap_wxRect_y_set
, 1 },
3562 { "wxRect_x_get", _wrap_wxRect_x_get
, 1 },
3563 { "wxRect_x_set", _wrap_wxRect_x_set
, 1 },
3564 { "wxRect_GetRight", _wrap_wxRect_GetRight
, 1 },
3565 { "wxRect_GetBottom", _wrap_wxRect_GetBottom
, 1 },
3566 { "wxRect_GetTop", _wrap_wxRect_GetTop
, 1 },
3567 { "wxRect_GetLeft", _wrap_wxRect_GetLeft
, 1 },
3568 { "wxRect_GetSize", _wrap_wxRect_GetSize
, 1 },
3569 { "wxRect_GetPosition", _wrap_wxRect_GetPosition
, 1 },
3570 { "wxRect_SetHeight", _wrap_wxRect_SetHeight
, 1 },
3571 { "wxRect_GetHeight", _wrap_wxRect_GetHeight
, 1 },
3572 { "wxRect_SetWidth", _wrap_wxRect_SetWidth
, 1 },
3573 { "wxRect_GetWidth", _wrap_wxRect_GetWidth
, 1 },
3574 { "wxRect_SetY", _wrap_wxRect_SetY
, 1 },
3575 { "wxRect_GetY", _wrap_wxRect_GetY
, 1 },
3576 { "wxRect_SetX", _wrap_wxRect_SetX
, 1 },
3577 { "wxRect_GetX", _wrap_wxRect_GetX
, 1 },
3578 { "delete_wxRect", _wrap_delete_wxRect
, 1 },
3579 { "new_wxRect", _wrap_new_wxRect
, 1 },
3580 { "wxPoint_asTuple", _wrap_wxPoint_asTuple
, 1 },
3581 { "wxPoint_Set", _wrap_wxPoint_Set
, 1 },
3582 { "delete_wxPoint", _wrap_delete_wxPoint
, 1 },
3583 { "new_wxPoint", _wrap_new_wxPoint
, 1 },
3584 { "wxPoint_y_get", _wrap_wxPoint_y_get
, 1 },
3585 { "wxPoint_y_set", _wrap_wxPoint_y_set
, 1 },
3586 { "wxPoint_x_get", _wrap_wxPoint_x_get
, 1 },
3587 { "wxPoint_x_set", _wrap_wxPoint_x_set
, 1 },
3588 { "delete_wxRealPoint", _wrap_delete_wxRealPoint
, 1 },
3589 { "new_wxRealPoint", _wrap_new_wxRealPoint
, 1 },
3590 { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get
, 1 },
3591 { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set
, 1 },
3592 { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get
, 1 },
3593 { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set
, 1 },
3594 { "wxSize_asTuple", _wrap_wxSize_asTuple
, 1 },
3595 { "wxSize_GetHeight", _wrap_wxSize_GetY
, 1 },
3596 { "wxSize_GetWidth", _wrap_wxSize_GetX
, 1 },
3597 { "wxSize_GetY", _wrap_wxSize_GetY
, 1 },
3598 { "wxSize_GetX", _wrap_wxSize_GetX
, 1 },
3599 { "wxSize_Set", _wrap_wxSize_Set
, 1 },
3600 { "delete_wxSize", _wrap_delete_wxSize
, 1 },
3601 { "new_wxSize", _wrap_new_wxSize
, 1 },
3602 { "wxSize_height_get", _wrap_wxSize_y_get
, 1 },
3603 { "wxSize_height_set", _wrap_wxSize_y_set
, 1 },
3604 { "wxSize_width_get", _wrap_wxSize_x_get
, 1 },
3605 { "wxSize_width_set", _wrap_wxSize_x_set
, 1 },
3606 { "wxSize_y_get", _wrap_wxSize_y_get
, 1 },
3607 { "wxSize_y_set", _wrap_wxSize_y_set
, 1 },
3608 { "wxSize_x_get", _wrap_wxSize_x_get
, 1 },
3609 { "wxSize_x_set", _wrap_wxSize_x_set
, 1 },
3610 { "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay
, 1 },
3611 { "wxToolTip_Enable", _wrap_wxToolTip_Enable
, 1 },
3612 { "wxResourceParseString", _wrap_wxResourceParseString
, 1 },
3613 { "wxResourceParseFile", _wrap_wxResourceParseFile
, 1 },
3614 { "wxResourceParseData", _wrap_wxResourceParseData
, 1 },
3615 { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier
, 1 },
3616 { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar
, 1 },
3617 { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon
, 1 },
3618 { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap
, 1 },
3619 { "wxResourceClear", _wrap_wxResourceClear
, 1 },
3620 { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier
, 1 },
3621 { "wxGetResource", _wrap_wxGetResource
, 1 },
3622 { "wxYield", _wrap_wxYield
, 1 },
3623 { "wxGetOsVersion", _wrap_wxGetOsVersion
, 1 },
3624 { "wxStartTimer", _wrap_wxStartTimer
, 1 },
3625 { "wxShell", _wrap_wxShell
, 1 },
3626 { "wxNow", _wrap_wxNow
, 1 },
3627 { "wxIsBusy", _wrap_wxIsBusy
, 1 },
3628 { "wxGetMousePosition", _wrap_wxGetMousePosition
, 1 },
3629 { "wxGetFreeMemory", _wrap_wxGetFreeMemory
, 1 },
3630 { "wxGetElapsedTime", _wrap_wxGetElapsedTime
, 1 },
3631 { "wxGetActiveWindow", _wrap_wxGetActiveWindow
, 1 },
3632 { "wxFindWindowByName", _wrap_wxFindWindowByName
, 1 },
3633 { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel
, 1 },
3634 { "wxExecute", _wrap_wxExecute
, 1 },
3635 { "wxEndBusyCursor", _wrap_wxEndBusyCursor
, 1 },
3636 { "wxDisplaySize", _wrap_wxDisplaySize
, 1 },
3637 { "wxBell", _wrap_wxBell
, 1 },
3638 { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor
, 1 },
3639 { "RegisterId", _wrap_RegisterId
, 1 },
3640 { "NewId", _wrap_NewId
, 1 },
3641 { "wxSetCursor", _wrap_wxSetCursor
, 1 },
3642 { "wxDisplayDepth", _wrap_wxDisplayDepth
, 1 },
3643 { "wxColourDisplay", _wrap_wxColourDisplay
, 1 },
3644 { "wxMessageBox", _wrap_wxMessageBox
, 1 },
3645 { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex
, 1 },
3646 { "wxGetSingleChoice", _wrap_wxGetSingleChoice
, 1 },
3647 { "wxGetTextFromUser", _wrap_wxGetTextFromUser
, 1 },
3648 { "wxFileSelector", _wrap_wxFileSelector
, 1 },
3651 static PyObject
*SWIG_globals
;
3655 SWIGEXPORT(void,initmiscc
)() {
3657 SWIG_globals
= SWIG_newvarlink();
3658 m
= Py_InitModule("miscc", misccMethods
);
3659 d
= PyModule_GetDict(m
);
3660 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
3661 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
3662 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
3663 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
3664 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
3665 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
3666 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
3667 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
3668 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
3669 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
3670 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
3671 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
3672 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
3673 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
3674 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
3675 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
3676 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
3677 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
3678 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
3679 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
3680 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
3681 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
3683 * These are the pointer type-equivalency mappings.
3684 * (Used by the SWIG pointer type-checker).
3686 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
3687 SWIG_RegisterMapping("_signed_long","_long",0);
3688 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
3689 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
3690 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
3691 SWIG_RegisterMapping("_byte","_unsigned_char",0);
3692 SWIG_RegisterMapping("_long","_unsigned_long",0);
3693 SWIG_RegisterMapping("_long","_signed_long",0);
3694 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
3695 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
3696 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
3697 SWIG_RegisterMapping("_uint","_unsigned_int",0);
3698 SWIG_RegisterMapping("_uint","_int",0);
3699 SWIG_RegisterMapping("_uint","_wxWindowID",0);
3700 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
3701 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
3702 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
3703 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
3704 SWIG_RegisterMapping("_EBool","_signed_int",0);
3705 SWIG_RegisterMapping("_EBool","_int",0);
3706 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
3707 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
3708 SWIG_RegisterMapping("_unsigned_long","_long",0);
3709 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
3710 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
3711 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
3712 SWIG_RegisterMapping("_signed_int","_EBool",0);
3713 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
3714 SWIG_RegisterMapping("_signed_int","_int",0);
3715 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
3716 SWIG_RegisterMapping("_WXTYPE","_short",0);
3717 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
3718 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
3719 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
3720 SWIG_RegisterMapping("_unsigned_short","_short",0);
3721 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
3722 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
3723 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
3724 SWIG_RegisterMapping("_signed_short","_short",0);
3725 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
3726 SWIG_RegisterMapping("_unsigned_char","_byte",0);
3727 SWIG_RegisterMapping("_unsigned_int","_uint",0);
3728 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
3729 SWIG_RegisterMapping("_unsigned_int","_int",0);
3730 SWIG_RegisterMapping("_short","_WXTYPE",0);
3731 SWIG_RegisterMapping("_short","_unsigned_short",0);
3732 SWIG_RegisterMapping("_short","_signed_short",0);
3733 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
3734 SWIG_RegisterMapping("_wxWindowID","_uint",0);
3735 SWIG_RegisterMapping("_wxWindowID","_int",0);
3736 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
3737 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
3738 SWIG_RegisterMapping("_int","_EBool",0);
3739 SWIG_RegisterMapping("_int","_uint",0);
3740 SWIG_RegisterMapping("_int","_wxWindowID",0);
3741 SWIG_RegisterMapping("_int","_unsigned_int",0);
3742 SWIG_RegisterMapping("_int","_signed_int",0);
3743 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
3744 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
3745 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
3746 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
3747 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);