Use Python's buffer interface API for all image data and alpha Set/Get
methods and the ImageFromData* constructors. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -259,6 +259,20 @@ typedef unsigned long wxUIntPtr;
|
||||
%enddef
|
||||
#endif
|
||||
|
||||
#ifdef _DO_FULL_DOCS
|
||||
%define RenameDocCtorStr(newname, docstr, details, decl)
|
||||
%feature("docstring") decl docstr details;
|
||||
%rename(newname) decl;
|
||||
decl
|
||||
%enddef
|
||||
#else
|
||||
%define RenameDocCtorStr(newname, docstr, details, decl)
|
||||
%feature("docstring") decl docstr;
|
||||
%rename(newname) decl;
|
||||
decl
|
||||
%enddef
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// Set the autodoc string for a constructor decl and then define the decl too.
|
||||
@@ -333,6 +347,19 @@ typedef unsigned long wxUIntPtr;
|
||||
decl
|
||||
%enddef
|
||||
|
||||
#ifdef _DO_FULL_DOCS
|
||||
%define %RenameDocCtor(newname, docstr, details, decl)
|
||||
%feature("docstring") decl docstr details;
|
||||
%rename(newname) decl;
|
||||
decl
|
||||
%enddef
|
||||
#else
|
||||
%define %RenameDocCtor(newname, docstr, details, decl)
|
||||
%feature("docstring") decl docstr;
|
||||
%rename(newname) decl;
|
||||
decl
|
||||
%enddef
|
||||
#endif
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Forward declarations and %renames for some classes, so the autodoc strings
|
||||
|
Reference in New Issue
Block a user