From c83e65d58322dade86dd4291ae4d0d2d4df60afb Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 7 Apr 2005 02:23:01 +0000 Subject: [PATCH] Disable typemap for wxImage constructors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_image.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxPython/src/_image.i b/wxPython/src/_image.i index 36cef9cdfa..163648f693 100644 --- a/wxPython/src/_image.i +++ b/wxPython/src/_image.i @@ -128,6 +128,8 @@ key value from a RGB tripple.", ""); class wxImage : public wxObject { public: + %typemap(out) wxImage*; // turn off this typemap + DocCtorStr( wxImage( const wxString& name, long type = wxBITMAP_TYPE_ANY, int index = -1 ), "", ""); @@ -235,6 +237,10 @@ length of the data must be width*height*3.", "", // TODO: wxImage( char** xpmData ); + // Turn it back on again + %typemap(out) wxWWindow* { $result = wxPyMake_wxObject($1, $owner); } + + void Create( int width, int height ); void Destroy(); -- 2.50.0