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 initimagec
54 #define SWIG_name "imagec"
59 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 wxImage
* wxNullImage() {
123 wxImage
* wxEmptyImage(int width
, int height
) {
124 return new wxImage(width
, height
);
127 wxImage
* wxImageFromMime(const wxString
& name
, const wxString
& mimetype
) {
128 return new wxImage(name
, mimetype
);
131 wxImage
* wxImageFromBitmap(const wxBitmap
&bitmap
) {
132 return new wxImage(bitmap
);
135 void wxImage_AddHandler(wxImageHandler
*handler
) {
136 wxImage::AddHandler(handler
);
138 static PyObject
*_wrap_wxNullImage(PyObject
*self
, PyObject
*args
) {
139 PyObject
* _resultobj
;
144 if(!PyArg_ParseTuple(args
,":wxNullImage"))
147 wxPy_BEGIN_ALLOW_THREADS
;
148 _result
= (wxImage
*)wxNullImage();
150 wxPy_END_ALLOW_THREADS
;
151 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
152 _resultobj
= Py_BuildValue("s",_ptemp
);
156 static PyObject
*_wrap_wxEmptyImage(PyObject
*self
, PyObject
*args
) {
157 PyObject
* _resultobj
;
164 if(!PyArg_ParseTuple(args
,"ii:wxEmptyImage",&_arg0
,&_arg1
))
167 wxPy_BEGIN_ALLOW_THREADS
;
168 _result
= (wxImage
*)wxEmptyImage(_arg0
,_arg1
);
170 wxPy_END_ALLOW_THREADS
;
171 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
172 _resultobj
= Py_BuildValue("s",_ptemp
);
176 static PyObject
*_wrap_wxImageFromMime(PyObject
*self
, PyObject
*args
) {
177 PyObject
* _resultobj
;
181 PyObject
* _obj0
= 0;
182 PyObject
* _obj1
= 0;
186 if(!PyArg_ParseTuple(args
,"OO:wxImageFromMime",&_obj0
,&_obj1
))
189 if (!PyString_Check(_obj0
)) {
190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
193 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
196 if (!PyString_Check(_obj1
)) {
197 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
200 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
203 wxPy_BEGIN_ALLOW_THREADS
;
204 _result
= (wxImage
*)wxImageFromMime(*_arg0
,*_arg1
);
206 wxPy_END_ALLOW_THREADS
;
207 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
220 static PyObject
*_wrap_wxImageFromBitmap(PyObject
*self
, PyObject
*args
) {
221 PyObject
* _resultobj
;
228 if(!PyArg_ParseTuple(args
,"s:wxImageFromBitmap",&_argc0
))
231 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageFromBitmap. Expected _wxBitmap_p.");
237 wxPy_BEGIN_ALLOW_THREADS
;
238 _result
= (wxImage
*)wxImageFromBitmap(*_arg0
);
240 wxPy_END_ALLOW_THREADS
;
241 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
242 _resultobj
= Py_BuildValue("s",_ptemp
);
246 static PyObject
*_wrap_wxImage_AddHandler(PyObject
*self
, PyObject
*args
) {
247 PyObject
* _resultobj
;
248 wxImageHandler
* _arg0
;
252 if(!PyArg_ParseTuple(args
,"s:wxImage_AddHandler",&_argc0
))
255 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_AddHandler. Expected _wxImageHandler_p.");
261 wxPy_BEGIN_ALLOW_THREADS
;
262 wxImage_AddHandler(_arg0
);
264 wxPy_END_ALLOW_THREADS
;
265 } Py_INCREF(Py_None
);
266 _resultobj
= Py_None
;
270 #define new_wxImageHandler() (new wxImageHandler())
271 static PyObject
*_wrap_new_wxImageHandler(PyObject
*self
, PyObject
*args
) {
272 PyObject
* _resultobj
;
273 wxImageHandler
* _result
;
277 if(!PyArg_ParseTuple(args
,":new_wxImageHandler"))
280 wxPy_BEGIN_ALLOW_THREADS
;
281 _result
= (wxImageHandler
*)new_wxImageHandler();
283 wxPy_END_ALLOW_THREADS
;
284 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageHandler_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
289 #define wxImageHandler_GetName(_swigobj) (_swigobj->GetName())
290 static PyObject
*_wrap_wxImageHandler_GetName(PyObject
*self
, PyObject
*args
) {
291 PyObject
* _resultobj
;
293 wxImageHandler
* _arg0
;
297 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetName",&_argc0
))
300 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetName. Expected _wxImageHandler_p.");
306 wxPy_BEGIN_ALLOW_THREADS
;
307 _result
= new wxString (wxImageHandler_GetName(_arg0
));
309 wxPy_END_ALLOW_THREADS
;
311 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
319 #define wxImageHandler_GetExtension(_swigobj) (_swigobj->GetExtension())
320 static PyObject
*_wrap_wxImageHandler_GetExtension(PyObject
*self
, PyObject
*args
) {
321 PyObject
* _resultobj
;
323 wxImageHandler
* _arg0
;
327 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetExtension",&_argc0
))
330 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetExtension. Expected _wxImageHandler_p.");
336 wxPy_BEGIN_ALLOW_THREADS
;
337 _result
= new wxString (wxImageHandler_GetExtension(_arg0
));
339 wxPy_END_ALLOW_THREADS
;
341 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
349 #define wxImageHandler_GetType(_swigobj) (_swigobj->GetType())
350 static PyObject
*_wrap_wxImageHandler_GetType(PyObject
*self
, PyObject
*args
) {
351 PyObject
* _resultobj
;
353 wxImageHandler
* _arg0
;
357 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetType",&_argc0
))
360 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetType. Expected _wxImageHandler_p.");
366 wxPy_BEGIN_ALLOW_THREADS
;
367 _result
= (long )wxImageHandler_GetType(_arg0
);
369 wxPy_END_ALLOW_THREADS
;
370 } _resultobj
= Py_BuildValue("l",_result
);
374 #define wxImageHandler_GetMimeType(_swigobj) (_swigobj->GetMimeType())
375 static PyObject
*_wrap_wxImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
) {
376 PyObject
* _resultobj
;
378 wxImageHandler
* _arg0
;
382 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetMimeType",&_argc0
))
385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetMimeType. Expected _wxImageHandler_p.");
391 wxPy_BEGIN_ALLOW_THREADS
;
392 _result
= new wxString (wxImageHandler_GetMimeType(_arg0
));
394 wxPy_END_ALLOW_THREADS
;
396 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
404 #define wxImageHandler_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
405 static PyObject
*_wrap_wxImageHandler_SetName(PyObject
*self
, PyObject
*args
) {
406 PyObject
* _resultobj
;
407 wxImageHandler
* _arg0
;
410 PyObject
* _obj1
= 0;
413 if(!PyArg_ParseTuple(args
,"sO:wxImageHandler_SetName",&_argc0
,&_obj1
))
416 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetName. Expected _wxImageHandler_p.");
422 if (!PyString_Check(_obj1
)) {
423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
426 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
429 wxPy_BEGIN_ALLOW_THREADS
;
430 wxImageHandler_SetName(_arg0
,*_arg1
);
432 wxPy_END_ALLOW_THREADS
;
433 } Py_INCREF(Py_None
);
434 _resultobj
= Py_None
;
442 #define wxImageHandler_SetExtension(_swigobj,_swigarg0) (_swigobj->SetExtension(_swigarg0))
443 static PyObject
*_wrap_wxImageHandler_SetExtension(PyObject
*self
, PyObject
*args
) {
444 PyObject
* _resultobj
;
445 wxImageHandler
* _arg0
;
448 PyObject
* _obj1
= 0;
451 if(!PyArg_ParseTuple(args
,"sO:wxImageHandler_SetExtension",&_argc0
,&_obj1
))
454 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetExtension. Expected _wxImageHandler_p.");
460 if (!PyString_Check(_obj1
)) {
461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
464 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
467 wxPy_BEGIN_ALLOW_THREADS
;
468 wxImageHandler_SetExtension(_arg0
,*_arg1
);
470 wxPy_END_ALLOW_THREADS
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
480 #define wxImageHandler_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
481 static PyObject
*_wrap_wxImageHandler_SetType(PyObject
*self
, PyObject
*args
) {
482 PyObject
* _resultobj
;
483 wxImageHandler
* _arg0
;
488 if(!PyArg_ParseTuple(args
,"sl:wxImageHandler_SetType",&_argc0
,&_arg1
))
491 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetType. Expected _wxImageHandler_p.");
497 wxPy_BEGIN_ALLOW_THREADS
;
498 wxImageHandler_SetType(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 #define wxImageHandler_SetMimeType(_swigobj,_swigarg0) (_swigobj->SetMimeType(_swigarg0))
507 static PyObject
*_wrap_wxImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
) {
508 PyObject
* _resultobj
;
509 wxImageHandler
* _arg0
;
512 PyObject
* _obj1
= 0;
515 if(!PyArg_ParseTuple(args
,"sO:wxImageHandler_SetMimeType",&_argc0
,&_obj1
))
518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetMimeType. Expected _wxImageHandler_p.");
524 if (!PyString_Check(_obj1
)) {
525 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
528 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
531 wxPy_BEGIN_ALLOW_THREADS
;
532 wxImageHandler_SetMimeType(_arg0
,*_arg1
);
534 wxPy_END_ALLOW_THREADS
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
544 static void *SwigwxPNGHandlerTowxImageHandler(void *ptr
) {
546 wxImageHandler
*dest
;
547 src
= (wxPNGHandler
*) ptr
;
548 dest
= (wxImageHandler
*) src
;
549 return (void *) dest
;
552 #define new_wxPNGHandler() (new wxPNGHandler())
553 static PyObject
*_wrap_new_wxPNGHandler(PyObject
*self
, PyObject
*args
) {
554 PyObject
* _resultobj
;
555 wxPNGHandler
* _result
;
559 if(!PyArg_ParseTuple(args
,":new_wxPNGHandler"))
562 wxPy_BEGIN_ALLOW_THREADS
;
563 _result
= (wxPNGHandler
*)new_wxPNGHandler();
565 wxPy_END_ALLOW_THREADS
;
566 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPNGHandler_p");
567 _resultobj
= Py_BuildValue("s",_ptemp
);
571 static void *SwigwxJPEGHandlerTowxImageHandler(void *ptr
) {
573 wxImageHandler
*dest
;
574 src
= (wxJPEGHandler
*) ptr
;
575 dest
= (wxImageHandler
*) src
;
576 return (void *) dest
;
579 #define new_wxJPEGHandler() (new wxJPEGHandler())
580 static PyObject
*_wrap_new_wxJPEGHandler(PyObject
*self
, PyObject
*args
) {
581 PyObject
* _resultobj
;
582 wxJPEGHandler
* _result
;
586 if(!PyArg_ParseTuple(args
,":new_wxJPEGHandler"))
589 wxPy_BEGIN_ALLOW_THREADS
;
590 _result
= (wxJPEGHandler
*)new_wxJPEGHandler();
592 wxPy_END_ALLOW_THREADS
;
593 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJPEGHandler_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
598 static void *SwigwxBMPHandlerTowxImageHandler(void *ptr
) {
600 wxImageHandler
*dest
;
601 src
= (wxBMPHandler
*) ptr
;
602 dest
= (wxImageHandler
*) src
;
603 return (void *) dest
;
606 #define new_wxBMPHandler() (new wxBMPHandler())
607 static PyObject
*_wrap_new_wxBMPHandler(PyObject
*self
, PyObject
*args
) {
608 PyObject
* _resultobj
;
609 wxBMPHandler
* _result
;
613 if(!PyArg_ParseTuple(args
,":new_wxBMPHandler"))
616 wxPy_BEGIN_ALLOW_THREADS
;
617 _result
= (wxBMPHandler
*)new_wxBMPHandler();
619 wxPy_END_ALLOW_THREADS
;
620 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBMPHandler_p");
621 _resultobj
= Py_BuildValue("s",_ptemp
);
625 static void *SwigwxGIFHandlerTowxImageHandler(void *ptr
) {
627 wxImageHandler
*dest
;
628 src
= (wxGIFHandler
*) ptr
;
629 dest
= (wxImageHandler
*) src
;
630 return (void *) dest
;
633 #define new_wxGIFHandler() (new wxGIFHandler())
634 static PyObject
*_wrap_new_wxGIFHandler(PyObject
*self
, PyObject
*args
) {
635 PyObject
* _resultobj
;
636 wxGIFHandler
* _result
;
640 if(!PyArg_ParseTuple(args
,":new_wxGIFHandler"))
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (wxGIFHandler
*)new_wxGIFHandler();
646 wxPy_END_ALLOW_THREADS
;
647 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGIFHandler_p");
648 _resultobj
= Py_BuildValue("s",_ptemp
);
652 #define new_wxImage(_swigarg0,_swigarg1) (new wxImage(_swigarg0,_swigarg1))
653 static PyObject
*_wrap_new_wxImage(PyObject
*self
, PyObject
*args
) {
654 PyObject
* _resultobj
;
657 long _arg1
= (wxBITMAP_TYPE_PNG
);
658 PyObject
* _obj0
= 0;
662 if(!PyArg_ParseTuple(args
,"O|l:new_wxImage",&_obj0
,&_arg1
))
665 if (!PyString_Check(_obj0
)) {
666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
669 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
672 wxPy_BEGIN_ALLOW_THREADS
;
673 _result
= (wxImage
*)new_wxImage(*_arg0
,_arg1
);
675 wxPy_END_ALLOW_THREADS
;
676 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
677 _resultobj
= Py_BuildValue("s",_ptemp
);
685 #define delete_wxImage(_swigobj) (delete _swigobj)
686 static PyObject
*_wrap_delete_wxImage(PyObject
*self
, PyObject
*args
) {
687 PyObject
* _resultobj
;
692 if(!PyArg_ParseTuple(args
,"s:delete_wxImage",&_argc0
))
695 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImage. Expected _wxImage_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
702 delete_wxImage(_arg0
);
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 #define wxImage_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
711 static PyObject
*_wrap_wxImage_ConvertToBitmap(PyObject
*self
, PyObject
*args
) {
712 PyObject
* _resultobj
;
719 if(!PyArg_ParseTuple(args
,"s:wxImage_ConvertToBitmap",&_argc0
))
722 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_ConvertToBitmap. Expected _wxImage_p.");
728 wxPy_BEGIN_ALLOW_THREADS
;
729 _result
= new wxBitmap (wxImage_ConvertToBitmap(_arg0
));
731 wxPy_END_ALLOW_THREADS
;
732 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
733 _resultobj
= Py_BuildValue("s",_ptemp
);
737 #define wxImage_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
738 static PyObject
*_wrap_wxImage_Create(PyObject
*self
, PyObject
*args
) {
739 PyObject
* _resultobj
;
746 if(!PyArg_ParseTuple(args
,"sii:wxImage_Create",&_argc0
,&_arg1
,&_arg2
))
749 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Create. Expected _wxImage_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxImage_Create(_arg0
,_arg1
,_arg2
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 #define wxImage_Destroy(_swigobj) (_swigobj->Destroy())
765 static PyObject
*_wrap_wxImage_Destroy(PyObject
*self
, PyObject
*args
) {
766 PyObject
* _resultobj
;
771 if(!PyArg_ParseTuple(args
,"s:wxImage_Destroy",&_argc0
))
774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Destroy. Expected _wxImage_p.");
780 wxPy_BEGIN_ALLOW_THREADS
;
781 wxImage_Destroy(_arg0
);
783 wxPy_END_ALLOW_THREADS
;
784 } Py_INCREF(Py_None
);
785 _resultobj
= Py_None
;
789 #define wxImage_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
790 static PyObject
*_wrap_wxImage_Scale(PyObject
*self
, PyObject
*args
) {
791 PyObject
* _resultobj
;
800 if(!PyArg_ParseTuple(args
,"sii:wxImage_Scale",&_argc0
,&_arg1
,&_arg2
))
803 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Scale. Expected _wxImage_p.");
809 wxPy_BEGIN_ALLOW_THREADS
;
810 _result
= new wxImage (wxImage_Scale(_arg0
,_arg1
,_arg2
));
812 wxPy_END_ALLOW_THREADS
;
813 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxImage_p");
814 _resultobj
= Py_BuildValue("s",_ptemp
);
818 #define wxImage_SetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
819 static PyObject
*_wrap_wxImage_SetRGB(PyObject
*self
, PyObject
*args
) {
820 PyObject
* _resultobj
;
830 if(!PyArg_ParseTuple(args
,"siibbb:wxImage_SetRGB",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
833 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetRGB. Expected _wxImage_p.");
839 wxPy_BEGIN_ALLOW_THREADS
;
840 wxImage_SetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
842 wxPy_END_ALLOW_THREADS
;
843 } Py_INCREF(Py_None
);
844 _resultobj
= Py_None
;
848 #define wxImage_GetRed(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRed(_swigarg0,_swigarg1))
849 static PyObject
*_wrap_wxImage_GetRed(PyObject
*self
, PyObject
*args
) {
850 PyObject
* _resultobj
;
851 unsigned char _result
;
858 if(!PyArg_ParseTuple(args
,"sii:wxImage_GetRed",&_argc0
,&_arg1
,&_arg2
))
861 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetRed. Expected _wxImage_p.");
867 wxPy_BEGIN_ALLOW_THREADS
;
868 _result
= (unsigned char )wxImage_GetRed(_arg0
,_arg1
,_arg2
);
870 wxPy_END_ALLOW_THREADS
;
871 } _resultobj
= Py_BuildValue("b",_result
);
875 #define wxImage_GetGreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetGreen(_swigarg0,_swigarg1))
876 static PyObject
*_wrap_wxImage_GetGreen(PyObject
*self
, PyObject
*args
) {
877 PyObject
* _resultobj
;
878 unsigned char _result
;
885 if(!PyArg_ParseTuple(args
,"sii:wxImage_GetGreen",&_argc0
,&_arg1
,&_arg2
))
888 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetGreen. Expected _wxImage_p.");
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= (unsigned char )wxImage_GetGreen(_arg0
,_arg1
,_arg2
);
897 wxPy_END_ALLOW_THREADS
;
898 } _resultobj
= Py_BuildValue("b",_result
);
902 #define wxImage_GetBlue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBlue(_swigarg0,_swigarg1))
903 static PyObject
*_wrap_wxImage_GetBlue(PyObject
*self
, PyObject
*args
) {
904 PyObject
* _resultobj
;
905 unsigned char _result
;
912 if(!PyArg_ParseTuple(args
,"sii:wxImage_GetBlue",&_argc0
,&_arg1
,&_arg2
))
915 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetBlue. Expected _wxImage_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 _result
= (unsigned char )wxImage_GetBlue(_arg0
,_arg1
,_arg2
);
924 wxPy_END_ALLOW_THREADS
;
925 } _resultobj
= Py_BuildValue("b",_result
);
929 #define wxImage_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
930 static PyObject
*_wrap_wxImage_LoadFile(PyObject
*self
, PyObject
*args
) {
931 PyObject
* _resultobj
;
935 long _arg2
= (wxBITMAP_TYPE_PNG
);
937 PyObject
* _obj1
= 0;
940 if(!PyArg_ParseTuple(args
,"sO|l:wxImage_LoadFile",&_argc0
,&_obj1
,&_arg2
))
943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_LoadFile. Expected _wxImage_p.");
949 if (!PyString_Check(_obj1
)) {
950 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
953 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
956 wxPy_BEGIN_ALLOW_THREADS
;
957 _result
= (bool )wxImage_LoadFile(_arg0
,*_arg1
,_arg2
);
959 wxPy_END_ALLOW_THREADS
;
960 } _resultobj
= Py_BuildValue("i",_result
);
968 #define wxImage_LoadMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
969 static PyObject
*_wrap_wxImage_LoadMimeFile(PyObject
*self
, PyObject
*args
) {
970 PyObject
* _resultobj
;
976 PyObject
* _obj1
= 0;
977 PyObject
* _obj2
= 0;
980 if(!PyArg_ParseTuple(args
,"sOO:wxImage_LoadMimeFile",&_argc0
,&_obj1
,&_obj2
))
983 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_LoadMimeFile. Expected _wxImage_p.");
989 if (!PyString_Check(_obj1
)) {
990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
993 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
996 if (!PyString_Check(_obj2
)) {
997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1000 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1003 wxPy_BEGIN_ALLOW_THREADS
;
1004 _result
= (bool )wxImage_LoadMimeFile(_arg0
,*_arg1
,*_arg2
);
1006 wxPy_END_ALLOW_THREADS
;
1007 } _resultobj
= Py_BuildValue("i",_result
);
1019 #define wxImage_SaveFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
1020 static PyObject
*_wrap_wxImage_SaveFile(PyObject
*self
, PyObject
*args
) {
1021 PyObject
* _resultobj
;
1027 PyObject
* _obj1
= 0;
1030 if(!PyArg_ParseTuple(args
,"sOi:wxImage_SaveFile",&_argc0
,&_obj1
,&_arg2
))
1033 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SaveFile. Expected _wxImage_p.");
1039 if (!PyString_Check(_obj1
)) {
1040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1043 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 _result
= (bool )wxImage_SaveFile(_arg0
,*_arg1
,_arg2
);
1049 wxPy_END_ALLOW_THREADS
;
1050 } _resultobj
= Py_BuildValue("i",_result
);
1058 #define wxImage_SaveMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
1059 static PyObject
*_wrap_wxImage_SaveMimeFile(PyObject
*self
, PyObject
*args
) {
1060 PyObject
* _resultobj
;
1066 PyObject
* _obj1
= 0;
1067 PyObject
* _obj2
= 0;
1070 if(!PyArg_ParseTuple(args
,"sOO:wxImage_SaveMimeFile",&_argc0
,&_obj1
,&_obj2
))
1073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SaveMimeFile. Expected _wxImage_p.");
1079 if (!PyString_Check(_obj1
)) {
1080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1083 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1086 if (!PyString_Check(_obj2
)) {
1087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1090 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (bool )wxImage_SaveMimeFile(_arg0
,*_arg1
,*_arg2
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxImage_Ok(_swigobj) (_swigobj->Ok())
1110 static PyObject
*_wrap_wxImage_Ok(PyObject
*self
, PyObject
*args
) {
1111 PyObject
* _resultobj
;
1117 if(!PyArg_ParseTuple(args
,"s:wxImage_Ok",&_argc0
))
1120 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Ok. Expected _wxImage_p.");
1126 wxPy_BEGIN_ALLOW_THREADS
;
1127 _result
= (bool )wxImage_Ok(_arg0
);
1129 wxPy_END_ALLOW_THREADS
;
1130 } _resultobj
= Py_BuildValue("i",_result
);
1134 #define wxImage_GetWidth(_swigobj) (_swigobj->GetWidth())
1135 static PyObject
*_wrap_wxImage_GetWidth(PyObject
*self
, PyObject
*args
) {
1136 PyObject
* _resultobj
;
1142 if(!PyArg_ParseTuple(args
,"s:wxImage_GetWidth",&_argc0
))
1145 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetWidth. Expected _wxImage_p.");
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (int )wxImage_GetWidth(_arg0
);
1154 wxPy_END_ALLOW_THREADS
;
1155 } _resultobj
= Py_BuildValue("i",_result
);
1159 #define wxImage_GetHeight(_swigobj) (_swigobj->GetHeight())
1160 static PyObject
*_wrap_wxImage_GetHeight(PyObject
*self
, PyObject
*args
) {
1161 PyObject
* _resultobj
;
1167 if(!PyArg_ParseTuple(args
,"s:wxImage_GetHeight",&_argc0
))
1170 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetHeight. Expected _wxImage_p.");
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= (int )wxImage_GetHeight(_arg0
);
1179 wxPy_END_ALLOW_THREADS
;
1180 } _resultobj
= Py_BuildValue("i",_result
);
1184 #define wxImage_GetData(_swigobj) (_swigobj->GetData())
1185 static PyObject
*_wrap_wxImage_GetData(PyObject
*self
, PyObject
*args
) {
1186 PyObject
* _resultobj
;
1187 unsigned char * _result
;
1193 if(!PyArg_ParseTuple(args
,"s:wxImage_GetData",&_argc0
))
1196 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetData. Expected _wxImage_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (unsigned char *)wxImage_GetData(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_unsigned_char_p");
1207 _resultobj
= Py_BuildValue("s",_ptemp
);
1211 #define wxImage_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
1212 static PyObject
*_wrap_wxImage_SetData(PyObject
*self
, PyObject
*args
) {
1213 PyObject
* _resultobj
;
1215 unsigned char * _arg1
;
1220 if(!PyArg_ParseTuple(args
,"ss:wxImage_SetData",&_argc0
,&_argc1
))
1223 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetData. Expected _wxImage_p.");
1229 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_unsigned_char_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImage_SetData. Expected _unsigned_char_p.");
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 wxImage_SetData(_arg0
,_arg1
);
1238 wxPy_END_ALLOW_THREADS
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1244 #define wxImage_SetMaskColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetMaskColour(_swigarg0,_swigarg1,_swigarg2))
1245 static PyObject
*_wrap_wxImage_SetMaskColour(PyObject
*self
, PyObject
*args
) {
1246 PyObject
* _resultobj
;
1248 unsigned char _arg1
;
1249 unsigned char _arg2
;
1250 unsigned char _arg3
;
1254 if(!PyArg_ParseTuple(args
,"sbbb:wxImage_SetMaskColour",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1257 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetMaskColour. Expected _wxImage_p.");
1263 wxPy_BEGIN_ALLOW_THREADS
;
1264 wxImage_SetMaskColour(_arg0
,_arg1
,_arg2
,_arg3
);
1266 wxPy_END_ALLOW_THREADS
;
1267 } Py_INCREF(Py_None
);
1268 _resultobj
= Py_None
;
1272 #define wxImage_GetMaskRed(_swigobj) (_swigobj->GetMaskRed())
1273 static PyObject
*_wrap_wxImage_GetMaskRed(PyObject
*self
, PyObject
*args
) {
1274 PyObject
* _resultobj
;
1275 unsigned char _result
;
1280 if(!PyArg_ParseTuple(args
,"s:wxImage_GetMaskRed",&_argc0
))
1283 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskRed. Expected _wxImage_p.");
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (unsigned char )wxImage_GetMaskRed(_arg0
);
1292 wxPy_END_ALLOW_THREADS
;
1293 } _resultobj
= Py_BuildValue("b",_result
);
1297 #define wxImage_GetMaskGreen(_swigobj) (_swigobj->GetMaskGreen())
1298 static PyObject
*_wrap_wxImage_GetMaskGreen(PyObject
*self
, PyObject
*args
) {
1299 PyObject
* _resultobj
;
1300 unsigned char _result
;
1305 if(!PyArg_ParseTuple(args
,"s:wxImage_GetMaskGreen",&_argc0
))
1308 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskGreen. Expected _wxImage_p.");
1314 wxPy_BEGIN_ALLOW_THREADS
;
1315 _result
= (unsigned char )wxImage_GetMaskGreen(_arg0
);
1317 wxPy_END_ALLOW_THREADS
;
1318 } _resultobj
= Py_BuildValue("b",_result
);
1322 #define wxImage_GetMaskBlue(_swigobj) (_swigobj->GetMaskBlue())
1323 static PyObject
*_wrap_wxImage_GetMaskBlue(PyObject
*self
, PyObject
*args
) {
1324 PyObject
* _resultobj
;
1325 unsigned char _result
;
1330 if(!PyArg_ParseTuple(args
,"s:wxImage_GetMaskBlue",&_argc0
))
1333 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskBlue. Expected _wxImage_p.");
1339 wxPy_BEGIN_ALLOW_THREADS
;
1340 _result
= (unsigned char )wxImage_GetMaskBlue(_arg0
);
1342 wxPy_END_ALLOW_THREADS
;
1343 } _resultobj
= Py_BuildValue("b",_result
);
1347 #define wxImage_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1348 static PyObject
*_wrap_wxImage_SetMask(PyObject
*self
, PyObject
*args
) {
1349 PyObject
* _resultobj
;
1356 if(!PyArg_ParseTuple(args
,"s|i:wxImage_SetMask",&_argc0
,&tempbool1
))
1359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetMask. Expected _wxImage_p.");
1364 _arg1
= (bool ) tempbool1
;
1366 wxPy_BEGIN_ALLOW_THREADS
;
1367 wxImage_SetMask(_arg0
,_arg1
);
1369 wxPy_END_ALLOW_THREADS
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1375 #define wxImage_HasMask(_swigobj) (_swigobj->HasMask())
1376 static PyObject
*_wrap_wxImage_HasMask(PyObject
*self
, PyObject
*args
) {
1377 PyObject
* _resultobj
;
1383 if(!PyArg_ParseTuple(args
,"s:wxImage_HasMask",&_argc0
))
1386 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_HasMask. Expected _wxImage_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (bool )wxImage_HasMask(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 static PyMethodDef imagecMethods
[] = {
1401 { "wxImage_HasMask", _wrap_wxImage_HasMask
, 1 },
1402 { "wxImage_SetMask", _wrap_wxImage_SetMask
, 1 },
1403 { "wxImage_GetMaskBlue", _wrap_wxImage_GetMaskBlue
, 1 },
1404 { "wxImage_GetMaskGreen", _wrap_wxImage_GetMaskGreen
, 1 },
1405 { "wxImage_GetMaskRed", _wrap_wxImage_GetMaskRed
, 1 },
1406 { "wxImage_SetMaskColour", _wrap_wxImage_SetMaskColour
, 1 },
1407 { "wxImage_SetData", _wrap_wxImage_SetData
, 1 },
1408 { "wxImage_GetData", _wrap_wxImage_GetData
, 1 },
1409 { "wxImage_GetHeight", _wrap_wxImage_GetHeight
, 1 },
1410 { "wxImage_GetWidth", _wrap_wxImage_GetWidth
, 1 },
1411 { "wxImage_Ok", _wrap_wxImage_Ok
, 1 },
1412 { "wxImage_SaveMimeFile", _wrap_wxImage_SaveMimeFile
, 1 },
1413 { "wxImage_SaveFile", _wrap_wxImage_SaveFile
, 1 },
1414 { "wxImage_LoadMimeFile", _wrap_wxImage_LoadMimeFile
, 1 },
1415 { "wxImage_LoadFile", _wrap_wxImage_LoadFile
, 1 },
1416 { "wxImage_GetBlue", _wrap_wxImage_GetBlue
, 1 },
1417 { "wxImage_GetGreen", _wrap_wxImage_GetGreen
, 1 },
1418 { "wxImage_GetRed", _wrap_wxImage_GetRed
, 1 },
1419 { "wxImage_SetRGB", _wrap_wxImage_SetRGB
, 1 },
1420 { "wxImage_Scale", _wrap_wxImage_Scale
, 1 },
1421 { "wxImage_Destroy", _wrap_wxImage_Destroy
, 1 },
1422 { "wxImage_Create", _wrap_wxImage_Create
, 1 },
1423 { "wxImage_ConvertToBitmap", _wrap_wxImage_ConvertToBitmap
, 1 },
1424 { "delete_wxImage", _wrap_delete_wxImage
, 1 },
1425 { "new_wxImage", _wrap_new_wxImage
, 1 },
1426 { "new_wxGIFHandler", _wrap_new_wxGIFHandler
, 1 },
1427 { "new_wxBMPHandler", _wrap_new_wxBMPHandler
, 1 },
1428 { "new_wxJPEGHandler", _wrap_new_wxJPEGHandler
, 1 },
1429 { "new_wxPNGHandler", _wrap_new_wxPNGHandler
, 1 },
1430 { "wxImageHandler_SetMimeType", _wrap_wxImageHandler_SetMimeType
, 1 },
1431 { "wxImageHandler_SetType", _wrap_wxImageHandler_SetType
, 1 },
1432 { "wxImageHandler_SetExtension", _wrap_wxImageHandler_SetExtension
, 1 },
1433 { "wxImageHandler_SetName", _wrap_wxImageHandler_SetName
, 1 },
1434 { "wxImageHandler_GetMimeType", _wrap_wxImageHandler_GetMimeType
, 1 },
1435 { "wxImageHandler_GetType", _wrap_wxImageHandler_GetType
, 1 },
1436 { "wxImageHandler_GetExtension", _wrap_wxImageHandler_GetExtension
, 1 },
1437 { "wxImageHandler_GetName", _wrap_wxImageHandler_GetName
, 1 },
1438 { "new_wxImageHandler", _wrap_new_wxImageHandler
, 1 },
1439 { "wxImage_AddHandler", _wrap_wxImage_AddHandler
, 1 },
1440 { "wxImageFromBitmap", _wrap_wxImageFromBitmap
, 1 },
1441 { "wxImageFromMime", _wrap_wxImageFromMime
, 1 },
1442 { "wxEmptyImage", _wrap_wxEmptyImage
, 1 },
1443 { "wxNullImage", _wrap_wxNullImage
, 1 },
1446 static PyObject
*SWIG_globals
;
1450 SWIGEXPORT(void,initimagec
)() {
1452 SWIG_globals
= SWIG_newvarlink();
1453 m
= Py_InitModule("imagec", imagecMethods
);
1454 d
= PyModule_GetDict(m
);
1456 * These are the pointer type-equivalency mappings.
1457 * (Used by the SWIG pointer type-checker).
1459 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
1460 SWIG_RegisterMapping("_signed_long","_long",0);
1461 SWIG_RegisterMapping("_class_wxJPEGHandler","_wxJPEGHandler",0);
1462 SWIG_RegisterMapping("_wxBMPHandler","_class_wxBMPHandler",0);
1463 SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
1464 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
1465 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
1466 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
1467 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
1468 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
1469 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
1470 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
1471 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
1472 SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
1473 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1474 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1475 SWIG_RegisterMapping("_wxImageHandler","_class_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1476 SWIG_RegisterMapping("_wxImageHandler","_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1477 SWIG_RegisterMapping("_wxImageHandler","_class_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1478 SWIG_RegisterMapping("_wxImageHandler","_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1479 SWIG_RegisterMapping("_wxImageHandler","_class_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1480 SWIG_RegisterMapping("_wxImageHandler","_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1481 SWIG_RegisterMapping("_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1482 SWIG_RegisterMapping("_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1483 SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
1484 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1485 SWIG_RegisterMapping("_wxPNGHandler","_class_wxPNGHandler",0);
1486 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1487 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1488 SWIG_RegisterMapping("_long","_wxDash",0);
1489 SWIG_RegisterMapping("_long","_unsigned_long",0);
1490 SWIG_RegisterMapping("_long","_signed_long",0);
1491 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
1492 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
1493 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1494 SWIG_RegisterMapping("_class_wxBMPHandler","_wxBMPHandler",0);
1495 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
1496 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
1497 SWIG_RegisterMapping("_size_t","_int",0);
1498 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
1499 SWIG_RegisterMapping("_size_t","_uint",0);
1500 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1501 SWIG_RegisterMapping("_class_wxGIFHandler","_wxGIFHandler",0);
1502 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
1503 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1504 SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
1505 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1506 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1507 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
1508 SWIG_RegisterMapping("_uint","_size_t",0);
1509 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1510 SWIG_RegisterMapping("_uint","_int",0);
1511 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1512 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1513 SWIG_RegisterMapping("_class_wxImage","_wxImage",0);
1514 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1515 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1516 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1517 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
1518 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1519 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
1520 SWIG_RegisterMapping("_EBool","_signed_int",0);
1521 SWIG_RegisterMapping("_EBool","_int",0);
1522 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1523 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
1524 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1525 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1526 SWIG_RegisterMapping("_unsigned_long","_long",0);
1527 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1528 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1529 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1530 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1531 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
1532 SWIG_RegisterMapping("_signed_int","_EBool",0);
1533 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1534 SWIG_RegisterMapping("_signed_int","_int",0);
1535 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1536 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1537 SWIG_RegisterMapping("_WXTYPE","_short",0);
1538 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1539 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1540 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1541 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1542 SWIG_RegisterMapping("_unsigned_short","_short",0);
1543 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1544 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1545 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1546 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1547 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1548 SWIG_RegisterMapping("_signed_short","_short",0);
1549 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1550 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1551 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
1552 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1553 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1554 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
1555 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1556 SWIG_RegisterMapping("_class_wxImageHandler","_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1557 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1558 SWIG_RegisterMapping("_class_wxImageHandler","_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1559 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1560 SWIG_RegisterMapping("_class_wxImageHandler","_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1561 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1562 SWIG_RegisterMapping("_class_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1563 SWIG_RegisterMapping("_class_wxImageHandler","_wxImageHandler",0);
1564 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1565 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
1566 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
1567 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1568 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1569 SWIG_RegisterMapping("_unsigned_int","_int",0);
1570 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1571 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1572 SWIG_RegisterMapping("_short","_WXTYPE",0);
1573 SWIG_RegisterMapping("_short","_unsigned_short",0);
1574 SWIG_RegisterMapping("_short","_signed_short",0);
1575 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
1576 SWIG_RegisterMapping("_wxJPEGHandler","_class_wxJPEGHandler",0);
1577 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
1578 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
1579 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1580 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1581 SWIG_RegisterMapping("_wxWindowID","_int",0);
1582 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1583 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1584 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
1585 SWIG_RegisterMapping("_int","_size_t",0);
1586 SWIG_RegisterMapping("_int","_EBool",0);
1587 SWIG_RegisterMapping("_int","_uint",0);
1588 SWIG_RegisterMapping("_int","_wxWindowID",0);
1589 SWIG_RegisterMapping("_int","_unsigned_int",0);
1590 SWIG_RegisterMapping("_int","_signed_int",0);
1591 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1592 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
1593 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1594 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1595 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1596 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1597 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1598 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
1599 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
1600 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1601 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1602 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1603 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1604 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1605 SWIG_RegisterMapping("_wxDash","_long",0);
1606 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);