From: Robin Dunn Date: Fri, 23 Jan 2004 00:12:34 +0000 (+0000) Subject: Fixed autodoc for static methods X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3d3e0170c04670d70c1dbeac066e8aeb2217e640 Fixed autodoc for static methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/SWIG/swig.python-docstring.patch b/wxPython/SWIG/swig.python-docstring.patch index 39a79c6f50..600cff333b 100644 --- a/wxPython/SWIG/swig.python-docstring.patch +++ b/wxPython/SWIG/swig.python-docstring.patch @@ -4,7 +4,7 @@ RCS file: /cvsroot/SWIG/Source/Modules/python.cxx,v retrieving revision 1.39 diff -u -4 -r1.39 python.cxx --- Source/Modules/python.cxx 22 Jan 2004 22:42:17 -0000 1.39 -+++ Source/Modules/python.cxx 22 Jan 2004 22:51:35 -0000 ++++ Source/Modules/python.cxx 22 Jan 2004 23:39:03 -0000 @@ -50,8 +50,17 @@ static int have_constructor; static int have_repr; @@ -224,7 +224,7 @@ diff -u -4 -r1.39 python.cxx + break; + + case AUTODOC_STATICFUNC: -+ Printf(doc, "%s.%s(%s)", class_name, symname, make_autodocParmList(n, showTypes)); ++ Printf(doc, "%s(%s)", symname, make_autodocParmList(n, showTypes)); + if (type) Printf(doc, " -> %s", type); + break; +