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
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
118 wxImage
* wxNullImage() {
122 wxImage
* wxEmptyImage(int width
, int height
) {
123 return new wxImage(width
, height
);
126 wxImage
* wxImageFromMime(const wxString
& name
, const wxString
& mimetype
) {
127 return new wxImage(name
, mimetype
);
130 wxImage
* wxImageFromBitmap(const wxBitmap
&bitmap
) {
131 return new wxImage(bitmap
);
134 void wxImage_AddHandler(wxImageHandler
*handler
) {
135 wxImage::AddHandler(handler
);
137 static PyObject
*_wrap_wxNullImage(PyObject
*self
, PyObject
*args
) {
138 PyObject
* _resultobj
;
143 if(!PyArg_ParseTuple(args
,":wxNullImage"))
146 wxPy_BEGIN_ALLOW_THREADS
;
147 _result
= (wxImage
*)wxNullImage();
149 wxPy_END_ALLOW_THREADS
;
150 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
151 _resultobj
= Py_BuildValue("s",_ptemp
);
155 static PyObject
*_wrap_wxEmptyImage(PyObject
*self
, PyObject
*args
) {
156 PyObject
* _resultobj
;
163 if(!PyArg_ParseTuple(args
,"ii:wxEmptyImage",&_arg0
,&_arg1
))
166 wxPy_BEGIN_ALLOW_THREADS
;
167 _result
= (wxImage
*)wxEmptyImage(_arg0
,_arg1
);
169 wxPy_END_ALLOW_THREADS
;
170 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
171 _resultobj
= Py_BuildValue("s",_ptemp
);
175 static PyObject
*_wrap_wxImageFromMime(PyObject
*self
, PyObject
*args
) {
176 PyObject
* _resultobj
;
180 PyObject
* _obj0
= 0;
181 PyObject
* _obj1
= 0;
185 if(!PyArg_ParseTuple(args
,"OO:wxImageFromMime",&_obj0
,&_obj1
))
188 if (!PyString_Check(_obj0
)) {
189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
192 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
195 if (!PyString_Check(_obj1
)) {
196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
199 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
202 wxPy_BEGIN_ALLOW_THREADS
;
203 _result
= (wxImage
*)wxImageFromMime(*_arg0
,*_arg1
);
205 wxPy_END_ALLOW_THREADS
;
206 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
219 static PyObject
*_wrap_wxImageFromBitmap(PyObject
*self
, PyObject
*args
) {
220 PyObject
* _resultobj
;
227 if(!PyArg_ParseTuple(args
,"s:wxImageFromBitmap",&_argc0
))
230 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxBitmap_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageFromBitmap. Expected _wxBitmap_p.");
236 wxPy_BEGIN_ALLOW_THREADS
;
237 _result
= (wxImage
*)wxImageFromBitmap(*_arg0
);
239 wxPy_END_ALLOW_THREADS
;
240 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
241 _resultobj
= Py_BuildValue("s",_ptemp
);
245 static PyObject
*_wrap_wxImage_AddHandler(PyObject
*self
, PyObject
*args
) {
246 PyObject
* _resultobj
;
247 wxImageHandler
* _arg0
;
251 if(!PyArg_ParseTuple(args
,"s:wxImage_AddHandler",&_argc0
))
254 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_AddHandler. Expected _wxImageHandler_p.");
260 wxPy_BEGIN_ALLOW_THREADS
;
261 wxImage_AddHandler(_arg0
);
263 wxPy_END_ALLOW_THREADS
;
264 } Py_INCREF(Py_None
);
265 _resultobj
= Py_None
;
269 #define new_wxImageHandler() (new wxImageHandler())
270 static PyObject
*_wrap_new_wxImageHandler(PyObject
*self
, PyObject
*args
) {
271 PyObject
* _resultobj
;
272 wxImageHandler
* _result
;
276 if(!PyArg_ParseTuple(args
,":new_wxImageHandler"))
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= (wxImageHandler
*)new_wxImageHandler();
282 wxPy_END_ALLOW_THREADS
;
283 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageHandler_p");
284 _resultobj
= Py_BuildValue("s",_ptemp
);
288 #define wxImageHandler_GetName(_swigobj) (_swigobj->GetName())
289 static PyObject
*_wrap_wxImageHandler_GetName(PyObject
*self
, PyObject
*args
) {
290 PyObject
* _resultobj
;
292 wxImageHandler
* _arg0
;
296 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetName",&_argc0
))
299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetName. Expected _wxImageHandler_p.");
305 wxPy_BEGIN_ALLOW_THREADS
;
306 _result
= new wxString (wxImageHandler_GetName(_arg0
));
308 wxPy_END_ALLOW_THREADS
;
310 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
318 #define wxImageHandler_GetExtension(_swigobj) (_swigobj->GetExtension())
319 static PyObject
*_wrap_wxImageHandler_GetExtension(PyObject
*self
, PyObject
*args
) {
320 PyObject
* _resultobj
;
322 wxImageHandler
* _arg0
;
326 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetExtension",&_argc0
))
329 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetExtension. Expected _wxImageHandler_p.");
335 wxPy_BEGIN_ALLOW_THREADS
;
336 _result
= new wxString (wxImageHandler_GetExtension(_arg0
));
338 wxPy_END_ALLOW_THREADS
;
340 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
348 #define wxImageHandler_GetType(_swigobj) (_swigobj->GetType())
349 static PyObject
*_wrap_wxImageHandler_GetType(PyObject
*self
, PyObject
*args
) {
350 PyObject
* _resultobj
;
352 wxImageHandler
* _arg0
;
356 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetType",&_argc0
))
359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetType. Expected _wxImageHandler_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= (long )wxImageHandler_GetType(_arg0
);
368 wxPy_END_ALLOW_THREADS
;
369 } _resultobj
= Py_BuildValue("l",_result
);
373 #define wxImageHandler_GetMimeType(_swigobj) (_swigobj->GetMimeType())
374 static PyObject
*_wrap_wxImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
) {
375 PyObject
* _resultobj
;
377 wxImageHandler
* _arg0
;
381 if(!PyArg_ParseTuple(args
,"s:wxImageHandler_GetMimeType",&_argc0
))
384 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetMimeType. Expected _wxImageHandler_p.");
390 wxPy_BEGIN_ALLOW_THREADS
;
391 _result
= new wxString (wxImageHandler_GetMimeType(_arg0
));
393 wxPy_END_ALLOW_THREADS
;
395 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
403 #define wxImageHandler_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
404 static PyObject
*_wrap_wxImageHandler_SetName(PyObject
*self
, PyObject
*args
) {
405 PyObject
* _resultobj
;
406 wxImageHandler
* _arg0
;
409 PyObject
* _obj1
= 0;
412 if(!PyArg_ParseTuple(args
,"sO:wxImageHandler_SetName",&_argc0
,&_obj1
))
415 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetName. Expected _wxImageHandler_p.");
421 if (!PyString_Check(_obj1
)) {
422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
425 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
428 wxPy_BEGIN_ALLOW_THREADS
;
429 wxImageHandler_SetName(_arg0
,*_arg1
);
431 wxPy_END_ALLOW_THREADS
;
432 } Py_INCREF(Py_None
);
433 _resultobj
= Py_None
;
441 #define wxImageHandler_SetExtension(_swigobj,_swigarg0) (_swigobj->SetExtension(_swigarg0))
442 static PyObject
*_wrap_wxImageHandler_SetExtension(PyObject
*self
, PyObject
*args
) {
443 PyObject
* _resultobj
;
444 wxImageHandler
* _arg0
;
447 PyObject
* _obj1
= 0;
450 if(!PyArg_ParseTuple(args
,"sO:wxImageHandler_SetExtension",&_argc0
,&_obj1
))
453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetExtension. Expected _wxImageHandler_p.");
459 if (!PyString_Check(_obj1
)) {
460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
463 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
466 wxPy_BEGIN_ALLOW_THREADS
;
467 wxImageHandler_SetExtension(_arg0
,*_arg1
);
469 wxPy_END_ALLOW_THREADS
;
470 } Py_INCREF(Py_None
);
471 _resultobj
= Py_None
;
479 #define wxImageHandler_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
480 static PyObject
*_wrap_wxImageHandler_SetType(PyObject
*self
, PyObject
*args
) {
481 PyObject
* _resultobj
;
482 wxImageHandler
* _arg0
;
487 if(!PyArg_ParseTuple(args
,"sl:wxImageHandler_SetType",&_argc0
,&_arg1
))
490 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetType. Expected _wxImageHandler_p.");
496 wxPy_BEGIN_ALLOW_THREADS
;
497 wxImageHandler_SetType(_arg0
,_arg1
);
499 wxPy_END_ALLOW_THREADS
;
500 } Py_INCREF(Py_None
);
501 _resultobj
= Py_None
;
505 #define wxImageHandler_SetMimeType(_swigobj,_swigarg0) (_swigobj->SetMimeType(_swigarg0))
506 static PyObject
*_wrap_wxImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
) {
507 PyObject
* _resultobj
;
508 wxImageHandler
* _arg0
;
511 PyObject
* _obj1
= 0;
514 if(!PyArg_ParseTuple(args
,"sO:wxImageHandler_SetMimeType",&_argc0
,&_obj1
))
517 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImageHandler_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetMimeType. Expected _wxImageHandler_p.");
523 if (!PyString_Check(_obj1
)) {
524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
527 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
530 wxPy_BEGIN_ALLOW_THREADS
;
531 wxImageHandler_SetMimeType(_arg0
,*_arg1
);
533 wxPy_END_ALLOW_THREADS
;
534 } Py_INCREF(Py_None
);
535 _resultobj
= Py_None
;
543 static void *SwigwxPNGHandlerTowxImageHandler(void *ptr
) {
545 wxImageHandler
*dest
;
546 src
= (wxPNGHandler
*) ptr
;
547 dest
= (wxImageHandler
*) src
;
548 return (void *) dest
;
551 #define new_wxPNGHandler() (new wxPNGHandler())
552 static PyObject
*_wrap_new_wxPNGHandler(PyObject
*self
, PyObject
*args
) {
553 PyObject
* _resultobj
;
554 wxPNGHandler
* _result
;
558 if(!PyArg_ParseTuple(args
,":new_wxPNGHandler"))
561 wxPy_BEGIN_ALLOW_THREADS
;
562 _result
= (wxPNGHandler
*)new_wxPNGHandler();
564 wxPy_END_ALLOW_THREADS
;
565 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPNGHandler_p");
566 _resultobj
= Py_BuildValue("s",_ptemp
);
570 static void *SwigwxJPEGHandlerTowxImageHandler(void *ptr
) {
572 wxImageHandler
*dest
;
573 src
= (wxJPEGHandler
*) ptr
;
574 dest
= (wxImageHandler
*) src
;
575 return (void *) dest
;
578 #define new_wxJPEGHandler() (new wxJPEGHandler())
579 static PyObject
*_wrap_new_wxJPEGHandler(PyObject
*self
, PyObject
*args
) {
580 PyObject
* _resultobj
;
581 wxJPEGHandler
* _result
;
585 if(!PyArg_ParseTuple(args
,":new_wxJPEGHandler"))
588 wxPy_BEGIN_ALLOW_THREADS
;
589 _result
= (wxJPEGHandler
*)new_wxJPEGHandler();
591 wxPy_END_ALLOW_THREADS
;
592 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJPEGHandler_p");
593 _resultobj
= Py_BuildValue("s",_ptemp
);
597 static void *SwigwxBMPHandlerTowxImageHandler(void *ptr
) {
599 wxImageHandler
*dest
;
600 src
= (wxBMPHandler
*) ptr
;
601 dest
= (wxImageHandler
*) src
;
602 return (void *) dest
;
605 #define new_wxBMPHandler() (new wxBMPHandler())
606 static PyObject
*_wrap_new_wxBMPHandler(PyObject
*self
, PyObject
*args
) {
607 PyObject
* _resultobj
;
608 wxBMPHandler
* _result
;
612 if(!PyArg_ParseTuple(args
,":new_wxBMPHandler"))
615 wxPy_BEGIN_ALLOW_THREADS
;
616 _result
= (wxBMPHandler
*)new_wxBMPHandler();
618 wxPy_END_ALLOW_THREADS
;
619 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBMPHandler_p");
620 _resultobj
= Py_BuildValue("s",_ptemp
);
624 static void *SwigwxGIFHandlerTowxImageHandler(void *ptr
) {
626 wxImageHandler
*dest
;
627 src
= (wxGIFHandler
*) ptr
;
628 dest
= (wxImageHandler
*) src
;
629 return (void *) dest
;
632 #define new_wxGIFHandler() (new wxGIFHandler())
633 static PyObject
*_wrap_new_wxGIFHandler(PyObject
*self
, PyObject
*args
) {
634 PyObject
* _resultobj
;
635 wxGIFHandler
* _result
;
639 if(!PyArg_ParseTuple(args
,":new_wxGIFHandler"))
642 wxPy_BEGIN_ALLOW_THREADS
;
643 _result
= (wxGIFHandler
*)new_wxGIFHandler();
645 wxPy_END_ALLOW_THREADS
;
646 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGIFHandler_p");
647 _resultobj
= Py_BuildValue("s",_ptemp
);
651 #define new_wxImage(_swigarg0,_swigarg1) (new wxImage(_swigarg0,_swigarg1))
652 static PyObject
*_wrap_new_wxImage(PyObject
*self
, PyObject
*args
) {
653 PyObject
* _resultobj
;
656 long _arg1
= (wxBITMAP_TYPE_PNG
);
657 PyObject
* _obj0
= 0;
661 if(!PyArg_ParseTuple(args
,"O|l:new_wxImage",&_obj0
,&_arg1
))
664 if (!PyString_Check(_obj0
)) {
665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
668 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
671 wxPy_BEGIN_ALLOW_THREADS
;
672 _result
= (wxImage
*)new_wxImage(*_arg0
,_arg1
);
674 wxPy_END_ALLOW_THREADS
;
675 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
676 _resultobj
= Py_BuildValue("s",_ptemp
);
684 #define delete_wxImage(_swigobj) (delete _swigobj)
685 static PyObject
*_wrap_delete_wxImage(PyObject
*self
, PyObject
*args
) {
686 PyObject
* _resultobj
;
691 if(!PyArg_ParseTuple(args
,"s:delete_wxImage",&_argc0
))
694 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImage. Expected _wxImage_p.");
700 wxPy_BEGIN_ALLOW_THREADS
;
701 delete_wxImage(_arg0
);
703 wxPy_END_ALLOW_THREADS
;
704 } Py_INCREF(Py_None
);
705 _resultobj
= Py_None
;
709 #define wxImage_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
710 static PyObject
*_wrap_wxImage_ConvertToBitmap(PyObject
*self
, PyObject
*args
) {
711 PyObject
* _resultobj
;
718 if(!PyArg_ParseTuple(args
,"s:wxImage_ConvertToBitmap",&_argc0
))
721 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_ConvertToBitmap. Expected _wxImage_p.");
727 wxPy_BEGIN_ALLOW_THREADS
;
728 _result
= new wxBitmap (wxImage_ConvertToBitmap(_arg0
));
730 wxPy_END_ALLOW_THREADS
;
731 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
732 _resultobj
= Py_BuildValue("s",_ptemp
);
736 #define wxImage_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
737 static PyObject
*_wrap_wxImage_Create(PyObject
*self
, PyObject
*args
) {
738 PyObject
* _resultobj
;
745 if(!PyArg_ParseTuple(args
,"sii:wxImage_Create",&_argc0
,&_arg1
,&_arg2
))
748 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Create. Expected _wxImage_p.");
754 wxPy_BEGIN_ALLOW_THREADS
;
755 wxImage_Create(_arg0
,_arg1
,_arg2
);
757 wxPy_END_ALLOW_THREADS
;
758 } Py_INCREF(Py_None
);
759 _resultobj
= Py_None
;
763 #define wxImage_Destroy(_swigobj) (_swigobj->Destroy())
764 static PyObject
*_wrap_wxImage_Destroy(PyObject
*self
, PyObject
*args
) {
765 PyObject
* _resultobj
;
770 if(!PyArg_ParseTuple(args
,"s:wxImage_Destroy",&_argc0
))
773 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Destroy. Expected _wxImage_p.");
779 wxPy_BEGIN_ALLOW_THREADS
;
780 wxImage_Destroy(_arg0
);
782 wxPy_END_ALLOW_THREADS
;
783 } Py_INCREF(Py_None
);
784 _resultobj
= Py_None
;
788 #define wxImage_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
789 static PyObject
*_wrap_wxImage_Scale(PyObject
*self
, PyObject
*args
) {
790 PyObject
* _resultobj
;
799 if(!PyArg_ParseTuple(args
,"sii:wxImage_Scale",&_argc0
,&_arg1
,&_arg2
))
802 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Scale. Expected _wxImage_p.");
808 wxPy_BEGIN_ALLOW_THREADS
;
809 _result
= new wxImage (wxImage_Scale(_arg0
,_arg1
,_arg2
));
811 wxPy_END_ALLOW_THREADS
;
812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxImage_p");
813 _resultobj
= Py_BuildValue("s",_ptemp
);
817 #define wxImage_SetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
818 static PyObject
*_wrap_wxImage_SetRGB(PyObject
*self
, PyObject
*args
) {
819 PyObject
* _resultobj
;
829 if(!PyArg_ParseTuple(args
,"siibbb:wxImage_SetRGB",&_argc0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
832 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetRGB. Expected _wxImage_p.");
838 wxPy_BEGIN_ALLOW_THREADS
;
839 wxImage_SetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
841 wxPy_END_ALLOW_THREADS
;
842 } Py_INCREF(Py_None
);
843 _resultobj
= Py_None
;
847 #define wxImage_GetRed(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRed(_swigarg0,_swigarg1))
848 static PyObject
*_wrap_wxImage_GetRed(PyObject
*self
, PyObject
*args
) {
849 PyObject
* _resultobj
;
850 unsigned char _result
;
857 if(!PyArg_ParseTuple(args
,"sii:wxImage_GetRed",&_argc0
,&_arg1
,&_arg2
))
860 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetRed. Expected _wxImage_p.");
866 wxPy_BEGIN_ALLOW_THREADS
;
867 _result
= (unsigned char )wxImage_GetRed(_arg0
,_arg1
,_arg2
);
869 wxPy_END_ALLOW_THREADS
;
870 } _resultobj
= Py_BuildValue("b",_result
);
874 #define wxImage_GetGreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetGreen(_swigarg0,_swigarg1))
875 static PyObject
*_wrap_wxImage_GetGreen(PyObject
*self
, PyObject
*args
) {
876 PyObject
* _resultobj
;
877 unsigned char _result
;
884 if(!PyArg_ParseTuple(args
,"sii:wxImage_GetGreen",&_argc0
,&_arg1
,&_arg2
))
887 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetGreen. Expected _wxImage_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 _result
= (unsigned char )wxImage_GetGreen(_arg0
,_arg1
,_arg2
);
896 wxPy_END_ALLOW_THREADS
;
897 } _resultobj
= Py_BuildValue("b",_result
);
901 #define wxImage_GetBlue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBlue(_swigarg0,_swigarg1))
902 static PyObject
*_wrap_wxImage_GetBlue(PyObject
*self
, PyObject
*args
) {
903 PyObject
* _resultobj
;
904 unsigned char _result
;
911 if(!PyArg_ParseTuple(args
,"sii:wxImage_GetBlue",&_argc0
,&_arg1
,&_arg2
))
914 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetBlue. Expected _wxImage_p.");
920 wxPy_BEGIN_ALLOW_THREADS
;
921 _result
= (unsigned char )wxImage_GetBlue(_arg0
,_arg1
,_arg2
);
923 wxPy_END_ALLOW_THREADS
;
924 } _resultobj
= Py_BuildValue("b",_result
);
928 #define wxImage_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
929 static PyObject
*_wrap_wxImage_LoadFile(PyObject
*self
, PyObject
*args
) {
930 PyObject
* _resultobj
;
934 long _arg2
= (wxBITMAP_TYPE_PNG
);
936 PyObject
* _obj1
= 0;
939 if(!PyArg_ParseTuple(args
,"sO|l:wxImage_LoadFile",&_argc0
,&_obj1
,&_arg2
))
942 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_LoadFile. Expected _wxImage_p.");
948 if (!PyString_Check(_obj1
)) {
949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
952 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
955 wxPy_BEGIN_ALLOW_THREADS
;
956 _result
= (bool )wxImage_LoadFile(_arg0
,*_arg1
,_arg2
);
958 wxPy_END_ALLOW_THREADS
;
959 } _resultobj
= Py_BuildValue("i",_result
);
967 #define wxImage_LoadMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
968 static PyObject
*_wrap_wxImage_LoadMimeFile(PyObject
*self
, PyObject
*args
) {
969 PyObject
* _resultobj
;
975 PyObject
* _obj1
= 0;
976 PyObject
* _obj2
= 0;
979 if(!PyArg_ParseTuple(args
,"sOO:wxImage_LoadMimeFile",&_argc0
,&_obj1
,&_obj2
))
982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_LoadMimeFile. Expected _wxImage_p.");
988 if (!PyString_Check(_obj1
)) {
989 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
992 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
995 if (!PyString_Check(_obj2
)) {
996 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
999 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 _result
= (bool )wxImage_LoadMimeFile(_arg0
,*_arg1
,*_arg2
);
1005 wxPy_END_ALLOW_THREADS
;
1006 } _resultobj
= Py_BuildValue("i",_result
);
1018 #define wxImage_SaveFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
1019 static PyObject
*_wrap_wxImage_SaveFile(PyObject
*self
, PyObject
*args
) {
1020 PyObject
* _resultobj
;
1026 PyObject
* _obj1
= 0;
1029 if(!PyArg_ParseTuple(args
,"sOi:wxImage_SaveFile",&_argc0
,&_obj1
,&_arg2
))
1032 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SaveFile. Expected _wxImage_p.");
1038 if (!PyString_Check(_obj1
)) {
1039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1042 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1045 wxPy_BEGIN_ALLOW_THREADS
;
1046 _result
= (bool )wxImage_SaveFile(_arg0
,*_arg1
,_arg2
);
1048 wxPy_END_ALLOW_THREADS
;
1049 } _resultobj
= Py_BuildValue("i",_result
);
1057 #define wxImage_SaveMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
1058 static PyObject
*_wrap_wxImage_SaveMimeFile(PyObject
*self
, PyObject
*args
) {
1059 PyObject
* _resultobj
;
1065 PyObject
* _obj1
= 0;
1066 PyObject
* _obj2
= 0;
1069 if(!PyArg_ParseTuple(args
,"sOO:wxImage_SaveMimeFile",&_argc0
,&_obj1
,&_obj2
))
1072 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SaveMimeFile. Expected _wxImage_p.");
1078 if (!PyString_Check(_obj1
)) {
1079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1082 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1085 if (!PyString_Check(_obj2
)) {
1086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1089 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 _result
= (bool )wxImage_SaveMimeFile(_arg0
,*_arg1
,*_arg2
);
1095 wxPy_END_ALLOW_THREADS
;
1096 } _resultobj
= Py_BuildValue("i",_result
);
1108 #define wxImage_Ok(_swigobj) (_swigobj->Ok())
1109 static PyObject
*_wrap_wxImage_Ok(PyObject
*self
, PyObject
*args
) {
1110 PyObject
* _resultobj
;
1116 if(!PyArg_ParseTuple(args
,"s:wxImage_Ok",&_argc0
))
1119 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Ok. Expected _wxImage_p.");
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 _result
= (bool )wxImage_Ok(_arg0
);
1128 wxPy_END_ALLOW_THREADS
;
1129 } _resultobj
= Py_BuildValue("i",_result
);
1133 #define wxImage_GetWidth(_swigobj) (_swigobj->GetWidth())
1134 static PyObject
*_wrap_wxImage_GetWidth(PyObject
*self
, PyObject
*args
) {
1135 PyObject
* _resultobj
;
1141 if(!PyArg_ParseTuple(args
,"s:wxImage_GetWidth",&_argc0
))
1144 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetWidth. Expected _wxImage_p.");
1150 wxPy_BEGIN_ALLOW_THREADS
;
1151 _result
= (int )wxImage_GetWidth(_arg0
);
1153 wxPy_END_ALLOW_THREADS
;
1154 } _resultobj
= Py_BuildValue("i",_result
);
1158 #define wxImage_GetHeight(_swigobj) (_swigobj->GetHeight())
1159 static PyObject
*_wrap_wxImage_GetHeight(PyObject
*self
, PyObject
*args
) {
1160 PyObject
* _resultobj
;
1166 if(!PyArg_ParseTuple(args
,"s:wxImage_GetHeight",&_argc0
))
1169 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetHeight. Expected _wxImage_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (int )wxImage_GetHeight(_arg0
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxImage_GetData(_swigobj) (_swigobj->GetData())
1184 static PyObject
*_wrap_wxImage_GetData(PyObject
*self
, PyObject
*args
) {
1185 PyObject
* _resultobj
;
1186 unsigned char * _result
;
1192 if(!PyArg_ParseTuple(args
,"s:wxImage_GetData",&_argc0
))
1195 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetData. Expected _wxImage_p.");
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 _result
= (unsigned char *)wxImage_GetData(_arg0
);
1204 wxPy_END_ALLOW_THREADS
;
1205 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_unsigned_char_p");
1206 _resultobj
= Py_BuildValue("s",_ptemp
);
1210 #define wxImage_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0))
1211 static PyObject
*_wrap_wxImage_SetData(PyObject
*self
, PyObject
*args
) {
1212 PyObject
* _resultobj
;
1214 unsigned char * _arg1
;
1219 if(!PyArg_ParseTuple(args
,"ss:wxImage_SetData",&_argc0
,&_argc1
))
1222 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetData. Expected _wxImage_p.");
1228 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_unsigned_char_p")) {
1229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxImage_SetData. Expected _unsigned_char_p.");
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 wxImage_SetData(_arg0
,_arg1
);
1237 wxPy_END_ALLOW_THREADS
;
1238 } Py_INCREF(Py_None
);
1239 _resultobj
= Py_None
;
1243 #define wxImage_SetMaskColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetMaskColour(_swigarg0,_swigarg1,_swigarg2))
1244 static PyObject
*_wrap_wxImage_SetMaskColour(PyObject
*self
, PyObject
*args
) {
1245 PyObject
* _resultobj
;
1247 unsigned char _arg1
;
1248 unsigned char _arg2
;
1249 unsigned char _arg3
;
1253 if(!PyArg_ParseTuple(args
,"sbbb:wxImage_SetMaskColour",&_argc0
,&_arg1
,&_arg2
,&_arg3
))
1256 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetMaskColour. Expected _wxImage_p.");
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 wxImage_SetMaskColour(_arg0
,_arg1
,_arg2
,_arg3
);
1265 wxPy_END_ALLOW_THREADS
;
1266 } Py_INCREF(Py_None
);
1267 _resultobj
= Py_None
;
1271 #define wxImage_GetMaskRed(_swigobj) (_swigobj->GetMaskRed())
1272 static PyObject
*_wrap_wxImage_GetMaskRed(PyObject
*self
, PyObject
*args
) {
1273 PyObject
* _resultobj
;
1274 unsigned char _result
;
1279 if(!PyArg_ParseTuple(args
,"s:wxImage_GetMaskRed",&_argc0
))
1282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskRed. Expected _wxImage_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (unsigned char )wxImage_GetMaskRed(_arg0
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } _resultobj
= Py_BuildValue("b",_result
);
1296 #define wxImage_GetMaskGreen(_swigobj) (_swigobj->GetMaskGreen())
1297 static PyObject
*_wrap_wxImage_GetMaskGreen(PyObject
*self
, PyObject
*args
) {
1298 PyObject
* _resultobj
;
1299 unsigned char _result
;
1304 if(!PyArg_ParseTuple(args
,"s:wxImage_GetMaskGreen",&_argc0
))
1307 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskGreen. Expected _wxImage_p.");
1313 wxPy_BEGIN_ALLOW_THREADS
;
1314 _result
= (unsigned char )wxImage_GetMaskGreen(_arg0
);
1316 wxPy_END_ALLOW_THREADS
;
1317 } _resultobj
= Py_BuildValue("b",_result
);
1321 #define wxImage_GetMaskBlue(_swigobj) (_swigobj->GetMaskBlue())
1322 static PyObject
*_wrap_wxImage_GetMaskBlue(PyObject
*self
, PyObject
*args
) {
1323 PyObject
* _resultobj
;
1324 unsigned char _result
;
1329 if(!PyArg_ParseTuple(args
,"s:wxImage_GetMaskBlue",&_argc0
))
1332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskBlue. Expected _wxImage_p.");
1338 wxPy_BEGIN_ALLOW_THREADS
;
1339 _result
= (unsigned char )wxImage_GetMaskBlue(_arg0
);
1341 wxPy_END_ALLOW_THREADS
;
1342 } _resultobj
= Py_BuildValue("b",_result
);
1346 #define wxImage_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1347 static PyObject
*_wrap_wxImage_SetMask(PyObject
*self
, PyObject
*args
) {
1348 PyObject
* _resultobj
;
1355 if(!PyArg_ParseTuple(args
,"s|i:wxImage_SetMask",&_argc0
,&tempbool1
))
1358 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetMask. Expected _wxImage_p.");
1363 _arg1
= (bool ) tempbool1
;
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxImage_SetMask(_arg0
,_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1374 #define wxImage_HasMask(_swigobj) (_swigobj->HasMask())
1375 static PyObject
*_wrap_wxImage_HasMask(PyObject
*self
, PyObject
*args
) {
1376 PyObject
* _resultobj
;
1382 if(!PyArg_ParseTuple(args
,"s:wxImage_HasMask",&_argc0
))
1385 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxImage_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_HasMask. Expected _wxImage_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 _result
= (bool )wxImage_HasMask(_arg0
);
1394 wxPy_END_ALLOW_THREADS
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1399 static PyMethodDef imagecMethods
[] = {
1400 { "wxImage_HasMask", _wrap_wxImage_HasMask
, 1 },
1401 { "wxImage_SetMask", _wrap_wxImage_SetMask
, 1 },
1402 { "wxImage_GetMaskBlue", _wrap_wxImage_GetMaskBlue
, 1 },
1403 { "wxImage_GetMaskGreen", _wrap_wxImage_GetMaskGreen
, 1 },
1404 { "wxImage_GetMaskRed", _wrap_wxImage_GetMaskRed
, 1 },
1405 { "wxImage_SetMaskColour", _wrap_wxImage_SetMaskColour
, 1 },
1406 { "wxImage_SetData", _wrap_wxImage_SetData
, 1 },
1407 { "wxImage_GetData", _wrap_wxImage_GetData
, 1 },
1408 { "wxImage_GetHeight", _wrap_wxImage_GetHeight
, 1 },
1409 { "wxImage_GetWidth", _wrap_wxImage_GetWidth
, 1 },
1410 { "wxImage_Ok", _wrap_wxImage_Ok
, 1 },
1411 { "wxImage_SaveMimeFile", _wrap_wxImage_SaveMimeFile
, 1 },
1412 { "wxImage_SaveFile", _wrap_wxImage_SaveFile
, 1 },
1413 { "wxImage_LoadMimeFile", _wrap_wxImage_LoadMimeFile
, 1 },
1414 { "wxImage_LoadFile", _wrap_wxImage_LoadFile
, 1 },
1415 { "wxImage_GetBlue", _wrap_wxImage_GetBlue
, 1 },
1416 { "wxImage_GetGreen", _wrap_wxImage_GetGreen
, 1 },
1417 { "wxImage_GetRed", _wrap_wxImage_GetRed
, 1 },
1418 { "wxImage_SetRGB", _wrap_wxImage_SetRGB
, 1 },
1419 { "wxImage_Scale", _wrap_wxImage_Scale
, 1 },
1420 { "wxImage_Destroy", _wrap_wxImage_Destroy
, 1 },
1421 { "wxImage_Create", _wrap_wxImage_Create
, 1 },
1422 { "wxImage_ConvertToBitmap", _wrap_wxImage_ConvertToBitmap
, 1 },
1423 { "delete_wxImage", _wrap_delete_wxImage
, 1 },
1424 { "new_wxImage", _wrap_new_wxImage
, 1 },
1425 { "new_wxGIFHandler", _wrap_new_wxGIFHandler
, 1 },
1426 { "new_wxBMPHandler", _wrap_new_wxBMPHandler
, 1 },
1427 { "new_wxJPEGHandler", _wrap_new_wxJPEGHandler
, 1 },
1428 { "new_wxPNGHandler", _wrap_new_wxPNGHandler
, 1 },
1429 { "wxImageHandler_SetMimeType", _wrap_wxImageHandler_SetMimeType
, 1 },
1430 { "wxImageHandler_SetType", _wrap_wxImageHandler_SetType
, 1 },
1431 { "wxImageHandler_SetExtension", _wrap_wxImageHandler_SetExtension
, 1 },
1432 { "wxImageHandler_SetName", _wrap_wxImageHandler_SetName
, 1 },
1433 { "wxImageHandler_GetMimeType", _wrap_wxImageHandler_GetMimeType
, 1 },
1434 { "wxImageHandler_GetType", _wrap_wxImageHandler_GetType
, 1 },
1435 { "wxImageHandler_GetExtension", _wrap_wxImageHandler_GetExtension
, 1 },
1436 { "wxImageHandler_GetName", _wrap_wxImageHandler_GetName
, 1 },
1437 { "new_wxImageHandler", _wrap_new_wxImageHandler
, 1 },
1438 { "wxImage_AddHandler", _wrap_wxImage_AddHandler
, 1 },
1439 { "wxImageFromBitmap", _wrap_wxImageFromBitmap
, 1 },
1440 { "wxImageFromMime", _wrap_wxImageFromMime
, 1 },
1441 { "wxEmptyImage", _wrap_wxEmptyImage
, 1 },
1442 { "wxNullImage", _wrap_wxNullImage
, 1 },
1445 static PyObject
*SWIG_globals
;
1449 SWIGEXPORT(void,initimagec
)() {
1451 SWIG_globals
= SWIG_newvarlink();
1452 m
= Py_InitModule("imagec", imagecMethods
);
1453 d
= PyModule_GetDict(m
);
1455 * These are the pointer type-equivalency mappings.
1456 * (Used by the SWIG pointer type-checker).
1458 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
1459 SWIG_RegisterMapping("_signed_long","_long",0);
1460 SWIG_RegisterMapping("_class_wxJPEGHandler","_wxJPEGHandler",0);
1461 SWIG_RegisterMapping("_wxBMPHandler","_class_wxBMPHandler",0);
1462 SWIG_RegisterMapping("_wxImage","_class_wxImage",0);
1463 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
1464 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
1465 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
1466 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
1467 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
1468 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
1469 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
1470 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
1471 SWIG_RegisterMapping("_wxGIFHandler","_class_wxGIFHandler",0);
1472 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1473 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1474 SWIG_RegisterMapping("_wxImageHandler","_class_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1475 SWIG_RegisterMapping("_wxImageHandler","_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1476 SWIG_RegisterMapping("_wxImageHandler","_class_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1477 SWIG_RegisterMapping("_wxImageHandler","_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1478 SWIG_RegisterMapping("_wxImageHandler","_class_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1479 SWIG_RegisterMapping("_wxImageHandler","_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1480 SWIG_RegisterMapping("_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1481 SWIG_RegisterMapping("_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1482 SWIG_RegisterMapping("_wxImageHandler","_class_wxImageHandler",0);
1483 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",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("_wxPrinterDC","_class_wxPrinterDC",0);
1502 SWIG_RegisterMapping("_class_wxGIFHandler","_wxGIFHandler",0);
1503 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
1504 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1505 SWIG_RegisterMapping("_class_wxPNGHandler","_wxPNGHandler",0);
1506 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1507 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1508 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
1509 SWIG_RegisterMapping("_uint","_size_t",0);
1510 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1511 SWIG_RegisterMapping("_uint","_int",0);
1512 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1513 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1514 SWIG_RegisterMapping("_class_wxImage","_wxImage",0);
1515 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1516 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1517 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1518 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
1519 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1520 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
1521 SWIG_RegisterMapping("_EBool","_signed_int",0);
1522 SWIG_RegisterMapping("_EBool","_int",0);
1523 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1524 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
1525 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1526 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1527 SWIG_RegisterMapping("_unsigned_long","_long",0);
1528 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1529 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1530 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1531 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1532 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
1533 SWIG_RegisterMapping("_signed_int","_EBool",0);
1534 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1535 SWIG_RegisterMapping("_signed_int","_int",0);
1536 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1537 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
1538 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1539 SWIG_RegisterMapping("_WXTYPE","_short",0);
1540 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1541 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1542 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1543 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1544 SWIG_RegisterMapping("_unsigned_short","_short",0);
1545 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1546 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1547 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1548 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1549 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1550 SWIG_RegisterMapping("_signed_short","_short",0);
1551 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1552 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1553 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
1554 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1555 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1556 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1557 SWIG_RegisterMapping("_class_wxImageHandler","_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
);
1558 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1559 SWIG_RegisterMapping("_class_wxImageHandler","_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
);
1560 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1561 SWIG_RegisterMapping("_class_wxImageHandler","_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
);
1562 SWIG_RegisterMapping("_class_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1563 SWIG_RegisterMapping("_class_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
);
1564 SWIG_RegisterMapping("_class_wxImageHandler","_wxImageHandler",0);
1565 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1566 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
1567 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
1568 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
1569 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1570 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1571 SWIG_RegisterMapping("_unsigned_int","_int",0);
1572 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1573 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1574 SWIG_RegisterMapping("_short","_WXTYPE",0);
1575 SWIG_RegisterMapping("_short","_unsigned_short",0);
1576 SWIG_RegisterMapping("_short","_signed_short",0);
1577 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
1578 SWIG_RegisterMapping("_wxJPEGHandler","_class_wxJPEGHandler",0);
1579 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
1580 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
1581 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1582 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1583 SWIG_RegisterMapping("_wxWindowID","_int",0);
1584 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1585 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1586 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
1587 SWIG_RegisterMapping("_int","_size_t",0);
1588 SWIG_RegisterMapping("_int","_EBool",0);
1589 SWIG_RegisterMapping("_int","_uint",0);
1590 SWIG_RegisterMapping("_int","_wxWindowID",0);
1591 SWIG_RegisterMapping("_int","_unsigned_int",0);
1592 SWIG_RegisterMapping("_int","_signed_int",0);
1593 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1594 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
1595 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
1596 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1597 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1598 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1599 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1600 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1601 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
1602 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
1603 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1604 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1605 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1606 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1607 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1608 SWIG_RegisterMapping("_wxDash","_long",0);
1609 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);