4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init 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
);
106 static char* wxStringErrorMsg
= "string type is required for parameter";
108 wxImage
* wxNullImage() {
112 wxImage
* wxEmptyImage(int width
, int height
) {
113 return new wxImage(width
, height
);
116 wxImage
* wxImageFromMime(const wxString
& name
, const wxString
& mimetype
) {
117 return new wxImage(name
, mimetype
);
120 wxImage
* wxImageFromBitmap(const wxBitmap
&bitmap
) {
121 return new wxImage(bitmap
);
124 void wxImage_AddHandler(wxImageHandler
*handler
) {
125 wxImage::AddHandler(handler
);
130 static PyObject
*_wrap_wxNullImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
133 char *_kwnames
[] = { NULL
};
137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNullImage",_kwnames
))
140 wxPy_BEGIN_ALLOW_THREADS
;
141 _result
= (wxImage
*)wxNullImage();
143 wxPy_END_ALLOW_THREADS
;
145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
146 _resultobj
= Py_BuildValue("s",_ptemp
);
149 _resultobj
= Py_None
;
154 static PyObject
*_wrap_wxEmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
159 char *_kwnames
[] = { "width","height", NULL
};
163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ii:wxEmptyImage",_kwnames
,&_arg0
,&_arg1
))
166 wxPy_BEGIN_ALLOW_THREADS
;
167 _result
= (wxImage
*)wxEmptyImage(_arg0
,_arg1
);
169 wxPy_END_ALLOW_THREADS
;
171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
172 _resultobj
= Py_BuildValue("s",_ptemp
);
175 _resultobj
= Py_None
;
180 static PyObject
*_wrap_wxImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
185 PyObject
* _obj0
= 0;
186 PyObject
* _obj1
= 0;
187 char *_kwnames
[] = { "name","mimetype", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageFromMime",_kwnames
,&_obj0
,&_obj1
))
194 if (!PyString_Check(_obj0
)) {
195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
198 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
201 if (!PyString_Check(_obj1
)) {
202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
205 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxImage
*)wxImageFromMime(*_arg0
,*_arg1
);
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
230 static PyObject
*_wrap_wxImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
231 PyObject
* _resultobj
;
234 PyObject
* _argo0
= 0;
235 char *_kwnames
[] = { "bitmap", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageFromBitmap",_kwnames
,&_argo0
))
242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageFromBitmap. Expected _wxBitmap_p.");
249 wxPy_BEGIN_ALLOW_THREADS
;
250 _result
= (wxImage
*)wxImageFromBitmap(*_arg0
);
252 wxPy_END_ALLOW_THREADS
;
254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
255 _resultobj
= Py_BuildValue("s",_ptemp
);
258 _resultobj
= Py_None
;
263 static PyObject
*_wrap_wxImage_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 wxImageHandler
* _arg0
;
266 PyObject
* _argo0
= 0;
267 char *_kwnames
[] = { "handler", NULL
};
270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_AddHandler",_kwnames
,&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_AddHandler. Expected _wxImageHandler_p.");
280 wxPy_BEGIN_ALLOW_THREADS
;
281 wxImage_AddHandler(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 } Py_INCREF(Py_None
);
285 _resultobj
= Py_None
;
289 static PyObject
*_wrap_wxInitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
291 char *_kwnames
[] = { NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxInitAllImageHandlers",_kwnames
))
297 wxPy_BEGIN_ALLOW_THREADS
;
298 wxInitAllImageHandlers();
300 wxPy_END_ALLOW_THREADS
;
301 } Py_INCREF(Py_None
);
302 _resultobj
= Py_None
;
306 #define new_wxImageHandler() (new wxImageHandler())
307 static PyObject
*_wrap_new_wxImageHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
309 wxImageHandler
* _result
;
310 char *_kwnames
[] = { NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxImageHandler",_kwnames
))
317 wxPy_BEGIN_ALLOW_THREADS
;
318 _result
= (wxImageHandler
*)new_wxImageHandler();
320 wxPy_END_ALLOW_THREADS
;
322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImageHandler_p");
323 _resultobj
= Py_BuildValue("s",_ptemp
);
326 _resultobj
= Py_None
;
331 #define wxImageHandler_GetName(_swigobj) (_swigobj->GetName())
332 static PyObject
*_wrap_wxImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
335 wxImageHandler
* _arg0
;
336 PyObject
* _argo0
= 0;
337 char *_kwnames
[] = { "self", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageHandler_GetName",_kwnames
,&_argo0
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetName. Expected _wxImageHandler_p.");
350 wxPy_BEGIN_ALLOW_THREADS
;
351 _result
= new wxString (wxImageHandler_GetName(_arg0
));
353 wxPy_END_ALLOW_THREADS
;
355 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
363 #define wxImageHandler_GetExtension(_swigobj) (_swigobj->GetExtension())
364 static PyObject
*_wrap_wxImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
367 wxImageHandler
* _arg0
;
368 PyObject
* _argo0
= 0;
369 char *_kwnames
[] = { "self", NULL
};
372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageHandler_GetExtension",_kwnames
,&_argo0
))
375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetExtension. Expected _wxImageHandler_p.");
382 wxPy_BEGIN_ALLOW_THREADS
;
383 _result
= new wxString (wxImageHandler_GetExtension(_arg0
));
385 wxPy_END_ALLOW_THREADS
;
387 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
395 #define wxImageHandler_GetType(_swigobj) (_swigobj->GetType())
396 static PyObject
*_wrap_wxImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 wxImageHandler
* _arg0
;
400 PyObject
* _argo0
= 0;
401 char *_kwnames
[] = { "self", NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageHandler_GetType",_kwnames
,&_argo0
))
407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetType. Expected _wxImageHandler_p.");
414 wxPy_BEGIN_ALLOW_THREADS
;
415 _result
= (long )wxImageHandler_GetType(_arg0
);
417 wxPy_END_ALLOW_THREADS
;
418 } _resultobj
= Py_BuildValue("l",_result
);
422 #define wxImageHandler_GetMimeType(_swigobj) (_swigobj->GetMimeType())
423 static PyObject
*_wrap_wxImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxImageHandler
* _arg0
;
427 PyObject
* _argo0
= 0;
428 char *_kwnames
[] = { "self", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImageHandler_GetMimeType",_kwnames
,&_argo0
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_GetMimeType. Expected _wxImageHandler_p.");
441 wxPy_BEGIN_ALLOW_THREADS
;
442 _result
= new wxString (wxImageHandler_GetMimeType(_arg0
));
444 wxPy_END_ALLOW_THREADS
;
446 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
454 #define wxImageHandler_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
455 static PyObject
*_wrap_wxImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
457 wxImageHandler
* _arg0
;
459 PyObject
* _argo0
= 0;
460 PyObject
* _obj1
= 0;
461 char *_kwnames
[] = { "self","name", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageHandler_SetName",_kwnames
,&_argo0
,&_obj1
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetName. Expected _wxImageHandler_p.");
474 if (!PyString_Check(_obj1
)) {
475 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
478 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
481 wxPy_BEGIN_ALLOW_THREADS
;
482 wxImageHandler_SetName(_arg0
,*_arg1
);
484 wxPy_END_ALLOW_THREADS
;
485 } Py_INCREF(Py_None
);
486 _resultobj
= Py_None
;
494 #define wxImageHandler_SetExtension(_swigobj,_swigarg0) (_swigobj->SetExtension(_swigarg0))
495 static PyObject
*_wrap_wxImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxImageHandler
* _arg0
;
499 PyObject
* _argo0
= 0;
500 PyObject
* _obj1
= 0;
501 char *_kwnames
[] = { "self","extension", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageHandler_SetExtension",_kwnames
,&_argo0
,&_obj1
))
507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetExtension. Expected _wxImageHandler_p.");
514 if (!PyString_Check(_obj1
)) {
515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
518 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
521 wxPy_BEGIN_ALLOW_THREADS
;
522 wxImageHandler_SetExtension(_arg0
,*_arg1
);
524 wxPy_END_ALLOW_THREADS
;
525 } Py_INCREF(Py_None
);
526 _resultobj
= Py_None
;
534 #define wxImageHandler_SetType(_swigobj,_swigarg0) (_swigobj->SetType(_swigarg0))
535 static PyObject
*_wrap_wxImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
537 wxImageHandler
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self","type", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxImageHandler_SetType",_kwnames
,&_argo0
,&_arg1
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetType. Expected _wxImageHandler_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 wxImageHandler_SetType(_arg0
,_arg1
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxImageHandler_SetMimeType(_swigobj,_swigarg0) (_swigobj->SetMimeType(_swigarg0))
563 static PyObject
*_wrap_wxImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxImageHandler
* _arg0
;
567 PyObject
* _argo0
= 0;
568 PyObject
* _obj1
= 0;
569 char *_kwnames
[] = { "self","mimetype", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImageHandler_SetMimeType",_kwnames
,&_argo0
,&_obj1
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImageHandler_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImageHandler_SetMimeType. Expected _wxImageHandler_p.");
582 if (!PyString_Check(_obj1
)) {
583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
586 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
589 wxPy_BEGIN_ALLOW_THREADS
;
590 wxImageHandler_SetMimeType(_arg0
,*_arg1
);
592 wxPy_END_ALLOW_THREADS
;
593 } Py_INCREF(Py_None
);
594 _resultobj
= Py_None
;
602 static void *SwigwxPNGHandlerTowxImageHandler(void *ptr
) {
604 wxImageHandler
*dest
;
605 src
= (wxPNGHandler
*) ptr
;
606 dest
= (wxImageHandler
*) src
;
607 return (void *) dest
;
610 #define new_wxPNGHandler() (new wxPNGHandler())
611 static PyObject
*_wrap_new_wxPNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
613 wxPNGHandler
* _result
;
614 char *_kwnames
[] = { NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPNGHandler",_kwnames
))
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (wxPNGHandler
*)new_wxPNGHandler();
624 wxPy_END_ALLOW_THREADS
;
626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPNGHandler_p");
627 _resultobj
= Py_BuildValue("s",_ptemp
);
630 _resultobj
= Py_None
;
635 static void *SwigwxJPEGHandlerTowxImageHandler(void *ptr
) {
637 wxImageHandler
*dest
;
638 src
= (wxJPEGHandler
*) ptr
;
639 dest
= (wxImageHandler
*) src
;
640 return (void *) dest
;
643 #define new_wxJPEGHandler() (new wxJPEGHandler())
644 static PyObject
*_wrap_new_wxJPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
646 wxJPEGHandler
* _result
;
647 char *_kwnames
[] = { NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxJPEGHandler",_kwnames
))
654 wxPy_BEGIN_ALLOW_THREADS
;
655 _result
= (wxJPEGHandler
*)new_wxJPEGHandler();
657 wxPy_END_ALLOW_THREADS
;
659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJPEGHandler_p");
660 _resultobj
= Py_BuildValue("s",_ptemp
);
663 _resultobj
= Py_None
;
668 static void *SwigwxBMPHandlerTowxImageHandler(void *ptr
) {
670 wxImageHandler
*dest
;
671 src
= (wxBMPHandler
*) ptr
;
672 dest
= (wxImageHandler
*) src
;
673 return (void *) dest
;
676 #define new_wxBMPHandler() (new wxBMPHandler())
677 static PyObject
*_wrap_new_wxBMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
679 wxBMPHandler
* _result
;
680 char *_kwnames
[] = { NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxBMPHandler",_kwnames
))
687 wxPy_BEGIN_ALLOW_THREADS
;
688 _result
= (wxBMPHandler
*)new_wxBMPHandler();
690 wxPy_END_ALLOW_THREADS
;
692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBMPHandler_p");
693 _resultobj
= Py_BuildValue("s",_ptemp
);
696 _resultobj
= Py_None
;
701 static void *SwigwxGIFHandlerTowxImageHandler(void *ptr
) {
703 wxImageHandler
*dest
;
704 src
= (wxGIFHandler
*) ptr
;
705 dest
= (wxImageHandler
*) src
;
706 return (void *) dest
;
709 #define new_wxGIFHandler() (new wxGIFHandler())
710 static PyObject
*_wrap_new_wxGIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
711 PyObject
* _resultobj
;
712 wxGIFHandler
* _result
;
713 char *_kwnames
[] = { NULL
};
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxGIFHandler",_kwnames
))
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= (wxGIFHandler
*)new_wxGIFHandler();
723 wxPy_END_ALLOW_THREADS
;
725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGIFHandler_p");
726 _resultobj
= Py_BuildValue("s",_ptemp
);
729 _resultobj
= Py_None
;
734 static void *SwigwxPNMHandlerTowxImageHandler(void *ptr
) {
736 wxImageHandler
*dest
;
737 src
= (wxPNMHandler
*) ptr
;
738 dest
= (wxImageHandler
*) src
;
739 return (void *) dest
;
742 #define new_wxPNMHandler() (new wxPNMHandler())
743 static PyObject
*_wrap_new_wxPNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
745 wxPNMHandler
* _result
;
746 char *_kwnames
[] = { NULL
};
750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPNMHandler",_kwnames
))
753 wxPy_BEGIN_ALLOW_THREADS
;
754 _result
= (wxPNMHandler
*)new_wxPNMHandler();
756 wxPy_END_ALLOW_THREADS
;
758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPNMHandler_p");
759 _resultobj
= Py_BuildValue("s",_ptemp
);
762 _resultobj
= Py_None
;
767 static void *SwigwxPCXHandlerTowxImageHandler(void *ptr
) {
769 wxImageHandler
*dest
;
770 src
= (wxPCXHandler
*) ptr
;
771 dest
= (wxImageHandler
*) src
;
772 return (void *) dest
;
775 #define new_wxPCXHandler() (new wxPCXHandler())
776 static PyObject
*_wrap_new_wxPCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
778 wxPCXHandler
* _result
;
779 char *_kwnames
[] = { NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPCXHandler",_kwnames
))
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (wxPCXHandler
*)new_wxPCXHandler();
789 wxPy_END_ALLOW_THREADS
;
791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPCXHandler_p");
792 _resultobj
= Py_BuildValue("s",_ptemp
);
795 _resultobj
= Py_None
;
800 #define new_wxImage(_swigarg0,_swigarg1) (new wxImage(_swigarg0,_swigarg1))
801 static PyObject
*_wrap_new_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
805 long _arg1
= (long ) wxBITMAP_TYPE_PNG
;
806 PyObject
* _obj0
= 0;
807 char *_kwnames
[] = { "name","type", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxImage",_kwnames
,&_obj0
,&_arg1
))
814 if (!PyString_Check(_obj0
)) {
815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
818 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
821 wxPy_BEGIN_ALLOW_THREADS
;
822 _result
= (wxImage
*)new_wxImage(*_arg0
,_arg1
);
824 wxPy_END_ALLOW_THREADS
;
826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxImage_p");
827 _resultobj
= Py_BuildValue("s",_ptemp
);
830 _resultobj
= Py_None
;
839 #define delete_wxImage(_swigobj) (delete _swigobj)
840 static PyObject
*_wrap_delete_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
843 PyObject
* _argo0
= 0;
844 char *_kwnames
[] = { "self", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxImage",_kwnames
,&_argo0
))
850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxImage. Expected _wxImage_p.");
857 wxPy_BEGIN_ALLOW_THREADS
;
858 delete_wxImage(_arg0
);
860 wxPy_END_ALLOW_THREADS
;
861 } Py_INCREF(Py_None
);
862 _resultobj
= Py_None
;
866 #define wxImage_ConvertToBitmap(_swigobj) (_swigobj->ConvertToBitmap())
867 static PyObject
*_wrap_wxImage_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
868 PyObject
* _resultobj
;
871 PyObject
* _argo0
= 0;
872 char *_kwnames
[] = { "self", NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_ConvertToBitmap",_kwnames
,&_argo0
))
879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_ConvertToBitmap. Expected _wxImage_p.");
886 wxPy_BEGIN_ALLOW_THREADS
;
887 _result
= new wxBitmap (wxImage_ConvertToBitmap(_arg0
));
889 wxPy_END_ALLOW_THREADS
;
890 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
891 _resultobj
= Py_BuildValue("s",_ptemp
);
895 #define wxImage_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
896 static PyObject
*_wrap_wxImage_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
897 PyObject
* _resultobj
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self","width","height", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxImage_Create",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Create. Expected _wxImage_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxImage_Create(_arg0
,_arg1
,_arg2
);
918 wxPy_END_ALLOW_THREADS
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 #define wxImage_Destroy(_swigobj) (_swigobj->Destroy())
925 static PyObject
*_wrap_wxImage_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
928 PyObject
* _argo0
= 0;
929 char *_kwnames
[] = { "self", NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_Destroy",_kwnames
,&_argo0
))
935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Destroy. Expected _wxImage_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 wxImage_Destroy(_arg0
);
945 wxPy_END_ALLOW_THREADS
;
946 } Py_INCREF(Py_None
);
947 _resultobj
= Py_None
;
951 #define wxImage_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
952 static PyObject
*_wrap_wxImage_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self","width","height", NULL
};
963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxImage_Scale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Scale. Expected _wxImage_p.");
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= new wxImage (wxImage_Scale(_arg0
,_arg1
,_arg2
));
976 wxPy_END_ALLOW_THREADS
;
977 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxImage_p");
978 _resultobj
= Py_BuildValue("s",_ptemp
);
982 #define wxImage_Rescale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Rescale(_swigarg0,_swigarg1))
983 static PyObject
*_wrap_wxImage_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","width","height", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxImage_Rescale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Rescale. Expected _wxImage_p.");
1002 wxPy_BEGIN_ALLOW_THREADS
;
1003 wxImage_Rescale(_arg0
,_arg1
,_arg2
);
1005 wxPy_END_ALLOW_THREADS
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1011 #define wxImage_SetRGB(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetRGB(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1012 static PyObject
*_wrap_wxImage_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1017 unsigned char _arg3
;
1018 unsigned char _arg4
;
1019 unsigned char _arg5
;
1020 PyObject
* _argo0
= 0;
1021 char *_kwnames
[] = { "self","x","y","r","g","b", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiibbb:wxImage_SetRGB",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
1027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetRGB. Expected _wxImage_p.");
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 wxImage_SetRGB(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
1037 wxPy_END_ALLOW_THREADS
;
1038 } Py_INCREF(Py_None
);
1039 _resultobj
= Py_None
;
1043 #define wxImage_GetRed(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRed(_swigarg0,_swigarg1))
1044 static PyObject
*_wrap_wxImage_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1046 unsigned char _result
;
1050 PyObject
* _argo0
= 0;
1051 char *_kwnames
[] = { "self","x","y", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxImage_GetRed",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetRed. Expected _wxImage_p.");
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= (unsigned char )wxImage_GetRed(_arg0
,_arg1
,_arg2
);
1067 wxPy_END_ALLOW_THREADS
;
1068 } _resultobj
= Py_BuildValue("b",_result
);
1072 #define wxImage_GetGreen(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetGreen(_swigarg0,_swigarg1))
1073 static PyObject
*_wrap_wxImage_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1075 unsigned char _result
;
1079 PyObject
* _argo0
= 0;
1080 char *_kwnames
[] = { "self","x","y", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxImage_GetGreen",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetGreen. Expected _wxImage_p.");
1093 wxPy_BEGIN_ALLOW_THREADS
;
1094 _result
= (unsigned char )wxImage_GetGreen(_arg0
,_arg1
,_arg2
);
1096 wxPy_END_ALLOW_THREADS
;
1097 } _resultobj
= Py_BuildValue("b",_result
);
1101 #define wxImage_GetBlue(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBlue(_swigarg0,_swigarg1))
1102 static PyObject
*_wrap_wxImage_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1104 unsigned char _result
;
1108 PyObject
* _argo0
= 0;
1109 char *_kwnames
[] = { "self","x","y", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxImage_GetBlue",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetBlue. Expected _wxImage_p.");
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 _result
= (unsigned char )wxImage_GetBlue(_arg0
,_arg1
,_arg2
);
1125 wxPy_END_ALLOW_THREADS
;
1126 } _resultobj
= Py_BuildValue("b",_result
);
1130 #define wxImage_LoadFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1131 static PyObject
*_wrap_wxImage_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
* _resultobj
;
1136 long _arg2
= (long ) wxBITMAP_TYPE_PNG
;
1137 PyObject
* _argo0
= 0;
1138 PyObject
* _obj1
= 0;
1139 char *_kwnames
[] = { "self","name","type", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxImage_LoadFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_LoadFile. Expected _wxImage_p.");
1152 if (!PyString_Check(_obj1
)) {
1153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1156 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1159 wxPy_BEGIN_ALLOW_THREADS
;
1160 _result
= (bool )wxImage_LoadFile(_arg0
,*_arg1
,_arg2
);
1162 wxPy_END_ALLOW_THREADS
;
1163 } _resultobj
= Py_BuildValue("i",_result
);
1171 #define wxImage_LoadMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadFile(_swigarg0,_swigarg1))
1172 static PyObject
*_wrap_wxImage_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1179 PyObject
* _obj1
= 0;
1180 PyObject
* _obj2
= 0;
1181 char *_kwnames
[] = { "self","name","mimetype", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImage_LoadMimeFile",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_LoadMimeFile. Expected _wxImage_p.");
1194 if (!PyString_Check(_obj1
)) {
1195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1198 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1201 if (!PyString_Check(_obj2
)) {
1202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1205 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 _result
= (bool )wxImage_LoadMimeFile(_arg0
,*_arg1
,*_arg2
);
1211 wxPy_END_ALLOW_THREADS
;
1212 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxImage_SaveFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
1225 static PyObject
*_wrap_wxImage_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1231 PyObject
* _argo0
= 0;
1232 PyObject
* _obj1
= 0;
1233 char *_kwnames
[] = { "self","name","type", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxImage_SaveFile",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
1239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SaveFile. Expected _wxImage_p.");
1246 if (!PyString_Check(_obj1
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1253 wxPy_BEGIN_ALLOW_THREADS
;
1254 _result
= (bool )wxImage_SaveFile(_arg0
,*_arg1
,_arg2
);
1256 wxPy_END_ALLOW_THREADS
;
1257 } _resultobj
= Py_BuildValue("i",_result
);
1265 #define wxImage_SaveMimeFile(_swigobj,_swigarg0,_swigarg1) (_swigobj->SaveFile(_swigarg0,_swigarg1))
1266 static PyObject
*_wrap_wxImage_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1272 PyObject
* _argo0
= 0;
1273 PyObject
* _obj1
= 0;
1274 PyObject
* _obj2
= 0;
1275 char *_kwnames
[] = { "self","name","mimetype", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxImage_SaveMimeFile",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SaveMimeFile. Expected _wxImage_p.");
1288 if (!PyString_Check(_obj1
)) {
1289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1292 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1295 if (!PyString_Check(_obj2
)) {
1296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1299 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 _result
= (bool )wxImage_SaveMimeFile(_arg0
,*_arg1
,*_arg2
);
1305 wxPy_END_ALLOW_THREADS
;
1306 } _resultobj
= Py_BuildValue("i",_result
);
1318 #define wxImage_Ok(_swigobj) (_swigobj->Ok())
1319 static PyObject
*_wrap_wxImage_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1323 PyObject
* _argo0
= 0;
1324 char *_kwnames
[] = { "self", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_Ok",_kwnames
,&_argo0
))
1330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_Ok. Expected _wxImage_p.");
1337 wxPy_BEGIN_ALLOW_THREADS
;
1338 _result
= (bool )wxImage_Ok(_arg0
);
1340 wxPy_END_ALLOW_THREADS
;
1341 } _resultobj
= Py_BuildValue("i",_result
);
1345 #define wxImage_GetWidth(_swigobj) (_swigobj->GetWidth())
1346 static PyObject
*_wrap_wxImage_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1350 PyObject
* _argo0
= 0;
1351 char *_kwnames
[] = { "self", NULL
};
1354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_GetWidth",_kwnames
,&_argo0
))
1357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetWidth. Expected _wxImage_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (int )wxImage_GetWidth(_arg0
);
1367 wxPy_END_ALLOW_THREADS
;
1368 } _resultobj
= Py_BuildValue("i",_result
);
1372 #define wxImage_GetHeight(_swigobj) (_swigobj->GetHeight())
1373 static PyObject
*_wrap_wxImage_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "self", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_GetHeight",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetHeight. Expected _wxImage_p.");
1391 wxPy_BEGIN_ALLOW_THREADS
;
1392 _result
= (int )wxImage_GetHeight(_arg0
);
1394 wxPy_END_ALLOW_THREADS
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1399 static PyObject
* wxImage_GetData(wxImage
*self
) {
1400 unsigned char* data
= self
->GetData();
1401 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1402 return PyString_FromStringAndSize((char*)data
, len
);
1404 static PyObject
*_wrap_wxImage_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_GetData",_kwnames
,&_argo0
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetData. Expected _wxImage_p.");
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 _result
= (PyObject
*)wxImage_GetData(_arg0
);
1425 wxPy_END_ALLOW_THREADS
;
1427 _resultobj
= _result
;
1432 static void wxImage_SetData(wxImage
*self
,PyObject
* data
) {
1433 unsigned char* dataPtr
;
1435 if (! PyString_Check(data
)) {
1436 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1439 dataPtr
= (unsigned char*)PyString_AsString(data
);
1440 self
->SetData(dataPtr
);
1442 static PyObject
*_wrap_wxImage_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1446 PyObject
* _argo0
= 0;
1447 PyObject
* _obj1
= 0;
1448 char *_kwnames
[] = { "self","data", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxImage_SetData",_kwnames
,&_argo0
,&_obj1
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetData. Expected _wxImage_p.");
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 wxImage_SetData(_arg0
,_arg1
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } Py_INCREF(Py_None
);
1469 _resultobj
= Py_None
;
1473 #define wxImage_SetMaskColour(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetMaskColour(_swigarg0,_swigarg1,_swigarg2))
1474 static PyObject
*_wrap_wxImage_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
* _resultobj
;
1477 unsigned char _arg1
;
1478 unsigned char _arg2
;
1479 unsigned char _arg3
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self","r","g","b", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Obbb:wxImage_SetMaskColour",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
1487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetMaskColour. Expected _wxImage_p.");
1494 wxPy_BEGIN_ALLOW_THREADS
;
1495 wxImage_SetMaskColour(_arg0
,_arg1
,_arg2
,_arg3
);
1497 wxPy_END_ALLOW_THREADS
;
1498 } Py_INCREF(Py_None
);
1499 _resultobj
= Py_None
;
1503 #define wxImage_GetMaskRed(_swigobj) (_swigobj->GetMaskRed())
1504 static PyObject
*_wrap_wxImage_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1506 unsigned char _result
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_GetMaskRed",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskRed. Expected _wxImage_p.");
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= (unsigned char )wxImage_GetMaskRed(_arg0
);
1525 wxPy_END_ALLOW_THREADS
;
1526 } _resultobj
= Py_BuildValue("b",_result
);
1530 #define wxImage_GetMaskGreen(_swigobj) (_swigobj->GetMaskGreen())
1531 static PyObject
*_wrap_wxImage_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 unsigned char _result
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_GetMaskGreen",_kwnames
,&_argo0
))
1542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskGreen. Expected _wxImage_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (unsigned char )wxImage_GetMaskGreen(_arg0
);
1552 wxPy_END_ALLOW_THREADS
;
1553 } _resultobj
= Py_BuildValue("b",_result
);
1557 #define wxImage_GetMaskBlue(_swigobj) (_swigobj->GetMaskBlue())
1558 static PyObject
*_wrap_wxImage_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1560 unsigned char _result
;
1562 PyObject
* _argo0
= 0;
1563 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_GetMaskBlue",_kwnames
,&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_GetMaskBlue. Expected _wxImage_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (unsigned char )wxImage_GetMaskBlue(_arg0
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } _resultobj
= Py_BuildValue("b",_result
);
1584 #define wxImage_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0))
1585 static PyObject
*_wrap_wxImage_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1588 bool _arg1
= (bool ) TRUE
;
1589 PyObject
* _argo0
= 0;
1590 int tempbool1
= (int) TRUE
;
1591 char *_kwnames
[] = { "self","mask", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxImage_SetMask",_kwnames
,&_argo0
,&tempbool1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_SetMask. Expected _wxImage_p.");
1603 _arg1
= (bool ) tempbool1
;
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 wxImage_SetMask(_arg0
,_arg1
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 #define wxImage_HasMask(_swigobj) (_swigobj->HasMask())
1615 static PyObject
*_wrap_wxImage_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 PyObject
* _argo0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxImage_HasMask",_kwnames
,&_argo0
))
1626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxImage_p")) {
1628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxImage_HasMask. Expected _wxImage_p.");
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (bool )wxImage_HasMask(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("i",_result
);
1641 static PyMethodDef imagecMethods
[] = {
1642 { "wxImage_HasMask", (PyCFunction
) _wrap_wxImage_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
1643 { "wxImage_SetMask", (PyCFunction
) _wrap_wxImage_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
1644 { "wxImage_GetMaskBlue", (PyCFunction
) _wrap_wxImage_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
1645 { "wxImage_GetMaskGreen", (PyCFunction
) _wrap_wxImage_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
1646 { "wxImage_GetMaskRed", (PyCFunction
) _wrap_wxImage_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
1647 { "wxImage_SetMaskColour", (PyCFunction
) _wrap_wxImage_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
1648 { "wxImage_SetData", (PyCFunction
) _wrap_wxImage_SetData
, METH_VARARGS
| METH_KEYWORDS
},
1649 { "wxImage_GetData", (PyCFunction
) _wrap_wxImage_GetData
, METH_VARARGS
| METH_KEYWORDS
},
1650 { "wxImage_GetHeight", (PyCFunction
) _wrap_wxImage_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
1651 { "wxImage_GetWidth", (PyCFunction
) _wrap_wxImage_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
1652 { "wxImage_Ok", (PyCFunction
) _wrap_wxImage_Ok
, METH_VARARGS
| METH_KEYWORDS
},
1653 { "wxImage_SaveMimeFile", (PyCFunction
) _wrap_wxImage_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
1654 { "wxImage_SaveFile", (PyCFunction
) _wrap_wxImage_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
1655 { "wxImage_LoadMimeFile", (PyCFunction
) _wrap_wxImage_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
1656 { "wxImage_LoadFile", (PyCFunction
) _wrap_wxImage_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
1657 { "wxImage_GetBlue", (PyCFunction
) _wrap_wxImage_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
1658 { "wxImage_GetGreen", (PyCFunction
) _wrap_wxImage_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
1659 { "wxImage_GetRed", (PyCFunction
) _wrap_wxImage_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
1660 { "wxImage_SetRGB", (PyCFunction
) _wrap_wxImage_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
1661 { "wxImage_Rescale", (PyCFunction
) _wrap_wxImage_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
1662 { "wxImage_Scale", (PyCFunction
) _wrap_wxImage_Scale
, METH_VARARGS
| METH_KEYWORDS
},
1663 { "wxImage_Destroy", (PyCFunction
) _wrap_wxImage_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
1664 { "wxImage_Create", (PyCFunction
) _wrap_wxImage_Create
, METH_VARARGS
| METH_KEYWORDS
},
1665 { "wxImage_ConvertToBitmap", (PyCFunction
) _wrap_wxImage_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1666 { "delete_wxImage", (PyCFunction
) _wrap_delete_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
1667 { "new_wxImage", (PyCFunction
) _wrap_new_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
1668 { "new_wxPCXHandler", (PyCFunction
) _wrap_new_wxPCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
1669 { "new_wxPNMHandler", (PyCFunction
) _wrap_new_wxPNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
1670 { "new_wxGIFHandler", (PyCFunction
) _wrap_new_wxGIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
1671 { "new_wxBMPHandler", (PyCFunction
) _wrap_new_wxBMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
1672 { "new_wxJPEGHandler", (PyCFunction
) _wrap_new_wxJPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
1673 { "new_wxPNGHandler", (PyCFunction
) _wrap_new_wxPNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
1674 { "wxImageHandler_SetMimeType", (PyCFunction
) _wrap_wxImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
1675 { "wxImageHandler_SetType", (PyCFunction
) _wrap_wxImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
1676 { "wxImageHandler_SetExtension", (PyCFunction
) _wrap_wxImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
1677 { "wxImageHandler_SetName", (PyCFunction
) _wrap_wxImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
1678 { "wxImageHandler_GetMimeType", (PyCFunction
) _wrap_wxImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
1679 { "wxImageHandler_GetType", (PyCFunction
) _wrap_wxImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
1680 { "wxImageHandler_GetExtension", (PyCFunction
) _wrap_wxImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
1681 { "wxImageHandler_GetName", (PyCFunction
) _wrap_wxImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
1682 { "new_wxImageHandler", (PyCFunction
) _wrap_new_wxImageHandler
, METH_VARARGS
| METH_KEYWORDS
},
1683 { "wxInitAllImageHandlers", (PyCFunction
) _wrap_wxInitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
1684 { "wxImage_AddHandler", (PyCFunction
) _wrap_wxImage_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
1685 { "wxImageFromBitmap", (PyCFunction
) _wrap_wxImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1686 { "wxImageFromMime", (PyCFunction
) _wrap_wxImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
1687 { "wxEmptyImage", (PyCFunction
) _wrap_wxEmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
1688 { "wxNullImage", (PyCFunction
) _wrap_wxNullImage
, METH_VARARGS
| METH_KEYWORDS
},
1695 * This table is used by the pointer type-checker
1697 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1698 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
1699 { "_signed_long","_long",0},
1700 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
1701 { "_wxBMPHandler","_class_wxBMPHandler",0},
1702 { "_wxImage","_class_wxImage",0},
1703 { "_wxPrintQuality","_int",0},
1704 { "_wxPrintQuality","_signed_int",0},
1705 { "_wxPrintQuality","_unsigned_int",0},
1706 { "_wxPrintQuality","_wxWindowID",0},
1707 { "_wxPrintQuality","_uint",0},
1708 { "_wxPrintQuality","_EBool",0},
1709 { "_wxPrintQuality","_size_t",0},
1710 { "_class_wxRegionIterator","_wxRegionIterator",0},
1711 { "_wxGIFHandler","_class_wxGIFHandler",0},
1712 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
1713 { "_wxCursor","_class_wxCursor",0},
1714 { "_wxImageHandler","_class_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler
},
1715 { "_wxImageHandler","_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler
},
1716 { "_wxImageHandler","_class_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler
},
1717 { "_wxImageHandler","_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler
},
1718 { "_wxImageHandler","_class_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
},
1719 { "_wxImageHandler","_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
},
1720 { "_wxImageHandler","_class_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
},
1721 { "_wxImageHandler","_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
},
1722 { "_wxImageHandler","_class_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
},
1723 { "_wxImageHandler","_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
},
1724 { "_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
},
1725 { "_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
},
1726 { "_wxImageHandler","_class_wxImageHandler",0},
1727 { "_wxMask","_class_wxMask",0},
1728 { "_wxPNGHandler","_class_wxPNGHandler",0},
1729 { "_wxPen","_class_wxPen",0},
1730 { "_byte","_unsigned_char",0},
1731 { "_long","_wxDash",0},
1732 { "_long","_unsigned_long",0},
1733 { "_long","_signed_long",0},
1734 { "_wxImageList","_class_wxImageList",0},
1735 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
1736 { "_wxDC","_class_wxDC",0},
1737 { "_class_wxBMPHandler","_wxBMPHandler",0},
1738 { "_size_t","_wxPrintQuality",0},
1739 { "_size_t","_unsigned_int",0},
1740 { "_size_t","_int",0},
1741 { "_size_t","_wxWindowID",0},
1742 { "_size_t","_uint",0},
1743 { "_class_wxRealPoint","_wxRealPoint",0},
1744 { "_wxPNMHandler","_class_wxPNMHandler",0},
1745 { "_class_wxGIFHandler","_wxGIFHandler",0},
1746 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
1747 { "_class_wxMask","_wxMask",0},
1748 { "_class_wxPNGHandler","_wxPNGHandler",0},
1749 { "_wxColour","_class_wxColour",0},
1750 { "_wxBrush","_class_wxBrush",0},
1751 { "_uint","_wxPrintQuality",0},
1752 { "_uint","_size_t",0},
1753 { "_uint","_unsigned_int",0},
1754 { "_uint","_int",0},
1755 { "_uint","_wxWindowID",0},
1756 { "_wxRect","_class_wxRect",0},
1757 { "_class_wxImage","_wxImage",0},
1758 { "_wxPoint","_class_wxPoint",0},
1759 { "_class_wxPNMHandler","_wxPNMHandler",0},
1760 { "_wxBitmap","_class_wxBitmap",0},
1761 { "_wxPyTimer","_class_wxPyTimer",0},
1762 { "_wxWindowDC","_class_wxWindowDC",0},
1763 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
1764 { "_EBool","_wxPrintQuality",0},
1765 { "_EBool","_signed_int",0},
1766 { "_EBool","_int",0},
1767 { "_EBool","_wxWindowID",0},
1768 { "_class_wxRegion","_wxRegion",0},
1769 { "_wxFont","_class_wxFont",0},
1770 { "_unsigned_long","_wxDash",0},
1771 { "_unsigned_long","_long",0},
1772 { "_class_wxRect","_wxRect",0},
1773 { "_class_wxDC","_wxDC",0},
1774 { "_class_wxPyTimer","_wxPyTimer",0},
1775 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
1776 { "_signed_int","_wxPrintQuality",0},
1777 { "_signed_int","_EBool",0},
1778 { "_signed_int","_wxWindowID",0},
1779 { "_signed_int","_int",0},
1780 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
1781 { "_wxScreenDC","_class_wxScreenDC",0},
1782 { "_WXTYPE","_short",0},
1783 { "_WXTYPE","_signed_short",0},
1784 { "_WXTYPE","_unsigned_short",0},
1785 { "_class_wxBrush","_wxBrush",0},
1786 { "_unsigned_short","_WXTYPE",0},
1787 { "_unsigned_short","_short",0},
1788 { "_class_wxFont","_wxFont",0},
1789 { "_wxClientDC","_class_wxClientDC",0},
1790 { "_class_wxPoint","_wxPoint",0},
1791 { "_wxRealPoint","_class_wxRealPoint",0},
1792 { "_signed_short","_WXTYPE",0},
1793 { "_signed_short","_short",0},
1794 { "_wxMemoryDC","_class_wxMemoryDC",0},
1795 { "_wxPaintDC","_class_wxPaintDC",0},
1796 { "_class_wxWindowDC","_wxWindowDC",0},
1797 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1798 { "_class_wxCursor","_wxCursor",0},
1799 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
1800 { "_class_wxImageHandler","_class_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler
},
1801 { "_class_wxImageHandler","_wxPCXHandler",SwigwxPCXHandlerTowxImageHandler
},
1802 { "_class_wxImageHandler","_class_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler
},
1803 { "_class_wxImageHandler","_wxPNMHandler",SwigwxPNMHandlerTowxImageHandler
},
1804 { "_class_wxImageHandler","_class_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
},
1805 { "_class_wxImageHandler","_wxGIFHandler",SwigwxGIFHandlerTowxImageHandler
},
1806 { "_class_wxImageHandler","_class_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
},
1807 { "_class_wxImageHandler","_wxBMPHandler",SwigwxBMPHandlerTowxImageHandler
},
1808 { "_class_wxImageHandler","_class_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
},
1809 { "_class_wxImageHandler","_wxJPEGHandler",SwigwxJPEGHandlerTowxImageHandler
},
1810 { "_class_wxImageHandler","_class_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
},
1811 { "_class_wxImageHandler","_wxPNGHandler",SwigwxPNGHandlerTowxImageHandler
},
1812 { "_class_wxImageHandler","_wxImageHandler",0},
1813 { "_unsigned_char","_byte",0},
1814 { "_unsigned_int","_wxPrintQuality",0},
1815 { "_unsigned_int","_size_t",0},
1816 { "_unsigned_int","_uint",0},
1817 { "_unsigned_int","_wxWindowID",0},
1818 { "_unsigned_int","_int",0},
1819 { "_wxIcon","_class_wxIcon",0},
1820 { "_class_wxPen","_wxPen",0},
1821 { "_short","_WXTYPE",0},
1822 { "_short","_unsigned_short",0},
1823 { "_short","_signed_short",0},
1824 { "_class_wxImageList","_wxImageList",0},
1825 { "_wxPCXHandler","_class_wxPCXHandler",0},
1826 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
1827 { "_wxWindowID","_wxPrintQuality",0},
1828 { "_wxWindowID","_size_t",0},
1829 { "_wxWindowID","_EBool",0},
1830 { "_wxWindowID","_uint",0},
1831 { "_wxWindowID","_int",0},
1832 { "_wxWindowID","_signed_int",0},
1833 { "_wxWindowID","_unsigned_int",0},
1834 { "_int","_wxPrintQuality",0},
1835 { "_int","_size_t",0},
1836 { "_int","_EBool",0},
1837 { "_int","_uint",0},
1838 { "_int","_wxWindowID",0},
1839 { "_int","_unsigned_int",0},
1840 { "_int","_signed_int",0},
1841 { "_wxSize","_class_wxSize",0},
1842 { "_wxRegionIterator","_class_wxRegionIterator",0},
1843 { "_class_wxPaintDC","_wxPaintDC",0},
1844 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1845 { "_class_wxIcon","_wxIcon",0},
1846 { "_class_wxColour","_wxColour",0},
1847 { "_class_wxScreenDC","_wxScreenDC",0},
1848 { "_wxPalette","_class_wxPalette",0},
1849 { "_wxRegion","_class_wxRegion",0},
1850 { "_class_wxPCXHandler","_wxPCXHandler",0},
1851 { "_class_wxClientDC","_wxClientDC",0},
1852 { "_class_wxSize","_wxSize",0},
1853 { "_class_wxBitmap","_wxBitmap",0},
1854 { "_class_wxMemoryDC","_wxMemoryDC",0},
1855 { "_wxDash","_unsigned_long",0},
1856 { "_wxDash","_long",0},
1857 { "_class_wxPalette","_wxPalette",0},
1860 static PyObject
*SWIG_globals
;
1864 SWIGEXPORT(void) initimagec() {
1866 SWIG_globals
= SWIG_newvarlink();
1867 m
= Py_InitModule("imagec", imagecMethods
);
1868 d
= PyModule_GetDict(m
);
1871 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1872 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);