X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/_defs.i diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 2e0aa6c8a6..77d040b614 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -16,7 +16,6 @@ %feature("autodoc", "1"); // 0 == no param types, 1 == show param types - //--------------------------------------------------------------------------- // Tell SWIG to wrap all the wrappers with our thread protection by default @@ -63,6 +62,8 @@ typedef unsigned char byte; #define %pythonPrepend %feature("pythonprepend") #define %kwargs %feature("kwargs") #define %nokwargs %feature("nokwargs") +#define %noautodoc %feature("noautodoc") + //#ifndef %shadow //#define %shadow %insert("shadow") @@ -189,13 +190,13 @@ typedef unsigned char byte; // Set the autodoc and the docstring for a decl and then define the decl too. // Must use the full declaration of the item. #ifdef _DO_FULL_DOCS - %define DocDeclAStr(type, decl, astr, details, docstr) + %define DocDeclAStr(type, decl, astr, docstr, details) %feature("autodoc") decl astr; %feature("docstring") decl docstr details; type decl %enddef #else - %define DocDeclAStr(type, decl, astr, details, docstr) + %define DocDeclAStr(type, decl, astr, docstr, details) %feature("autodoc") decl astr; %feature("docstring") decl docstr; type decl @@ -309,7 +310,7 @@ typedef unsigned char byte; //--------------------------------------------------------------------------- // Forward declarations and %renames for some classes, so the autodoc strings // will be able to use the right types even when the real class declaration is -// not in the module being processed. +// not in the module being processed or seen by %import's. #ifdef BUILDING_RENAMERS #define FORWARD_DECLARE(wxName, Name) @@ -337,6 +338,7 @@ FORWARD_DECLARE(wxMemoryDC, MemoryDC); FORWARD_DECLARE(wxHtmlTagHandler, HtmlTagHandler); FORWARD_DECLARE(wxConfigBase, ConfigBase); FORWARD_DECLARE(wxIcon, Icon); +FORWARD_DECLARE(wxStaticBox, StaticBox); //---------------------------------------------------------------------------