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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user