Disable typemap for wxImage constructors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-04-07 02:23:01 +00:00
parent 573800c5aa
commit c83e65d583

View File

@@ -128,6 +128,8 @@ key value from a RGB tripple.", "");
class wxImage : public wxObject { class wxImage : public wxObject {
public: public:
%typemap(out) wxImage*; // turn off this typemap
DocCtorStr( DocCtorStr(
wxImage( const wxString& name, long type = wxBITMAP_TYPE_ANY, int index = -1 ), 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 ); // TODO: wxImage( char** xpmData );
// Turn it back on again
%typemap(out) wxWWindow* { $result = wxPyMake_wxObject($1, $owner); }
void Create( int width, int height ); void Create( int width, int height );
void Destroy(); void Destroy();