]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/docs/xml/wxPython-metadata.xml
changed background color reference from light gray to assigned bkgd color
[wxWidgets.git] / wxPython / docs / xml / wxPython-metadata.xml
index 1beefedbd3a5d941cfa746be31496afe13a012d6..eb2571794226ec65f8442d3d17e8f19ca5b6c191 100644 (file)
@@ -1,28 +1,49 @@
 <?xml version="1.0"?>
 <wxPython-metadata>
 <?xml version="1.0"?>
 <wxPython-metadata>
-  <module name="core">
+  <module name="_core">
     <pythoncode>
 #// Give a reference to the dictionary of this module to the C++ extension
 #// code.
     <pythoncode>
 #// Give a reference to the dictionary of this module to the C++ extension
 #// code.
-_core._wxPySetDictionary(vars())
+_core_._wxPySetDictionary(vars())
 
 #// A little trick to make 'wx' be a reference to this module so wx.Names can
 #// be used here.
 import sys as _sys
 wx = _sys.modules[__name__]
 
 #// A little trick to make 'wx' be a reference to this module so wx.Names can
 #// be used here.
 import sys as _sys
 wx = _sys.modules[__name__]
+
+</pythoncode>
+    <pythoncode>
+#----------------------------------------------------------------------------
+
+def _deprecated(callable, msg=None):
+    """
+    Create a wrapper function that will raise a DeprecationWarning
+    before calling the callable.
+    """
+    if msg is None:
+        msg = "%s is deprecated" % callable
+    def deprecatedWrapper(*args, **kwargs):
+        import warnings
+        warnings.warn(msg, DeprecationWarning, stacklevel=2)
+        return callable(*args, **kwargs)
+    deprecatedWrapper.__doc__ = msg
+    return deprecatedWrapper
+    
+                   
+#----------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Object" oldname="wxObject" module="core">
+    <class name="Object" oldname="wxObject" module="_core">
       <docstring>The base class for most wx objects, although in wxPython not
 much functionality is needed nor exposed.</docstring>
       <method name="GetClassName" type="String" overloaded="no">
       <docstring>The base class for most wx objects, although in wxPython not
 much functionality is needed nor exposed.</docstring>
       <method name="GetClassName" type="String" overloaded="no">
-        <autodoc>GetClassName() -&gt; String</autodoc>
-        <docstring>Returns the class name of the C++ object using wxRTTI.</docstring>
+        <autodoc>GetClassName(self) -&gt; String</autodoc>
+        <docstring>Returns the class name of the C++ class using wxRTTI.</docstring>
       </method>
       <method name="Destroy" type="" overloaded="no">
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
     </class>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
     </class>
@@ -32,13 +53,13 @@ much functionality is needed nor exposed.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Size" oldname="wxSize" module="core">
-      <docstring>wx.Size is a useful data structure used to represent the size of something.
-It simply contians integer width and height proprtites.  In most places in
-wxPython where a wx.Size is expected a (width,height) tuple can be used
-instead.</docstring>
+    <class name="Size" oldname="wxSize" module="_core">
+      <docstring>wx.Size is a useful data structure used to represent the size of
+something.  It simply contians integer width and height proprtites.
+In most places in wxPython where a wx.Size is expected a
+(width,height) tuple can be used instead.</docstring>
       <constructor name="Size" overloaded="no">
       <constructor name="Size" overloaded="no">
-        <autodoc>__init__(int w=0, int h=0) -&gt; Size</autodoc>
+        <autodoc>__init__(self, int w=0, int h=0) -&gt; Size</autodoc>
         <docstring>Creates a size object.</docstring>
         <paramlist>
           <param name="w" type="int" default="0"/>
         <docstring>Creates a size object.</docstring>
         <paramlist>
           <param name="w" type="int" default="0"/>
@@ -46,40 +67,40 @@ instead.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxSize" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxSize" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <property name="width" type="int" readonly="no"/>
       <property name="height" type="int" readonly="no"/>
       <method name="__eq__" type="bool" overloaded="no">
       </destructor>
       <property name="width" type="int" readonly="no"/>
       <property name="height" type="int" readonly="no"/>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Size sz) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Size sz) -&gt; bool</autodoc>
         <docstring>Test for equality of wx.Size objects.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <docstring>Test for equality of wx.Size objects.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Size sz) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Size sz) -&gt; bool</autodoc>
         <docstring>Test for inequality.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="Size" overloaded="no">
         <docstring>Test for inequality.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="Size" overloaded="no">
-        <autodoc>__add__(Size sz) -&gt; Size</autodoc>
+        <autodoc>__add__(self, Size sz) -&gt; Size</autodoc>
         <docstring>Add sz's proprties to this and return the result.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="Size" overloaded="no">
         <docstring>Add sz's proprties to this and return the result.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="Size" overloaded="no">
-        <autodoc>__sub__(Size sz) -&gt; Size</autodoc>
+        <autodoc>__sub__(self, Size sz) -&gt; Size</autodoc>
         <docstring>Subtract sz's properties from this and return the result.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="IncTo" type="" overloaded="no">
         <docstring>Subtract sz's properties from this and return the result.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="IncTo" type="" overloaded="no">
-        <autodoc>IncTo(Size sz)</autodoc>
+        <autodoc>IncTo(self, Size sz)</autodoc>
         <docstring>Increments this object so that both of its dimensions are not less
 than the corresponding dimensions of the size.</docstring>
         <paramlist>
         <docstring>Increments this object so that both of its dimensions are not less
 than the corresponding dimensions of the size.</docstring>
         <paramlist>
@@ -87,7 +108,7 @@ than the corresponding dimensions of the size.</docstring>
         </paramlist>
       </method>
       <method name="DecTo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DecTo" type="" overloaded="no">
-        <autodoc>DecTo(Size sz)</autodoc>
+        <autodoc>DecTo(self, Size sz)</autodoc>
         <docstring>Decrements this object so that both of its dimensions are not greater
 than the corresponding dimensions of the size.</docstring>
         <paramlist>
         <docstring>Decrements this object so that both of its dimensions are not greater
 than the corresponding dimensions of the size.</docstring>
         <paramlist>
@@ -95,7 +116,7 @@ than the corresponding dimensions of the size.</docstring>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int w, int h)</autodoc>
+        <autodoc>Set(self, int w, int h)</autodoc>
         <docstring>Set both width and height.</docstring>
         <paramlist>
           <param name="w" type="int" default=""/>
         <docstring>Set both width and height.</docstring>
         <paramlist>
           <param name="w" type="int" default=""/>
@@ -103,22 +124,34 @@ than the corresponding dimensions of the size.</docstring>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int w)</autodoc>
+        <autodoc>SetWidth(self, int w)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHeight" type="" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHeight" type="" overloaded="no">
-        <autodoc>SetHeight(int h)</autodoc>
+        <autodoc>SetHeight(self, int h)</autodoc>
         <paramlist>
           <param name="h" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
         <paramlist>
           <param name="h" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
+      </method>
+      <method name="IsFullySpecified" type="bool" overloaded="no">
+        <autodoc>IsFullySpecified(self) -&gt; bool</autodoc>
+        <docstring>Returns True if both components of the size are non-default values.</docstring>
+      </method>
+      <method name="SetDefaults" type="" overloaded="no">
+        <autodoc>SetDefaults(self, Size size)</autodoc>
+        <docstring>Combine this size with the other one replacing the default components
+of this object (i.e. equal to -1) with those of the other.</docstring>
+        <paramlist>
+          <param name="size" type="Size" default=""/>
+        </paramlist>
       </method>
       <method name="Get" type="PyObject" overloaded="no">
         <autodoc>Get() -&gt; (width,height)</autodoc>
       </method>
       <method name="Get" type="PyObject" overloaded="no">
         <autodoc>Get() -&gt; (width,height)</autodoc>
@@ -128,12 +161,12 @@ than the corresponding dimensions of the size.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="RealPoint" oldname="wxRealPoint" module="core">
-      <docstring>A data structure for representing a point or position with floating point x
-and y properties.  In wxPython most places that expect a wx.RealPoint can also
-accept a (x,y) tuple.</docstring>
+    <class name="RealPoint" oldname="wxRealPoint" module="_core">
+      <docstring>A data structure for representing a point or position with floating
+point x and y properties.  In wxPython most places that expect a
+wx.RealPoint can also accept a (x,y) tuple.</docstring>
       <constructor name="RealPoint" overloaded="no">
       <constructor name="RealPoint" overloaded="no">
-        <autodoc>__init__(double x=0.0, double y=0.0) -&gt; RealPoint</autodoc>
+        <autodoc>__init__(self, double x=0.0, double y=0.0) -&gt; RealPoint</autodoc>
         <docstring>Create a wx.RealPoint object</docstring>
         <paramlist>
           <param name="x" type="double" default="0.0"/>
         <docstring>Create a wx.RealPoint object</docstring>
         <paramlist>
           <param name="x" type="double" default="0.0"/>
@@ -141,40 +174,40 @@ accept a (x,y) tuple.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxRealPoint" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxRealPoint" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <property name="x" type="double" readonly="no"/>
       <property name="y" type="double" readonly="no"/>
       <method name="__eq__" type="bool" overloaded="no">
       </destructor>
       <property name="x" type="double" readonly="no"/>
       <property name="y" type="double" readonly="no"/>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(RealPoint pt) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, RealPoint pt) -&gt; bool</autodoc>
         <docstring>Test for equality of wx.RealPoint objects.</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <docstring>Test for equality of wx.RealPoint objects.</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(RealPoint pt) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, RealPoint pt) -&gt; bool</autodoc>
         <docstring>Test for inequality of wx.RealPoint objects.</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="RealPoint" overloaded="no">
         <docstring>Test for inequality of wx.RealPoint objects.</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="RealPoint" overloaded="no">
-        <autodoc>__add__(RealPoint pt) -&gt; RealPoint</autodoc>
+        <autodoc>__add__(self, RealPoint pt) -&gt; RealPoint</autodoc>
         <docstring>Add pt's proprties to this and return the result.</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="RealPoint" overloaded="no">
         <docstring>Add pt's proprties to this and return the result.</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="RealPoint" overloaded="no">
-        <autodoc>__sub__(RealPoint pt) -&gt; RealPoint</autodoc>
+        <autodoc>__sub__(self, RealPoint pt) -&gt; RealPoint</autodoc>
         <docstring>Subtract pt's proprties from this and return the result</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <docstring>Subtract pt's proprties from this and return the result</docstring>
         <paramlist>
           <param name="pt" type="RealPoint" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(double x, double y)</autodoc>
+        <autodoc>Set(self, double x, double y)</autodoc>
         <docstring>Set both the x and y properties</docstring>
         <paramlist>
           <param name="x" type="double" default=""/>
         <docstring>Set both the x and y properties</docstring>
         <paramlist>
           <param name="x" type="double" default=""/>
@@ -189,12 +222,12 @@ accept a (x,y) tuple.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Point" oldname="wxPoint" module="core">
-      <docstring>A data structure for representing a point or position with integer x and y
-properties.  Most places in wxPython that expect a wx.Point can also accept a
-(x,y) tuple.</docstring>
+    <class name="Point" oldname="wxPoint" module="_core">
+      <docstring>A data structure for representing a point or position with integer x
+and y properties.  Most places in wxPython that expect a wx.Point can
+also accept a (x,y) tuple.</docstring>
       <constructor name="Point" overloaded="no">
       <constructor name="Point" overloaded="no">
-        <autodoc>__init__(int x=0, int y=0) -&gt; Point</autodoc>
+        <autodoc>__init__(self, int x=0, int y=0) -&gt; Point</autodoc>
         <docstring>Create a wx.Point object</docstring>
         <paramlist>
           <param name="x" type="int" default="0"/>
         <docstring>Create a wx.Point object</docstring>
         <paramlist>
           <param name="x" type="int" default="0"/>
@@ -202,54 +235,54 @@ properties.  Most places in wxPython that expect a wx.Point can also accept a
         </paramlist>
       </constructor>
       <destructor name="~wxPoint" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxPoint" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <property name="x" type="int" readonly="no"/>
       <property name="y" type="int" readonly="no"/>
       <method name="__eq__" type="bool" overloaded="no">
       </destructor>
       <property name="x" type="int" readonly="no"/>
       <property name="y" type="int" readonly="no"/>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Point pt) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Point pt) -&gt; bool</autodoc>
         <docstring>Test for equality of wx.Point objects.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <docstring>Test for equality of wx.Point objects.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Point pt) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Point pt) -&gt; bool</autodoc>
         <docstring>Test for inequality of wx.Point objects.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="Point" overloaded="no">
         <docstring>Test for inequality of wx.Point objects.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="Point" overloaded="no">
-        <autodoc>__add__(Point pt) -&gt; Point</autodoc>
+        <autodoc>__add__(self, Point pt) -&gt; Point</autodoc>
         <docstring>Add pt's proprties to this and return the result.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="Point" overloaded="no">
         <docstring>Add pt's proprties to this and return the result.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="Point" overloaded="no">
-        <autodoc>__sub__(Point pt) -&gt; Point</autodoc>
+        <autodoc>__sub__(self, Point pt) -&gt; Point</autodoc>
         <docstring>Subtract pt's proprties from this and return the result</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__iadd__" type="Point" overloaded="no">
         <docstring>Subtract pt's proprties from this and return the result</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__iadd__" type="Point" overloaded="no">
-        <autodoc>__iadd__(Point pt) -&gt; Point</autodoc>
+        <autodoc>__iadd__(self, Point pt) -&gt; Point</autodoc>
         <docstring>Add pt to this object.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="Point" overloaded="no">
         <docstring>Add pt to this object.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="Point" overloaded="no">
-        <autodoc>__isub__(Point pt) -&gt; Point</autodoc>
+        <autodoc>__isub__(self, Point pt) -&gt; Point</autodoc>
         <docstring>Subtract pt from this object.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <docstring>Subtract pt from this object.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(long x, long y)</autodoc>
+        <autodoc>Set(self, long x, long y)</autodoc>
         <docstring>Set both the x and y properties</docstring>
         <paramlist>
           <param name="x" type="long" default=""/>
         <docstring>Set both the x and y properties</docstring>
         <paramlist>
           <param name="x" type="long" default=""/>
@@ -264,12 +297,12 @@ properties.  Most places in wxPython that expect a wx.Point can also accept a
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Rect" oldname="wxRect" module="core">
-      <docstring>A class for representing and manipulating rectangles.  It has x, y, width and
-height properties.  In wxPython most palces that expect a wx.Rect can also
-accept a (x,y,width,height) tuple.</docstring>
+    <class name="Rect" oldname="wxRect" module="_core">
+      <docstring>A class for representing and manipulating rectangles.  It has x, y,
+width and height properties.  In wxPython most palces that expect a
+wx.Rect can also accept a (x,y,width,height) tuple.</docstring>
       <constructor name="Rect" overloaded="no">
       <constructor name="Rect" overloaded="no">
-        <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -&gt; Rect</autodoc>
+        <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -&gt; Rect</autodoc>
         <docstring>Create a new Rect object.</docstring>
         <paramlist>
           <param name="x" type="int" default="0"/>
         <docstring>Create a new Rect object.</docstring>
         <paramlist>
           <param name="x" type="int" default="0"/>
@@ -295,189 +328,190 @@ accept a (x,y,width,height) tuple.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxRect" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxRect" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetX" type="int" overloaded="no">
       </destructor>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
       </method>
       <method name="SetX" type="" overloaded="no">
       </method>
       <method name="SetX" type="" overloaded="no">
-        <autodoc>SetX(int x)</autodoc>
+        <autodoc>SetX(self, int x)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetY" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
       </method>
       <method name="SetY" type="" overloaded="no">
       </method>
       <method name="SetY" type="" overloaded="no">
-        <autodoc>SetY(int y)</autodoc>
+        <autodoc>SetY(self, int y)</autodoc>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="SetWidth" type="" overloaded="no">
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int w)</autodoc>
+        <autodoc>SetWidth(self, int w)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
       </method>
       <method name="SetHeight" type="" overloaded="no">
       </method>
       <method name="SetHeight" type="" overloaded="no">
-        <autodoc>SetHeight(int h)</autodoc>
+        <autodoc>SetHeight(self, int h)</autodoc>
         <paramlist>
           <param name="h" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
         <paramlist>
           <param name="h" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="SetPosition" type="" overloaded="no">
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(Point p)</autodoc>
+        <autodoc>SetPosition(self, Point p)</autodoc>
         <paramlist>
           <param name="p" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         <paramlist>
           <param name="p" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
       </method>
       <method name="SetSize" type="" overloaded="no">
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(Size s)</autodoc>
+        <autodoc>SetSize(self, Size s)</autodoc>
         <paramlist>
           <param name="s" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetTopLeft" type="Point" overloaded="no">
         <paramlist>
           <param name="s" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetTopLeft" type="Point" overloaded="no">
-        <autodoc>GetTopLeft() -&gt; Point</autodoc>
+        <autodoc>GetTopLeft(self) -&gt; Point</autodoc>
       </method>
       <method name="SetTopLeft" type="" overloaded="no">
       </method>
       <method name="SetTopLeft" type="" overloaded="no">
-        <autodoc>SetTopLeft(Point p)</autodoc>
+        <autodoc>SetTopLeft(self, Point p)</autodoc>
         <paramlist>
           <param name="p" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetBottomRight" type="Point" overloaded="no">
         <paramlist>
           <param name="p" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetBottomRight" type="Point" overloaded="no">
-        <autodoc>GetBottomRight() -&gt; Point</autodoc>
+        <autodoc>GetBottomRight(self) -&gt; Point</autodoc>
       </method>
       <method name="SetBottomRight" type="" overloaded="no">
       </method>
       <method name="SetBottomRight" type="" overloaded="no">
-        <autodoc>SetBottomRight(Point p)</autodoc>
+        <autodoc>SetBottomRight(self, Point p)</autodoc>
         <paramlist>
           <param name="p" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetLeft" type="int" overloaded="no">
         <paramlist>
           <param name="p" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetLeft" type="int" overloaded="no">
-        <autodoc>GetLeft() -&gt; int</autodoc>
+        <autodoc>GetLeft(self) -&gt; int</autodoc>
       </method>
       <method name="GetTop" type="int" overloaded="no">
       </method>
       <method name="GetTop" type="int" overloaded="no">
-        <autodoc>GetTop() -&gt; int</autodoc>
+        <autodoc>GetTop(self) -&gt; int</autodoc>
       </method>
       <method name="GetBottom" type="int" overloaded="no">
       </method>
       <method name="GetBottom" type="int" overloaded="no">
-        <autodoc>GetBottom() -&gt; int</autodoc>
+        <autodoc>GetBottom(self) -&gt; int</autodoc>
       </method>
       <method name="GetRight" type="int" overloaded="no">
       </method>
       <method name="GetRight" type="int" overloaded="no">
-        <autodoc>GetRight() -&gt; int</autodoc>
+        <autodoc>GetRight(self) -&gt; int</autodoc>
       </method>
       <method name="SetLeft" type="" overloaded="no">
       </method>
       <method name="SetLeft" type="" overloaded="no">
-        <autodoc>SetLeft(int left)</autodoc>
+        <autodoc>SetLeft(self, int left)</autodoc>
         <paramlist>
           <param name="left" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRight" type="" overloaded="no">
         <paramlist>
           <param name="left" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRight" type="" overloaded="no">
-        <autodoc>SetRight(int right)</autodoc>
+        <autodoc>SetRight(self, int right)</autodoc>
         <paramlist>
           <param name="right" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetTop" type="" overloaded="no">
         <paramlist>
           <param name="right" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetTop" type="" overloaded="no">
-        <autodoc>SetTop(int top)</autodoc>
+        <autodoc>SetTop(self, int top)</autodoc>
         <paramlist>
           <param name="top" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetBottom" type="" overloaded="no">
         <paramlist>
           <param name="top" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetBottom" type="" overloaded="no">
-        <autodoc>SetBottom(int bottom)</autodoc>
+        <autodoc>SetBottom(self, int bottom)</autodoc>
         <paramlist>
           <param name="bottom" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Inflate" type="Rect" overloaded="no">
         <paramlist>
           <param name="bottom" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Inflate" type="Rect" overloaded="no">
-        <autodoc>Inflate(int dx, int dy) -&gt; Rect</autodoc>
-        <docstring>Increase the rectangle size by dx in x direction and dy in y direction. Both
-(or one of) parameters may be negative to decrease the rectangle size.</docstring>
+        <autodoc>Inflate(self, int dx, int dy) -&gt; Rect</autodoc>
+        <docstring>Increase the rectangle size by dx in x direction and dy in y
+direction. Both or one of) parameters may be negative to decrease the
+rectangle size.</docstring>
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Deflate" type="Rect" overloaded="no">
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Deflate" type="Rect" overloaded="no">
-        <autodoc>Deflate(int dx, int dy) -&gt; Rect</autodoc>
-        <docstring>Decrease the rectangle size by dx in x direction and dy in y direction. Both
-(or one of) parameters may be negative to increase the rectngle size. This
-method is the opposite of Inflate.</docstring>
+        <autodoc>Deflate(self, int dx, int dy) -&gt; Rect</autodoc>
+        <docstring>Decrease the rectangle size by dx in x direction and dy in y
+direction. Both or one of) parameters may be negative to increase the
+rectngle size. This method is the opposite of Inflate.</docstring>
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="OffsetXY" type="" overloaded="no">
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="OffsetXY" type="" overloaded="no">
-        <autodoc>OffsetXY(int dx, int dy)</autodoc>
-        <docstring>Moves the rectangle by the specified offset. If dx is positive, the rectangle
-is moved to the right, if dy is positive, it is moved to the bottom, otherwise
-it is moved to the left or top respectively.</docstring>
+        <autodoc>OffsetXY(self, int dx, int dy)</autodoc>
+        <docstring>Moves the rectangle by the specified offset. If dx is positive, the
+rectangle is moved to the right, if dy is positive, it is moved to the
+bottom, otherwise it is moved to the left or top respectively.</docstring>
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Offset" type="" overloaded="no">
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Offset" type="" overloaded="no">
-        <autodoc>Offset(Point pt)</autodoc>
+        <autodoc>Offset(self, Point pt)</autodoc>
         <docstring>Same as OffsetXY but uses dx,dy from Point</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Intersect" type="Rect" overloaded="no">
         <docstring>Same as OffsetXY but uses dx,dy from Point</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Intersect" type="Rect" overloaded="no">
-        <autodoc>Intersect(Rect rect) -&gt; Rect</autodoc>
+        <autodoc>Intersect(self, Rect rect) -&gt; Rect</autodoc>
         <docstring>Return the intersectsion of this rectangle and rect.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="Rect" overloaded="no">
         <docstring>Return the intersectsion of this rectangle and rect.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="Rect" overloaded="no">
-        <autodoc>__add__(Rect rect) -&gt; Rect</autodoc>
+        <autodoc>__add__(self, Rect rect) -&gt; Rect</autodoc>
         <docstring>Add the properties of rect to this rectangle and return the result.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__iadd__" type="Rect" overloaded="no">
         <docstring>Add the properties of rect to this rectangle and return the result.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__iadd__" type="Rect" overloaded="no">
-        <autodoc>__iadd__(Rect rect) -&gt; Rect</autodoc>
+        <autodoc>__iadd__(self, Rect rect) -&gt; Rect</autodoc>
         <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <docstring>Add the properties of rect to this rectangle, updating this rectangle.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Rect rect) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Rect rect) -&gt; bool</autodoc>
         <docstring>Test for equality.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <docstring>Test for equality.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Rect rect) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Rect rect) -&gt; bool</autodoc>
         <docstring>Test for inequality.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="InsideXY" type="bool" overloaded="no">
         <docstring>Test for inequality.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="InsideXY" type="bool" overloaded="no">
-        <autodoc>InsideXY(int x, int y) -&gt; bool</autodoc>
+        <autodoc>InsideXY(self, int x, int y) -&gt; bool</autodoc>
         <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
@@ -485,14 +519,14 @@ it is moved to the left or top respectively.</docstring>
         </paramlist>
       </method>
       <method name="Inside" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Inside" type="bool" overloaded="no">
-        <autodoc>Inside(Point pt) -&gt; bool</autodoc>
+        <autodoc>Inside(self, Point pt) -&gt; bool</autodoc>
         <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Intersects" type="bool" overloaded="no">
         <docstring>Return True if the point is (not strcitly) inside the rect.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Intersects" type="bool" overloaded="no">
-        <autodoc>Intersects(Rect rect) -&gt; bool</autodoc>
+        <autodoc>Intersects(self, Rect rect) -&gt; bool</autodoc>
         <docstring>Returns True if the rectangles have a non empty intersection.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         <docstring>Returns True if the rectangles have a non empty intersection.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
@@ -503,7 +537,7 @@ it is moved to the left or top respectively.</docstring>
       <property name="width" type="int" readonly="no"/>
       <property name="height" type="int" readonly="no"/>
       <method name="Set" type="" overloaded="no">
       <property name="width" type="int" readonly="no"/>
       <property name="height" type="int" readonly="no"/>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int x=0, int y=0, int width=0, int height=0)</autodoc>
+        <autodoc>Set(self, int x=0, int y=0, int width=0, int height=0)</autodoc>
         <docstring>Set all rectangle properties.</docstring>
         <paramlist>
           <param name="x" type="int" default="0"/>
         <docstring>Set all rectangle properties.</docstring>
         <paramlist>
           <param name="x" type="int" default="0"/>
@@ -528,10 +562,11 @@ it is moved to the left or top respectively.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Point2D" oldname="wxPoint2D" module="core">
-      <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system with floating point values.</docstring>
+    <class name="Point2D" oldname="wxPoint2D" module="_core">
+      <docstring>wx.Point2Ds represent a point or a vector in a 2d coordinate system
+with floating point values.</docstring>
       <constructor name="Point2D" overloaded="no">
       <constructor name="Point2D" overloaded="no">
-        <autodoc>__init__(double x=0.0, double y=0.0) -&gt; Point2D</autodoc>
+        <autodoc>__init__(self, double x=0.0, double y=0.0) -&gt; Point2D</autodoc>
         <docstring>Create a w.Point2D object.</docstring>
         <paramlist>
           <param name="x" type="double" default="0.0"/>
         <docstring>Create a w.Point2D object.</docstring>
         <paramlist>
           <param name="x" type="double" default="0.0"/>
@@ -569,84 +604,84 @@ it is moved to the left or top respectively.</docstring>
         </paramlist>
       </method>
       <method name="GetVectorLength" type="double" overloaded="no">
         </paramlist>
       </method>
       <method name="GetVectorLength" type="double" overloaded="no">
-        <autodoc>GetVectorLength() -&gt; double</autodoc>
+        <autodoc>GetVectorLength(self) -&gt; double</autodoc>
       </method>
       <method name="GetVectorAngle" type="double" overloaded="no">
       </method>
       <method name="GetVectorAngle" type="double" overloaded="no">
-        <autodoc>GetVectorAngle() -&gt; double</autodoc>
+        <autodoc>GetVectorAngle(self) -&gt; double</autodoc>
       </method>
       <method name="SetVectorLength" type="" overloaded="no">
       </method>
       <method name="SetVectorLength" type="" overloaded="no">
-        <autodoc>SetVectorLength(double length)</autodoc>
+        <autodoc>SetVectorLength(self, double length)</autodoc>
         <paramlist>
           <param name="length" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetVectorAngle" type="" overloaded="no">
         <paramlist>
           <param name="length" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetVectorAngle" type="" overloaded="no">
-        <autodoc>SetVectorAngle(double degrees)</autodoc>
+        <autodoc>SetVectorAngle(self, double degrees)</autodoc>
         <paramlist>
           <param name="degrees" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetDistance" type="double" overloaded="no">
         <paramlist>
           <param name="degrees" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetDistance" type="double" overloaded="no">
-        <autodoc>GetDistance(Point2D pt) -&gt; double</autodoc>
+        <autodoc>GetDistance(self, Point2D pt) -&gt; double</autodoc>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="GetDistanceSquare" type="double" overloaded="no">
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="GetDistanceSquare" type="double" overloaded="no">
-        <autodoc>GetDistanceSquare(Point2D pt) -&gt; double</autodoc>
+        <autodoc>GetDistanceSquare(self, Point2D pt) -&gt; double</autodoc>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="GetDotProduct" type="double" overloaded="no">
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="GetDotProduct" type="double" overloaded="no">
-        <autodoc>GetDotProduct(Point2D vec) -&gt; double</autodoc>
+        <autodoc>GetDotProduct(self, Point2D vec) -&gt; double</autodoc>
         <paramlist>
           <param name="vec" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="GetCrossProduct" type="double" overloaded="no">
         <paramlist>
           <param name="vec" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="GetCrossProduct" type="double" overloaded="no">
-        <autodoc>GetCrossProduct(Point2D vec) -&gt; double</autodoc>
+        <autodoc>GetCrossProduct(self, Point2D vec) -&gt; double</autodoc>
         <paramlist>
           <param name="vec" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__neg__" type="Point2D" overloaded="no">
         <paramlist>
           <param name="vec" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__neg__" type="Point2D" overloaded="no">
-        <autodoc>__neg__() -&gt; Point2D</autodoc>
+        <autodoc>__neg__(self) -&gt; Point2D</autodoc>
         <docstring>the reflection of this point</docstring>
       </method>
       <method name="__iadd__" type="Point2D" overloaded="no">
         <docstring>the reflection of this point</docstring>
       </method>
       <method name="__iadd__" type="Point2D" overloaded="no">
-        <autodoc>__iadd__(Point2D pt) -&gt; Point2D</autodoc>
+        <autodoc>__iadd__(self, Point2D pt) -&gt; Point2D</autodoc>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="Point2D" overloaded="no">
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="Point2D" overloaded="no">
-        <autodoc>__isub__(Point2D pt) -&gt; Point2D</autodoc>
+        <autodoc>__isub__(self, Point2D pt) -&gt; Point2D</autodoc>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__imul__" type="Point2D" overloaded="no">
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__imul__" type="Point2D" overloaded="no">
-        <autodoc>__imul__(Point2D pt) -&gt; Point2D</autodoc>
+        <autodoc>__imul__(self, Point2D pt) -&gt; Point2D</autodoc>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__idiv__" type="Point2D" overloaded="no">
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__idiv__" type="Point2D" overloaded="no">
-        <autodoc>__idiv__(Point2D pt) -&gt; Point2D</autodoc>
+        <autodoc>__idiv__(self, Point2D pt) -&gt; Point2D</autodoc>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Point2D pt) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Point2D pt) -&gt; bool</autodoc>
         <docstring>Test for equality</docstring>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <docstring>Test for equality</docstring>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Point2D pt) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Point2D pt) -&gt; bool</autodoc>
         <docstring>Test for inequality</docstring>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
         <docstring>Test for inequality</docstring>
         <paramlist>
           <param name="pt" type="Point2D" default=""/>
@@ -655,7 +690,7 @@ it is moved to the left or top respectively.</docstring>
       <property name="x" type="double" readonly="no"/>
       <property name="y" type="double" readonly="no"/>
       <method name="Set" type="" overloaded="no">
       <property name="x" type="double" readonly="no"/>
       <property name="y" type="double" readonly="no"/>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(double x=0, double y=0)</autodoc>
+        <autodoc>Set(self, double x=0, double y=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default="0"/>
           <param name="y" type="double" default="0"/>
         <paramlist>
           <param name="x" type="double" default="0"/>
           <param name="y" type="double" default="0"/>
@@ -669,85 +704,85 @@ it is moved to the left or top respectively.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="InputStream" oldname="wxPyInputStream" module="core">
+    <class name="InputStream" oldname="wxPyInputStream" module="_core">
       <constructor name="wxPyInputStream" overloaded="no">
       <constructor name="wxPyInputStream" overloaded="no">
-        <autodoc>__init__(PyObject p) -&gt; InputStream</autodoc>
+        <autodoc>__init__(self, PyObject p) -&gt; InputStream</autodoc>
         <paramlist>
           <param name="p" type="PyObject" default=""/>
         </paramlist>
       </constructor>
       <method name="close" type="" overloaded="no">
         <paramlist>
           <param name="p" type="PyObject" default=""/>
         </paramlist>
       </constructor>
       <method name="close" type="" overloaded="no">
-        <autodoc>close()</autodoc>
+        <autodoc>close(self)</autodoc>
       </method>
       <method name="flush" type="" overloaded="no">
       </method>
       <method name="flush" type="" overloaded="no">
-        <autodoc>flush()</autodoc>
+        <autodoc>flush(self)</autodoc>
       </method>
       <method name="eof" type="bool" overloaded="no">
       </method>
       <method name="eof" type="bool" overloaded="no">
-        <autodoc>eof() -&gt; bool</autodoc>
+        <autodoc>eof(self) -&gt; bool</autodoc>
       </method>
       <method name="read" type="PyObject" overloaded="no">
       </method>
       <method name="read" type="PyObject" overloaded="no">
-        <autodoc>read(int size=-1) -&gt; PyObject</autodoc>
+        <autodoc>read(self, int size=-1) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="size" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="readline" type="PyObject" overloaded="no">
         <paramlist>
           <param name="size" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="readline" type="PyObject" overloaded="no">
-        <autodoc>readline(int size=-1) -&gt; PyObject</autodoc>
+        <autodoc>readline(self, int size=-1) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="size" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="readlines" type="PyObject" overloaded="no">
         <paramlist>
           <param name="size" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="readlines" type="PyObject" overloaded="no">
-        <autodoc>readlines(int sizehint=-1) -&gt; PyObject</autodoc>
+        <autodoc>readlines(self, int sizehint=-1) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="sizehint" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="seek" type="" overloaded="no">
         <paramlist>
           <param name="sizehint" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="seek" type="" overloaded="no">
-        <autodoc>seek(int offset, int whence=0)</autodoc>
+        <autodoc>seek(self, int offset, int whence=0)</autodoc>
         <paramlist>
           <param name="offset" type="int" default=""/>
           <param name="whence" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="tell" type="int" overloaded="no">
         <paramlist>
           <param name="offset" type="int" default=""/>
           <param name="whence" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="tell" type="int" overloaded="no">
-        <autodoc>tell() -&gt; int</autodoc>
+        <autodoc>tell(self) -&gt; int</autodoc>
       </method>
       <method name="Peek" type="char" overloaded="no">
       </method>
       <method name="Peek" type="char" overloaded="no">
-        <autodoc>Peek() -&gt; char</autodoc>
+        <autodoc>Peek(self) -&gt; char</autodoc>
       </method>
       <method name="GetC" type="char" overloaded="no">
       </method>
       <method name="GetC" type="char" overloaded="no">
-        <autodoc>GetC() -&gt; char</autodoc>
+        <autodoc>GetC(self) -&gt; char</autodoc>
       </method>
       <method name="LastRead" type="size_t" overloaded="no">
       </method>
       <method name="LastRead" type="size_t" overloaded="no">
-        <autodoc>LastRead() -&gt; size_t</autodoc>
+        <autodoc>LastRead(self) -&gt; size_t</autodoc>
       </method>
       <method name="CanRead" type="bool" overloaded="no">
       </method>
       <method name="CanRead" type="bool" overloaded="no">
-        <autodoc>CanRead() -&gt; bool</autodoc>
+        <autodoc>CanRead(self) -&gt; bool</autodoc>
       </method>
       <method name="Eof" type="bool" overloaded="no">
       </method>
       <method name="Eof" type="bool" overloaded="no">
-        <autodoc>Eof() -&gt; bool</autodoc>
+        <autodoc>Eof(self) -&gt; bool</autodoc>
       </method>
       <method name="Ungetch" type="bool" overloaded="no">
       </method>
       <method name="Ungetch" type="bool" overloaded="no">
-        <autodoc>Ungetch(char c) -&gt; bool</autodoc>
+        <autodoc>Ungetch(self, char c) -&gt; bool</autodoc>
         <paramlist>
           <param name="c" type="char" default=""/>
         </paramlist>
       </method>
       <method name="SeekI" type="long" overloaded="no">
         <paramlist>
           <param name="c" type="char" default=""/>
         </paramlist>
       </method>
       <method name="SeekI" type="long" overloaded="no">
-        <autodoc>SeekI(long pos, int mode=FromStart) -&gt; long</autodoc>
+        <autodoc>SeekI(self, long pos, int mode=FromStart) -&gt; long</autodoc>
         <paramlist>
           <param name="pos" type="long" default=""/>
           <param name="mode" type="wxSeekMode" default="wxFromStart"/>
         </paramlist>
       </method>
       <method name="TellI" type="long" overloaded="no">
         <paramlist>
           <param name="pos" type="long" default=""/>
           <param name="mode" type="wxSeekMode" default="wxFromStart"/>
         </paramlist>
       </method>
       <method name="TellI" type="long" overloaded="no">
-        <autodoc>TellI() -&gt; long</autodoc>
+        <autodoc>TellI(self) -&gt; long</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="OutputStream" oldname="wxOutputStream" module="core">
+    <class name="OutputStream" oldname="wxOutputStream" module="_core">
       <method name="write" type="" overloaded="no">
       <method name="write" type="" overloaded="no">
-        <autodoc>write(PyObject obj)</autodoc>
+        <autodoc>write(self, PyObject obj)</autodoc>
         <paramlist>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
         <paramlist>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
@@ -756,10 +791,10 @@ it is moved to the left or top respectively.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="FSFile" oldname="wxFSFile" module="core">
+    <class name="FSFile" oldname="wxFSFile" module="_core">
       <baseclass name="Object"/>
       <constructor name="FSFile" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="FSFile" overloaded="no">
-        <autodoc>__init__(InputStream stream, String loc, String mimetype, String anchor, 
+        <autodoc>__init__(self, InputStream stream, String loc, String mimetype, String anchor, 
     DateTime modif) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
     DateTime modif) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
@@ -770,124 +805,124 @@ it is moved to the left or top respectively.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxFSFile" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxFSFile" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetStream" type="wxInputStream" overloaded="no">
       </destructor>
       <method name="GetStream" type="wxInputStream" overloaded="no">
-        <autodoc>GetStream() -&gt; InputStream</autodoc>
+        <autodoc>GetStream(self) -&gt; InputStream</autodoc>
       </method>
       <method name="GetMimeType" type="String" overloaded="no">
       </method>
       <method name="GetMimeType" type="String" overloaded="no">
-        <autodoc>GetMimeType() -&gt; String</autodoc>
+        <autodoc>GetMimeType(self) -&gt; String</autodoc>
       </method>
       <method name="GetLocation" type="String" overloaded="no">
       </method>
       <method name="GetLocation" type="String" overloaded="no">
-        <autodoc>GetLocation() -&gt; String</autodoc>
+        <autodoc>GetLocation(self) -&gt; String</autodoc>
       </method>
       <method name="GetAnchor" type="String" overloaded="no">
       </method>
       <method name="GetAnchor" type="String" overloaded="no">
-        <autodoc>GetAnchor() -&gt; String</autodoc>
+        <autodoc>GetAnchor(self) -&gt; String</autodoc>
       </method>
       <method name="GetModificationTime" type="wxDateTime" overloaded="no">
       </method>
       <method name="GetModificationTime" type="wxDateTime" overloaded="no">
-        <autodoc>GetModificationTime() -&gt; DateTime</autodoc>
+        <autodoc>GetModificationTime(self) -&gt; DateTime</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="core"/>
-    <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="core">
+    <class name="CPPFileSystemHandler" oldname="wxFileSystemHandler" module="_core"/>
+    <class name="FileSystemHandler" oldname="wxPyFileSystemHandler" module="_core">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="wxPyFileSystemHandler" overloaded="no">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="wxPyFileSystemHandler" overloaded="no">
-        <autodoc>__init__() -&gt; FileSystemHandler</autodoc>
+        <autodoc>__init__(self) -&gt; FileSystemHandler</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="CanOpen" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="CanOpen" type="bool" overloaded="no">
-        <autodoc>CanOpen(String location) -&gt; bool</autodoc>
+        <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
-        <autodoc>OpenFile(FileSystem fs, String location) -&gt; FSFile</autodoc>
+        <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="fs" type="wxFileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
         <paramlist>
           <param name="fs" type="wxFileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
-        <autodoc>FindFirst(String spec, int flags=0) -&gt; String</autodoc>
+        <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
-        <autodoc>FindNext() -&gt; String</autodoc>
+        <autodoc>FindNext(self) -&gt; String</autodoc>
       </method>
       <method name="GetProtocol" type="String" overloaded="no">
       </method>
       <method name="GetProtocol" type="String" overloaded="no">
-        <autodoc>GetProtocol(String location) -&gt; String</autodoc>
+        <autodoc>GetProtocol(self, String location) -&gt; String</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLeftLocation" type="String" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLeftLocation" type="String" overloaded="no">
-        <autodoc>GetLeftLocation(String location) -&gt; String</autodoc>
+        <autodoc>GetLeftLocation(self, String location) -&gt; String</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetAnchor" type="String" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetAnchor" type="String" overloaded="no">
-        <autodoc>GetAnchor(String location) -&gt; String</autodoc>
+        <autodoc>GetAnchor(self, String location) -&gt; String</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetRightLocation" type="String" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetRightLocation" type="String" overloaded="no">
-        <autodoc>GetRightLocation(String location) -&gt; String</autodoc>
+        <autodoc>GetRightLocation(self, String location) -&gt; String</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetMimeTypeFromExt" type="String" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetMimeTypeFromExt" type="String" overloaded="no">
-        <autodoc>GetMimeTypeFromExt(String location) -&gt; String</autodoc>
+        <autodoc>GetMimeTypeFromExt(self, String location) -&gt; String</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FileSystem" oldname="wxFileSystem" module="core">
+    <class name="FileSystem" oldname="wxFileSystem" module="_core">
       <baseclass name="Object"/>
       <constructor name="FileSystem" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="FileSystem" overloaded="no">
-        <autodoc>__init__() -&gt; FileSystem</autodoc>
+        <autodoc>__init__(self) -&gt; FileSystem</autodoc>
       </constructor>
       <destructor name="~wxFileSystem" overloaded="no">
       </constructor>
       <destructor name="~wxFileSystem" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="ChangePathTo" type="" overloaded="no">
       </destructor>
       <method name="ChangePathTo" type="" overloaded="no">
-        <autodoc>ChangePathTo(String location, bool is_dir=False)</autodoc>
+        <autodoc>ChangePathTo(self, String location, bool is_dir=False)</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
           <param name="is_dir" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetPath" type="String" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
           <param name="is_dir" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetPath" type="String" overloaded="no">
-        <autodoc>GetPath() -&gt; String</autodoc>
+        <autodoc>GetPath(self) -&gt; String</autodoc>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
-        <autodoc>OpenFile(String location) -&gt; FSFile</autodoc>
+        <autodoc>OpenFile(self, String location) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
-        <autodoc>FindFirst(String spec, int flags=0) -&gt; String</autodoc>
+        <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
-        <autodoc>FindNext() -&gt; String</autodoc>
+        <autodoc>FindNext(self) -&gt; String</autodoc>
       </method>
       <staticmethod name="AddHandler" type="" overloaded="no">
         <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc>
       </method>
       <staticmethod name="AddHandler" type="" overloaded="no">
         <autodoc>AddHandler(CPPFileSystemHandler handler)</autodoc>
@@ -911,52 +946,52 @@ it is moved to the left or top respectively.</docstring>
         <param name="url" type="String" default=""/>
       </paramlist>
     </method>
         <param name="url" type="String" default=""/>
       </paramlist>
     </method>
-    <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="core">
+    <class name="InternetFSHandler" oldname="wxInternetFSHandler" module="_core">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="InternetFSHandler" overloaded="no">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="InternetFSHandler" overloaded="no">
-        <autodoc>__init__() -&gt; InternetFSHandler</autodoc>
+        <autodoc>__init__(self) -&gt; InternetFSHandler</autodoc>
       </constructor>
       <method name="CanOpen" type="bool" overloaded="no">
       </constructor>
       <method name="CanOpen" type="bool" overloaded="no">
-        <autodoc>CanOpen(String location) -&gt; bool</autodoc>
+        <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
-        <autodoc>OpenFile(FileSystem fs, String location) -&gt; FSFile</autodoc>
+        <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="ZipFSHandler" oldname="wxZipFSHandler" module="core">
+    <class name="ZipFSHandler" oldname="wxZipFSHandler" module="_core">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="ZipFSHandler" overloaded="no">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="ZipFSHandler" overloaded="no">
-        <autodoc>__init__() -&gt; ZipFSHandler</autodoc>
+        <autodoc>__init__(self) -&gt; ZipFSHandler</autodoc>
       </constructor>
       <method name="CanOpen" type="bool" overloaded="no">
       </constructor>
       <method name="CanOpen" type="bool" overloaded="no">
-        <autodoc>CanOpen(String location) -&gt; bool</autodoc>
+        <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
-        <autodoc>OpenFile(FileSystem fs, String location) -&gt; FSFile</autodoc>
+        <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
-        <autodoc>FindFirst(String spec, int flags=0) -&gt; String</autodoc>
+        <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
-        <autodoc>FindNext() -&gt; String</autodoc>
+        <autodoc>FindNext(self) -&gt; String</autodoc>
       </method>
     </class>
     <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no">
       </method>
     </class>
     <method name="__wxMemoryFSHandler_AddFile_wxImage" oldname="__wxMemoryFSHandler_AddFile_wxImage" type="" overloaded="no">
@@ -992,10 +1027,10 @@ def MemoryFSHandler_AddFile(filename, a, b=''):
         __wxMemoryFSHandler_AddFile_Data(filename, a)
     else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
 </pythoncode>
         __wxMemoryFSHandler_AddFile_Data(filename, a)
     else: raise TypeError, 'wx.Image, wx.Bitmap or string expected'
 </pythoncode>
-    <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="core">
+    <class name="MemoryFSHandler" oldname="wxMemoryFSHandler" module="_core">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="MemoryFSHandler" overloaded="no">
       <baseclass name="CPPFileSystemHandler"/>
       <constructor name="MemoryFSHandler" overloaded="no">
-        <autodoc>__init__() -&gt; MemoryFSHandler</autodoc>
+        <autodoc>__init__(self) -&gt; MemoryFSHandler</autodoc>
       </constructor>
       <staticmethod name="RemoveFile" type="" overloaded="no">
         <autodoc>RemoveFile(String filename)</autodoc>
       </constructor>
       <staticmethod name="RemoveFile" type="" overloaded="no">
         <autodoc>RemoveFile(String filename)</autodoc>
@@ -1004,80 +1039,80 @@ def MemoryFSHandler_AddFile(filename, a, b=''):
         </paramlist>
       </staticmethod>
       <method name="CanOpen" type="bool" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="CanOpen" type="bool" overloaded="no">
-        <autodoc>CanOpen(String location) -&gt; bool</autodoc>
+        <autodoc>CanOpen(self, String location) -&gt; bool</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="OpenFile" type="FSFile" overloaded="no">
-        <autodoc>OpenFile(FileSystem fs, String location) -&gt; FSFile</autodoc>
+        <autodoc>OpenFile(self, FileSystem fs, String location) -&gt; FSFile</autodoc>
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindFirst" type="String" overloaded="no">
-        <autodoc>FindFirst(String spec, int flags=0) -&gt; String</autodoc>
+        <autodoc>FindFirst(self, String spec, int flags=0) -&gt; String</autodoc>
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
         <paramlist>
           <param name="spec" type="String" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="FindNext" type="String" overloaded="no">
-        <autodoc>FindNext() -&gt; String</autodoc>
+        <autodoc>FindNext(self) -&gt; String</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ImageHandler" oldname="wxImageHandler" module="core">
+    <class name="ImageHandler" oldname="wxImageHandler" module="_core">
       <baseclass name="Object"/>
       <method name="GetName" type="String" overloaded="no">
       <baseclass name="Object"/>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetExtension" type="String" overloaded="no">
       </method>
       <method name="GetExtension" type="String" overloaded="no">
-        <autodoc>GetExtension() -&gt; String</autodoc>
+        <autodoc>GetExtension(self) -&gt; String</autodoc>
       </method>
       <method name="GetType" type="long" overloaded="no">
       </method>
       <method name="GetType" type="long" overloaded="no">
-        <autodoc>GetType() -&gt; long</autodoc>
+        <autodoc>GetType(self) -&gt; long</autodoc>
       </method>
       <method name="GetMimeType" type="String" overloaded="no">
       </method>
       <method name="GetMimeType" type="String" overloaded="no">
-        <autodoc>GetMimeType() -&gt; String</autodoc>
+        <autodoc>GetMimeType(self) -&gt; String</autodoc>
       </method>
       <method name="CanRead" type="bool" overloaded="no">
       </method>
       <method name="CanRead" type="bool" overloaded="no">
-        <autodoc>CanRead(String name) -&gt; bool</autodoc>
+        <autodoc>CanRead(self, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetName" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetName" type="" overloaded="no">
-        <autodoc>SetName(String name)</autodoc>
+        <autodoc>SetName(self, String name)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetExtension" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetExtension" type="" overloaded="no">
-        <autodoc>SetExtension(String extension)</autodoc>
+        <autodoc>SetExtension(self, String extension)</autodoc>
         <paramlist>
           <param name="extension" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetType" type="" overloaded="no">
         <paramlist>
           <param name="extension" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetType" type="" overloaded="no">
-        <autodoc>SetType(long type)</autodoc>
+        <autodoc>SetType(self, long type)</autodoc>
         <paramlist>
           <param name="type" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetMimeType" type="" overloaded="no">
         <paramlist>
           <param name="type" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetMimeType" type="" overloaded="no">
-        <autodoc>SetMimeType(String mimetype)</autodoc>
+        <autodoc>SetMimeType(self, String mimetype)</autodoc>
         <paramlist>
           <param name="mimetype" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="mimetype" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="ImageHistogram" oldname="wxImageHistogram" module="core">
+    <class name="ImageHistogram" oldname="wxImageHistogram" module="_core">
       <constructor name="ImageHistogram" overloaded="no">
       <constructor name="ImageHistogram" overloaded="no">
-        <autodoc>__init__() -&gt; ImageHistogram</autodoc>
+        <autodoc>__init__(self) -&gt; ImageHistogram</autodoc>
       </constructor>
       <staticmethod name="MakeKey" type="unsigned long" overloaded="no">
         <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -&gt; unsigned long</autodoc>
       </constructor>
       <staticmethod name="MakeKey" type="unsigned long" overloaded="no">
         <autodoc>MakeKey(unsigned char r, unsigned char g, unsigned char b) -&gt; unsigned long</autodoc>
@@ -1090,9 +1125,9 @@ def MemoryFSHandler_AddFile(filename, a, b=''):
       </staticmethod>
       <method name="FindFirstUnusedColour" type="bool" overloaded="no">
         <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -&gt; (success, r, g, b)</autodoc>
       </staticmethod>
       <method name="FindFirstUnusedColour" type="bool" overloaded="no">
         <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -&gt; (success, r, g, b)</autodoc>
-        <docstring>Find first colour that is not used in the image and has higher RGB values than
-startR, startG, startB.  Returns a tuple consisting of a success flag and rgb
-values.</docstring>
+        <docstring>Find first colour that is not used in the image and has higher RGB
+values than startR, startG, startB.  Returns a tuple consisting of a
+success flag and rgb values.</docstring>
         <paramlist>
           <param name="OUTPUT" type="unsigned char" default=""/>
           <param name="OUTPUT" type="unsigned char" default=""/>
         <paramlist>
           <param name="OUTPUT" type="unsigned char" default=""/>
           <param name="OUTPUT" type="unsigned char" default=""/>
@@ -1103,10 +1138,10 @@ values.</docstring>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="Image" oldname="wxImage" module="core">
+    <class name="Image" oldname="wxImage" module="_core">
       <baseclass name="Object"/>
       <constructor name="Image" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="Image" overloaded="no">
-        <autodoc>__init__(String name, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; Image</autodoc>
+        <autodoc>__init__(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; Image</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
@@ -1160,42 +1195,42 @@ values.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxImage" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxImage" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Create" type="" overloaded="no">
       </destructor>
       <method name="Create" type="" overloaded="no">
-        <autodoc>Create(int width, int height)</autodoc>
+        <autodoc>Create(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
       <method name="Scale" type="Image" overloaded="no">
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
       <method name="Scale" type="Image" overloaded="no">
-        <autodoc>Scale(int width, int height) -&gt; Image</autodoc>
+        <autodoc>Scale(self, int width, int height) -&gt; Image</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ShrinkBy" type="Image" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ShrinkBy" type="Image" overloaded="no">
-        <autodoc>ShrinkBy(int xFactor, int yFactor) -&gt; Image</autodoc>
+        <autodoc>ShrinkBy(self, int xFactor, int yFactor) -&gt; Image</autodoc>
         <paramlist>
           <param name="xFactor" type="int" default=""/>
           <param name="yFactor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Rescale" type="Image" overloaded="no">
         <paramlist>
           <param name="xFactor" type="int" default=""/>
           <param name="yFactor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Rescale" type="Image" overloaded="no">
-        <autodoc>Rescale(int width, int height) -&gt; Image</autodoc>
+        <autodoc>Rescale(self, int width, int height) -&gt; Image</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRGB" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRGB" type="" overloaded="no">
-        <autodoc>SetRGB(int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc>
+        <autodoc>SetRGB(self, int x, int y, unsigned char r, unsigned char g, unsigned char b)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -1205,28 +1240,28 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="GetRed" type="unsigned char" overloaded="no">
         </paramlist>
       </method>
       <method name="GetRed" type="unsigned char" overloaded="no">
-        <autodoc>GetRed(int x, int y) -&gt; unsigned char</autodoc>
+        <autodoc>GetRed(self, int x, int y) -&gt; unsigned char</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGreen" type="unsigned char" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGreen" type="unsigned char" overloaded="no">
-        <autodoc>GetGreen(int x, int y) -&gt; unsigned char</autodoc>
+        <autodoc>GetGreen(self, int x, int y) -&gt; unsigned char</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBlue" type="unsigned char" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBlue" type="unsigned char" overloaded="no">
-        <autodoc>GetBlue(int x, int y) -&gt; unsigned char</autodoc>
+        <autodoc>GetBlue(self, int x, int y) -&gt; unsigned char</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAlpha" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAlpha" type="" overloaded="no">
-        <autodoc>SetAlpha(int x, int y, unsigned char alpha)</autodoc>
+        <autodoc>SetAlpha(self, int x, int y, unsigned char alpha)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -1234,20 +1269,20 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="GetAlpha" type="unsigned char" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAlpha" type="unsigned char" overloaded="no">
-        <autodoc>GetAlpha(int x, int y) -&gt; unsigned char</autodoc>
+        <autodoc>GetAlpha(self, int x, int y) -&gt; unsigned char</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="HasAlpha" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="HasAlpha" type="bool" overloaded="no">
-        <autodoc>HasAlpha() -&gt; bool</autodoc>
+        <autodoc>HasAlpha(self) -&gt; bool</autodoc>
       </method>
       <method name="FindFirstUnusedColour" type="bool" overloaded="no">
         <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -&gt; (success, r, g, b)</autodoc>
       </method>
       <method name="FindFirstUnusedColour" type="bool" overloaded="no">
         <autodoc>FindFirstUnusedColour(int startR=1, int startG=0, int startB=0) -&gt; (success, r, g, b)</autodoc>
-        <docstring>Find first colour that is not used in the image and has higher RGB values than
-startR, startG, startB.  Returns a tuple consisting of a success flag and rgb
-values.</docstring>
+        <docstring>Find first colour that is not used in the image and has higher RGB
+values than startR, startG, startB.  Returns a tuple consisting of a
+success flag and rgb values.</docstring>
         <paramlist>
           <param name="OUTPUT" type="byte" default=""/>
           <param name="OUTPUT" type="byte" default=""/>
         <paramlist>
           <param name="OUTPUT" type="byte" default=""/>
           <param name="OUTPUT" type="byte" default=""/>
@@ -1257,8 +1292,21 @@ values.</docstring>
           <param name="startB" type="byte" default="0"/>
         </paramlist>
       </method>
           <param name="startB" type="byte" default="0"/>
         </paramlist>
       </method>
+      <method name="ConvertAlphaToMask" type="bool" overloaded="no">
+        <autodoc>ConvertAlphaToMask(self, byte threshold=128) -&gt; bool</autodoc>
+        <docstring>If the image has alpha channel, this method converts it to mask. All pixels
+with alpha value less than ``threshold`` are replaced with mask colour and the
+alpha channel is removed. Mask colour is chosen automatically using
+`FindFirstUnusedColour`.
+
+If the image image doesn't have alpha channel, ConvertAlphaToMask does
+nothing.</docstring>
+        <paramlist>
+          <param name="threshold" type="byte" default="128"/>
+        </paramlist>
+      </method>
       <method name="SetMaskFromImage" type="bool" overloaded="no">
       <method name="SetMaskFromImage" type="bool" overloaded="no">
-        <autodoc>SetMaskFromImage(Image mask, byte mr, byte mg, byte mb) -&gt; bool</autodoc>
+        <autodoc>SetMaskFromImage(self, Image mask, byte mr, byte mg, byte mb) -&gt; bool</autodoc>
         <paramlist>
           <param name="mask" type="Image" default=""/>
           <param name="mr" type="byte" default=""/>
         <paramlist>
           <param name="mask" type="Image" default=""/>
           <param name="mr" type="byte" default=""/>
@@ -1280,7 +1328,7 @@ values.</docstring>
         </paramlist>
       </staticmethod>
       <method name="LoadFile" type="bool" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="LoadFile" type="bool" overloaded="no">
-        <autodoc>LoadFile(String name, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; bool</autodoc>
+        <autodoc>LoadFile(self, String name, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
@@ -1288,7 +1336,7 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="LoadMimeFile" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadMimeFile" type="bool" overloaded="no">
-        <autodoc>LoadMimeFile(String name, String mimetype, int index=-1) -&gt; bool</autodoc>
+        <autodoc>LoadMimeFile(self, String name, String mimetype, int index=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="mimetype" type="String" default=""/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="mimetype" type="String" default=""/>
@@ -1296,14 +1344,14 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
-        <autodoc>SaveFile(String name, int type) -&gt; bool</autodoc>
+        <autodoc>SaveFile(self, String name, int type) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SaveMimeFile" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SaveMimeFile" type="bool" overloaded="no">
-        <autodoc>SaveMimeFile(String name, String mimetype) -&gt; bool</autodoc>
+        <autodoc>SaveMimeFile(self, String name, String mimetype) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="mimetype" type="String" default=""/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="mimetype" type="String" default=""/>
@@ -1316,7 +1364,7 @@ values.</docstring>
         </paramlist>
       </staticmethod>
       <method name="LoadStream" type="bool" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="LoadStream" type="bool" overloaded="no">
-        <autodoc>LoadStream(InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; bool</autodoc>
+        <autodoc>LoadStream(self, InputStream stream, long type=BITMAP_TYPE_ANY, int index=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
           <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
           <param name="type" type="long" default="wxBITMAP_TYPE_ANY"/>
@@ -1324,7 +1372,7 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="LoadMimeStream" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadMimeStream" type="bool" overloaded="no">
-        <autodoc>LoadMimeStream(InputStream stream, String mimetype, int index=-1) -&gt; bool</autodoc>
+        <autodoc>LoadMimeStream(self, InputStream stream, String mimetype, int index=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
           <param name="mimetype" type="String" default=""/>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
           <param name="mimetype" type="String" default=""/>
@@ -1332,25 +1380,28 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="Ok" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
+      </method>
+      <method name="GetSize" type="Size" overloaded="no">
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
       </method>
       <method name="GetSubImage" type="Image" overloaded="no">
       </method>
       <method name="GetSubImage" type="Image" overloaded="no">
-        <autodoc>GetSubImage(Rect rect) -&gt; Image</autodoc>
+        <autodoc>GetSubImage(self, Rect rect) -&gt; Image</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="Copy" type="Image" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="Copy" type="Image" overloaded="no">
-        <autodoc>Copy() -&gt; Image</autodoc>
+        <autodoc>Copy(self) -&gt; Image</autodoc>
       </method>
       <method name="Paste" type="" overloaded="no">
       </method>
       <method name="Paste" type="" overloaded="no">
-        <autodoc>Paste(Image image, int x, int y)</autodoc>
+        <autodoc>Paste(self, Image image, int x, int y)</autodoc>
         <paramlist>
           <param name="image" type="Image" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="image" type="Image" default=""/>
           <param name="x" type="int" default=""/>
@@ -1358,43 +1409,43 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="GetData" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="GetData" type="PyObject" overloaded="no">
-        <autodoc>GetData() -&gt; PyObject</autodoc>
+        <autodoc>GetData(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetData" type="" overloaded="no">
       </method>
       <method name="SetData" type="" overloaded="no">
-        <autodoc>SetData(PyObject data)</autodoc>
+        <autodoc>SetData(self, PyObject data)</autodoc>
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDataBuffer" type="PyObject" overloaded="no">
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDataBuffer" type="PyObject" overloaded="no">
-        <autodoc>GetDataBuffer() -&gt; PyObject</autodoc>
+        <autodoc>GetDataBuffer(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetDataBuffer" type="" overloaded="no">
       </method>
       <method name="SetDataBuffer" type="" overloaded="no">
-        <autodoc>SetDataBuffer(PyObject data)</autodoc>
+        <autodoc>SetDataBuffer(self, PyObject data)</autodoc>
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAlphaData" type="PyObject" overloaded="no">
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAlphaData" type="PyObject" overloaded="no">
-        <autodoc>GetAlphaData() -&gt; PyObject</autodoc>
+        <autodoc>GetAlphaData(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetAlphaData" type="" overloaded="no">
       </method>
       <method name="SetAlphaData" type="" overloaded="no">
-        <autodoc>SetAlphaData(PyObject data)</autodoc>
+        <autodoc>SetAlphaData(self, PyObject data)</autodoc>
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAlphaBuffer" type="PyObject" overloaded="no">
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAlphaBuffer" type="PyObject" overloaded="no">
-        <autodoc>GetAlphaBuffer() -&gt; PyObject</autodoc>
+        <autodoc>GetAlphaBuffer(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetAlphaBuffer" type="" overloaded="no">
       </method>
       <method name="SetAlphaBuffer" type="" overloaded="no">
-        <autodoc>SetAlphaBuffer(PyObject data)</autodoc>
+        <autodoc>SetAlphaBuffer(self, PyObject data)</autodoc>
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetMaskColour" type="" overloaded="no">
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetMaskColour" type="" overloaded="no">
-        <autodoc>SetMaskColour(unsigned char r, unsigned char g, unsigned char b)</autodoc>
+        <autodoc>SetMaskColour(self, unsigned char r, unsigned char g, unsigned char b)</autodoc>
         <paramlist>
           <param name="r" type="unsigned char" default=""/>
           <param name="g" type="unsigned char" default=""/>
         <paramlist>
           <param name="r" type="unsigned char" default=""/>
           <param name="g" type="unsigned char" default=""/>
@@ -1402,25 +1453,25 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="GetMaskRed" type="unsigned char" overloaded="no">
         </paramlist>
       </method>
       <method name="GetMaskRed" type="unsigned char" overloaded="no">
-        <autodoc>GetMaskRed() -&gt; unsigned char</autodoc>
+        <autodoc>GetMaskRed(self) -&gt; unsigned char</autodoc>
       </method>
       <method name="GetMaskGreen" type="unsigned char" overloaded="no">
       </method>
       <method name="GetMaskGreen" type="unsigned char" overloaded="no">
-        <autodoc>GetMaskGreen() -&gt; unsigned char</autodoc>
+        <autodoc>GetMaskGreen(self) -&gt; unsigned char</autodoc>
       </method>
       <method name="GetMaskBlue" type="unsigned char" overloaded="no">
       </method>
       <method name="GetMaskBlue" type="unsigned char" overloaded="no">
-        <autodoc>GetMaskBlue() -&gt; unsigned char</autodoc>
+        <autodoc>GetMaskBlue(self) -&gt; unsigned char</autodoc>
       </method>
       <method name="SetMask" type="" overloaded="no">
       </method>
       <method name="SetMask" type="" overloaded="no">
-        <autodoc>SetMask(bool mask=True)</autodoc>
+        <autodoc>SetMask(self, bool mask=True)</autodoc>
         <paramlist>
           <param name="mask" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="HasMask" type="bool" overloaded="no">
         <paramlist>
           <param name="mask" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="HasMask" type="bool" overloaded="no">
-        <autodoc>HasMask() -&gt; bool</autodoc>
+        <autodoc>HasMask(self) -&gt; bool</autodoc>
       </method>
       <method name="Rotate" type="Image" overloaded="no">
       </method>
       <method name="Rotate" type="Image" overloaded="no">
-        <autodoc>Rotate(double angle, Point centre_of_rotation, bool interpolating=True, 
+        <autodoc>Rotate(self, double angle, Point centre_of_rotation, bool interpolating=True, 
     Point offset_after_rotation=None) -&gt; Image</autodoc>
         <paramlist>
           <param name="angle" type="double" default=""/>
     Point offset_after_rotation=None) -&gt; Image</autodoc>
         <paramlist>
           <param name="angle" type="double" default=""/>
@@ -1430,19 +1481,19 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="Rotate90" type="Image" overloaded="no">
         </paramlist>
       </method>
       <method name="Rotate90" type="Image" overloaded="no">
-        <autodoc>Rotate90(bool clockwise=True) -&gt; Image</autodoc>
+        <autodoc>Rotate90(self, bool clockwise=True) -&gt; Image</autodoc>
         <paramlist>
           <param name="clockwise" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Mirror" type="Image" overloaded="no">
         <paramlist>
           <param name="clockwise" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Mirror" type="Image" overloaded="no">
-        <autodoc>Mirror(bool horizontally=True) -&gt; Image</autodoc>
+        <autodoc>Mirror(self, bool horizontally=True) -&gt; Image</autodoc>
         <paramlist>
           <param name="horizontally" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Replace" type="" overloaded="no">
         <paramlist>
           <param name="horizontally" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Replace" type="" overloaded="no">
-        <autodoc>Replace(unsigned char r1, unsigned char g1, unsigned char b1, 
+        <autodoc>Replace(self, unsigned char r1, unsigned char g1, unsigned char b1, 
     unsigned char r2, unsigned char g2, unsigned char b2)</autodoc>
         <paramlist>
           <param name="r1" type="unsigned char" default=""/>
     unsigned char r2, unsigned char g2, unsigned char b2)</autodoc>
         <paramlist>
           <param name="r1" type="unsigned char" default=""/>
@@ -1454,7 +1505,7 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="ConvertToMono" type="Image" overloaded="no">
         </paramlist>
       </method>
       <method name="ConvertToMono" type="Image" overloaded="no">
-        <autodoc>ConvertToMono(unsigned char r, unsigned char g, unsigned char b) -&gt; Image</autodoc>
+        <autodoc>ConvertToMono(self, unsigned char r, unsigned char g, unsigned char b) -&gt; Image</autodoc>
         <paramlist>
           <param name="r" type="unsigned char" default=""/>
           <param name="g" type="unsigned char" default=""/>
         <paramlist>
           <param name="r" type="unsigned char" default=""/>
           <param name="g" type="unsigned char" default=""/>
@@ -1462,45 +1513,45 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="SetOption" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetOption" type="" overloaded="no">
-        <autodoc>SetOption(String name, String value)</autodoc>
+        <autodoc>SetOption(self, String name, String value)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetOptionInt" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetOptionInt" type="" overloaded="no">
-        <autodoc>SetOptionInt(String name, int value)</autodoc>
+        <autodoc>SetOptionInt(self, String name, int value)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetOption" type="String" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetOption" type="String" overloaded="no">
-        <autodoc>GetOption(String name) -&gt; String</autodoc>
+        <autodoc>GetOption(self, String name) -&gt; String</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetOptionInt" type="int" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetOptionInt" type="int" overloaded="no">
-        <autodoc>GetOptionInt(String name) -&gt; int</autodoc>
+        <autodoc>GetOptionInt(self, String name) -&gt; int</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasOption" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasOption" type="bool" overloaded="no">
-        <autodoc>HasOption(String name) -&gt; bool</autodoc>
+        <autodoc>HasOption(self, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CountColours" type="unsigned long" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CountColours" type="unsigned long" overloaded="no">
-        <autodoc>CountColours(unsigned long stopafter=(unsigned long) -1) -&gt; unsigned long</autodoc>
+        <autodoc>CountColours(self, unsigned long stopafter=(unsigned long) -1) -&gt; unsigned long</autodoc>
         <paramlist>
           <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/>
         </paramlist>
       </method>
       <method name="ComputeHistogram" type="unsigned long" overloaded="no">
         <paramlist>
           <param name="stopafter" type="unsigned long" default="(unsigned long) -1"/>
         </paramlist>
       </method>
       <method name="ComputeHistogram" type="unsigned long" overloaded="no">
-        <autodoc>ComputeHistogram(ImageHistogram h) -&gt; unsigned long</autodoc>
+        <autodoc>ComputeHistogram(self, ImageHistogram h) -&gt; unsigned long</autodoc>
         <paramlist>
           <param name="h" type="ImageHistogram" default=""/>
         </paramlist>
         <paramlist>
           <param name="h" type="ImageHistogram" default=""/>
         </paramlist>
@@ -1527,10 +1578,10 @@ values.</docstring>
         <autodoc>GetImageExtWildcard() -&gt; String</autodoc>
       </staticmethod>
       <method name="ConvertToBitmap" type="wxBitmap" overloaded="no">
         <autodoc>GetImageExtWildcard() -&gt; String</autodoc>
       </staticmethod>
       <method name="ConvertToBitmap" type="wxBitmap" overloaded="no">
-        <autodoc>ConvertToBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>ConvertToBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no">
       </method>
       <method name="ConvertToMonoBitmap" type="wxBitmap" overloaded="no">
-        <autodoc>ConvertToMonoBitmap(unsigned char red, unsigned char green, unsigned char blue) -&gt; Bitmap</autodoc>
+        <autodoc>ConvertToMonoBitmap(self, unsigned char red, unsigned char green, unsigned char blue) -&gt; Bitmap</autodoc>
         <paramlist>
           <param name="red" type="unsigned char" default=""/>
           <param name="green" type="unsigned char" default=""/>
         <paramlist>
           <param name="red" type="unsigned char" default=""/>
           <param name="green" type="unsigned char" default=""/>
@@ -1538,127 +1589,148 @@ values.</docstring>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <method name="InitAllImageHandlers" oldname="wxInitAllImageHandlers" type="" overloaded="no">
-      <autodoc>InitAllImageHandlers()</autodoc>
-    </method>
-    <class name="BMPHandler" oldname="wxBMPHandler" module="core">
+    <pythoncode>
+    def InitAllImageHandlers():
+        """
+        The former functionality of InitAllImageHanders is now done internal to
+        the _core_ extension module and so this function has become a simple NOP.
+        """
+        pass
+</pythoncode>
+    <class name="BMPHandler" oldname="wxBMPHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="BMPHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="BMPHandler" overloaded="no">
-        <autodoc>__init__() -&gt; BMPHandler</autodoc>
+        <autodoc>__init__(self) -&gt; BMPHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="ICOHandler" oldname="wxICOHandler" module="core">
+    <class name="ICOHandler" oldname="wxICOHandler" module="_core">
       <baseclass name="BMPHandler"/>
       <constructor name="ICOHandler" overloaded="no">
       <baseclass name="BMPHandler"/>
       <constructor name="ICOHandler" overloaded="no">
-        <autodoc>__init__() -&gt; ICOHandler</autodoc>
+        <autodoc>__init__(self) -&gt; ICOHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="CURHandler" oldname="wxCURHandler" module="core">
+    <class name="CURHandler" oldname="wxCURHandler" module="_core">
       <baseclass name="ICOHandler"/>
       <constructor name="CURHandler" overloaded="no">
       <baseclass name="ICOHandler"/>
       <constructor name="CURHandler" overloaded="no">
-        <autodoc>__init__() -&gt; CURHandler</autodoc>
+        <autodoc>__init__(self) -&gt; CURHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="ANIHandler" oldname="wxANIHandler" module="core">
+    <class name="ANIHandler" oldname="wxANIHandler" module="_core">
       <baseclass name="CURHandler"/>
       <constructor name="ANIHandler" overloaded="no">
       <baseclass name="CURHandler"/>
       <constructor name="ANIHandler" overloaded="no">
-        <autodoc>__init__() -&gt; ANIHandler</autodoc>
+        <autodoc>__init__(self) -&gt; ANIHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="PNGHandler" oldname="wxPNGHandler" module="core">
+    <class name="PNGHandler" oldname="wxPNGHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="PNGHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="PNGHandler" overloaded="no">
-        <autodoc>__init__() -&gt; PNGHandler</autodoc>
+        <autodoc>__init__(self) -&gt; PNGHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="GIFHandler" oldname="wxGIFHandler" module="core">
+    <class name="GIFHandler" oldname="wxGIFHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="GIFHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="GIFHandler" overloaded="no">
-        <autodoc>__init__() -&gt; GIFHandler</autodoc>
+        <autodoc>__init__(self) -&gt; GIFHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="PCXHandler" oldname="wxPCXHandler" module="core">
+    <class name="PCXHandler" oldname="wxPCXHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="PCXHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="PCXHandler" overloaded="no">
-        <autodoc>__init__() -&gt; PCXHandler</autodoc>
+        <autodoc>__init__(self) -&gt; PCXHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="JPEGHandler" oldname="wxJPEGHandler" module="core">
+    <class name="JPEGHandler" oldname="wxJPEGHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="JPEGHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="JPEGHandler" overloaded="no">
-        <autodoc>__init__() -&gt; JPEGHandler</autodoc>
+        <autodoc>__init__(self) -&gt; JPEGHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="PNMHandler" oldname="wxPNMHandler" module="core">
+    <class name="PNMHandler" oldname="wxPNMHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="PNMHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="PNMHandler" overloaded="no">
-        <autodoc>__init__() -&gt; PNMHandler</autodoc>
+        <autodoc>__init__(self) -&gt; PNMHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="XPMHandler" oldname="wxXPMHandler" module="core">
+    <class name="XPMHandler" oldname="wxXPMHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="XPMHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="XPMHandler" overloaded="no">
-        <autodoc>__init__() -&gt; XPMHandler</autodoc>
+        <autodoc>__init__(self) -&gt; XPMHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="TIFFHandler" oldname="wxTIFFHandler" module="core">
+    <class name="TIFFHandler" oldname="wxTIFFHandler" module="_core">
       <baseclass name="ImageHandler"/>
       <constructor name="TIFFHandler" overloaded="no">
       <baseclass name="ImageHandler"/>
       <constructor name="TIFFHandler" overloaded="no">
-        <autodoc>__init__() -&gt; TIFFHandler</autodoc>
+        <autodoc>__init__(self) -&gt; TIFFHandler</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
+    <class name="Quantize" oldname="wxQuantize" module="_core">
+      <docstring>Performs quantization, or colour reduction, on a wxImage.</docstring>
+      <staticmethod name="Quantize" type="bool" overloaded="no">
+        <autodoc>Quantize(Image src, Image dest, int desiredNoColours=236, int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE) -&gt; bool</autodoc>
+        <docstring>Reduce the colours in the source image and put the result into the
+destination image, setting the palette in the destination if
+needed. Both images may be the same, to overwrite the source image.
+:todo: Create a version that returns the wx.Palette used.</docstring>
+        <paramlist>
+          <param name="src" type="Image" default=""/>
+          <param name="dest" type="Image" default=""/>
+          <param name="desiredNoColours" type="int" default="236"/>
+          <param name="flags" type="int" default="wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE"/>
+        </paramlist>
+      </staticmethod>
+    </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="EvtHandler" oldname="wxEvtHandler" module="core">
+    <class name="EvtHandler" oldname="wxEvtHandler" module="_core">
       <baseclass name="Object"/>
       <constructor name="EvtHandler" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="EvtHandler" overloaded="no">
-        <autodoc>__init__() -&gt; EvtHandler</autodoc>
+        <autodoc>__init__(self) -&gt; EvtHandler</autodoc>
       </constructor>
       <method name="GetNextHandler" type="EvtHandler" overloaded="no">
       </constructor>
       <method name="GetNextHandler" type="EvtHandler" overloaded="no">
-        <autodoc>GetNextHandler() -&gt; EvtHandler</autodoc>
+        <autodoc>GetNextHandler(self) -&gt; EvtHandler</autodoc>
       </method>
       <method name="GetPreviousHandler" type="EvtHandler" overloaded="no">
       </method>
       <method name="GetPreviousHandler" type="EvtHandler" overloaded="no">
-        <autodoc>GetPreviousHandler() -&gt; EvtHandler</autodoc>
+        <autodoc>GetPreviousHandler(self) -&gt; EvtHandler</autodoc>
       </method>
       <method name="SetNextHandler" type="" overloaded="no">
       </method>
       <method name="SetNextHandler" type="" overloaded="no">
-        <autodoc>SetNextHandler(EvtHandler handler)</autodoc>
+        <autodoc>SetNextHandler(self, EvtHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="SetPreviousHandler" type="" overloaded="no">
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="SetPreviousHandler" type="" overloaded="no">
-        <autodoc>SetPreviousHandler(EvtHandler handler)</autodoc>
+        <autodoc>SetPreviousHandler(self, EvtHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetEvtHandlerEnabled" type="bool" overloaded="no">
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetEvtHandlerEnabled" type="bool" overloaded="no">
-        <autodoc>GetEvtHandlerEnabled() -&gt; bool</autodoc>
+        <autodoc>GetEvtHandlerEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="SetEvtHandlerEnabled" type="" overloaded="no">
       </method>
       <method name="SetEvtHandlerEnabled" type="" overloaded="no">
-        <autodoc>SetEvtHandlerEnabled(bool enabled)</autodoc>
+        <autodoc>SetEvtHandlerEnabled(self, bool enabled)</autodoc>
         <paramlist>
           <param name="enabled" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ProcessEvent" type="bool" overloaded="no">
         <paramlist>
           <param name="enabled" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ProcessEvent" type="bool" overloaded="no">
-        <autodoc>ProcessEvent(Event event) -&gt; bool</autodoc>
+        <autodoc>ProcessEvent(self, Event event) -&gt; bool</autodoc>
         <paramlist>
           <param name="event" type="wxEvent" default=""/>
         </paramlist>
       </method>
       <method name="AddPendingEvent" type="" overloaded="no">
         <paramlist>
           <param name="event" type="wxEvent" default=""/>
         </paramlist>
       </method>
       <method name="AddPendingEvent" type="" overloaded="no">
-        <autodoc>AddPendingEvent(Event event)</autodoc>
+        <autodoc>AddPendingEvent(self, Event event)</autodoc>
         <paramlist>
           <param name="event" type="wxEvent" default=""/>
         </paramlist>
       </method>
       <method name="ProcessPendingEvents" type="" overloaded="no">
         <paramlist>
           <param name="event" type="wxEvent" default=""/>
         </paramlist>
       </method>
       <method name="ProcessPendingEvents" type="" overloaded="no">
-        <autodoc>ProcessPendingEvents()</autodoc>
+        <autodoc>ProcessPendingEvents(self)</autodoc>
       </method>
       <method name="Connect" type="" overloaded="no">
       </method>
       <method name="Connect" type="" overloaded="no">
-        <autodoc>Connect(int id, int lastId, int eventType, PyObject func)</autodoc>
+        <autodoc>Connect(self, int id, int lastId, int eventType, PyObject func)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="lastId" type="int" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="lastId" type="int" default=""/>
@@ -1667,7 +1739,7 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="Disconnect" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Disconnect" type="bool" overloaded="no">
-        <autodoc>Disconnect(int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -&gt; bool</autodoc>
+        <autodoc>Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="lastId" type="int" default="-1"/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="lastId" type="int" default="-1"/>
@@ -1675,7 +1747,7 @@ values.</docstring>
         </paramlist>
       </method>
       <method name="_setOORInfo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
@@ -1706,6 +1778,14 @@ class PyEventBinder(object):
         for et in self.evtType:
             target.Connect(id1, id2, et, function)
 
         for et in self.evtType:
             target.Connect(id1, id2, et, function)
 
+
+    def Unbind(self, target, id1, id2):
+        """Remove an event binding."""
+        success = 0
+        for et in self.evtType:
+            success += target.Disconnect(id1, id2, et)
+        return success != 0
+
     
     def __call__(self, *args):
         """
     
     def __call__(self, *args):
         """
@@ -1928,181 +2008,181 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Event" oldname="wxEvent" module="core">
+    <class name="Event" oldname="wxEvent" module="_core">
       <baseclass name="Object"/>
       <destructor name="~wxEvent" overloaded="no">
       <baseclass name="Object"/>
       <destructor name="~wxEvent" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetEventType" type="" overloaded="no">
       </destructor>
       <method name="SetEventType" type="" overloaded="no">
-        <autodoc>SetEventType(wxEventType typ)</autodoc>
+        <autodoc>SetEventType(self, wxEventType typ)</autodoc>
         <paramlist>
           <param name="typ" type="wxEventType" default=""/>
         </paramlist>
       </method>
       <method name="GetEventType" type="wxEventType" overloaded="no">
         <paramlist>
           <param name="typ" type="wxEventType" default=""/>
         </paramlist>
       </method>
       <method name="GetEventType" type="wxEventType" overloaded="no">
-        <autodoc>GetEventType() -&gt; wxEventType</autodoc>
+        <autodoc>GetEventType(self) -&gt; wxEventType</autodoc>
       </method>
       <method name="GetEventObject" type="Object" overloaded="no">
       </method>
       <method name="GetEventObject" type="Object" overloaded="no">
-        <autodoc>GetEventObject() -&gt; Object</autodoc>
+        <autodoc>GetEventObject(self) -&gt; Object</autodoc>
       </method>
       <method name="SetEventObject" type="" overloaded="no">
       </method>
       <method name="SetEventObject" type="" overloaded="no">
-        <autodoc>SetEventObject(Object obj)</autodoc>
+        <autodoc>SetEventObject(self, Object obj)</autodoc>
         <paramlist>
           <param name="obj" type="Object" default=""/>
         </paramlist>
       </method>
       <method name="GetTimestamp" type="long" overloaded="no">
         <paramlist>
           <param name="obj" type="Object" default=""/>
         </paramlist>
       </method>
       <method name="GetTimestamp" type="long" overloaded="no">
-        <autodoc>GetTimestamp() -&gt; long</autodoc>
+        <autodoc>GetTimestamp(self) -&gt; long</autodoc>
       </method>
       <method name="SetTimestamp" type="" overloaded="no">
       </method>
       <method name="SetTimestamp" type="" overloaded="no">
-        <autodoc>SetTimestamp(long ts=0)</autodoc>
+        <autodoc>SetTimestamp(self, long ts=0)</autodoc>
         <paramlist>
           <param name="ts" type="long" default="0"/>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
         <paramlist>
           <param name="ts" type="long" default="0"/>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
-        <autodoc>GetId() -&gt; int</autodoc>
+        <autodoc>GetId(self) -&gt; int</autodoc>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(int Id)</autodoc>
+        <autodoc>SetId(self, int Id)</autodoc>
         <paramlist>
           <param name="Id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsCommandEvent" type="bool" overloaded="no">
         <paramlist>
           <param name="Id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsCommandEvent" type="bool" overloaded="no">
-        <autodoc>IsCommandEvent() -&gt; bool</autodoc>
+        <autodoc>IsCommandEvent(self) -&gt; bool</autodoc>
       </method>
       <method name="Skip" type="" overloaded="no">
       </method>
       <method name="Skip" type="" overloaded="no">
-        <autodoc>Skip(bool skip=True)</autodoc>
+        <autodoc>Skip(self, bool skip=True)</autodoc>
         <paramlist>
           <param name="skip" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetSkipped" type="bool" overloaded="no">
         <paramlist>
           <param name="skip" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetSkipped" type="bool" overloaded="no">
-        <autodoc>GetSkipped() -&gt; bool</autodoc>
+        <autodoc>GetSkipped(self) -&gt; bool</autodoc>
       </method>
       <method name="ShouldPropagate" type="bool" overloaded="no">
       </method>
       <method name="ShouldPropagate" type="bool" overloaded="no">
-        <autodoc>ShouldPropagate() -&gt; bool</autodoc>
+        <autodoc>ShouldPropagate(self) -&gt; bool</autodoc>
       </method>
       <method name="StopPropagation" type="int" overloaded="no">
       </method>
       <method name="StopPropagation" type="int" overloaded="no">
-        <autodoc>StopPropagation() -&gt; int</autodoc>
+        <autodoc>StopPropagation(self) -&gt; int</autodoc>
       </method>
       <method name="ResumePropagation" type="" overloaded="no">
       </method>
       <method name="ResumePropagation" type="" overloaded="no">
-        <autodoc>ResumePropagation(int propagationLevel)</autodoc>
+        <autodoc>ResumePropagation(self, int propagationLevel)</autodoc>
         <paramlist>
           <param name="propagationLevel" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Clone" type="Event" overloaded="no">
         <paramlist>
           <param name="propagationLevel" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Clone" type="Event" overloaded="no">
-        <autodoc>Clone() -&gt; Event</autodoc>
+        <autodoc>Clone(self) -&gt; Event</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="core">
+    <class name="PropagationDisabler" oldname="wxPropagationDisabler" module="_core">
       <constructor name="PropagationDisabler" overloaded="no">
       <constructor name="PropagationDisabler" overloaded="no">
-        <autodoc>__init__(Event event) -&gt; PropagationDisabler</autodoc>
+        <autodoc>__init__(self, Event event) -&gt; PropagationDisabler</autodoc>
         <paramlist>
           <param name="event" type="Event" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxPropagationDisabler" overloaded="no">
         <paramlist>
           <param name="event" type="Event" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxPropagationDisabler" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="PropagateOnce" oldname="wxPropagateOnce" module="core">
+    <class name="PropagateOnce" oldname="wxPropagateOnce" module="_core">
       <constructor name="PropagateOnce" overloaded="no">
       <constructor name="PropagateOnce" overloaded="no">
-        <autodoc>__init__(Event event) -&gt; PropagateOnce</autodoc>
+        <autodoc>__init__(self, Event event) -&gt; PropagateOnce</autodoc>
         <paramlist>
           <param name="event" type="Event" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxPropagateOnce" overloaded="no">
         <paramlist>
           <param name="event" type="Event" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxPropagateOnce" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </destructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="CommandEvent" oldname="wxCommandEvent" module="core">
+    <class name="CommandEvent" oldname="wxCommandEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="CommandEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="CommandEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; CommandEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; CommandEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetSelection" type="int" overloaded="no">
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
       </method>
       <method name="SetString" type="" overloaded="no">
       </method>
       <method name="SetString" type="" overloaded="no">
-        <autodoc>SetString(String s)</autodoc>
+        <autodoc>SetString(self, String s)</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetString" type="String" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetString" type="String" overloaded="no">
-        <autodoc>GetString() -&gt; String</autodoc>
+        <autodoc>GetString(self) -&gt; String</autodoc>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
-        <autodoc>IsChecked() -&gt; bool</autodoc>
+        <autodoc>IsChecked(self) -&gt; bool</autodoc>
       </method>
       <method name="IsSelection" type="bool" overloaded="no">
       </method>
       <method name="IsSelection" type="bool" overloaded="no">
-        <autodoc>IsSelection() -&gt; bool</autodoc>
+        <autodoc>IsSelection(self) -&gt; bool</autodoc>
       </method>
       <method name="SetExtraLong" type="" overloaded="no">
       </method>
       <method name="SetExtraLong" type="" overloaded="no">
-        <autodoc>SetExtraLong(long extraLong)</autodoc>
+        <autodoc>SetExtraLong(self, long extraLong)</autodoc>
         <paramlist>
           <param name="extraLong" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetExtraLong" type="long" overloaded="no">
         <paramlist>
           <param name="extraLong" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetExtraLong" type="long" overloaded="no">
-        <autodoc>GetExtraLong() -&gt; long</autodoc>
+        <autodoc>GetExtraLong(self) -&gt; long</autodoc>
       </method>
       <method name="SetInt" type="" overloaded="no">
       </method>
       <method name="SetInt" type="" overloaded="no">
-        <autodoc>SetInt(int i)</autodoc>
+        <autodoc>SetInt(self, int i)</autodoc>
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetInt" type="long" overloaded="no">
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetInt" type="long" overloaded="no">
-        <autodoc>GetInt() -&gt; long</autodoc>
+        <autodoc>GetInt(self) -&gt; long</autodoc>
       </method>
       <method name="Clone" type="Event" overloaded="no">
       </method>
       <method name="Clone" type="Event" overloaded="no">
-        <autodoc>Clone() -&gt; Event</autodoc>
+        <autodoc>Clone(self) -&gt; Event</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="NotifyEvent" oldname="wxNotifyEvent" module="core">
+    <class name="NotifyEvent" oldname="wxNotifyEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="NotifyEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="NotifyEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; NotifyEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; NotifyEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="Veto" type="" overloaded="no">
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="Veto" type="" overloaded="no">
-        <autodoc>Veto()</autodoc>
+        <autodoc>Veto(self)</autodoc>
       </method>
       <method name="Allow" type="" overloaded="no">
       </method>
       <method name="Allow" type="" overloaded="no">
-        <autodoc>Allow()</autodoc>
+        <autodoc>Allow(self)</autodoc>
       </method>
       <method name="IsAllowed" type="bool" overloaded="no">
       </method>
       <method name="IsAllowed" type="bool" overloaded="no">
-        <autodoc>IsAllowed() -&gt; bool</autodoc>
+        <autodoc>IsAllowed(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ScrollEvent" oldname="wxScrollEvent" module="core">
+    <class name="ScrollEvent" oldname="wxScrollEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="ScrollEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="ScrollEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, 
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0, 
     int orient=0) -&gt; ScrollEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
     int orient=0) -&gt; ScrollEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
@@ -2112,19 +2192,19 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
         </paramlist>
       </constructor>
       <method name="GetOrientation" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetOrientation" type="int" overloaded="no">
-        <autodoc>GetOrientation() -&gt; int</autodoc>
+        <autodoc>GetOrientation(self) -&gt; int</autodoc>
       </method>
       <method name="GetPosition" type="int" overloaded="no">
       </method>
       <method name="GetPosition" type="int" overloaded="no">
-        <autodoc>GetPosition() -&gt; int</autodoc>
+        <autodoc>GetPosition(self) -&gt; int</autodoc>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
       </method>
       <method name="SetOrientation" type="" overloaded="no">
-        <autodoc>SetOrientation(int orient)</autodoc>
+        <autodoc>SetOrientation(self, int orient)</autodoc>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(int pos)</autodoc>
+        <autodoc>SetPosition(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
@@ -2133,10 +2213,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="core">
+    <class name="ScrollWinEvent" oldname="wxScrollWinEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="ScrollWinEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="ScrollWinEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -&gt; ScrollWinEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -&gt; ScrollWinEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="pos" type="int" default="0"/>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="pos" type="int" default="0"/>
@@ -2144,19 +2224,19 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
         </paramlist>
       </constructor>
       <method name="GetOrientation" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetOrientation" type="int" overloaded="no">
-        <autodoc>GetOrientation() -&gt; int</autodoc>
+        <autodoc>GetOrientation(self) -&gt; int</autodoc>
       </method>
       <method name="GetPosition" type="int" overloaded="no">
       </method>
       <method name="GetPosition" type="int" overloaded="no">
-        <autodoc>GetPosition() -&gt; int</autodoc>
+        <autodoc>GetPosition(self) -&gt; int</autodoc>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
       </method>
       <method name="SetOrientation" type="" overloaded="no">
-        <autodoc>SetOrientation(int orient)</autodoc>
+        <autodoc>SetOrientation(self, int orient)</autodoc>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(int pos)</autodoc>
+        <autodoc>SetPosition(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
@@ -2165,145 +2245,157 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MouseEvent" oldname="wxMouseEvent" module="core">
+    <class name="MouseEvent" oldname="wxMouseEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="MouseEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="MouseEvent" overloaded="no">
-        <autodoc>__init__(wxEventType mouseType=wxEVT_NULL) -&gt; MouseEvent</autodoc>
+        <autodoc>__init__(self, wxEventType mouseType=wxEVT_NULL) -&gt; MouseEvent</autodoc>
         <paramlist>
           <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/>
         </paramlist>
       </constructor>
       <method name="IsButton" type="bool" overloaded="no">
         <paramlist>
           <param name="mouseType" type="wxEventType" default="wxEVT_NULL"/>
         </paramlist>
       </constructor>
       <method name="IsButton" type="bool" overloaded="no">
-        <autodoc>IsButton() -&gt; bool</autodoc>
+        <autodoc>IsButton(self) -&gt; bool</autodoc>
       </method>
       <method name="ButtonDown" type="bool" overloaded="no">
       </method>
       <method name="ButtonDown" type="bool" overloaded="no">
-        <autodoc>ButtonDown(int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
+        <autodoc>ButtonDown(self, int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonDClick" type="bool" overloaded="no">
         <paramlist>
           <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonDClick" type="bool" overloaded="no">
-        <autodoc>ButtonDClick(int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
+        <autodoc>ButtonDClick(self, int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonUp" type="bool" overloaded="no">
         <paramlist>
           <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonUp" type="bool" overloaded="no">
-        <autodoc>ButtonUp(int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
+        <autodoc>ButtonUp(self, int but=MOUSE_BTN_ANY) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
         </paramlist>
       </method>
       <method name="Button" type="bool" overloaded="no">
         <paramlist>
           <param name="but" type="int" default="wxMOUSE_BTN_ANY"/>
         </paramlist>
       </method>
       <method name="Button" type="bool" overloaded="no">
-        <autodoc>Button(int but) -&gt; bool</autodoc>
+        <autodoc>Button(self, int but) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ButtonIsDown" type="bool" overloaded="no">
         <paramlist>
           <param name="but" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ButtonIsDown" type="bool" overloaded="no">
-        <autodoc>ButtonIsDown(int but) -&gt; bool</autodoc>
+        <autodoc>ButtonIsDown(self, int but) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetButton" type="int" overloaded="no">
         <paramlist>
           <param name="but" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetButton" type="int" overloaded="no">
-        <autodoc>GetButton() -&gt; int</autodoc>
+        <autodoc>GetButton(self) -&gt; int</autodoc>
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
-        <autodoc>ControlDown() -&gt; bool</autodoc>
+        <autodoc>ControlDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
-        <autodoc>MetaDown() -&gt; bool</autodoc>
+        <autodoc>MetaDown(self) -&gt; bool</autodoc>
       </method>
       <method name="AltDown" type="bool" overloaded="no">
       </method>
       <method name="AltDown" type="bool" overloaded="no">
-        <autodoc>AltDown() -&gt; bool</autodoc>
+        <autodoc>AltDown(self) -&gt; bool</autodoc>
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
-        <autodoc>ShiftDown() -&gt; bool</autodoc>
+        <autodoc>ShiftDown(self) -&gt; bool</autodoc>
+      </method>
+      <method name="CmdDown" type="bool" overloaded="no">
+        <autodoc>CmdDown(self) -&gt; bool</autodoc>
+        <docstring>"Cmd" is a pseudo key which is the same as Control for PC and Unix
+platforms but the special "Apple" (a.k.a as "Command") key on
+Macs: it makes often sense to use it instead of, say, `ControlDown`
+because Cmd key is used for the same thing under Mac as Ctrl
+elsewhere. The Ctrl still exists, it's just not used for this
+purpose. So for non-Mac platforms this is the same as `ControlDown`
+and Macs this is the same as `MetaDown`.</docstring>
       </method>
       <method name="LeftDown" type="bool" overloaded="no">
       </method>
       <method name="LeftDown" type="bool" overloaded="no">
-        <autodoc>LeftDown() -&gt; bool</autodoc>
+        <autodoc>LeftDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MiddleDown" type="bool" overloaded="no">
       </method>
       <method name="MiddleDown" type="bool" overloaded="no">
-        <autodoc>MiddleDown() -&gt; bool</autodoc>
+        <autodoc>MiddleDown(self) -&gt; bool</autodoc>
       </method>
       <method name="RightDown" type="bool" overloaded="no">
       </method>
       <method name="RightDown" type="bool" overloaded="no">
-        <autodoc>RightDown() -&gt; bool</autodoc>
+        <autodoc>RightDown(self) -&gt; bool</autodoc>
       </method>
       <method name="LeftUp" type="bool" overloaded="no">
       </method>
       <method name="LeftUp" type="bool" overloaded="no">
-        <autodoc>LeftUp() -&gt; bool</autodoc>
+        <autodoc>LeftUp(self) -&gt; bool</autodoc>
       </method>
       <method name="MiddleUp" type="bool" overloaded="no">
       </method>
       <method name="MiddleUp" type="bool" overloaded="no">
-        <autodoc>MiddleUp() -&gt; bool</autodoc>
+        <autodoc>MiddleUp(self) -&gt; bool</autodoc>
       </method>
       <method name="RightUp" type="bool" overloaded="no">
       </method>
       <method name="RightUp" type="bool" overloaded="no">
-        <autodoc>RightUp() -&gt; bool</autodoc>
+        <autodoc>RightUp(self) -&gt; bool</autodoc>
       </method>
       <method name="LeftDClick" type="bool" overloaded="no">
       </method>
       <method name="LeftDClick" type="bool" overloaded="no">
-        <autodoc>LeftDClick() -&gt; bool</autodoc>
+        <autodoc>LeftDClick(self) -&gt; bool</autodoc>
       </method>
       <method name="MiddleDClick" type="bool" overloaded="no">
       </method>
       <method name="MiddleDClick" type="bool" overloaded="no">
-        <autodoc>MiddleDClick() -&gt; bool</autodoc>
+        <autodoc>MiddleDClick(self) -&gt; bool</autodoc>
       </method>
       <method name="RightDClick" type="bool" overloaded="no">
       </method>
       <method name="RightDClick" type="bool" overloaded="no">
-        <autodoc>RightDClick() -&gt; bool</autodoc>
+        <autodoc>RightDClick(self) -&gt; bool</autodoc>
       </method>
       <method name="LeftIsDown" type="bool" overloaded="no">
       </method>
       <method name="LeftIsDown" type="bool" overloaded="no">
-        <autodoc>LeftIsDown() -&gt; bool</autodoc>
+        <autodoc>LeftIsDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MiddleIsDown" type="bool" overloaded="no">
       </method>
       <method name="MiddleIsDown" type="bool" overloaded="no">
-        <autodoc>MiddleIsDown() -&gt; bool</autodoc>
+        <autodoc>MiddleIsDown(self) -&gt; bool</autodoc>
       </method>
       <method name="RightIsDown" type="bool" overloaded="no">
       </method>
       <method name="RightIsDown" type="bool" overloaded="no">
-        <autodoc>RightIsDown() -&gt; bool</autodoc>
+        <autodoc>RightIsDown(self) -&gt; bool</autodoc>
       </method>
       <method name="Dragging" type="bool" overloaded="no">
       </method>
       <method name="Dragging" type="bool" overloaded="no">
-        <autodoc>Dragging() -&gt; bool</autodoc>
+        <autodoc>Dragging(self) -&gt; bool</autodoc>
       </method>
       <method name="Moving" type="bool" overloaded="no">
       </method>
       <method name="Moving" type="bool" overloaded="no">
-        <autodoc>Moving() -&gt; bool</autodoc>
+        <autodoc>Moving(self) -&gt; bool</autodoc>
       </method>
       <method name="Entering" type="bool" overloaded="no">
       </method>
       <method name="Entering" type="bool" overloaded="no">
-        <autodoc>Entering() -&gt; bool</autodoc>
+        <autodoc>Entering(self) -&gt; bool</autodoc>
       </method>
       <method name="Leaving" type="bool" overloaded="no">
       </method>
       <method name="Leaving" type="bool" overloaded="no">
-        <autodoc>Leaving() -&gt; bool</autodoc>
+        <autodoc>Leaving(self) -&gt; bool</autodoc>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
-        <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
+        <docstring>Returns the position of the mouse in window coordinates when the event
+happened.</docstring>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
         <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
         <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
-        <docstring>Returns the position of the mouse in window coordinates when the event happened.</docstring>
+        <docstring>Returns the position of the mouse in window coordinates when the event
+happened.</docstring>
         <paramlist>
           <param name="OUTPUT" type="long" default=""/>
           <param name="OUTPUT" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetLogicalPosition" type="Point" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="long" default=""/>
           <param name="OUTPUT" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetLogicalPosition" type="Point" overloaded="no">
-        <autodoc>GetLogicalPosition(DC dc) -&gt; Point</autodoc>
+        <autodoc>GetLogicalPosition(self, DC dc) -&gt; Point</autodoc>
         <paramlist>
           <param name="dc" type="wxDC" default=""/>
         </paramlist>
       </method>
       <method name="GetX" type="int" overloaded="no">
         <paramlist>
           <param name="dc" type="wxDC" default=""/>
         </paramlist>
       </method>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
       </method>
       <method name="GetY" type="int" overloaded="no">
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
       </method>
       <method name="GetWheelRotation" type="int" overloaded="no">
       </method>
       <method name="GetWheelRotation" type="int" overloaded="no">
-        <autodoc>GetWheelRotation() -&gt; int</autodoc>
+        <autodoc>GetWheelRotation(self) -&gt; int</autodoc>
       </method>
       <method name="GetWheelDelta" type="int" overloaded="no">
       </method>
       <method name="GetWheelDelta" type="int" overloaded="no">
-        <autodoc>GetWheelDelta() -&gt; int</autodoc>
+        <autodoc>GetWheelDelta(self) -&gt; int</autodoc>
       </method>
       <method name="GetLinesPerAction" type="int" overloaded="no">
       </method>
       <method name="GetLinesPerAction" type="int" overloaded="no">
-        <autodoc>GetLinesPerAction() -&gt; int</autodoc>
+        <autodoc>GetLinesPerAction(self) -&gt; int</autodoc>
       </method>
       <method name="IsPageScroll" type="bool" overloaded="no">
       </method>
       <method name="IsPageScroll" type="bool" overloaded="no">
-        <autodoc>IsPageScroll() -&gt; bool</autodoc>
+        <autodoc>IsPageScroll(self) -&gt; bool</autodoc>
       </method>
       <property name="m_x" type="int" readonly="no"/>
       <property name="m_y" type="int" readonly="no"/>
       </method>
       <property name="m_x" type="int" readonly="no"/>
       <property name="m_y" type="int" readonly="no"/>
@@ -2321,74 +2413,84 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="core">
+    <class name="SetCursorEvent" oldname="wxSetCursorEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="SetCursorEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="SetCursorEvent" overloaded="no">
-        <autodoc>__init__(int x=0, int y=0) -&gt; SetCursorEvent</autodoc>
+        <autodoc>__init__(self, int x=0, int y=0) -&gt; SetCursorEvent</autodoc>
         <paramlist>
           <param name="x" type="int" default="0"/>
           <param name="y" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetX" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default="0"/>
           <param name="y" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
       </method>
       <method name="GetY" type="int" overloaded="no">
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
       </method>
       <method name="SetCursor" type="" overloaded="no">
       </method>
       <method name="SetCursor" type="" overloaded="no">
-        <autodoc>SetCursor(Cursor cursor)</autodoc>
+        <autodoc>SetCursor(self, Cursor cursor)</autodoc>
         <paramlist>
           <param name="cursor" type="wxCursor" default=""/>
         </paramlist>
       </method>
       <method name="GetCursor" type="wxCursor" overloaded="no">
         <paramlist>
           <param name="cursor" type="wxCursor" default=""/>
         </paramlist>
       </method>
       <method name="GetCursor" type="wxCursor" overloaded="no">
-        <autodoc>GetCursor() -&gt; Cursor</autodoc>
+        <autodoc>GetCursor(self) -&gt; Cursor</autodoc>
       </method>
       <method name="HasCursor" type="bool" overloaded="no">
       </method>
       <method name="HasCursor" type="bool" overloaded="no">
-        <autodoc>HasCursor() -&gt; bool</autodoc>
+        <autodoc>HasCursor(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="KeyEvent" oldname="wxKeyEvent" module="core">
+    <class name="KeyEvent" oldname="wxKeyEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="KeyEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="KeyEvent" overloaded="no">
-        <autodoc>__init__(wxEventType keyType=wxEVT_NULL) -&gt; KeyEvent</autodoc>
+        <autodoc>__init__(self, wxEventType keyType=wxEVT_NULL) -&gt; KeyEvent</autodoc>
         <paramlist>
           <param name="keyType" type="wxEventType" default="wxEVT_NULL"/>
         </paramlist>
       </constructor>
       <method name="ControlDown" type="bool" overloaded="no">
         <paramlist>
           <param name="keyType" type="wxEventType" default="wxEVT_NULL"/>
         </paramlist>
       </constructor>
       <method name="ControlDown" type="bool" overloaded="no">
-        <autodoc>ControlDown() -&gt; bool</autodoc>
+        <autodoc>ControlDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
-        <autodoc>MetaDown() -&gt; bool</autodoc>
+        <autodoc>MetaDown(self) -&gt; bool</autodoc>
       </method>
       <method name="AltDown" type="bool" overloaded="no">
       </method>
       <method name="AltDown" type="bool" overloaded="no">
-        <autodoc>AltDown() -&gt; bool</autodoc>
+        <autodoc>AltDown(self) -&gt; bool</autodoc>
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
-        <autodoc>ShiftDown() -&gt; bool</autodoc>
+        <autodoc>ShiftDown(self) -&gt; bool</autodoc>
+      </method>
+      <method name="CmdDown" type="bool" overloaded="no">
+        <autodoc>CmdDown(self) -&gt; bool</autodoc>
+        <docstring>"Cmd" is a pseudo key which is the same as Control for PC and Unix
+platforms but the special "Apple" (a.k.a as "Command") key on
+Macs: it makes often sense to use it instead of, say, `ControlDown`
+because Cmd key is used for the same thing under Mac as Ctrl
+elsewhere. The Ctrl still exists, it's just not used for this
+purpose. So for non-Mac platforms this is the same as `ControlDown`
+and Macs this is the same as `MetaDown`.</docstring>
       </method>
       <method name="HasModifiers" type="bool" overloaded="no">
       </method>
       <method name="HasModifiers" type="bool" overloaded="no">
-        <autodoc>HasModifiers() -&gt; bool</autodoc>
+        <autodoc>HasModifiers(self) -&gt; bool</autodoc>
       </method>
       <method name="GetKeyCode" type="int" overloaded="no">
       </method>
       <method name="GetKeyCode" type="int" overloaded="no">
-        <autodoc>GetKeyCode() -&gt; int</autodoc>
+        <autodoc>GetKeyCode(self) -&gt; int</autodoc>
       </method>
       </method>
-      <method name="GetUniChar" type="int" overloaded="no">
-        <autodoc>GetUniChar() -&gt; int</autodoc>
+      <method name="GetUnicodeKey" type="int" overloaded="no">
+        <autodoc>GetUnicodeKey(self) -&gt; int</autodoc>
       </method>
       <method name="GetRawKeyCode" type="unsigned int" overloaded="no">
       </method>
       <method name="GetRawKeyCode" type="unsigned int" overloaded="no">
-        <autodoc>GetRawKeyCode() -&gt; unsigned int</autodoc>
+        <autodoc>GetRawKeyCode(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="GetRawKeyFlags" type="unsigned int" overloaded="no">
       </method>
       <method name="GetRawKeyFlags" type="unsigned int" overloaded="no">
-        <autodoc>GetRawKeyFlags() -&gt; unsigned int</autodoc>
+        <autodoc>GetRawKeyFlags(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
         <docstring>Find the position of the event.</docstring>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
         <docstring>Find the position of the event.</docstring>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
@@ -2400,10 +2502,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
         </paramlist>
       </method>
       <method name="GetX" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
       </method>
       <method name="GetY" type="int" overloaded="no">
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
       </method>
       <property name="m_x" type="int" readonly="no"/>
       <property name="m_y" type="int" readonly="no"/>
       </method>
       <property name="m_x" type="int" readonly="no"/>
       <property name="m_y" type="int" readonly="no"/>
@@ -2419,29 +2521,29 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SizeEvent" oldname="wxSizeEvent" module="core">
+    <class name="SizeEvent" oldname="wxSizeEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="SizeEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="SizeEvent" overloaded="no">
-        <autodoc>__init__(Size sz=DefaultSize, int winid=0) -&gt; SizeEvent</autodoc>
+        <autodoc>__init__(self, Size sz=DefaultSize, int winid=0) -&gt; SizeEvent</autodoc>
         <paramlist>
           <param name="sz" type="Size" default="wxDefaultSize"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetSize" type="Size" overloaded="no">
         <paramlist>
           <param name="sz" type="Size" default="wxDefaultSize"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
-        <autodoc>GetRect() -&gt; Rect</autodoc>
+        <autodoc>GetRect(self) -&gt; Rect</autodoc>
       </method>
       <method name="SetRect" type="" overloaded="no">
       </method>
       <method name="SetRect" type="" overloaded="no">
-        <autodoc>SetRect(Rect rect)</autodoc>
+        <autodoc>SetRect(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(Size size)</autodoc>
+        <autodoc>SetSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
@@ -2452,29 +2554,29 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MoveEvent" oldname="wxMoveEvent" module="core">
+    <class name="MoveEvent" oldname="wxMoveEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="MoveEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="MoveEvent" overloaded="no">
-        <autodoc>__init__(Point pos=DefaultPosition, int winid=0) -&gt; MoveEvent</autodoc>
+        <autodoc>__init__(self, Point pos=DefaultPosition, int winid=0) -&gt; MoveEvent</autodoc>
         <paramlist>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetPosition" type="Point" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
-        <autodoc>GetRect() -&gt; Rect</autodoc>
+        <autodoc>GetRect(self) -&gt; Rect</autodoc>
       </method>
       <method name="SetRect" type="" overloaded="no">
       </method>
       <method name="SetRect" type="" overloaded="no">
-        <autodoc>SetRect(Rect rect)</autodoc>
+        <autodoc>SetRect(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(Point pos)</autodoc>
+        <autodoc>SetPosition(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
@@ -2485,19 +2587,19 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PaintEvent" oldname="wxPaintEvent" module="core">
+    <class name="PaintEvent" oldname="wxPaintEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="PaintEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="PaintEvent" overloaded="no">
-        <autodoc>__init__(int Id=0) -&gt; PaintEvent</autodoc>
+        <autodoc>__init__(self, int Id=0) -&gt; PaintEvent</autodoc>
         <paramlist>
           <param name="Id" type="int" default="0"/>
         </paramlist>
       </constructor>
     </class>
         <paramlist>
           <param name="Id" type="int" default="0"/>
         </paramlist>
       </constructor>
     </class>
-    <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="core">
+    <class name="NcPaintEvent" oldname="wxNcPaintEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="NcPaintEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="NcPaintEvent" overloaded="no">
-        <autodoc>__init__(int winid=0) -&gt; NcPaintEvent</autodoc>
+        <autodoc>__init__(self, int winid=0) -&gt; NcPaintEvent</autodoc>
         <paramlist>
           <param name="winid" type="int" default="0"/>
         </paramlist>
         <paramlist>
           <param name="winid" type="int" default="0"/>
         </paramlist>
@@ -2506,36 +2608,36 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="EraseEvent" oldname="wxEraseEvent" module="core">
+    <class name="EraseEvent" oldname="wxEraseEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="EraseEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="EraseEvent" overloaded="no">
-        <autodoc>__init__(int Id=0, DC dc=(wxDC *) NULL) -&gt; EraseEvent</autodoc>
+        <autodoc>__init__(self, int Id=0, DC dc=(wxDC *) NULL) -&gt; EraseEvent</autodoc>
         <paramlist>
           <param name="Id" type="int" default="0"/>
           <param name="dc" type="wxDC" default="(wxDC *) NULL"/>
         </paramlist>
       </constructor>
       <method name="GetDC" type="wxDC" overloaded="no">
         <paramlist>
           <param name="Id" type="int" default="0"/>
           <param name="dc" type="wxDC" default="(wxDC *) NULL"/>
         </paramlist>
       </constructor>
       <method name="GetDC" type="wxDC" overloaded="no">
-        <autodoc>GetDC() -&gt; DC</autodoc>
+        <autodoc>GetDC(self) -&gt; DC</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="FocusEvent" oldname="wxFocusEvent" module="core">
+    <class name="FocusEvent" oldname="wxFocusEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="FocusEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="FocusEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -&gt; FocusEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -&gt; FocusEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="SetWindow" type="" overloaded="no">
       </method>
       <method name="SetWindow" type="" overloaded="no">
-        <autodoc>SetWindow(Window win)</autodoc>
+        <autodoc>SetWindow(self, Window win)</autodoc>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
@@ -2544,25 +2646,25 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="core">
+    <class name="ChildFocusEvent" oldname="wxChildFocusEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="ChildFocusEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="ChildFocusEvent" overloaded="no">
-        <autodoc>__init__(Window win=None) -&gt; ChildFocusEvent</autodoc>
+        <autodoc>__init__(self, Window win=None) -&gt; ChildFocusEvent</autodoc>
         <paramlist>
           <param name="win" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="win" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ActivateEvent" oldname="wxActivateEvent" module="core">
+    <class name="ActivateEvent" oldname="wxActivateEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="ActivateEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="ActivateEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -&gt; ActivateEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -&gt; ActivateEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="active" type="bool" default="True"/>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="active" type="bool" default="True"/>
@@ -2570,16 +2672,16 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
         </paramlist>
       </constructor>
       <method name="GetActive" type="bool" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetActive" type="bool" overloaded="no">
-        <autodoc>GetActive() -&gt; bool</autodoc>
+        <autodoc>GetActive(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="core">
+    <class name="InitDialogEvent" oldname="wxInitDialogEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="InitDialogEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="InitDialogEvent" overloaded="no">
-        <autodoc>__init__(int Id=0) -&gt; InitDialogEvent</autodoc>
+        <autodoc>__init__(self, int Id=0) -&gt; InitDialogEvent</autodoc>
         <paramlist>
           <param name="Id" type="int" default="0"/>
         </paramlist>
         <paramlist>
           <param name="Id" type="int" default="0"/>
         </paramlist>
@@ -2588,10 +2690,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MenuEvent" oldname="wxMenuEvent" module="core">
+    <class name="MenuEvent" oldname="wxMenuEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="MenuEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="MenuEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -&gt; MenuEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -&gt; MenuEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
@@ -2599,100 +2701,100 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
         </paramlist>
       </constructor>
       <method name="GetMenuId" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetMenuId" type="int" overloaded="no">
-        <autodoc>GetMenuId() -&gt; int</autodoc>
+        <autodoc>GetMenuId(self) -&gt; int</autodoc>
       </method>
       <method name="IsPopup" type="bool" overloaded="no">
       </method>
       <method name="IsPopup" type="bool" overloaded="no">
-        <autodoc>IsPopup() -&gt; bool</autodoc>
+        <autodoc>IsPopup(self) -&gt; bool</autodoc>
       </method>
       <method name="GetMenu" type="wxMenu" overloaded="no">
       </method>
       <method name="GetMenu" type="wxMenu" overloaded="no">
-        <autodoc>GetMenu() -&gt; Menu</autodoc>
+        <autodoc>GetMenu(self) -&gt; Menu</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="CloseEvent" oldname="wxCloseEvent" module="core">
+    <class name="CloseEvent" oldname="wxCloseEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="CloseEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="CloseEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0) -&gt; CloseEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0) -&gt; CloseEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetLoggingOff" type="" overloaded="no">
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetLoggingOff" type="" overloaded="no">
-        <autodoc>SetLoggingOff(bool logOff)</autodoc>
+        <autodoc>SetLoggingOff(self, bool logOff)</autodoc>
         <paramlist>
           <param name="logOff" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetLoggingOff" type="bool" overloaded="no">
         <paramlist>
           <param name="logOff" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetLoggingOff" type="bool" overloaded="no">
-        <autodoc>GetLoggingOff() -&gt; bool</autodoc>
+        <autodoc>GetLoggingOff(self) -&gt; bool</autodoc>
       </method>
       <method name="Veto" type="" overloaded="no">
       </method>
       <method name="Veto" type="" overloaded="no">
-        <autodoc>Veto(bool veto=True)</autodoc>
+        <autodoc>Veto(self, bool veto=True)</autodoc>
         <paramlist>
           <param name="veto" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetCanVeto" type="" overloaded="no">
         <paramlist>
           <param name="veto" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetCanVeto" type="" overloaded="no">
-        <autodoc>SetCanVeto(bool canVeto)</autodoc>
+        <autodoc>SetCanVeto(self, bool canVeto)</autodoc>
         <paramlist>
           <param name="canVeto" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="CanVeto" type="bool" overloaded="no">
         <paramlist>
           <param name="canVeto" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="CanVeto" type="bool" overloaded="no">
-        <autodoc>CanVeto() -&gt; bool</autodoc>
+        <autodoc>CanVeto(self) -&gt; bool</autodoc>
       </method>
       <method name="GetVeto" type="bool" overloaded="no">
       </method>
       <method name="GetVeto" type="bool" overloaded="no">
-        <autodoc>GetVeto() -&gt; bool</autodoc>
+        <autodoc>GetVeto(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ShowEvent" oldname="wxShowEvent" module="core">
+    <class name="ShowEvent" oldname="wxShowEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="ShowEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="ShowEvent" overloaded="no">
-        <autodoc>__init__(int winid=0, bool show=False) -&gt; ShowEvent</autodoc>
+        <autodoc>__init__(self, int winid=0, bool show=False) -&gt; ShowEvent</autodoc>
         <paramlist>
           <param name="winid" type="int" default="0"/>
           <param name="show" type="bool" default="False"/>
         </paramlist>
       </constructor>
       <method name="SetShow" type="" overloaded="no">
         <paramlist>
           <param name="winid" type="int" default="0"/>
           <param name="show" type="bool" default="False"/>
         </paramlist>
       </constructor>
       <method name="SetShow" type="" overloaded="no">
-        <autodoc>SetShow(bool show)</autodoc>
+        <autodoc>SetShow(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetShow" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetShow" type="bool" overloaded="no">
-        <autodoc>GetShow() -&gt; bool</autodoc>
+        <autodoc>GetShow(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="IconizeEvent" oldname="wxIconizeEvent" module="core">
+    <class name="IconizeEvent" oldname="wxIconizeEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="IconizeEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="IconizeEvent" overloaded="no">
-        <autodoc>__init__(int id=0, bool iconized=True) -&gt; IconizeEvent</autodoc>
+        <autodoc>__init__(self, int id=0, bool iconized=True) -&gt; IconizeEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="iconized" type="bool" default="True"/>
         </paramlist>
       </constructor>
       <method name="Iconized" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="iconized" type="bool" default="True"/>
         </paramlist>
       </constructor>
       <method name="Iconized" type="bool" overloaded="no">
-        <autodoc>Iconized() -&gt; bool</autodoc>
+        <autodoc>Iconized(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="core">
+    <class name="MaximizeEvent" oldname="wxMaximizeEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="MaximizeEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="MaximizeEvent" overloaded="no">
-        <autodoc>__init__(int id=0) -&gt; MaximizeEvent</autodoc>
+        <autodoc>__init__(self, int id=0) -&gt; MaximizeEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
@@ -2701,61 +2803,61 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="core">
+    <class name="DropFilesEvent" oldname="wxDropFilesEvent" module="_core">
       <baseclass name="Event"/>
       <method name="GetPosition" type="Point" overloaded="no">
       <baseclass name="Event"/>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="GetNumberOfFiles" type="int" overloaded="no">
       </method>
       <method name="GetNumberOfFiles" type="int" overloaded="no">
-        <autodoc>GetNumberOfFiles() -&gt; int</autodoc>
+        <autodoc>GetNumberOfFiles(self) -&gt; int</autodoc>
       </method>
       <method name="GetFiles" type="PyObject" overloaded="no">
       </method>
       <method name="GetFiles" type="PyObject" overloaded="no">
-        <autodoc>GetFiles() -&gt; PyObject</autodoc>
+        <autodoc>GetFiles(self) -&gt; PyObject</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="core">
+    <class name="UpdateUIEvent" oldname="wxUpdateUIEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="UpdateUIEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="UpdateUIEvent" overloaded="no">
-        <autodoc>__init__(int commandId=0) -&gt; UpdateUIEvent</autodoc>
+        <autodoc>__init__(self, int commandId=0) -&gt; UpdateUIEvent</autodoc>
         <paramlist>
           <param name="commandId" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetChecked" type="bool" overloaded="no">
         <paramlist>
           <param name="commandId" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetChecked" type="bool" overloaded="no">
-        <autodoc>GetChecked() -&gt; bool</autodoc>
+        <autodoc>GetChecked(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnabled" type="bool" overloaded="no">
       </method>
       <method name="GetEnabled" type="bool" overloaded="no">
-        <autodoc>GetEnabled() -&gt; bool</autodoc>
+        <autodoc>GetEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetSetText" type="bool" overloaded="no">
       </method>
       <method name="GetSetText" type="bool" overloaded="no">
-        <autodoc>GetSetText() -&gt; bool</autodoc>
+        <autodoc>GetSetText(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSetChecked" type="bool" overloaded="no">
       </method>
       <method name="GetSetChecked" type="bool" overloaded="no">
-        <autodoc>GetSetChecked() -&gt; bool</autodoc>
+        <autodoc>GetSetChecked(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSetEnabled" type="bool" overloaded="no">
       </method>
       <method name="GetSetEnabled" type="bool" overloaded="no">
-        <autodoc>GetSetEnabled() -&gt; bool</autodoc>
+        <autodoc>GetSetEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="Check" type="" overloaded="no">
       </method>
       <method name="Check" type="" overloaded="no">
-        <autodoc>Check(bool check)</autodoc>
+        <autodoc>Check(self, bool check)</autodoc>
         <paramlist>
           <param name="check" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Enable" type="" overloaded="no">
         <paramlist>
           <param name="check" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Enable" type="" overloaded="no">
-        <autodoc>Enable(bool enable)</autodoc>
+        <autodoc>Enable(self, bool enable)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String text)</autodoc>
+        <autodoc>SetText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
@@ -2791,110 +2893,116 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="core">
+    <class name="SysColourChangedEvent" oldname="wxSysColourChangedEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="SysColourChangedEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="SysColourChangedEvent" overloaded="no">
-        <autodoc>__init__() -&gt; SysColourChangedEvent</autodoc>
+        <autodoc>__init__(self) -&gt; SysColourChangedEvent</autodoc>
       </constructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </constructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="core">
+    <class name="MouseCaptureChangedEvent" oldname="wxMouseCaptureChangedEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="MouseCaptureChangedEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="MouseCaptureChangedEvent" overloaded="no">
-        <autodoc>__init__(int winid=0, Window gainedCapture=None) -&gt; MouseCaptureChangedEvent</autodoc>
+        <autodoc>__init__(self, int winid=0, Window gainedCapture=None) -&gt; MouseCaptureChangedEvent</autodoc>
         <paramlist>
           <param name="winid" type="int" default="0"/>
           <param name="gainedCapture" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetCapturedWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="winid" type="int" default="0"/>
           <param name="gainedCapture" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetCapturedWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetCapturedWindow() -&gt; Window</autodoc>
+        <autodoc>GetCapturedWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="core">
+    <class name="DisplayChangedEvent" oldname="wxDisplayChangedEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="DisplayChangedEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="DisplayChangedEvent" overloaded="no">
-        <autodoc>__init__() -&gt; DisplayChangedEvent</autodoc>
+        <autodoc>__init__(self) -&gt; DisplayChangedEvent</autodoc>
       </constructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </constructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="core">
+    <class name="PaletteChangedEvent" oldname="wxPaletteChangedEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="PaletteChangedEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="PaletteChangedEvent" overloaded="no">
-        <autodoc>__init__(int id=0) -&gt; PaletteChangedEvent</autodoc>
+        <autodoc>__init__(self, int id=0) -&gt; PaletteChangedEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetChangedWindow" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetChangedWindow" type="" overloaded="no">
-        <autodoc>SetChangedWindow(Window win)</autodoc>
+        <autodoc>SetChangedWindow(self, Window win)</autodoc>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
       </method>
       <method name="GetChangedWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
       </method>
       <method name="GetChangedWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetChangedWindow() -&gt; Window</autodoc>
+        <autodoc>GetChangedWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="core">
+    <class name="QueryNewPaletteEvent" oldname="wxQueryNewPaletteEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="QueryNewPaletteEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="QueryNewPaletteEvent" overloaded="no">
-        <autodoc>__init__(int winid=0) -&gt; QueryNewPaletteEvent</autodoc>
+        <autodoc>__init__(self, int winid=0) -&gt; QueryNewPaletteEvent</autodoc>
         <paramlist>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetPaletteRealized" type="" overloaded="no">
         <paramlist>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetPaletteRealized" type="" overloaded="no">
-        <autodoc>SetPaletteRealized(bool realized)</autodoc>
+        <autodoc>SetPaletteRealized(self, bool realized)</autodoc>
         <paramlist>
           <param name="realized" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetPaletteRealized" type="bool" overloaded="no">
         <paramlist>
           <param name="realized" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetPaletteRealized" type="bool" overloaded="no">
-        <autodoc>GetPaletteRealized() -&gt; bool</autodoc>
+        <autodoc>GetPaletteRealized(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="core">
+    <class name="NavigationKeyEvent" oldname="wxNavigationKeyEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="NavigationKeyEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="NavigationKeyEvent" overloaded="no">
-        <autodoc>__init__() -&gt; NavigationKeyEvent</autodoc>
+        <autodoc>__init__(self) -&gt; NavigationKeyEvent</autodoc>
       </constructor>
       <method name="GetDirection" type="bool" overloaded="no">
       </constructor>
       <method name="GetDirection" type="bool" overloaded="no">
-        <autodoc>GetDirection() -&gt; bool</autodoc>
+        <autodoc>GetDirection(self) -&gt; bool</autodoc>
       </method>
       <method name="SetDirection" type="" overloaded="no">
       </method>
       <method name="SetDirection" type="" overloaded="no">
-        <autodoc>SetDirection(bool bForward)</autodoc>
+        <autodoc>SetDirection(self, bool forward)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="bForward" type="bool" default=""/>
+          <param name="forward" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsWindowChange" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsWindowChange" type="bool" overloaded="no">
-        <autodoc>IsWindowChange() -&gt; bool</autodoc>
+        <autodoc>IsWindowChange(self) -&gt; bool</autodoc>
       </method>
       <method name="SetWindowChange" type="" overloaded="no">
       </method>
       <method name="SetWindowChange" type="" overloaded="no">
-        <autodoc>SetWindowChange(bool bIs)</autodoc>
+        <autodoc>SetWindowChange(self, bool ischange)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="bIs" type="bool" default=""/>
+          <param name="ischange" type="bool" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetFlags" type="" overloaded="no">
+        <autodoc>SetFlags(self, long flags)</autodoc>
+        <paramlist>
+          <param name="flags" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentFocus" type="wxWindow" overloaded="no">
         </paramlist>
       </method>
       <method name="GetCurrentFocus" type="wxWindow" overloaded="no">
-        <autodoc>GetCurrentFocus() -&gt; Window</autodoc>
+        <autodoc>GetCurrentFocus(self) -&gt; Window</autodoc>
       </method>
       <method name="SetCurrentFocus" type="" overloaded="no">
       </method>
       <method name="SetCurrentFocus" type="" overloaded="no">
-        <autodoc>SetCurrentFocus(Window win)</autodoc>
+        <autodoc>SetCurrentFocus(self, Window win)</autodoc>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
@@ -2903,37 +3011,37 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="core">
+    <class name="WindowCreateEvent" oldname="wxWindowCreateEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="WindowCreateEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="WindowCreateEvent" overloaded="no">
-        <autodoc>__init__(Window win=None) -&gt; WindowCreateEvent</autodoc>
+        <autodoc>__init__(self, Window win=None) -&gt; WindowCreateEvent</autodoc>
         <paramlist>
           <param name="win" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="win" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="core">
+    <class name="WindowDestroyEvent" oldname="wxWindowDestroyEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="WindowDestroyEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="WindowDestroyEvent" overloaded="no">
-        <autodoc>__init__(Window win=None) -&gt; WindowDestroyEvent</autodoc>
+        <autodoc>__init__(self, Window win=None) -&gt; WindowDestroyEvent</autodoc>
         <paramlist>
           <param name="win" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="win" type="wxWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="core">
+    <class name="ContextMenuEvent" oldname="wxContextMenuEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="ContextMenuEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="ContextMenuEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -&gt; ContextMenuEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -&gt; ContextMenuEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
@@ -2941,10 +3049,10 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
         </paramlist>
       </constructor>
       <method name="GetPosition" type="Point" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="SetPosition" type="" overloaded="no">
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(Point pos)</autodoc>
+        <autodoc>SetPosition(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
@@ -2953,19 +3061,19 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="IdleEvent" oldname="wxIdleEvent" module="core">
+    <class name="IdleEvent" oldname="wxIdleEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="IdleEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="IdleEvent" overloaded="no">
-        <autodoc>__init__() -&gt; IdleEvent</autodoc>
+        <autodoc>__init__(self) -&gt; IdleEvent</autodoc>
       </constructor>
       <method name="RequestMore" type="" overloaded="no">
       </constructor>
       <method name="RequestMore" type="" overloaded="no">
-        <autodoc>RequestMore(bool needMore=True)</autodoc>
+        <autodoc>RequestMore(self, bool needMore=True)</autodoc>
         <paramlist>
           <param name="needMore" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="MoreRequested" type="bool" overloaded="no">
         <paramlist>
           <param name="needMore" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="MoreRequested" type="bool" overloaded="no">
-        <autodoc>MoreRequested() -&gt; bool</autodoc>
+        <autodoc>MoreRequested(self) -&gt; bool</autodoc>
       </method>
       <staticmethod name="SetMode" type="" overloaded="no">
         <autodoc>SetMode(int mode)</autodoc>
       </method>
       <staticmethod name="SetMode" type="" overloaded="no">
         <autodoc>SetMode(int mode)</autodoc>
@@ -2986,245 +3094,257 @@ EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PyEvent" oldname="wxPyEvent" module="core">
+    <class name="PyEvent" oldname="wxPyEvent" module="_core">
       <baseclass name="Event"/>
       <constructor name="PyEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="PyEvent" overloaded="no">
-        <autodoc>__init__(int winid=0, wxEventType commandType=wxEVT_NULL) -&gt; PyEvent</autodoc>
+        <autodoc>__init__(self, int winid=0, wxEventType commandType=wxEVT_NULL) -&gt; PyEvent</autodoc>
         <paramlist>
           <param name="winid" type="int" default="0"/>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyEvent" overloaded="no">
         <paramlist>
           <param name="winid" type="int" default="0"/>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyEvent" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetSelf" type="" overloaded="no">
       </destructor>
       <method name="SetSelf" type="" overloaded="no">
-        <autodoc>SetSelf(PyObject self)</autodoc>
+        <autodoc>SetSelf(self, PyObject self)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetSelf" type="PyObject" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetSelf" type="PyObject" overloaded="no">
-        <autodoc>GetSelf() -&gt; PyObject</autodoc>
+        <autodoc>GetSelf(self) -&gt; PyObject</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="core">
+    <class name="PyCommandEvent" oldname="wxPyCommandEvent" module="_core">
       <baseclass name="CommandEvent"/>
       <constructor name="PyCommandEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="PyCommandEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -&gt; PyCommandEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; PyCommandEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyCommandEvent" overloaded="no">
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyCommandEvent" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetSelf" type="" overloaded="no">
       </destructor>
       <method name="SetSelf" type="" overloaded="no">
-        <autodoc>SetSelf(PyObject self)</autodoc>
+        <autodoc>SetSelf(self, PyObject self)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetSelf" type="PyObject" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetSelf" type="PyObject" overloaded="no">
-        <autodoc>GetSelf() -&gt; PyObject</autodoc>
+        <autodoc>GetSelf(self) -&gt; PyObject</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PyApp" oldname="wxPyApp" module="core">
+    <class name="PyApp" oldname="wxPyApp" module="_core">
+      <docstring>The ``wx.PyApp`` class is an *implementation detail*, please use the
+`wx.App` class (or some other derived class) instead.</docstring>
       <baseclass name="EvtHandler"/>
       <constructor name="PyApp" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="PyApp" overloaded="no">
-        <autodoc>__init__() -&gt; PyApp</autodoc>
+        <autodoc>__init__(self) -&gt; PyApp</autodoc>
         <docstring>Create a new application object, starting the bootstrap process.</docstring>
       </constructor>
       <destructor name="~wxPyApp" overloaded="no">
         <docstring>Create a new application object, starting the bootstrap process.</docstring>
       </constructor>
       <destructor name="~wxPyApp" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAppName" type="String" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAppName" type="String" overloaded="no">
-        <autodoc>GetAppName() -&gt; String</autodoc>
+        <autodoc>GetAppName(self) -&gt; String</autodoc>
         <docstring>Get the application name.</docstring>
       </method>
       <method name="SetAppName" type="" overloaded="no">
         <docstring>Get the application name.</docstring>
       </method>
       <method name="SetAppName" type="" overloaded="no">
-        <autodoc>SetAppName(String name)</autodoc>
-        <docstring>Set the application name. This value may be used automatically
-by wx.Config and such.</docstring>
+        <autodoc>SetAppName(self, String name)</autodoc>
+        <docstring>Set the application name. This value may be used automatically by
+`wx.Config` and such.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetClassName" type="String" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetClassName" type="String" overloaded="no">
-        <autodoc>GetClassName() -&gt; String</autodoc>
+        <autodoc>GetClassName(self) -&gt; String</autodoc>
         <docstring>Get the application's class name.</docstring>
       </method>
       <method name="SetClassName" type="" overloaded="no">
         <docstring>Get the application's class name.</docstring>
       </method>
       <method name="SetClassName" type="" overloaded="no">
-        <autodoc>SetClassName(String name)</autodoc>
-        <docstring>Set the application's class name. This value may be used for X-resources if
-applicable for the platform</docstring>
+        <autodoc>SetClassName(self, String name)</autodoc>
+        <docstring>Set the application's class name. This value may be used for
+X-resources if applicable for the platform</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetVendorName" type="String" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetVendorName" type="String" overloaded="no">
-        <autodoc>GetVendorName() -&gt; String</autodoc>
+        <autodoc>GetVendorName(self) -&gt; String</autodoc>
         <docstring>Get the application's vendor name.</docstring>
       </method>
       <method name="SetVendorName" type="" overloaded="no">
         <docstring>Get the application's vendor name.</docstring>
       </method>
       <method name="SetVendorName" type="" overloaded="no">
-        <autodoc>SetVendorName(String name)</autodoc>
-        <docstring>Set the application's vendor name. This value may be used automatically
-by wx.Config and such.</docstring>
+        <autodoc>SetVendorName(self, String name)</autodoc>
+        <docstring>Set the application's vendor name. This value may be used
+automatically by `wx.Config` and such.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTraits" type="wxAppTraits" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTraits" type="wxAppTraits" overloaded="no">
-        <autodoc>GetTraits() -&gt; wxAppTraits</autodoc>
-        <docstring>Create the app traits object to which we delegate for everything which either
-should be configurable by the user (then he can change the default behaviour
-simply by overriding CreateTraits() and returning his own traits object) or
-which is GUI/console dependent as then wx.AppTraits allows us to abstract the
-differences behind the common facade</docstring>
+        <autodoc>GetTraits(self) -&gt; wxAppTraits</autodoc>
+        <docstring>Return (and create if necessary) the app traits object to which we
+delegate for everything which either should be configurable by the
+user (then he can change the default behaviour simply by overriding
+CreateTraits() and returning his own traits object) or which is
+GUI/console dependent as then wx.AppTraits allows us to abstract the
+differences behind the common facade.
+
+:todo: Add support for overriding CreateAppTraits in wxPython.</docstring>
       </method>
       <method name="ProcessPendingEvents" type="" overloaded="no">
       </method>
       <method name="ProcessPendingEvents" type="" overloaded="no">
-        <autodoc>ProcessPendingEvents()</autodoc>
-        <docstring>Process all events in the Pending Events list -- it is necessary to call this
-function to process posted events. This happens during each event loop
-iteration.</docstring>
+        <autodoc>ProcessPendingEvents(self)</autodoc>
+        <docstring>Process all events in the Pending Events list -- it is necessary to
+call this function to process posted events. This normally happens
+during each event loop iteration.</docstring>
       </method>
       <method name="Yield" type="bool" overloaded="no">
       </method>
       <method name="Yield" type="bool" overloaded="no">
-        <autodoc>Yield(bool onlyIfNeeded=False) -&gt; bool</autodoc>
-        <docstring>Process all currently pending events right now, instead of waiting until
-return to the event loop.  It is an error to call Yield() recursively unless
-the value of onlyIfNeeded is True.
-
-WARNING: This function is dangerous as it can lead to unexpected
-         reentrancies (i.e. when called from an event handler it
-         may result in calling the same event handler again), use
-         with _extreme_ care or, better, don't use at all!
+        <autodoc>Yield(self, bool onlyIfNeeded=False) -&gt; bool</autodoc>
+        <docstring>Process all currently pending events right now, instead of waiting
+until return to the event loop.  It is an error to call ``Yield``
+recursively unless the value of ``onlyIfNeeded`` is True.
+
+:warning: This function is dangerous as it can lead to unexpected
+      reentrancies (i.e. when called from an event handler it may
+      result in calling the same event handler again), use with
+      extreme care or, better, don't use at all!
+
+:see: `wx.Yield`, `wx.YieldIfNeeded`, `wx.SafeYield`
 </docstring>
         <paramlist>
           <param name="onlyIfNeeded" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="WakeUpIdle" type="" overloaded="no">
 </docstring>
         <paramlist>
           <param name="onlyIfNeeded" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="WakeUpIdle" type="" overloaded="no">
-        <autodoc>WakeUpIdle()</autodoc>
-        <docstring>Make sure that idle events are sent again</docstring>
+        <autodoc>WakeUpIdle(self)</autodoc>
+        <docstring>Make sure that idle events are sent again.
+:see: `wx.WakeUpIdle`</docstring>
       </method>
       <method name="MainLoop" type="int" overloaded="no">
       </method>
       <method name="MainLoop" type="int" overloaded="no">
-        <autodoc>MainLoop() -&gt; int</autodoc>
-        <docstring>Execute the main GUI loop, the function returns when the loop ends.</docstring>
+        <autodoc>MainLoop(self) -&gt; int</autodoc>
+        <docstring>Execute the main GUI loop, the function doesn't normally return until
+all top level windows have been closed and destroyed.</docstring>
       </method>
       <method name="Exit" type="" overloaded="no">
       </method>
       <method name="Exit" type="" overloaded="no">
-        <autodoc>Exit()</autodoc>
-        <docstring>Exit the main loop thus terminating the application.</docstring>
+        <autodoc>Exit(self)</autodoc>
+        <docstring>Exit the main loop thus terminating the application.
+:see: `wx.Exit`</docstring>
       </method>
       <method name="ExitMainLoop" type="" overloaded="no">
       </method>
       <method name="ExitMainLoop" type="" overloaded="no">
-        <autodoc>ExitMainLoop()</autodoc>
-        <docstring>Exit the main GUI loop during the next iteration (i.e. it does not
-stop the program immediately!)</docstring>
+        <autodoc>ExitMainLoop(self)</autodoc>
+        <docstring>Exit the main GUI loop during the next iteration of the main
+loop, (i.e. it does not stop the program immediately!)</docstring>
       </method>
       <method name="Pending" type="bool" overloaded="no">
       </method>
       <method name="Pending" type="bool" overloaded="no">
-        <autodoc>Pending() -&gt; bool</autodoc>
+        <autodoc>Pending(self) -&gt; bool</autodoc>
         <docstring>Returns True if there are unprocessed events in the event queue.</docstring>
       </method>
       <method name="Dispatch" type="bool" overloaded="no">
         <docstring>Returns True if there are unprocessed events in the event queue.</docstring>
       </method>
       <method name="Dispatch" type="bool" overloaded="no">
-        <autodoc>Dispatch() -&gt; bool</autodoc>
+        <autodoc>Dispatch(self) -&gt; bool</autodoc>
         <docstring>Process the first event in the event queue (blocks until an event
 appears if there are none currently)</docstring>
       </method>
       <method name="ProcessIdle" type="bool" overloaded="no">
         <docstring>Process the first event in the event queue (blocks until an event
 appears if there are none currently)</docstring>
       </method>
       <method name="ProcessIdle" type="bool" overloaded="no">
-        <autodoc>ProcessIdle() -&gt; bool</autodoc>
-        <docstring>Called from the MainLoop when the application becomes idle and sends an
-IdleEvent to all interested parties.  Returns True is more idle events are
-needed, False if not.</docstring>
+        <autodoc>ProcessIdle(self) -&gt; bool</autodoc>
+        <docstring>Called from the MainLoop when the application becomes idle (there are
+no pending events) and sends a `wx.IdleEvent` to all interested
+parties.  Returns True if more idle events are needed, False if not.</docstring>
       </method>
       <method name="SendIdleEvents" type="bool" overloaded="no">
       </method>
       <method name="SendIdleEvents" type="bool" overloaded="no">
-        <autodoc>SendIdleEvents(Window win, IdleEvent event) -&gt; bool</autodoc>
-        <docstring>Send idle event to window and all subwindows.  Returns True if more idle time
-is requested.</docstring>
+        <autodoc>SendIdleEvents(self, Window win, IdleEvent event) -&gt; bool</autodoc>
+        <docstring>Send idle event to window and all subwindows.  Returns True if more
+idle time is requested.</docstring>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
           <param name="event" type="IdleEvent" default=""/>
         </paramlist>
       </method>
       <method name="IsActive" type="bool" overloaded="no">
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
           <param name="event" type="IdleEvent" default=""/>
         </paramlist>
       </method>
       <method name="IsActive" type="bool" overloaded="no">
-        <autodoc>IsActive() -&gt; bool</autodoc>
+        <autodoc>IsActive(self) -&gt; bool</autodoc>
         <docstring>Return True if our app has focus.</docstring>
       </method>
       <method name="SetTopWindow" type="" overloaded="no">
         <docstring>Return True if our app has focus.</docstring>
       </method>
       <method name="SetTopWindow" type="" overloaded="no">
-        <autodoc>SetTopWindow(Window win)</autodoc>
-        <docstring>Set the "main" top level window</docstring>
+        <autodoc>SetTopWindow(self, Window win)</autodoc>
+        <docstring>Set the *main* top level window</docstring>
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
       </method>
       <method name="GetTopWindow" type="wxWindow" overloaded="no">
         <paramlist>
           <param name="win" type="wxWindow" default=""/>
         </paramlist>
       </method>
       <method name="GetTopWindow" type="wxWindow" overloaded="no">
-        <autodoc>GetTopWindow() -&gt; Window</autodoc>
-        <docstring>Return the "main" top level window (if it hadn't been set previously with
-SetTopWindow(), will return just some top level window and, if there not any,
-will return None)</docstring>
+        <autodoc>GetTopWindow(self) -&gt; Window</autodoc>
+        <docstring>Return the *main* top level window (if it hadn't been set previously
+with SetTopWindow(), will return just some top level window and, if
+there not any, will return None)</docstring>
       </method>
       <method name="SetExitOnFrameDelete" type="" overloaded="no">
       </method>
       <method name="SetExitOnFrameDelete" type="" overloaded="no">
-        <autodoc>SetExitOnFrameDelete(bool flag)</autodoc>
-        <docstring>Control the exit behaviour: by default, the program will exit the main loop
-(and so, usually, terminate) when the last top-level program window is
-deleted.  Beware that if you disable this behaviour (with
-SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop() explicitly
-from somewhere.
-</docstring>
+        <autodoc>SetExitOnFrameDelete(self, bool flag)</autodoc>
+        <docstring>Control the exit behaviour: by default, the program will exit the main
+loop (and so, usually, terminate) when the last top-level program
+window is deleted.  Beware that if you disable this behaviour (with
+SetExitOnFrameDelete(False)), you'll have to call ExitMainLoop()
+explicitly from somewhere.</docstring>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetExitOnFrameDelete" type="bool" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetExitOnFrameDelete" type="bool" overloaded="no">
-        <autodoc>GetExitOnFrameDelete() -&gt; bool</autodoc>
+        <autodoc>GetExitOnFrameDelete(self) -&gt; bool</autodoc>
         <docstring>Get the current exit behaviour setting.</docstring>
       </method>
       <method name="SetUseBestVisual" type="" overloaded="no">
         <docstring>Get the current exit behaviour setting.</docstring>
       </method>
       <method name="SetUseBestVisual" type="" overloaded="no">
-        <autodoc>SetUseBestVisual(bool flag)</autodoc>
-        <docstring>Set whether the app should try to use the best available visual on systems
-where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring>
+        <autodoc>SetUseBestVisual(self, bool flag)</autodoc>
+        <docstring>Set whether the app should try to use the best available visual on
+systems where more than one is available, (Sun, SGI, XFree86 4, etc.)</docstring>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseBestVisual" type="bool" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseBestVisual" type="bool" overloaded="no">
-        <autodoc>GetUseBestVisual() -&gt; bool</autodoc>
+        <autodoc>GetUseBestVisual(self) -&gt; bool</autodoc>
         <docstring>Get current UseBestVisual setting.</docstring>
       </method>
       <method name="SetPrintMode" type="" overloaded="no">
         <docstring>Get current UseBestVisual setting.</docstring>
       </method>
       <method name="SetPrintMode" type="" overloaded="no">
-        <autodoc>SetPrintMode(int mode)</autodoc>
+        <autodoc>SetPrintMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintMode" type="int" overloaded="no">
-        <autodoc>GetPrintMode() -&gt; int</autodoc>
+        <autodoc>GetPrintMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetAssertMode" type="" overloaded="no">
       </method>
       <method name="SetAssertMode" type="" overloaded="no">
-        <autodoc>SetAssertMode(int mode)</autodoc>
-        <docstring>Set the OnAssert behaviour for debug and hybrid builds.  The following flags
-may be or'd together:
-
- wx.PYAPP_ASSERT_SUPPRESS         Don't do anything
- wx.PYAPP_ASSERT_EXCEPTION        Turn it into a Python exception if possible (default)
- wx.PYAPP_ASSERT_DIALOG           Display a message dialog
- wx.PYAPP_ASSERT_LOG              Write the assertion info to the wx.Log
+        <autodoc>SetAssertMode(self, int mode)</autodoc>
+        <docstring>Set the OnAssert behaviour for debug and hybrid builds.The following flags may be or'd together:
+
+   =========================   =======================================
+   wx.PYAPP_ASSERT_SUPPRESS    Don't do anything
+   wx.PYAPP_ASSERT_EXCEPTION   Turn it into a Python exception if possible
+                               (default)
+   wx.PYAPP_ASSERT_DIALOG      Display a message dialog
+   wx.PYAPP_ASSERT_LOG         Write the assertion info to the wx.Log
+   =========================   =======================================
+
 </docstring>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAssertMode" type="int" overloaded="no">
 </docstring>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAssertMode" type="int" overloaded="no">
-        <autodoc>GetAssertMode() -&gt; int</autodoc>
+        <autodoc>GetAssertMode(self) -&gt; int</autodoc>
         <docstring>Get the current OnAssert behaviour setting.</docstring>
       </method>
       <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no">
         <docstring>Get the current OnAssert behaviour setting.</docstring>
       </method>
       <staticmethod name="GetMacSupportPCMenuShortcuts" type="bool" overloaded="no">
@@ -3273,13 +3393,13 @@ may be or'd together:
         </paramlist>
       </staticmethod>
       <method name="_BootstrapApp" type="" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="_BootstrapApp" type="" overloaded="no">
-        <autodoc>_BootstrapApp()</autodoc>
+        <autodoc>_BootstrapApp(self)</autodoc>
         <docstring>For internal use only</docstring>
       </method>
       <staticmethod name="GetComCtl32Version" type="int" overloaded="no">
         <autodoc>GetComCtl32Version() -&gt; int</autodoc>
         <docstring>For internal use only</docstring>
       </method>
       <staticmethod name="GetComCtl32Version" type="int" overloaded="no">
         <autodoc>GetComCtl32Version() -&gt; int</autodoc>
-        <docstring>Returns 400, 470, 471 for comctl32.dll 4.00, 4.70, 4.71 or 0 if it
-wasn't found at all.  Raises an exception on non-Windows platforms.</docstring>
+        <docstring>Returns 400, 470, 471, etc. for comctl32.dll 4.00, 4.70, 4.71 or 0 if
+it wasn't found at all.  Raises an exception on non-Windows platforms.</docstring>
       </staticmethod>
     </class>
     <pythoncode>
       </staticmethod>
     </class>
     <pythoncode>
@@ -3299,12 +3419,13 @@ wasn't found at all.  Raises an exception on non-Windows platforms.</docstring>
     </method>
     <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no">
       <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -&gt; bool</autodoc>
     </method>
     <method name="SafeYield" oldname="wxSafeYield" type="bool" overloaded="no">
       <autodoc>SafeYield(Window win=None, bool onlyIfNeeded=False) -&gt; bool</autodoc>
-      <docstring>This function is similar to wx.Yield, except that it disables the user input
-to all program windows before calling wx.Yield and re-enables it again
-afterwards. If win is not None, this window will remain enabled, allowing the
-implementation of some limited user interaction.
+      <docstring>This function is similar to `wx.Yield`, except that it disables the
+user input to all program windows before calling `wx.Yield` and
+re-enables it again afterwards. If ``win`` is not None, this window
+will remain enabled, allowing the implementation of some limited user
+interaction.
 
 
-Returns the result of the call to wx.Yield.</docstring>
+:Returns: the result of the call to `wx.Yield`.</docstring>
       <paramlist>
         <param name="win" type="wxWindow" default="NULL"/>
         <param name="onlyIfNeeded" type="bool" default="False"/>
       <paramlist>
         <param name="win" type="wxWindow" default="NULL"/>
         <param name="onlyIfNeeded" type="bool" default="False"/>
@@ -3312,11 +3433,13 @@ Returns the result of the call to wx.Yield.</docstring>
     </method>
     <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no">
       <autodoc>WakeUpIdle()</autodoc>
     </method>
     <method name="WakeUpIdle" oldname="wxWakeUpIdle" type="" overloaded="no">
       <autodoc>WakeUpIdle()</autodoc>
-      <docstring>Cause the message queue to become empty again, so idle events will be sent.</docstring>
+      <docstring>Cause the message queue to become empty again, so idle events will be
+sent.</docstring>
     </method>
     <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no">
       <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc>
     </method>
     <method name="PostEvent" oldname="wxPostEvent" type="" overloaded="no">
       <autodoc>PostEvent(EvtHandler dest, Event event)</autodoc>
-      <docstring>Send an event to a window or other wx.EvtHandler to be processed later.</docstring>
+      <docstring>Send an event to a window or other wx.EvtHandler to be processed
+later.</docstring>
       <paramlist>
         <param name="dest" type="EvtHandler" default=""/>
         <param name="event" type="Event" default=""/>
       <paramlist>
         <param name="dest" type="EvtHandler" default=""/>
         <param name="event" type="Event" default=""/>
@@ -3324,9 +3447,10 @@ Returns the result of the call to wx.Yield.</docstring>
     </method>
     <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no">
       <autodoc>App_CleanUp()</autodoc>
     </method>
     <method name="App_CleanUp" oldname="wxApp_CleanUp" type="" overloaded="no">
       <autodoc>App_CleanUp()</autodoc>
-      <docstring>For internal use only, it is used to cleanup after wxWindows when Python shuts down.</docstring>
+      <docstring>For internal use only, it is used to cleanup after wxWidgets when
+Python shuts down.</docstring>
     </method>
     </method>
-    <method name="GetApp" oldname="wxGetApp" type="PyApp" overloaded="no">
+    <method name="GetApp" oldname="wxPyGetApp" type="PyApp" overloaded="no">
       <autodoc>GetApp() -&gt; PyApp</autodoc>
       <docstring>Return a reference to the current wx.App object.</docstring>
     </method>
       <autodoc>GetApp() -&gt; PyApp</autodoc>
       <docstring>Return a reference to the current wx.App object.</docstring>
     </method>
@@ -3343,6 +3467,8 @@ class PyOnDemandOutputWindow:
     def __init__(self, title = "wxPython: stdout/stderr"):
         self.frame  = None
         self.title  = title
     def __init__(self, title = "wxPython: stdout/stderr"):
         self.frame  = None
         self.title  = title
+        self.pos    = wx.DefaultPosition
+        self.size   = (450, 300)
         self.parent = None
 
     def SetParent(self, parent):
         self.parent = None
 
     def SetParent(self, parent):
@@ -3351,12 +3477,11 @@ class PyOnDemandOutputWindow:
 
 
     def CreateOutputWindow(self, st):
 
 
     def CreateOutputWindow(self, st):
-        self.frame = wx.Frame(self.parent, -1, self.title,
-                              style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE)
+        self.frame = wx.Frame(self.parent, -1, self.title, self.pos, self.size,
+                              style=wx.DEFAULT_FRAME_STYLE)
         self.text  = wx.TextCtrl(self.frame, -1, "",
         self.text  = wx.TextCtrl(self.frame, -1, "",
-                                 style = wx.TE_MULTILINE | wx.TE_READONLY)
+                                 style=wx.TE_MULTILINE|wx.TE_READONLY)
         self.text.AppendText(st)
         self.text.AppendText(st)
-        self.frame.SetSize((450, 300))
         self.frame.Show(True)
         EVT_CLOSE(self.frame, self.OnCloseWindow)
         
         self.frame.Show(True)
         EVT_CLOSE(self.frame, self.OnCloseWindow)
         
@@ -3392,6 +3517,10 @@ class PyOnDemandOutputWindow:
             wx.CallAfter(self.frame.Close)
 
 
             wx.CallAfter(self.frame.Close)
 
 
+    def flush(self):
+        pass
+    
+
 
 #----------------------------------------------------------------------
 
 
 #----------------------------------------------------------------------
 
@@ -3399,12 +3528,61 @@ _defRedirect = (wx.Platform == '__WXMSW__' or wx.Platform == '__WXMAC__')
 
 class App(wx.PyApp):
     """
 
 class App(wx.PyApp):
     """
-    The main application class.  Derive from this and implement an OnInit
-    method that creates a frame and then calls self.SetTopWindow(frame)
+    The ``wx.App`` class represents the application and is used to:
+
+      * bootstrap the wxPython system and initialize the underlying
+        gui toolkit
+      * set and get application-wide properties
+      * implement the windowing system main message or event loop,
+        and to dispatch events to window instances
+      * etc.
+
+    Every application must have a ``wx.App`` instance, and all
+    creation of UI objects should be delayed until after the
+    ``wx.App`` object has been created in order to ensure that the gui
+    platform and wxWidgets have been fully initialized.
+
+    Normally you would derive from this class and implement an
+    ``OnInit`` method that creates a frame and then calls
+    ``self.SetTopWindow(frame)``.
+
+    :see: `wx.PySimpleApp` for a simpler app class that can be used
+           directly.
     """
     """
+    
     outputWindowClass = PyOnDemandOutputWindow
 
     outputWindowClass = PyOnDemandOutputWindow
 
-    def __init__(self, redirect=_defRedirect, filename=None, useBestVisual=False):
+    def __init__(self, redirect=_defRedirect, filename=None,
+                 useBestVisual=False, clearSigInt=True):
+        """
+        Construct a ``wx.App`` object.  
+
+        :param redirect: Should ``sys.stdout`` and ``sys.stderr`` be
+            redirected?  Defaults to True on Windows and Mac, False
+            otherwise.  If `filename` is None then output will be
+            redirected to a window that pops up as needed.  (You can
+            control what kind of window is created for the output by
+            resetting the class variable ``outputWindowClass`` to a
+            class of your choosing.)
+
+        :param filename: The name of a file to redirect output to, if
+            redirect is True.
+
+        :param useBestVisual: Should the app try to use the best
+            available visual provided by the system (only relevant on
+            systems that have more than one visual.)  This parameter
+            must be used instead of calling `SetUseBestVisual` later
+            on because it must be set before the underlying GUI
+            toolkit is initialized.
+
+        :param clearSigInt: Should SIGINT be cleared?  This allows the
+            app to terminate upon a Ctrl-C in the console like other
+            GUI apps will.
+
+        :note: You should override OnInit to do applicaition
+            initialization to ensure that the system, toolkit and
+            wxWidgets are fully initialized.
+        """
         wx.PyApp.__init__(self)
 
         if wx.Platform == "__WXMAC__":
         wx.PyApp.__init__(self)
 
         if wx.Platform == "__WXMAC__":
@@ -3416,6 +3594,8 @@ This program needs access to the screen. Please run with 'pythonw',
 not 'python', and only when you are logged in on the main display of
 your Mac."""
                     _sys.exit(1)
 not 'python', and only when you are logged in on the main display of
 your Mac."""
                     _sys.exit(1)
+            except SystemExit:
+                raise
             except:
                 pass
 
             except:
                 pass
 
@@ -3428,11 +3608,12 @@ your Mac."""
         # KeyboardInterrupt???)  but will later segfault on exit.  By
         # setting the default handler then the app will exit, as
         # expected (depending on platform.)
         # KeyboardInterrupt???)  but will later segfault on exit.  By
         # setting the default handler then the app will exit, as
         # expected (depending on platform.)
-        try:
-            import signal
-            signal.signal(signal.SIGINT, signal.SIG_DFL)
-        except:
-            pass
+        if clearSigInt:
+            try:
+                import signal
+                signal.signal(signal.SIGINT, signal.SIG_DFL)
+            except:
+                pass
 
         # Save and redirect the stdio to a window?
         self.stdioWin = None
 
         # Save and redirect the stdio to a window?
         self.stdioWin = None
@@ -3478,19 +3659,35 @@ your Mac."""
         _sys.stdout, _sys.stderr = self.saveStdio
 
 
         _sys.stdout, _sys.stderr = self.saveStdio
 
 
-
-# change from wxPyApp_ to wxApp_
-App_GetMacSupportPCMenuShortcuts = _core.PyApp_GetMacSupportPCMenuShortcuts
-App_GetMacAboutMenuItemId        = _core.PyApp_GetMacAboutMenuItemId
-App_GetMacPreferencesMenuItemId  = _core.PyApp_GetMacPreferencesMenuItemId
-App_GetMacExitMenuItemId         = _core.PyApp_GetMacExitMenuItemId
-App_GetMacHelpMenuTitleName      = _core.PyApp_GetMacHelpMenuTitleName
-App_SetMacSupportPCMenuShortcuts = _core.PyApp_SetMacSupportPCMenuShortcuts
-App_SetMacAboutMenuItemId        = _core.PyApp_SetMacAboutMenuItemId
-App_SetMacPreferencesMenuItemId  = _core.PyApp_SetMacPreferencesMenuItemId
-App_SetMacExitMenuItemId         = _core.PyApp_SetMacExitMenuItemId
-App_SetMacHelpMenuTitleName      = _core.PyApp_SetMacHelpMenuTitleName
-App_GetComCtl32Version           = _core.PyApp_GetComCtl32Version
+    def SetOutputWindowAttributes(self, title=None, pos=None, size=None):
+        """
+        Set the title, position and/or size of the output window if
+        the stdio has been redirected.  This should be called before
+        any output would cause the output window to be created.
+        """
+        if self.stdioWin:
+            if title is not None:
+                self.stdioWin.title = title
+            if pos is not None:
+                self.stdioWin.pos = pos
+            if size is not None:
+                self.stdioWin.size = size
+            
+
+
+
+# change from wx.PyApp_XX to wx.App_XX
+App_GetMacSupportPCMenuShortcuts = _core_.PyApp_GetMacSupportPCMenuShortcuts
+App_GetMacAboutMenuItemId        = _core_.PyApp_GetMacAboutMenuItemId
+App_GetMacPreferencesMenuItemId  = _core_.PyApp_GetMacPreferencesMenuItemId
+App_GetMacExitMenuItemId         = _core_.PyApp_GetMacExitMenuItemId
+App_GetMacHelpMenuTitleName      = _core_.PyApp_GetMacHelpMenuTitleName
+App_SetMacSupportPCMenuShortcuts = _core_.PyApp_SetMacSupportPCMenuShortcuts
+App_SetMacAboutMenuItemId        = _core_.PyApp_SetMacAboutMenuItemId
+App_SetMacPreferencesMenuItemId  = _core_.PyApp_SetMacPreferencesMenuItemId
+App_SetMacExitMenuItemId         = _core_.PyApp_SetMacExitMenuItemId
+App_SetMacHelpMenuTitleName      = _core_.PyApp_SetMacHelpMenuTitleName
+App_GetComCtl32Version           = _core_.PyApp_GetComCtl32Version
 
 #----------------------------------------------------------------------------
 
 
 #----------------------------------------------------------------------------
 
@@ -3498,16 +3695,28 @@ class PySimpleApp(wx.App):
     """
     A simple application class.  You can just create one of these and
     then then make your top level windows later, and not have to worry
     """
     A simple application class.  You can just create one of these and
     then then make your top level windows later, and not have to worry
-    about OnInit."""
+    about OnInit.  For example::
+
+        app = wx.PySimpleApp()
+        frame = wx.Frame(None, title='Hello World')
+        frame.Show()
+        app.MainLoop()
 
 
-    def __init__(self, redirect=False, filename=None, useBestVisual=False):
-        wx.App.__init__(self, redirect, filename, useBestVisual)
+    :see: `wx.App` 
+    """
+
+    def __init__(self, redirect=False, filename=None,
+                 useBestVisual=False, clearSigInt=True):
+        """
+        :see: `wx.App.__init__`
+        """
+        wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)
         
     def OnInit(self):
         
     def OnInit(self):
-        wx.InitAllImageHandlers()
         return True
 
 
         return True
 
 
+
 # Is anybody using this one?
 class PyWidgetTester(wx.App):
     def __init__(self, size = (250, 100)):
 # Is anybody using this one?
 class PyWidgetTester(wx.App):
     def __init__(self, size = (250, 100)):
@@ -3519,30 +3728,27 @@ class PyWidgetTester(wx.App):
         self.SetTopWindow(self.frame)
         return True
 
         self.SetTopWindow(self.frame)
         return True
 
-    def SetWidget(self, widgetClass, *args):
-        w = widgetClass(self.frame, *args)
+    def SetWidget(self, widgetClass, *args, **kwargs):
+        w = widgetClass(self.frame, *args, **kwargs)
         self.frame.Show(True)
 
 #----------------------------------------------------------------------------
 # DO NOT hold any other references to this object.  This is how we
         self.frame.Show(True)
 
 #----------------------------------------------------------------------------
 # DO NOT hold any other references to this object.  This is how we
-# know when to cleanup system resources that wxWin is holding.  When
+# know when to cleanup system resources that wxWidgets is holding.  When
 # the sys module is unloaded, the refcount on sys.__wxPythonCleanup
 # the sys module is unloaded, the refcount on sys.__wxPythonCleanup
-# goes to zero and it calls the wxApp_CleanUp function.
+# goes to zero and it calls the wx.App_CleanUp function.
 
 class __wxPyCleanup:
     def __init__(self):
 
 class __wxPyCleanup:
     def __init__(self):
-        self.cleanup = _core.App_CleanUp
+        self.cleanup = _core_.App_CleanUp
     def __del__(self):
         self.cleanup()
 
 _sys.__wxPythonCleanup = __wxPyCleanup()
 
 ## # another possible solution, but it gets called too early...
     def __del__(self):
         self.cleanup()
 
 _sys.__wxPythonCleanup = __wxPyCleanup()
 
 ## # another possible solution, but it gets called too early...
-## if sys.version[0] == '2':
-##     import atexit
-##     atexit.register(_core.wxApp_CleanUp)
-## else:
-##     sys.exitfunc = _core.wxApp_CleanUp
+## import atexit
+## atexit.register(_core_.wxApp_CleanUp)
 
 
 #----------------------------------------------------------------------------
 
 
 #----------------------------------------------------------------------------
@@ -3550,63 +3756,98 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="core">
+    <class name="AcceleratorEntry" oldname="wxAcceleratorEntry" module="_core">
+      <docstring>A class used to define items in an `wx.AcceleratorTable`.  wxPython
+programs can choose to use wx.AcceleratorEntry objects, but using a
+list of 3-tuple of integers (flags, keyCode, cmdID) usually works just
+as well.  See `__init__` for  of the tuple values.
+
+:see: `wx.AcceleratorTable`</docstring>
       <constructor name="AcceleratorEntry" overloaded="no">
       <constructor name="AcceleratorEntry" overloaded="no">
-        <autodoc>__init__(int flags=0, int keyCode=0, int cmd=0, MenuItem item=None) -&gt; AcceleratorEntry</autodoc>
+        <autodoc>__init__(self, int flags=0, int keyCode=0, int cmdID=0) -&gt; AcceleratorEntry</autodoc>
+        <docstring>Construct a wx.AcceleratorEntry.
+    :param flags: A bitmask of wx.ACCEL_ALT, wx.ACCEL_SHIFT,
+                wx.ACCEL_CTRL or wx.ACCEL_NORMAL used to specify
+                which modifier keys are held down.
+    :param keyCode: The keycode to be detected
+    :param cmdID: The menu or control command ID to use for the
+                accellerator event.
+</docstring>
         <paramlist>
           <param name="flags" type="int" default="0"/>
           <param name="keyCode" type="int" default="0"/>
         <paramlist>
           <param name="flags" type="int" default="0"/>
           <param name="keyCode" type="int" default="0"/>
-          <param name="cmd" type="int" default="0"/>
-          <param name="item" type="wxMenuItem" default="NULL"/>
+          <param name="cmdID" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxAcceleratorEntry" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxAcceleratorEntry" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Set" type="" overloaded="no">
       </destructor>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int flags, int keyCode, int cmd, MenuItem item=None)</autodoc>
+        <autodoc>Set(self, int flags, int keyCode, int cmd)</autodoc>
+        <docstring>(Re)set the attributes of a wx.AcceleratorEntry.
+:see `__init__`</docstring>
         <paramlist>
           <param name="flags" type="int" default=""/>
           <param name="keyCode" type="int" default=""/>
           <param name="cmd" type="int" default=""/>
         <paramlist>
           <param name="flags" type="int" default=""/>
           <param name="keyCode" type="int" default=""/>
           <param name="cmd" type="int" default=""/>
-          <param name="item" type="wxMenuItem" default="NULL"/>
-        </paramlist>
-      </method>
-      <method name="SetMenuItem" type="" overloaded="no">
-        <autodoc>SetMenuItem(MenuItem item)</autodoc>
-        <paramlist>
-          <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="GetMenuItem" type="wxMenuItem" overloaded="no">
-        <autodoc>GetMenuItem() -&gt; MenuItem</autodoc>
-      </method>
       <method name="GetFlags" type="int" overloaded="no">
       <method name="GetFlags" type="int" overloaded="no">
-        <autodoc>GetFlags() -&gt; int</autodoc>
+        <autodoc>GetFlags(self) -&gt; int</autodoc>
+        <docstring>Get the AcceleratorEntry's flags.</docstring>
       </method>
       <method name="GetKeyCode" type="int" overloaded="no">
       </method>
       <method name="GetKeyCode" type="int" overloaded="no">
-        <autodoc>GetKeyCode() -&gt; int</autodoc>
+        <autodoc>GetKeyCode(self) -&gt; int</autodoc>
+        <docstring>Get the AcceleratorEntry's keycode.</docstring>
       </method>
       <method name="GetCommand" type="int" overloaded="no">
       </method>
       <method name="GetCommand" type="int" overloaded="no">
-        <autodoc>GetCommand() -&gt; int</autodoc>
+        <autodoc>GetCommand(self) -&gt; int</autodoc>
+        <docstring>Get the AcceleratorEntry's command ID.</docstring>
       </method>
     </class>
       </method>
     </class>
-    <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="core">
+    <class name="AcceleratorTable" oldname="wxAcceleratorTable" module="_core">
+      <docstring>An accelerator table allows the application to specify a table of
+keyboard shortcuts for menus or other commands. On Windows, menu or
+button commands are supported; on GTK, only menu commands are
+supported.
+
+The object ``wx.NullAcceleratorTable`` is defined to be a table with
+no data, and is the initial accelerator table for a window.
+
+An accelerator takes precedence over normal processing and can be a
+convenient way to program some event handling. For example, you can
+use an accelerator table to make a hotkey generate an event no matter
+which window within a frame has the focus.
+
+Foe example::
+
+    aTable = wx.AcceleratorTable([(wx.ACCEL_ALT,  ord('X'), exitID),
+                                  (wx.ACCEL_CTRL, ord('H'), helpID),
+                                  (wx.ACCEL_CTRL, ord('F'), findID),
+                                  (wx.ACCEL_NORMAL, wx.WXK_F3, findnextID)
+                                  ])
+    self.SetAcceleratorTable(aTable)
+
+
+:see: `wx.AcceleratorEntry`, `wx.Window.SetAcceleratorTable`
+</docstring>
       <baseclass name="Object"/>
       <constructor name="AcceleratorTable" overloaded="no">
         <autodoc>__init__(entries) -&gt; AcceleratorTable</autodoc>
       <baseclass name="Object"/>
       <constructor name="AcceleratorTable" overloaded="no">
         <autodoc>__init__(entries) -&gt; AcceleratorTable</autodoc>
-        <docstring>Construct an AcceleratorTable from a list of AcceleratorEntry items or
-3-tuples (flags, keyCode, cmdID)</docstring>
+        <docstring>Construct an AcceleratorTable from a list of `wx.AcceleratorEntry`
+items or or of 3-tuples (flags, keyCode, cmdID)
+
+:see: `wx.AcceleratorEntry`</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="entries" type="AcceleratorEntry" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxAcceleratorTable" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="entries" type="AcceleratorEntry" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxAcceleratorTable" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
     </class>
     <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no">
       </method>
     </class>
     <method name="GetAccelFromString" oldname="wxGetAccelFromString" type="AcceleratorEntry" overloaded="no">
@@ -3618,91 +3859,106 @@ _sys.__wxPythonCleanup = __wxPyCleanup()
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Window" oldname="wxWindow" module="core">
-      <docstring>
-wx.Window is the base class for all windows and represents any visible
+    <class name="VisualAttributes" oldname="wxVisualAttributes" module="_core">
+      <docstring>struct containing all the visual attributes of a control</docstring>
+      <constructor name="VisualAttributes" overloaded="no">
+        <autodoc>__init__(self) -&gt; VisualAttributes</autodoc>
+        <docstring>struct containing all the visual attributes of a control</docstring>
+      </constructor>
+      <destructor name="~wxVisualAttributes" overloaded="no">
+        <autodoc>__del__(self)</autodoc>
+      </destructor>
+      <property name="font" type="wxFont" readonly="no"/>
+      <property name="colFg" type="wxColour" readonly="no"/>
+      <property name="colBg" type="wxColour" readonly="no"/>
+    </class>
+    <class name="Window" oldname="wxWindow" module="_core">
+      <docstring>wx.Window is the base class for all windows and represents any visible
 object on the screen. All controls, top level windows and so on are
 wx.Windows. Sizers and device contexts are not however, as they don't
 appear on screen themselves.
 object on the screen. All controls, top level windows and so on are
 wx.Windows. Sizers and device contexts are not however, as they don't
 appear on screen themselves.
-</docstring>
-      <refdoc>
-  Styles
-
-    wx.SIMPLE_BORDER:          Displays a thin border around the window.
-
-    wx.DOUBLE_BORDER:          Displays a double border. Windows and Mac only.
-
-    wx.SUNKEN_BORDER:          Displays a sunken border.
-
-    wx.RAISED_BORDER:          Displays a raised border.
-
-    wx.STATIC_BORDER:           Displays a border suitable for a static
-                                control. Windows only.
-
-    wx.NO_BORDER:               Displays no border, overriding the default
-                                border style for the window.
-
-    wx.TRANSPARENT_WINDOW:      The window is transparent, that is, it
-                                will not receive paint events. Windows only.
-
-    wx.TAB_TRAVERSAL:           Use this to enable tab traversal for
-                                non-dialog windows.
-
-    wx.WANTS_CHARS:             Use this to indicate that the window
-                                wants to get all char/key events for
-                                all keys - even for keys like TAB or
-                                ENTER which are usually used for
-                                dialog navigation and which wouldn't
-                                be generated without this style. If
-                                you need to use this style in order to
-                                get the arrows or etc., but would
-                                still like to have normal keyboard
-                                navigation take place, you should
-                                create and send a wxNavigationKeyEvent
-                                in response to the key events for Tab
-                                and Shift-Tab.
-
-    wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window
-                                  completely when its size is changed
-                                  - you will have to repaint the new
-                                  window area manually if you use this
-                                  style. As of version 2.5.1 this
-                                  style is on by default.  Use
-                                  wx.FULL_REPAINT_ON_RESIZE to
-                                  deactivate it.
-
-    wx.VSCROLL:          Use this style to enable a vertical scrollbar.
-
-    wx.HSCROLL:          Use this style to enable a horizontal scrollbar.
-
-    wx.ALWAYS_SHOW_SB:          If a window has scrollbars, disable them
-                                instead of hiding them when they are
-                                not needed (i.e. when the size of the
-                                window is big enough to not require
-                                the scrollbars to navigate it). This
-                                style is currently only implemented
-                                for wxMSW and wxUniversal and does
-                                nothing on the other platforms.
-
-    wx.CLIP_CHILDREN:           Use this style to eliminate flicker caused by
-                                the background being repainted, then
-                                children being painted over
-                                them. Windows only.
-
-    wx.FULL_REPAINT_ON_RESIZE:  Use this style to force a complete
-                                redraw of the window whenever it is
-                                resized instead of redrawing just the
-                                part of the window affected by
-                                resizing. Note that this was the
-                                behaviour by default before 2.5.1
-                                release and that if you experience
-                                redraw problems with the code which
-                                previously used to work you may want
-                                to try this.
-
-  Extra Styles
-
-    wx.WS_EX_VALIDATE_RECURSIVELY:  By default,
+      
+Styles
+-------
+    =============================  =====================================
+    wx.SIMPLE_BORDER               Displays a thin border around the window.
+                                   
+    wx.DOUBLE_BORDER               Displays a double border. Windows and Mac only.
+                                   
+    wx.SUNKEN_BORDER               Displays a sunken border.
+                                   
+    wx.RAISED_BORDER               Displays a raised border.
+                                   
+    wx.STATIC_BORDER               Displays a border suitable for a static
+                                   control. Windows only.
+                                   
+    wx.NO_BORDER                   Displays no border, overriding the default
+                                   border style for the window.
+                                   
+    wx.TRANSPARENT_WINDOW          The window is transparent, that is, it
+                                   will not receive paint events. Windows only.
+                                   
+    wx.TAB_TRAVERSAL               Use this to enable tab traversal for
+                                   non-dialog windows.
+                                   
+    wx.WANTS_CHARS                 Use this to indicate that the window
+                                   wants to get all char/key events for
+                                   all keys - even for keys like TAB or
+                                   ENTER which are usually used for
+                                   dialog navigation and which wouldn't
+                                   be generated without this style. If
+                                   you need to use this style in order to
+                                   get the arrows or etc., but would
+                                   still like to have normal keyboard
+                                   navigation take place, you should
+                                   create and send a wxNavigationKeyEvent
+                                   in response to the key events for Tab
+                                   and Shift-Tab.
+                                   
+    wx.NO_FULL_REPAINT_ON_RESIZE   Disables repainting the window
+                                   completely when its size is changed.
+                                   You will have to repaint the new
+                                   window area manually if you use this
+                                   style. As of version 2.5.1 this
+                                   style is on by default.  Use
+                                   wx.FULL_REPAINT_ON_RESIZE to
+                                   deactivate it.
+                                   
+    wx.VSCROLL                     Use this style to enable a vertical scrollbar.
+                                   
+    wx.HSCROLL                     Use this style to enable a horizontal scrollbar.
+                                   
+    wx.ALWAYS_SHOW_SB              If a window has scrollbars, disable them
+                                   instead of hiding them when they are
+                                   not needed (i.e. when the size of the
+                                   window is big enough to not require
+                                   the scrollbars to navigate it). This
+                                   style is currently only implemented
+                                   for wxMSW and wxUniversal and does
+                                   nothing on the other platforms.
+                                   
+    wx.CLIP_CHILDREN               Use this style to eliminate flicker caused by
+                                   the background being repainted, then
+                                   children being painted over
+                                   them. Windows only.
+                                   
+    wx.FULL_REPAINT_ON_RESIZE      Use this style to force a complete
+                                   redraw of the window whenever it is
+                                   resized instead of redrawing just the
+                                   part of the window affected by
+                                   resizing. Note that this was the
+                                   behaviour by default before 2.5.1
+                                   release and that if you experience
+                                   redraw problems with the code which
+                                   previously used to work you may want
+                                   to try this.
+    =============================  =====================================
+
+
+Extra Styles
+------------
+    =============================   =====================================
+    wx.WS_EX_VALIDATE_RECURSIVELY   By default,
                                     Validate/TransferDataTo/FromWindow()
                                     only work on direct children of
                                     the window (compatible
                                     Validate/TransferDataTo/FromWindow()
                                     only work on direct children of
                                     the window (compatible
@@ -3710,7 +3966,7 @@ appear on screen themselves.
                                     them recursively descend into all
                                     subwindows.
 
                                     them recursively descend into all
                                     subwindows.
 
-    wx.WS_EX_BLOCK_EVENTS:          wx.CommandEvents and the objects of the
+    wx.WS_EX_BLOCK_EVENTS           wx.CommandEvents and the objects of the
                                     derived classes are forwarded to
                                     the parent window and so on
                                     recursively by default. Using this
                                     derived classes are forwarded to
                                     the parent window and so on
                                     recursively by default. Using this
@@ -3730,7 +3986,7 @@ appear on screen themselves.
                                     lead to a crash if the parent is
                                     destroyed before the child.
 
                                     lead to a crash if the parent is
                                     destroyed before the child.
 
-    wx.WS_EX_PROCESS_IDLE:          This window should always process idle
+    wx.WS_EX_PROCESS_IDLE           This window should always process idle
                                     events, even if the mode set by
                                     wx.IdleEvent.SetMode is
                                     wx.IDLE_PROCESS_SPECIFIED.
                                     events, even if the mode set by
                                     wx.IdleEvent.SetMode is
                                     wx.IDLE_PROCESS_SPECIFIED.
@@ -3739,132 +3995,17 @@ appear on screen themselves.
                                     update events, even if the mode
                                     set by wxUpdateUIEvent::SetMode is
                                     wxUPDATE_UI_PROCESS_SPECIFIED.
                                     update events, even if the mode
                                     set by wxUpdateUIEvent::SetMode is
                                     wxUPDATE_UI_PROCESS_SPECIFIED.
+    =============================   =====================================
 
 
-</refdoc>
+</docstring>
       <baseclass name="EvtHandler"/>
       <constructor name="Window" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="Window" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=PanelNameStr) -&gt; Window</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; Window</autodoc>
         <docstring>Construct and show a generic Window.</docstring>
         <docstring>Construct and show a generic Window.</docstring>
-        <refdoc>
-  Styles
-
-    wx.SIMPLE_BORDER:          Displays a thin border around the window.
-
-    wx.DOUBLE_BORDER:          Displays a double border. Windows and Mac only.
-
-    wx.SUNKEN_BORDER:          Displays a sunken border.
-
-    wx.RAISED_BORDER:          Displays a raised border.
-
-    wx.STATIC_BORDER:           Displays a border suitable for a static
-                                control. Windows only.
-
-    wx.NO_BORDER:               Displays no border, overriding the default
-                                border style for the window.
-
-    wx.TRANSPARENT_WINDOW:      The window is transparent, that is, it
-                                will not receive paint events. Windows only.
-
-    wx.TAB_TRAVERSAL:           Use this to enable tab traversal for
-                                non-dialog windows.
-
-    wx.WANTS_CHARS:             Use this to indicate that the window
-                                wants to get all char/key events for
-                                all keys - even for keys like TAB or
-                                ENTER which are usually used for
-                                dialog navigation and which wouldn't
-                                be generated without this style. If
-                                you need to use this style in order to
-                                get the arrows or etc., but would
-                                still like to have normal keyboard
-                                navigation take place, you should
-                                create and send a wxNavigationKeyEvent
-                                in response to the key events for Tab
-                                and Shift-Tab.
-
-    wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window
-                                  completely when its size is changed
-                                  - you will have to repaint the new
-                                  window area manually if you use this
-                                  style. As of version 2.5.1 this
-                                  style is on by default.  Use
-                                  wx.FULL_REPAINT_ON_RESIZE to
-                                  deactivate it.
-
-    wx.VSCROLL:          Use this style to enable a vertical scrollbar.
-
-    wx.HSCROLL:          Use this style to enable a horizontal scrollbar.
-
-    wx.ALWAYS_SHOW_SB:          If a window has scrollbars, disable them
-                                instead of hiding them when they are
-                                not needed (i.e. when the size of the
-                                window is big enough to not require
-                                the scrollbars to navigate it). This
-                                style is currently only implemented
-                                for wxMSW and wxUniversal and does
-                                nothing on the other platforms.
-
-    wx.CLIP_CHILDREN:           Use this style to eliminate flicker caused by
-                                the background being repainted, then
-                                children being painted over
-                                them. Windows only.
-
-    wx.FULL_REPAINT_ON_RESIZE:  Use this style to force a complete
-                                redraw of the window whenever it is
-                                resized instead of redrawing just the
-                                part of the window affected by
-                                resizing. Note that this was the
-                                behaviour by default before 2.5.1
-                                release and that if you experience
-                                redraw problems with the code which
-                                previously used to work you may want
-                                to try this.
-
-  Extra Styles
-
-    wx.WS_EX_VALIDATE_RECURSIVELY:  By default,
-                                    Validate/TransferDataTo/FromWindow()
-                                    only work on direct children of
-                                    the window (compatible
-                                    behaviour). Set this flag to make
-                                    them recursively descend into all
-                                    subwindows.
-
-    wx.WS_EX_BLOCK_EVENTS:          wx.CommandEvents and the objects of the
-                                    derived classes are forwarded to
-                                    the parent window and so on
-                                    recursively by default. Using this
-                                    flag for the given window allows
-                                    to block this propagation at this
-                                    window, i.e. prevent the events
-                                    from being propagated further
-                                    upwards. Dialogs have this flag on
-                                    by default.
-
-    wx.WS_EX_TRANSIENT              Don't use this window as an implicit parent for
-                                    the other windows: this must be
-                                    used with transient windows as
-                                    otherwise there is the risk of
-                                    creating a dialog/frame with this
-                                    window as a parent which would
-                                    lead to a crash if the parent is
-                                    destroyed before the child.
-
-    wx.WS_EX_PROCESS_IDLE:          This window should always process idle
-                                    events, even if the mode set by
-                                    wx.IdleEvent.SetMode is
-                                    wx.IDLE_PROCESS_SPECIFIED.
-
-    wx.WS_EX_PROCESS_UI_UPDATES     This window should always process UI
-                                    update events, even if the mode
-                                    set by wxUpdateUIEvent::SetMode is
-                                    wxUPDATE_UI_PROCESS_SPECIFIED.
-
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -3874,130 +4015,14 @@ appear on screen themselves.
       <constructor name="PreWindow" overloaded="no">
         <autodoc>PreWindow() -&gt; Window</autodoc>
         <docstring>Precreate a Window for 2-phase creation.</docstring>
       <constructor name="PreWindow" overloaded="no">
         <autodoc>PreWindow() -&gt; Window</autodoc>
         <docstring>Precreate a Window for 2-phase creation.</docstring>
-        <refdoc>
-  Styles
-
-    wx.SIMPLE_BORDER:          Displays a thin border around the window.
-
-    wx.DOUBLE_BORDER:          Displays a double border. Windows and Mac only.
-
-    wx.SUNKEN_BORDER:          Displays a sunken border.
-
-    wx.RAISED_BORDER:          Displays a raised border.
-
-    wx.STATIC_BORDER:           Displays a border suitable for a static
-                                control. Windows only.
-
-    wx.NO_BORDER:               Displays no border, overriding the default
-                                border style for the window.
-
-    wx.TRANSPARENT_WINDOW:      The window is transparent, that is, it
-                                will not receive paint events. Windows only.
-
-    wx.TAB_TRAVERSAL:           Use this to enable tab traversal for
-                                non-dialog windows.
-
-    wx.WANTS_CHARS:             Use this to indicate that the window
-                                wants to get all char/key events for
-                                all keys - even for keys like TAB or
-                                ENTER which are usually used for
-                                dialog navigation and which wouldn't
-                                be generated without this style. If
-                                you need to use this style in order to
-                                get the arrows or etc., but would
-                                still like to have normal keyboard
-                                navigation take place, you should
-                                create and send a wxNavigationKeyEvent
-                                in response to the key events for Tab
-                                and Shift-Tab.
-
-    wx.NO_FULL_REPAINT_ON_RESIZE: Disables repainting the window
-                                  completely when its size is changed
-                                  - you will have to repaint the new
-                                  window area manually if you use this
-                                  style. As of version 2.5.1 this
-                                  style is on by default.  Use
-                                  wx.FULL_REPAINT_ON_RESIZE to
-                                  deactivate it.
-
-    wx.VSCROLL:          Use this style to enable a vertical scrollbar.
-
-    wx.HSCROLL:          Use this style to enable a horizontal scrollbar.
-
-    wx.ALWAYS_SHOW_SB:          If a window has scrollbars, disable them
-                                instead of hiding them when they are
-                                not needed (i.e. when the size of the
-                                window is big enough to not require
-                                the scrollbars to navigate it). This
-                                style is currently only implemented
-                                for wxMSW and wxUniversal and does
-                                nothing on the other platforms.
-
-    wx.CLIP_CHILDREN:           Use this style to eliminate flicker caused by
-                                the background being repainted, then
-                                children being painted over
-                                them. Windows only.
-
-    wx.FULL_REPAINT_ON_RESIZE:  Use this style to force a complete
-                                redraw of the window whenever it is
-                                resized instead of redrawing just the
-                                part of the window affected by
-                                resizing. Note that this was the
-                                behaviour by default before 2.5.1
-                                release and that if you experience
-                                redraw problems with the code which
-                                previously used to work you may want
-                                to try this.
-
-  Extra Styles
-
-    wx.WS_EX_VALIDATE_RECURSIVELY:  By default,
-                                    Validate/TransferDataTo/FromWindow()
-                                    only work on direct children of
-                                    the window (compatible
-                                    behaviour). Set this flag to make
-                                    them recursively descend into all
-                                    subwindows.
-
-    wx.WS_EX_BLOCK_EVENTS:          wx.CommandEvents and the objects of the
-                                    derived classes are forwarded to
-                                    the parent window and so on
-                                    recursively by default. Using this
-                                    flag for the given window allows
-                                    to block this propagation at this
-                                    window, i.e. prevent the events
-                                    from being propagated further
-                                    upwards. Dialogs have this flag on
-                                    by default.
-
-    wx.WS_EX_TRANSIENT              Don't use this window as an implicit parent for
-                                    the other windows: this must be
-                                    used with transient windows as
-                                    otherwise there is the risk of
-                                    creating a dialog/frame with this
-                                    window as a parent which would
-                                    lead to a crash if the parent is
-                                    destroyed before the child.
-
-    wx.WS_EX_PROCESS_IDLE:          This window should always process idle
-                                    events, even if the mode set by
-                                    wx.IdleEvent.SetMode is
-                                    wx.IDLE_PROCESS_SPECIFIED.
-
-    wx.WS_EX_PROCESS_UI_UPDATES     This window should always process UI
-                                    update events, even if the mode
-                                    set by wxUpdateUIEvent::SetMode is
-                                    wxUPDATE_UI_PROCESS_SPECIFIED.
-
-</refdoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=PanelNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; bool</autodoc>
         <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -4005,12 +4030,11 @@ appear on screen themselves.
         </paramlist>
       </method>
       <method name="Close" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Close" type="bool" overloaded="no">
-        <autodoc>Close(bool force=False) -&gt; bool</autodoc>
+        <autodoc>Close(self, bool force=False) -&gt; bool</autodoc>
         <docstring>This function simply generates a EVT_CLOSE event whose handler usually
 tries to close the window. It doesn't close the window itself,
 however.  If force is False (the default) then the window's close
 handler will be allowed to veto the destruction of the window.
         <docstring>This function simply generates a EVT_CLOSE event whose handler usually
 tries to close the window. It doesn't close the window itself,
 however.  If force is False (the default) then the window's close
 handler will be allowed to veto the destruction of the window.
-
 Usually Close is only used with the top level windows (wx.Frame and
 wx.Dialog classes) as the others are not supposed to have any special
 EVT_CLOSE logic.
 Usually Close is only used with the top level windows (wx.Frame and
 wx.Dialog classes) as the others are not supposed to have any special
 EVT_CLOSE logic.
@@ -4034,7 +4058,7 @@ instead.</docstring>
         </paramlist>
       </method>
       <method name="Destroy" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Destroy" type="bool" overloaded="no">
-        <autodoc>Destroy() -&gt; bool</autodoc>
+        <autodoc>Destroy(self) -&gt; bool</autodoc>
         <docstring>Destroys the window safely.  Frames and dialogs are not destroyed
 immediately when this function is called -- they are added to a list
 of windows to be deleted on idle time, when all the window's events
         <docstring>Destroys the window safely.  Frames and dialogs are not destroyed
 immediately when this function is called -- they are added to a list
 of windows to be deleted on idle time, when all the window's events
@@ -4045,68 +4069,77 @@ Returns True if the window has either been successfully deleted, or it
 has been added to the list of windows pending real deletion.</docstring>
       </method>
       <method name="DestroyChildren" type="bool" overloaded="no">
 has been added to the list of windows pending real deletion.</docstring>
       </method>
       <method name="DestroyChildren" type="bool" overloaded="no">
-        <autodoc>DestroyChildren() -&gt; bool</autodoc>
-        <docstring>Destroys all children of a window. Called automatically by the destructor.</docstring>
+        <autodoc>DestroyChildren(self) -&gt; bool</autodoc>
+        <docstring>Destroys all children of a window. Called automatically by the
+destructor.</docstring>
       </method>
       <method name="IsBeingDeleted" type="bool" overloaded="no">
       </method>
       <method name="IsBeingDeleted" type="bool" overloaded="no">
-        <autodoc>IsBeingDeleted() -&gt; bool</autodoc>
+        <autodoc>IsBeingDeleted(self) -&gt; bool</autodoc>
         <docstring>Is the window in the process of being deleted?</docstring>
       </method>
       <method name="SetTitle" type="" overloaded="no">
         <docstring>Is the window in the process of being deleted?</docstring>
       </method>
       <method name="SetTitle" type="" overloaded="no">
-        <autodoc>SetTitle(String title)</autodoc>
+        <autodoc>SetTitle(self, String title)</autodoc>
         <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
         <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
-        <autodoc>GetTitle() -&gt; String</autodoc>
+        <autodoc>GetTitle(self) -&gt; String</autodoc>
         <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
       </method>
       <method name="SetLabel" type="" overloaded="no">
         <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(String label)</autodoc>
+        <autodoc>SetLabel(self, String label)</autodoc>
         <docstring>Set the text which the window shows in its label if applicable.</docstring>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
         <docstring>Set the text which the window shows in its label if applicable.</docstring>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel() -&gt; String</autodoc>
-        <docstring>Generic way of getting a label from any window, for
-identification purposes.  The interpretation of this function
-differs from class to class. For frames and dialogs, the value
-returned is the title. For buttons or static text controls, it is
-the button text. This function can be useful for meta-programs
-(such as testing tools or special-needs access programs) which
-need to identify windows by name.</docstring>
+        <autodoc>GetLabel(self) -&gt; String</autodoc>
+        <docstring>Generic way of getting a label from any window, for identification
+purposes.  The interpretation of this function differs from class to
+class. For frames and dialogs, the value returned is the title. For
+buttons or static text controls, it is the button text. This function
+can be useful for meta-programs such as testing tools or special-needs
+access programs)which need to identify windows by name.</docstring>
       </method>
       <method name="SetName" type="" overloaded="no">
       </method>
       <method name="SetName" type="" overloaded="no">
-        <autodoc>SetName(String name)</autodoc>
-        <docstring>Sets the window's name.  The window name is used for ressource
-setting in X, it is not the same as the window title/label</docstring>
+        <autodoc>SetName(self, String name)</autodoc>
+        <docstring>Sets the window's name.  The window name is used for ressource setting
+in X, it is not the same as the window title/label</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetName" type="String" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
-        <docstring>Returns the window's name.  This name is not guaranteed to be
-unique; it is up to the programmer to supply an appropriate name
-in the window constructor or via wx.Window.SetName.</docstring>
+        <autodoc>GetName(self) -&gt; String</autodoc>
+        <docstring>Returns the windows name.  This name is not guaranteed to be unique;
+it is up to the programmer to supply an appropriate name in the window
+constructor or via wx.Window.SetName.</docstring>
       </method>
       <method name="SetWindowVariant" type="" overloaded="no">
       </method>
       <method name="SetWindowVariant" type="" overloaded="no">
-        <autodoc>SetWindowVariant(int variant)</autodoc>
-        <docstring>Sets the variant of the window/font size to use for this window,
-if the platform supports variants, (for example, wxMac.)</docstring>
+        <autodoc>SetWindowVariant(self, int variant)</autodoc>
+        <docstring>Sets the variant of the window/font size to use for this window, if
+the platform supports variants, for example, wxMac.
+Variant values are:
+
+    ========================    =======================================
+    wx.WINDOW_VARIANT_NORMAL    Normal size
+    wx.WINDOW_VARIANT_SMALL     Smaller size (about 25 % smaller than normal)
+    wx.WINDOW_VARIANT_MINI      Mini size (about 33 % smaller than normal)
+    wx.WINDOW_VARIANT_LARGE     Large size (about 25 % larger than normal)
+    ========================    =======================================
+</docstring>
         <paramlist>
           <param name="variant" type="wxWindowVariant" default=""/>
         </paramlist>
       </method>
       <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no">
         <paramlist>
           <param name="variant" type="wxWindowVariant" default=""/>
         </paramlist>
       </method>
       <method name="GetWindowVariant" type="wxWindowVariant" overloaded="no">
-        <autodoc>GetWindowVariant() -&gt; int</autodoc>
+        <autodoc>GetWindowVariant(self) -&gt; int</autodoc>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(int winid)</autodoc>
+        <autodoc>SetId(self, int winid)</autodoc>
         <docstring>Sets the identifier of the window.  Each window has an integer
 identifier. If the application has not provided one, an identifier
 will be generated. Normally, the identifier should be provided on
         <docstring>Sets the identifier of the window.  Each window has an integer
 identifier. If the application has not provided one, an identifier
 will be generated. Normally, the identifier should be provided on
@@ -4116,7 +4149,7 @@ creation and should not be modified subsequently.</docstring>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
-        <autodoc>GetId() -&gt; int</autodoc>
+        <autodoc>GetId(self) -&gt; int</autodoc>
         <docstring>Returns the identifier of the window.  Each window has an integer
 identifier. If the application has not provided one (or the default Id
 -1 is used) then an unique identifier with a negative value will be
         <docstring>Returns the identifier of the window.  Each window has an integer
 identifier. If the application has not provided one (or the default Id
 -1 is used) then an unique identifier with a negative value will be
@@ -4129,7 +4162,7 @@ generated.</docstring>
       <staticmethod name="NextControlId" type="int" overloaded="no">
         <autodoc>NextControlId(int winid) -&gt; int</autodoc>
         <docstring>Get the id of the control following the one with the given
       <staticmethod name="NextControlId" type="int" overloaded="no">
         <autodoc>NextControlId(int winid) -&gt; int</autodoc>
         <docstring>Get the id of the control following the one with the given
-(autogenerated) id</docstring>
+autogenerated) id</docstring>
         <paramlist>
           <param name="winid" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="winid" type="int" default=""/>
         </paramlist>
@@ -4137,20 +4170,20 @@ generated.</docstring>
       <staticmethod name="PrevControlId" type="int" overloaded="no">
         <autodoc>PrevControlId(int winid) -&gt; int</autodoc>
         <docstring>Get the id of the control preceding the one with the given
       <staticmethod name="PrevControlId" type="int" overloaded="no">
         <autodoc>PrevControlId(int winid) -&gt; int</autodoc>
         <docstring>Get the id of the control preceding the one with the given
-(autogenerated) id</docstring>
+autogenerated) id</docstring>
         <paramlist>
           <param name="winid" type="int" default=""/>
         </paramlist>
       </staticmethod>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="winid" type="int" default=""/>
         </paramlist>
       </staticmethod>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(Size size)</autodoc>
+        <autodoc>SetSize(self, Size size)</autodoc>
         <docstring>Sets the size of the window in pixels.</docstring>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetDimensions" type="" overloaded="no">
         <docstring>Sets the size of the window in pixels.</docstring>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetDimensions" type="" overloaded="no">
-        <autodoc>SetDimensions(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+        <autodoc>SetDimensions(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
         <docstring>Sets the position and size of the window in pixels.  The sizeFlags
 parameter indicates the interpretation of the other params if they are
 -1.  wx.SIZE_AUTO*: a -1 indicates that a class-specific default
         <docstring>Sets the position and size of the window in pixels.  The sizeFlags
 parameter indicates the interpretation of the other params if they are
 -1.  wx.SIZE_AUTO*: a -1 indicates that a class-specific default
@@ -4167,7 +4200,7 @@ default values.</docstring>
         </paramlist>
       </method>
       <method name="SetRect" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRect" type="" overloaded="no">
-        <autodoc>SetRect(Rect rect, int sizeFlags=SIZE_AUTO)</autodoc>
+        <autodoc>SetRect(self, Rect rect, int sizeFlags=SIZE_AUTO)</autodoc>
         <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         <docstring>Sets the position and size of the window in pixels using a wx.Rect.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
@@ -4175,7 +4208,7 @@ default values.</docstring>
         </paramlist>
       </method>
       <method name="SetSizeWH" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSizeWH" type="" overloaded="no">
-        <autodoc>SetSizeWH(int width, int height)</autodoc>
+        <autodoc>SetSizeWH(self, int width, int height)</autodoc>
         <docstring>Sets the size of the window in pixels.</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
         <docstring>Sets the size of the window in pixels.</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
@@ -4183,7 +4216,7 @@ default values.</docstring>
         </paramlist>
       </method>
       <method name="Move" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Move" type="" overloaded="no">
-        <autodoc>Move(Point pt, int flags=SIZE_USE_EXISTING)</autodoc>
+        <autodoc>Move(self, Point pt, int flags=SIZE_USE_EXISTING)</autodoc>
         <docstring>Moves the window to the given position.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         <docstring>Moves the window to the given position.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
@@ -4191,7 +4224,7 @@ default values.</docstring>
         </paramlist>
       </method>
       <method name="MoveXY" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="MoveXY" type="" overloaded="no">
-        <autodoc>MoveXY(int x, int y, int flags=SIZE_USE_EXISTING)</autodoc>
+        <autodoc>MoveXY(self, int x, int y, int flags=SIZE_USE_EXISTING)</autodoc>
         <docstring>Moves the window to the given position.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         <docstring>Moves the window to the given position.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
@@ -4199,18 +4232,26 @@ default values.</docstring>
           <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
         </paramlist>
       </method>
           <param name="flags" type="int" default="wxSIZE_USE_EXISTING"/>
         </paramlist>
       </method>
+      <method name="SetBestFittingSize" type="" overloaded="no">
+        <autodoc>SetBestFittingSize(self, Size size=DefaultSize)</autodoc>
+        <docstring>A 'Smart' SetSize that will fill in default size components with the
+window's *best size* values.  Also set's the minsize for use with sizers.</docstring>
+        <paramlist>
+          <param name="size" type="Size" default="wxDefaultSize"/>
+        </paramlist>
+      </method>
       <method name="Raise" type="" overloaded="no">
       <method name="Raise" type="" overloaded="no">
-        <autodoc>Raise()</autodoc>
+        <autodoc>Raise(self)</autodoc>
         <docstring>Raises the window to the top of the window hierarchy if it is a
 managed window (dialog or frame).</docstring>
       </method>
       <method name="Lower" type="" overloaded="no">
         <docstring>Raises the window to the top of the window hierarchy if it is a
 managed window (dialog or frame).</docstring>
       </method>
       <method name="Lower" type="" overloaded="no">
-        <autodoc>Lower()</autodoc>
+        <autodoc>Lower(self)</autodoc>
         <docstring>Lowers the window to the bottom of the window hierarchy if it is a
 managed window (dialog or frame).</docstring>
       </method>
       <method name="SetClientSize" type="" overloaded="no">
         <docstring>Lowers the window to the bottom of the window hierarchy if it is a
 managed window (dialog or frame).</docstring>
       </method>
       <method name="SetClientSize" type="" overloaded="no">
-        <autodoc>SetClientSize(Size size)</autodoc>
+        <autodoc>SetClientSize(self, Size size)</autodoc>
         <docstring>This sets the size of the window client area in pixels. Using this
 function to size a window tends to be more device-independent than
 wx.Window.SetSize, since the application need not worry about what
         <docstring>This sets the size of the window client area in pixels. Using this
 function to size a window tends to be more device-independent than
 wx.Window.SetSize, since the application need not worry about what
@@ -4221,7 +4262,7 @@ around panel items, for example.</docstring>
         </paramlist>
       </method>
       <method name="SetClientSizeWH" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetClientSizeWH" type="" overloaded="no">
-        <autodoc>SetClientSizeWH(int width, int height)</autodoc>
+        <autodoc>SetClientSizeWH(self, int width, int height)</autodoc>
         <docstring>This sets the size of the window client area in pixels. Using this
 function to size a window tends to be more device-independent than
 wx.Window.SetSize, since the application need not worry about what
         <docstring>This sets the size of the window client area in pixels. Using this
 function to size a window tends to be more device-independent than
 wx.Window.SetSize, since the application need not worry about what
@@ -4233,7 +4274,7 @@ around panel items, for example.</docstring>
         </paramlist>
       </method>
       <method name="SetClientRect" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetClientRect" type="" overloaded="no">
-        <autodoc>SetClientRect(Rect rect)</autodoc>
+        <autodoc>SetClientRect(self, Rect rect)</autodoc>
         <docstring>This sets the size of the window client area in pixels. Using this
 function to size a window tends to be more device-independent than
 wx.Window.SetSize, since the application need not worry about what
         <docstring>This sets the size of the window client area in pixels. Using this
 function to size a window tends to be more device-independent than
 wx.Window.SetSize, since the application need not worry about what
@@ -4244,7 +4285,7 @@ around panel items, for example.</docstring>
         </paramlist>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
         <docstring>Get the window's position.</docstring>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
         <docstring>Get the window's position.</docstring>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
@@ -4256,7 +4297,7 @@ around panel items, for example.</docstring>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
         <docstring>Get the window size.</docstring>
       </method>
       <method name="GetSizeTuple" type="" overloaded="no">
         <docstring>Get the window size.</docstring>
       </method>
       <method name="GetSizeTuple" type="" overloaded="no">
@@ -4268,11 +4309,11 @@ around panel items, for example.</docstring>
         </paramlist>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
         </paramlist>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
-        <autodoc>GetRect() -&gt; Rect</autodoc>
+        <autodoc>GetRect(self) -&gt; Rect</autodoc>
         <docstring>Returns the size and position of the window as a wx.Rect object.</docstring>
       </method>
       <method name="GetClientSize" type="Size" overloaded="no">
         <docstring>Returns the size and position of the window as a wx.Rect object.</docstring>
       </method>
       <method name="GetClientSize" type="Size" overloaded="no">
-        <autodoc>GetClientSize() -&gt; Size</autodoc>
+        <autodoc>GetClientSize(self) -&gt; Size</autodoc>
         <docstring>This gets the size of the window's 'client area' in pixels. The client
 area is the area which may be drawn on by the programmer, excluding
 title bar, border, scrollbars, etc.</docstring>
         <docstring>This gets the size of the window's 'client area' in pixels. The client
 area is the area which may be drawn on by the programmer, excluding
 title bar, border, scrollbars, etc.</docstring>
@@ -4288,39 +4329,51 @@ title bar, border, scrollbars, etc.</docstring>
         </paramlist>
       </method>
       <method name="GetClientAreaOrigin" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="GetClientAreaOrigin" type="Point" overloaded="no">
-        <autodoc>GetClientAreaOrigin() -&gt; Point</autodoc>
+        <autodoc>GetClientAreaOrigin(self) -&gt; Point</autodoc>
         <docstring>Get the origin of the client area of the window relative to the
 window's top left corner (the client area may be shifted because of
 the borders, scrollbars, other decorations...)</docstring>
       </method>
       <method name="GetClientRect" type="Rect" overloaded="no">
         <docstring>Get the origin of the client area of the window relative to the
 window's top left corner (the client area may be shifted because of
 the borders, scrollbars, other decorations...)</docstring>
       </method>
       <method name="GetClientRect" type="Rect" overloaded="no">
-        <autodoc>GetClientRect() -&gt; Rect</autodoc>
-        <docstring>Get the client area position and size as a wx.Rect object.</docstring>
+        <autodoc>GetClientRect(self) -&gt; Rect</autodoc>
+        <docstring>Get the client area position and size as a `wx.Rect` object.</docstring>
       </method>
       <method name="GetBestSize" type="Size" overloaded="no">
       </method>
       <method name="GetBestSize" type="Size" overloaded="no">
-        <autodoc>GetBestSize() -&gt; Size</autodoc>
-        <docstring>This functions returns the best acceptable minimal size for the
-window, if applicable. For example, for a static text control, it will be
-the minimal size such that the control label is not truncated. For
-windows containing subwindows (suzh aswx.Panel), the size returned
-by this function will be the same as the size the window would have
-had after calling Fit.</docstring>
+        <autodoc>GetBestSize(self) -&gt; Size</autodoc>
+        <docstring>This function returns the best acceptable minimal size for the
+window, if applicable. For example, for a static text control, it will
+be the minimal size such that the control label is not truncated. For
+windows containing subwindows (suzh aswx.Panel), the size returned by
+this function will be the same as the size the window would have had
+after calling Fit.</docstring>
       </method>
       <method name="GetBestSizeTuple" type="" overloaded="no">
         <autodoc>GetBestSizeTuple() -&gt; (width, height)</autodoc>
       </method>
       <method name="GetBestSizeTuple" type="" overloaded="no">
         <autodoc>GetBestSizeTuple() -&gt; (width, height)</autodoc>
-        <docstring>This functions returns the best acceptable minimal size for the
-window, if applicable. For example, for a static text control, it will be
-the minimal size such that the control label is not truncated. For
-windows containing subwindows (suzh aswx.Panel), the size returned
-by this function will be the same as the size the window would have
-had after calling Fit.</docstring>
+        <docstring>This function returns the best acceptable minimal size for the
+window, if applicable. For example, for a static text control, it will
+be the minimal size such that the control label is not truncated. For
+windows containing subwindows (suzh aswx.Panel), the size returned by
+this function will be the same as the size the window would have had
+after calling Fit.</docstring>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
+      <method name="InvalidateBestSize" type="" overloaded="no">
+        <autodoc>InvalidateBestSize(self)</autodoc>
+        <docstring>Reset the cached best size value so it will be recalculated the next
+time it is needed.</docstring>
+      </method>
+      <method name="GetBestFittingSize" type="Size" overloaded="no">
+        <autodoc>GetBestFittingSize(self) -&gt; Size</autodoc>
+        <docstring>This function will merge the window's best size into the window's
+minimum size, giving priority to the min size components, and returns
+the results.
+</docstring>
+      </method>
       <method name="GetAdjustedBestSize" type="Size" overloaded="no">
       <method name="GetAdjustedBestSize" type="Size" overloaded="no">
-        <autodoc>GetAdjustedBestSize() -&gt; Size</autodoc>
+        <autodoc>GetAdjustedBestSize(self) -&gt; Size</autodoc>
         <docstring>This method is similar to GetBestSize, except in one
 thing. GetBestSize should return the minimum untruncated size of the
 window, while this method will return the largest of BestSize and any
         <docstring>This method is similar to GetBestSize, except in one
 thing. GetBestSize should return the minimum untruncated size of the
 window, while this method will return the largest of BestSize and any
@@ -4329,7 +4382,7 @@ should currently be drawn at, not the minimal size it can possibly
 tolerate.</docstring>
       </method>
       <method name="Center" type="" overloaded="no">
 tolerate.</docstring>
       </method>
       <method name="Center" type="" overloaded="no">
-        <autodoc>Center(int direction=BOTH)</autodoc>
+        <autodoc>Center(self, int direction=BOTH)</autodoc>
         <docstring>Centers the window.  The parameter specifies the direction for
 cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may
 also include wx.CENTER_ON_SCREEN flag if you want to center the window
         <docstring>Centers the window.  The parameter specifies the direction for
 cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may
 also include wx.CENTER_ON_SCREEN flag if you want to center the window
@@ -4341,21 +4394,21 @@ relative to the screen.</docstring>
         </paramlist>
       </method>
       <method name="CenterOnScreen" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="CenterOnScreen" type="" overloaded="no">
-        <autodoc>CenterOnScreen(int dir=BOTH)</autodoc>
+        <autodoc>CenterOnScreen(self, int dir=BOTH)</autodoc>
         <docstring>Center on screen (only works for top level windows)</docstring>
         <paramlist>
           <param name="dir" type="int" default="wxBOTH"/>
         </paramlist>
       </method>
       <method name="CenterOnParent" type="" overloaded="no">
         <docstring>Center on screen (only works for top level windows)</docstring>
         <paramlist>
           <param name="dir" type="int" default="wxBOTH"/>
         </paramlist>
       </method>
       <method name="CenterOnParent" type="" overloaded="no">
-        <autodoc>CenterOnParent(int dir=BOTH)</autodoc>
+        <autodoc>CenterOnParent(self, int dir=BOTH)</autodoc>
         <docstring>Center with respect to the the parent window</docstring>
         <paramlist>
           <param name="dir" type="int" default="wxBOTH"/>
         </paramlist>
       </method>
       <method name="Fit" type="" overloaded="no">
         <docstring>Center with respect to the the parent window</docstring>
         <paramlist>
           <param name="dir" type="int" default="wxBOTH"/>
         </paramlist>
       </method>
       <method name="Fit" type="" overloaded="no">
-        <autodoc>Fit()</autodoc>
+        <autodoc>Fit(self)</autodoc>
         <docstring>Sizes the window so that it fits around its subwindows. This function
 won't do anything if there are no subwindows and will only really work
 correctly if sizers are used for the subwindows layout. Also, if the
         <docstring>Sizes the window so that it fits around its subwindows. This function
 won't do anything if there are no subwindows and will only really work
 correctly if sizers are used for the subwindows layout. Also, if the
@@ -4365,7 +4418,7 @@ its calculations) to call window.SetClientSize(child.GetSize())
 instead of calling Fit.</docstring>
       </method>
       <method name="FitInside" type="" overloaded="no">
 instead of calling Fit.</docstring>
       </method>
       <method name="FitInside" type="" overloaded="no">
-        <autodoc>FitInside()</autodoc>
+        <autodoc>FitInside(self)</autodoc>
         <docstring>Similar to Fit, but sizes the interior (virtual) size of a
 window. Mainly useful with scrolled windows to reset scrollbars after
 sizing changes that do not trigger a size event, and/or scrolled
         <docstring>Similar to Fit, but sizes the interior (virtual) size of a
 window. Mainly useful with scrolled windows to reset scrollbars after
 sizing changes that do not trigger a size event, and/or scrolled
@@ -4373,13 +4426,19 @@ windows without an interior sizer. This function similarly won't do
 anything if there are no subwindows.</docstring>
       </method>
       <method name="SetSizeHints" type="" overloaded="no">
 anything if there are no subwindows.</docstring>
       </method>
       <method name="SetSizeHints" type="" overloaded="no">
-        <autodoc>SetSizeHints(int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, 
+        <autodoc>SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, 
     int incH=-1)</autodoc>
         <docstring>Allows specification of minimum and maximum window sizes, and window
 size increments. If a pair of values is not set (or set to -1), the
 default values will be used.  If this function is called, the user
     int incH=-1)</autodoc>
         <docstring>Allows specification of minimum and maximum window sizes, and window
 size increments. If a pair of values is not set (or set to -1), the
 default values will be used.  If this function is called, the user
-will not be able to size the window outside the given bounds. The
-resizing increments are only significant under Motif or Xt.</docstring>
+will not be able to size the window outside the given bounds (if it is
+a top-level window.)  Sizers will also inspect the minimum window size
+and will use that value if set when calculating layout.
+
+The resizing increments are only significant under Motif or Xt.
+
+:see: `GetMinSize`, `GetMaxSize`, `SetMinSize`, `SetMaxSize`
+</docstring>
         <paramlist>
           <param name="minW" type="int" default=""/>
           <param name="minH" type="int" default=""/>
         <paramlist>
           <param name="minW" type="int" default=""/>
           <param name="minH" type="int" default=""/>
@@ -4389,8 +4448,27 @@ resizing increments are only significant under Motif or Xt.</docstring>
           <param name="incH" type="int" default="-1"/>
         </paramlist>
       </method>
           <param name="incH" type="int" default="-1"/>
         </paramlist>
       </method>
+      <method name="SetSizeHintsSz" type="" overloaded="no">
+        <autodoc>SetSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)</autodoc>
+        <docstring>Allows specification of minimum and maximum window sizes, and window
+size increments. If a pair of values is not set (or set to -1), the
+default values will be used.  If this function is called, the user
+will not be able to size the window outside the given bounds (if it is
+a top-level window.)  Sizers will also inspect the minimum window size
+and will use that value if set when calculating layout.
+
+The resizing increments are only significant under Motif or Xt.
+
+:see: `GetMinSize`, `GetMaxSize`, `SetMinSize`, `SetMaxSize`
+</docstring>
+        <paramlist>
+          <param name="minSize" type="Size" default=""/>
+          <param name="maxSize" type="Size" default="wxDefaultSize"/>
+          <param name="incSize" type="Size" default="wxDefaultSize"/>
+        </paramlist>
+      </method>
       <method name="SetVirtualSizeHints" type="" overloaded="no">
       <method name="SetVirtualSizeHints" type="" overloaded="no">
-        <autodoc>SetVirtualSizeHints(int minW, int minH, int maxW=-1, int maxH=-1)</autodoc>
+        <autodoc>SetVirtualSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1)</autodoc>
         <docstring>Allows specification of minimum and maximum virtual window sizes. If a
 pair of values is not set (or set to -1), the default values will be
 used.  If this function is called, the user will not be able to size
         <docstring>Allows specification of minimum and maximum virtual window sizes. If a
 pair of values is not set (or set to -1), the default values will be
 used.  If this function is called, the user will not be able to size
@@ -4402,23 +4480,53 @@ the virtual area of the window outside the given bounds.</docstring>
           <param name="maxH" type="int" default="-1"/>
         </paramlist>
       </method>
           <param name="maxH" type="int" default="-1"/>
         </paramlist>
       </method>
+      <method name="SetVirtualSizeHintsSz" type="" overloaded="no">
+        <autodoc>SetVirtualSizeHintsSz(self, Size minSize, Size maxSize=DefaultSize)</autodoc>
+        <docstring>Allows specification of minimum and maximum virtual window sizes. If a
+pair of values is not set (or set to -1), the default values will be
+used.  If this function is called, the user will not be able to size
+the virtual area of the window outside the given bounds.</docstring>
+        <paramlist>
+          <param name="minSize" type="Size" default=""/>
+          <param name="maxSize" type="Size" default="wxDefaultSize"/>
+        </paramlist>
+      </method>
+      <method name="GetMaxSize" type="Size" overloaded="no">
+        <autodoc>GetMaxSize(self) -&gt; Size</autodoc>
+      </method>
+      <method name="GetMinSize" type="Size" overloaded="no">
+        <autodoc>GetMinSize(self) -&gt; Size</autodoc>
+      </method>
+      <method name="SetMinSize" type="" overloaded="no">
+        <autodoc>SetMinSize(self, Size minSize)</autodoc>
+        <docstring>A more convenient method than `SetSizeHints` for setting just the
+min size.</docstring>
+        <paramlist>
+          <param name="minSize" type="Size" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetMaxSize" type="" overloaded="no">
+        <autodoc>SetMaxSize(self, Size maxSize)</autodoc>
+        <docstring>A more convenient method than `SetSizeHints` for setting just the
+max size.</docstring>
+        <paramlist>
+          <param name="maxSize" type="Size" default=""/>
+        </paramlist>
+      </method>
       <method name="GetMinWidth" type="int" overloaded="no">
       <method name="GetMinWidth" type="int" overloaded="no">
-        <autodoc>GetMinWidth() -&gt; int</autodoc>
+        <autodoc>GetMinWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetMinHeight" type="int" overloaded="no">
       </method>
       <method name="GetMinHeight" type="int" overloaded="no">
-        <autodoc>GetMinHeight() -&gt; int</autodoc>
+        <autodoc>GetMinHeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxWidth" type="int" overloaded="no">
       </method>
       <method name="GetMaxWidth" type="int" overloaded="no">
-        <autodoc>GetMaxWidth() -&gt; int</autodoc>
+        <autodoc>GetMaxWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxHeight" type="int" overloaded="no">
       </method>
       <method name="GetMaxHeight" type="int" overloaded="no">
-        <autodoc>GetMaxHeight() -&gt; int</autodoc>
-      </method>
-      <method name="GetMaxSize" type="Size" overloaded="no">
-        <autodoc>GetMaxSize() -&gt; Size</autodoc>
+        <autodoc>GetMaxHeight(self) -&gt; int</autodoc>
       </method>
       <method name="SetVirtualSize" type="" overloaded="no">
       </method>
       <method name="SetVirtualSize" type="" overloaded="no">
-        <autodoc>SetVirtualSize(Size size)</autodoc>
+        <autodoc>SetVirtualSize(self, Size size)</autodoc>
         <docstring>Set the the virtual size of a window in pixels.  For most windows this
 is just the client area of the window, but for some like scrolled
 windows it is more or less independent of the screen window size.</docstring>
         <docstring>Set the the virtual size of a window in pixels.  For most windows this
 is just the client area of the window, but for some like scrolled
 windows it is more or less independent of the screen window size.</docstring>
@@ -4427,7 +4535,7 @@ windows it is more or less independent of the screen window size.</docstring>
         </paramlist>
       </method>
       <method name="SetVirtualSizeWH" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetVirtualSizeWH" type="" overloaded="no">
-        <autodoc>SetVirtualSizeWH(int w, int h)</autodoc>
+        <autodoc>SetVirtualSizeWH(self, int w, int h)</autodoc>
         <docstring>Set the the virtual size of a window in pixels.  For most windows this
 is just the client area of the window, but for some like scrolled
 windows it is more or less independent of the screen window size.</docstring>
         <docstring>Set the the virtual size of a window in pixels.  For most windows this
 is just the client area of the window, but for some like scrolled
 windows it is more or less independent of the screen window size.</docstring>
@@ -4437,7 +4545,7 @@ windows it is more or less independent of the screen window size.</docstring>
         </paramlist>
       </method>
       <method name="GetVirtualSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="GetVirtualSize" type="Size" overloaded="no">
-        <autodoc>GetVirtualSize() -&gt; Size</autodoc>
+        <autodoc>GetVirtualSize(self) -&gt; Size</autodoc>
         <docstring>Get the the virtual size of the window in pixels.  For most windows
 this is just the client area of the window, but for some like scrolled
 windows it is more or less independent of the screen window size.</docstring>
         <docstring>Get the the virtual size of the window in pixels.  For most windows
 this is just the client area of the window, but for some like scrolled
 windows it is more or less independent of the screen window size.</docstring>
@@ -4453,12 +4561,12 @@ windows it is more or less independent of the screen window size.</docstring>
         </paramlist>
       </method>
       <method name="GetBestVirtualSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBestVirtualSize" type="Size" overloaded="no">
-        <autodoc>GetBestVirtualSize() -&gt; Size</autodoc>
+        <autodoc>GetBestVirtualSize(self) -&gt; Size</autodoc>
         <docstring>Return the largest of ClientSize and BestSize (as determined by a
 sizer, interior children, or other means)</docstring>
       </method>
       <method name="Show" type="bool" overloaded="no">
         <docstring>Return the largest of ClientSize and BestSize (as determined by a
 sizer, interior children, or other means)</docstring>
       </method>
       <method name="Show" type="bool" overloaded="no">
-        <autodoc>Show(bool show=True) -&gt; bool</autodoc>
+        <autodoc>Show(self, bool show=True) -&gt; bool</autodoc>
         <docstring>Shows or hides the window. You may need to call Raise for a top level
 window if you want to bring it to top, although this is not needed if
 Show is called immediately after the frame creation.  Returns True if
         <docstring>Shows or hides the window. You may need to call Raise for a top level
 window if you want to bring it to top, although this is not needed if
 Show is called immediately after the frame creation.  Returns True if
@@ -4469,11 +4577,11 @@ because it already was in the requested state.</docstring>
         </paramlist>
       </method>
       <method name="Hide" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Hide" type="bool" overloaded="no">
-        <autodoc>Hide() -&gt; bool</autodoc>
+        <autodoc>Hide(self) -&gt; bool</autodoc>
         <docstring>Equivalent to calling Show(False).</docstring>
       </method>
       <method name="Enable" type="bool" overloaded="no">
         <docstring>Equivalent to calling Show(False).</docstring>
       </method>
       <method name="Enable" type="bool" overloaded="no">
-        <autodoc>Enable(bool enable=True) -&gt; bool</autodoc>
+        <autodoc>Enable(self, bool enable=True) -&gt; bool</autodoc>
         <docstring>Enable or disable the window for user input. Note that when a parent
 window is disabled, all of its children are disabled as well and they
 are reenabled again when the parent is.  Returns true if the window
         <docstring>Enable or disable the window for user input. Note that when a parent
 window is disabled, all of its children are disabled as well and they
 are reenabled again when the parent is.  Returns true if the window
@@ -4484,45 +4592,46 @@ window had already been in the specified state.</docstring>
         </paramlist>
       </method>
       <method name="Disable" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Disable" type="bool" overloaded="no">
-        <autodoc>Disable() -&gt; bool</autodoc>
+        <autodoc>Disable(self) -&gt; bool</autodoc>
         <docstring>Disables the window, same as Enable(false).</docstring>
       </method>
       <method name="IsShown" type="bool" overloaded="no">
         <docstring>Disables the window, same as Enable(false).</docstring>
       </method>
       <method name="IsShown" type="bool" overloaded="no">
-        <autodoc>IsShown() -&gt; bool</autodoc>
+        <autodoc>IsShown(self) -&gt; bool</autodoc>
         <docstring>Returns true if the window is shown, false if it has been hidden.</docstring>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
         <docstring>Returns true if the window is shown, false if it has been hidden.</docstring>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
-        <autodoc>IsEnabled() -&gt; bool</autodoc>
+        <autodoc>IsEnabled(self) -&gt; bool</autodoc>
         <docstring>Returns true if the window is enabled for input, false otherwise.</docstring>
       </method>
       <method name="SetWindowStyleFlag" type="" overloaded="no">
         <docstring>Returns true if the window is enabled for input, false otherwise.</docstring>
       </method>
       <method name="SetWindowStyleFlag" type="" overloaded="no">
-        <autodoc>SetWindowStyleFlag(long style)</autodoc>
+        <autodoc>SetWindowStyleFlag(self, long style)</autodoc>
         <docstring>Sets the style of the window. Please note that some styles cannot be
         <docstring>Sets the style of the window. Please note that some styles cannot be
-changed after the window creation and that Refresh() might be called
-after changing the others for the change to take place immediately.</docstring>
+changed after the window creation and that Refresh() might need to be
+called after changing the others for the change to take place
+immediately.</docstring>
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetWindowStyleFlag" type="long" overloaded="no">
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetWindowStyleFlag" type="long" overloaded="no">
-        <autodoc>GetWindowStyleFlag() -&gt; long</autodoc>
+        <autodoc>GetWindowStyleFlag(self) -&gt; long</autodoc>
         <docstring>Gets the window style that was passed to the constructor or Create
 method.</docstring>
       </method>
       <method name="HasFlag" type="bool" overloaded="no">
         <docstring>Gets the window style that was passed to the constructor or Create
 method.</docstring>
       </method>
       <method name="HasFlag" type="bool" overloaded="no">
-        <autodoc>HasFlag(int flag) -&gt; bool</autodoc>
+        <autodoc>HasFlag(self, int flag) -&gt; bool</autodoc>
         <docstring>Test if the given style is set for this window.</docstring>
         <paramlist>
           <param name="flag" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsRetained" type="bool" overloaded="no">
         <docstring>Test if the given style is set for this window.</docstring>
         <paramlist>
           <param name="flag" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsRetained" type="bool" overloaded="no">
-        <autodoc>IsRetained() -&gt; bool</autodoc>
+        <autodoc>IsRetained(self) -&gt; bool</autodoc>
         <docstring>Returns true if the window is retained, false otherwise.  Retained
 windows are only available on X platforms.</docstring>
       </method>
       <method name="SetExtraStyle" type="" overloaded="no">
         <docstring>Returns true if the window is retained, false otherwise.  Retained
 windows are only available on X platforms.</docstring>
       </method>
       <method name="SetExtraStyle" type="" overloaded="no">
-        <autodoc>SetExtraStyle(long exStyle)</autodoc>
+        <autodoc>SetExtraStyle(self, long exStyle)</autodoc>
         <docstring>Sets the extra style bits for the window.  Extra styles are the less
 often used style bits which can't be set with the constructor or with
 SetWindowStyleFlag()</docstring>
         <docstring>Sets the extra style bits for the window.  Extra styles are the less
 often used style bits which can't be set with the constructor or with
 SetWindowStyleFlag()</docstring>
@@ -4531,11 +4640,11 @@ SetWindowStyleFlag()</docstring>
         </paramlist>
       </method>
       <method name="GetExtraStyle" type="long" overloaded="no">
         </paramlist>
       </method>
       <method name="GetExtraStyle" type="long" overloaded="no">
-        <autodoc>GetExtraStyle() -&gt; long</autodoc>
+        <autodoc>GetExtraStyle(self) -&gt; long</autodoc>
         <docstring>Returns the extra style bits for the window.</docstring>
       </method>
       <method name="MakeModal" type="" overloaded="no">
         <docstring>Returns the extra style bits for the window.</docstring>
       </method>
       <method name="MakeModal" type="" overloaded="no">
-        <autodoc>MakeModal(bool modal=True)</autodoc>
+        <autodoc>MakeModal(self, bool modal=True)</autodoc>
         <docstring>Disables all other windows in the application so that the user can
 only interact with this window.  Passing False will reverse this
 effect.</docstring>
         <docstring>Disables all other windows in the application so that the user can
 only interact with this window.  Passing False will reverse this
 effect.</docstring>
@@ -4544,7 +4653,7 @@ effect.</docstring>
         </paramlist>
       </method>
       <method name="SetThemeEnabled" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetThemeEnabled" type="" overloaded="no">
-        <autodoc>SetThemeEnabled(bool enableTheme)</autodoc>
+        <autodoc>SetThemeEnabled(self, bool enableTheme)</autodoc>
         <docstring>This function tells a window if it should use the system's "theme"
  code to draw the windows' background instead if its own background
  drawing code. This will only have an effect on platforms that support
         <docstring>This function tells a window if it should use the system's "theme"
  code to draw the windows' background instead if its own background
  drawing code. This will only have an effect on platforms that support
@@ -4559,15 +4668,15 @@ by default so that the default look and feel is simulated best.</docstring>
         </paramlist>
       </method>
       <method name="GetThemeEnabled" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetThemeEnabled" type="bool" overloaded="no">
-        <autodoc>GetThemeEnabled() -&gt; bool</autodoc>
+        <autodoc>GetThemeEnabled(self) -&gt; bool</autodoc>
         <docstring>Return the themeEnabled flag.</docstring>
       </method>
       <method name="SetFocus" type="" overloaded="no">
         <docstring>Return the themeEnabled flag.</docstring>
       </method>
       <method name="SetFocus" type="" overloaded="no">
-        <autodoc>SetFocus()</autodoc>
+        <autodoc>SetFocus(self)</autodoc>
         <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring>
       </method>
       <method name="SetFocusFromKbd" type="" overloaded="no">
         <docstring>Set's the focus to this window, allowing it to receive keyboard input.</docstring>
       </method>
       <method name="SetFocusFromKbd" type="" overloaded="no">
-        <autodoc>SetFocusFromKbd()</autodoc>
+        <autodoc>SetFocusFromKbd(self)</autodoc>
         <docstring>Set focus to this window as the result of a keyboard action.  Normally
 only called internally.</docstring>
       </method>
         <docstring>Set focus to this window as the result of a keyboard action.  Normally
 only called internally.</docstring>
       </method>
@@ -4577,57 +4686,103 @@ only called internally.</docstring>
 or None.</docstring>
       </staticmethod>
       <method name="AcceptsFocus" type="bool" overloaded="no">
 or None.</docstring>
       </staticmethod>
       <method name="AcceptsFocus" type="bool" overloaded="no">
-        <autodoc>AcceptsFocus() -&gt; bool</autodoc>
+        <autodoc>AcceptsFocus(self) -&gt; bool</autodoc>
         <docstring>Can this window have focus?</docstring>
       </method>
       <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no">
         <docstring>Can this window have focus?</docstring>
       </method>
       <method name="AcceptsFocusFromKeyboard" type="bool" overloaded="no">
-        <autodoc>AcceptsFocusFromKeyboard() -&gt; bool</autodoc>
+        <autodoc>AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
         <docstring>Can this window be given focus by keyboard navigation? if not, the
 only way to give it focus (provided it accepts it at all) is to click
 it.</docstring>
       </method>
       <method name="GetDefaultItem" type="Window" overloaded="no">
         <docstring>Can this window be given focus by keyboard navigation? if not, the
 only way to give it focus (provided it accepts it at all) is to click
 it.</docstring>
       </method>
       <method name="GetDefaultItem" type="Window" overloaded="no">
-        <autodoc>GetDefaultItem() -&gt; Window</autodoc>
+        <autodoc>GetDefaultItem(self) -&gt; Window</autodoc>
         <docstring>Get the default child of this parent, i.e. the one which is activated
 by pressing &lt;Enter&gt; such as the OK button on a wx.Dialog.</docstring>
       </method>
       <method name="SetDefaultItem" type="Window" overloaded="no">
         <docstring>Get the default child of this parent, i.e. the one which is activated
 by pressing &lt;Enter&gt; such as the OK button on a wx.Dialog.</docstring>
       </method>
       <method name="SetDefaultItem" type="Window" overloaded="no">
-        <autodoc>SetDefaultItem(Window child) -&gt; Window</autodoc>
+        <autodoc>SetDefaultItem(self, Window child) -&gt; Window</autodoc>
         <docstring>Set this child as default, return the old default.</docstring>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetTmpDefaultItem" type="" overloaded="no">
         <docstring>Set this child as default, return the old default.</docstring>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetTmpDefaultItem" type="" overloaded="no">
-        <autodoc>SetTmpDefaultItem(Window win)</autodoc>
+        <autodoc>SetTmpDefaultItem(self, Window win)</autodoc>
         <docstring>Set this child as temporary default</docstring>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
       </method>
         <docstring>Set this child as temporary default</docstring>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
       </method>
+      <method name="Navigate" type="bool" overloaded="no">
+        <autodoc>Navigate(self, int flags=NavigationKeyEvent.IsForward) -&gt; bool</autodoc>
+        <docstring>Does keyboard navigation from this window to another, by sending a
+`wx.NavigationKeyEvent`.
+    :param flags: A combination of the ``IsForward`` or ``IsBackward``
+        and the ``WinChange`` values in the `wx.NavigationKeyEvent`
+        class, which determine if the navigation should be in forward
+        or reverse order, and if it should be able to cross parent
+        window boundaries, such as between notebook pages or MDI child
+        frames.  Typically the status of the Shift key (for forward or
+        backward) or the Control key (for WinChange) would be used to
+        determine how to set the flags.
+
+One situation in which you may wish to call this method is from a text
+control custom keypress handler to do the default navigation behaviour
+for the tab key, since the standard default behaviour for a multiline
+text control with the wx.TE_PROCESS_TAB style is to insert a tab and
+not navigate to the next control.</docstring>
+        <paramlist>
+          <param name="flags" type="int" default="wxNavigationKeyEvent::IsForward"/>
+        </paramlist>
+      </method>
+      <method name="MoveAfterInTabOrder" type="" overloaded="no">
+        <autodoc>MoveAfterInTabOrder(self, Window win)</autodoc>
+        <docstring>Moves this window in the tab navigation order after the specified
+sibling window.  This means that when the user presses the TAB key on
+that other window, the focus switches to this window.
+
+The default tab order is the same as creation order.  This function
+and `MoveBeforeInTabOrder` allow to change it after creating all the
+windows.
+</docstring>
+        <paramlist>
+          <param name="win" type="Window" default=""/>
+        </paramlist>
+      </method>
+      <method name="MoveBeforeInTabOrder" type="" overloaded="no">
+        <autodoc>MoveBeforeInTabOrder(self, Window win)</autodoc>
+        <docstring>Same as `MoveAfterInTabOrder` except that it inserts this window just
+before win instead of putting it right after it.</docstring>
+        <paramlist>
+          <param name="win" type="Window" default=""/>
+        </paramlist>
+      </method>
       <method name="GetChildren" type="PyObject" overloaded="no">
       <method name="GetChildren" type="PyObject" overloaded="no">
-        <autodoc>GetChildren() -&gt; PyObject</autodoc>
+        <autodoc>GetChildren(self) -&gt; PyObject</autodoc>
         <docstring>Returns a list of the window's children.  NOTE: Currently this is a
 copy of the child window list maintained by the window, so the return
 value of this function is only valid as long as the window's children
 do not change.</docstring>
       </method>
       <method name="GetParent" type="Window" overloaded="no">
         <docstring>Returns a list of the window's children.  NOTE: Currently this is a
 copy of the child window list maintained by the window, so the return
 value of this function is only valid as long as the window's children
 do not change.</docstring>
       </method>
       <method name="GetParent" type="Window" overloaded="no">
-        <autodoc>GetParent() -&gt; Window</autodoc>
+        <autodoc>GetParent(self) -&gt; Window</autodoc>
         <docstring>Returns the parent window of this window, or None if there isn't one.</docstring>
       </method>
       <method name="GetGrandParent" type="Window" overloaded="no">
         <docstring>Returns the parent window of this window, or None if there isn't one.</docstring>
       </method>
       <method name="GetGrandParent" type="Window" overloaded="no">
-        <autodoc>GetGrandParent() -&gt; Window</autodoc>
-        <docstring>Returns the parent of the parent of this window, or None if there isn't one.</docstring>
+        <autodoc>GetGrandParent(self) -&gt; Window</autodoc>
+        <docstring>Returns the parent of the parent of this window, or None if there
+isn't one.</docstring>
       </method>
       <method name="IsTopLevel" type="bool" overloaded="no">
       </method>
       <method name="IsTopLevel" type="bool" overloaded="no">
-        <autodoc>IsTopLevel() -&gt; bool</autodoc>
+        <autodoc>IsTopLevel(self) -&gt; bool</autodoc>
         <docstring>Returns true if the given window is a top-level one. Currently all
 frames and dialogs are always considered to be top-level windows (even
 if they have a parent window).</docstring>
       </method>
       <method name="Reparent" type="bool" overloaded="no">
         <docstring>Returns true if the given window is a top-level one. Currently all
 frames and dialogs are always considered to be top-level windows (even
 if they have a parent window).</docstring>
       </method>
       <method name="Reparent" type="bool" overloaded="no">
-        <autodoc>Reparent(Window newParent) -&gt; bool</autodoc>
+        <autodoc>Reparent(self, Window newParent) -&gt; bool</autodoc>
         <docstring>Reparents the window, i.e the window will be removed from its current
 parent window (e.g. a non-standard toolbar in a wxFrame) and then
 re-inserted into another. Available on Windows and GTK.  Returns True
         <docstring>Reparents the window, i.e the window will be removed from its current
 parent window (e.g. a non-standard toolbar in a wxFrame) and then
 re-inserted into another. Available on Windows and GTK.  Returns True
@@ -4638,7 +4793,7 @@ oldParent)</docstring>
         </paramlist>
       </method>
       <method name="AddChild" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="AddChild" type="" overloaded="no">
-        <autodoc>AddChild(Window child)</autodoc>
+        <autodoc>AddChild(self, Window child)</autodoc>
         <docstring>Adds a child window. This is called automatically by window creation
 functions so should not be required by the application programmer.</docstring>
         <paramlist>
         <docstring>Adds a child window. This is called automatically by window creation
 functions so should not be required by the application programmer.</docstring>
         <paramlist>
@@ -4646,7 +4801,7 @@ functions so should not be required by the application programmer.</docstring>
         </paramlist>
       </method>
       <method name="RemoveChild" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="RemoveChild" type="" overloaded="no">
-        <autodoc>RemoveChild(Window child)</autodoc>
+        <autodoc>RemoveChild(self, Window child)</autodoc>
         <docstring>Removes a child window. This is called automatically by window
 deletion functions so should not be required by the application
 programmer.</docstring>
         <docstring>Removes a child window. This is called automatically by window
 deletion functions so should not be required by the application
 programmer.</docstring>
@@ -4655,33 +4810,33 @@ programmer.</docstring>
         </paramlist>
       </method>
       <method name="FindWindowById" type="Window" overloaded="no">
         </paramlist>
       </method>
       <method name="FindWindowById" type="Window" overloaded="no">
-        <autodoc>FindWindowById(long winid) -&gt; Window</autodoc>
+        <autodoc>FindWindowById(self, long winid) -&gt; Window</autodoc>
         <docstring>Find a chld of this window by window ID</docstring>
         <paramlist>
           <param name="winid" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindWindowByName" type="Window" overloaded="no">
         <docstring>Find a chld of this window by window ID</docstring>
         <paramlist>
           <param name="winid" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindWindowByName" type="Window" overloaded="no">
-        <autodoc>FindWindowByName(String name) -&gt; Window</autodoc>
+        <autodoc>FindWindowByName(self, String name) -&gt; Window</autodoc>
         <docstring>Find a child of this window by name</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetEventHandler" type="EvtHandler" overloaded="no">
         <docstring>Find a child of this window by name</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetEventHandler" type="EvtHandler" overloaded="no">
-        <autodoc>GetEventHandler() -&gt; EvtHandler</autodoc>
+        <autodoc>GetEventHandler(self) -&gt; EvtHandler</autodoc>
         <docstring>Returns the event handler for this window. By default, the window is
 its own event handler.</docstring>
       </method>
       <method name="SetEventHandler" type="" overloaded="no">
         <docstring>Returns the event handler for this window. By default, the window is
 its own event handler.</docstring>
       </method>
       <method name="SetEventHandler" type="" overloaded="no">
-        <autodoc>SetEventHandler(EvtHandler handler)</autodoc>
+        <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc>
         <docstring>Sets the event handler for this window.  An event handler is an object
 that is capable of processing the events sent to a window. By default,
 the window is its own event handler, but an application may wish to
 substitute another, for example to allow central implementation of
 event-handling for a variety of different window classes.
 
         <docstring>Sets the event handler for this window.  An event handler is an object
 that is capable of processing the events sent to a window. By default,
 the window is its own event handler, but an application may wish to
 substitute another, for example to allow central implementation of
 event-handling for a variety of different window classes.
 
-It is usually better to use wx.Window.PushEventHandler since this sets
+It is usually better to use `wx.Window.PushEventHandler` since this sets
 up a chain of event handlers, where an event not handled by one event
 handler is handed to the next one in the chain.</docstring>
         <paramlist>
 up a chain of event handlers, where an event not handled by one event
 handler is handed to the next one in the chain.</docstring>
         <paramlist>
@@ -4689,7 +4844,7 @@ handler is handed to the next one in the chain.</docstring>
         </paramlist>
       </method>
       <method name="PushEventHandler" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="PushEventHandler" type="" overloaded="no">
-        <autodoc>PushEventHandler(EvtHandler handler)</autodoc>
+        <autodoc>PushEventHandler(self, EvtHandler handler)</autodoc>
         <docstring>Pushes this event handler onto the event handler stack for the window.
 An event handler is an object that is capable of processing the events
 sent to a window. By default, the window is its own event handler, but
         <docstring>Pushes this event handler onto the event handler stack for the window.
 An event handler is an object that is capable of processing the events
 sent to a window. By default, the window is its own event handler, but
@@ -4699,14 +4854,14 @@ window classes.
 
 wx.Window.PushEventHandler allows an application to set up a chain of
 event handlers, where an event not handled by one event handler is
 
 wx.Window.PushEventHandler allows an application to set up a chain of
 event handlers, where an event not handled by one event handler is
-handed to the next one in the chain. Use wx.Window.PopEventHandler to
+handed to the next one in the chain. Use `wx.Window.PopEventHandler` to
 remove the event handler.</docstring>
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="PopEventHandler" type="EvtHandler" overloaded="no">
 remove the event handler.</docstring>
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="PopEventHandler" type="EvtHandler" overloaded="no">
-        <autodoc>PopEventHandler(bool deleteHandler=False) -&gt; EvtHandler</autodoc>
+        <autodoc>PopEventHandler(self, bool deleteHandler=False) -&gt; EvtHandler</autodoc>
         <docstring>Removes and returns the top-most event handler on the event handler
 stack.  If deleteHandler is True then the wx.EvtHandler object will be
 destroyed after it is popped.</docstring>
         <docstring>Removes and returns the top-most event handler on the event handler
 stack.  If deleteHandler is True then the wx.EvtHandler object will be
 destroyed after it is popped.</docstring>
@@ -4715,18 +4870,18 @@ destroyed after it is popped.</docstring>
         </paramlist>
       </method>
       <method name="RemoveEventHandler" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="RemoveEventHandler" type="bool" overloaded="no">
-        <autodoc>RemoveEventHandler(EvtHandler handler) -&gt; bool</autodoc>
-        <docstring>Find the given handler in the event handler chain and remove (but
-not delete) it from the event handler chain, return True if it was
-found and False otherwise (this also results in an assert failure so
-this function should only be called when the handler is supposed to
-be there.)</docstring>
+        <autodoc>RemoveEventHandler(self, EvtHandler handler) -&gt; bool</autodoc>
+        <docstring>Find the given handler in the event handler chain and remove (but not
+delete) it from the event handler chain, return True if it was found
+and False otherwise (this also results in an assert failure so this
+function should only be called when the handler is supposed to be
+there.)</docstring>
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="SetValidator" type="" overloaded="no">
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="SetValidator" type="" overloaded="no">
-        <autodoc>SetValidator(Validator validator)</autodoc>
+        <autodoc>SetValidator(self, Validator validator)</autodoc>
         <docstring>Deletes the current validator (if any) and sets the window validator,
 having called wx.Validator.Clone to create a new validator of this
 type.</docstring>
         <docstring>Deletes the current validator (if any) and sets the window validator,
 having called wx.Validator.Clone to create a new validator of this
 type.</docstring>
@@ -4735,23 +4890,49 @@ type.</docstring>
         </paramlist>
       </method>
       <method name="GetValidator" type="wxValidator" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValidator" type="wxValidator" overloaded="no">
-        <autodoc>GetValidator() -&gt; Validator</autodoc>
+        <autodoc>GetValidator(self) -&gt; Validator</autodoc>
         <docstring>Returns a pointer to the current validator for the window, or None if
 there is none.</docstring>
         <docstring>Returns a pointer to the current validator for the window, or None if
 there is none.</docstring>
+      </method>
+      <method name="Validate" type="bool" overloaded="no">
+        <autodoc>Validate(self) -&gt; bool</autodoc>
+        <docstring>Validates the current values of the child controls using their
+validators.  If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
+style flag set, the method will also call Validate() of all child
+windows.  Returns false if any of the validations failed.</docstring>
+      </method>
+      <method name="TransferDataToWindow" type="bool" overloaded="no">
+        <autodoc>TransferDataToWindow(self) -&gt; bool</autodoc>
+        <docstring>Transfers values to child controls from data areas specified by their
+validators.  If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra
+style flag set, the method will also call TransferDataToWindow() of
+all child windows.</docstring>
+      </method>
+      <method name="TransferDataFromWindow" type="bool" overloaded="no">
+        <autodoc>TransferDataFromWindow(self) -&gt; bool</autodoc>
+        <docstring>Transfers values from child controls to data areas specified by their
+validators. Returns false if a transfer failed.  If the window has
+wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will
+also call TransferDataFromWindow() of all child windows.</docstring>
+      </method>
+      <method name="InitDialog" type="" overloaded="no">
+        <autodoc>InitDialog(self)</autodoc>
+        <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
+to the dialog via validators.</docstring>
       </method>
       <method name="SetAcceleratorTable" type="" overloaded="no">
       </method>
       <method name="SetAcceleratorTable" type="" overloaded="no">
-        <autodoc>SetAcceleratorTable(AcceleratorTable accel)</autodoc>
+        <autodoc>SetAcceleratorTable(self, AcceleratorTable accel)</autodoc>
         <docstring>Sets the accelerator table for this window.</docstring>
         <paramlist>
           <param name="accel" type="AcceleratorTable" default=""/>
         </paramlist>
       </method>
       <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no">
         <docstring>Sets the accelerator table for this window.</docstring>
         <paramlist>
           <param name="accel" type="AcceleratorTable" default=""/>
         </paramlist>
       </method>
       <method name="GetAcceleratorTable" type="AcceleratorTable" overloaded="no">
-        <autodoc>GetAcceleratorTable() -&gt; AcceleratorTable</autodoc>
+        <autodoc>GetAcceleratorTable(self) -&gt; AcceleratorTable</autodoc>
         <docstring>Gets the accelerator table for this window.</docstring>
       </method>
       <method name="RegisterHotKey" type="bool" overloaded="no">
         <docstring>Gets the accelerator table for this window.</docstring>
       </method>
       <method name="RegisterHotKey" type="bool" overloaded="no">
-        <autodoc>RegisterHotKey(int hotkeyId, int modifiers, int keycode) -&gt; bool</autodoc>
+        <autodoc>RegisterHotKey(self, int hotkeyId, int modifiers, int keycode) -&gt; bool</autodoc>
         <docstring>Registers a system wide hotkey. Every time the user presses the hotkey
 registered here, this window will receive a hotkey event. It will
 receive the event even if the application is in the background and
         <docstring>Registers a system wide hotkey. Every time the user presses the hotkey
 registered here, this window will receive a hotkey event. It will
 receive the event even if the application is in the background and
@@ -4766,14 +4947,14 @@ hotkey was registered successfully.</docstring>
         </paramlist>
       </method>
       <method name="UnregisterHotKey" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="UnregisterHotKey" type="bool" overloaded="no">
-        <autodoc>UnregisterHotKey(int hotkeyId) -&gt; bool</autodoc>
+        <autodoc>UnregisterHotKey(self, int hotkeyId) -&gt; bool</autodoc>
         <docstring>Unregisters a system wide hotkey.</docstring>
         <paramlist>
           <param name="hotkeyId" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ConvertDialogPointToPixels" type="Point" overloaded="no">
         <docstring>Unregisters a system wide hotkey.</docstring>
         <paramlist>
           <param name="hotkeyId" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ConvertDialogPointToPixels" type="Point" overloaded="no">
-        <autodoc>ConvertDialogPointToPixels(Point pt) -&gt; Point</autodoc>
+        <autodoc>ConvertDialogPointToPixels(self, Point pt) -&gt; Point</autodoc>
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
@@ -4785,7 +4966,7 @@ then divided by 8.</docstring>
         </paramlist>
       </method>
       <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="ConvertDialogSizeToPixels" type="Size" overloaded="no">
-        <autodoc>ConvertDialogSizeToPixels(Size sz) -&gt; Size</autodoc>
+        <autodoc>ConvertDialogSizeToPixels(self, Size sz) -&gt; Size</autodoc>
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
@@ -4797,7 +4978,7 @@ then divided by 8.</docstring>
         </paramlist>
       </method>
       <method name="DLG_PNT" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="DLG_PNT" type="Point" overloaded="no">
-        <autodoc>DLG_PNT(Point pt) -&gt; Point</autodoc>
+        <autodoc>DLG_PNT(self, Point pt) -&gt; Point</autodoc>
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
@@ -4809,7 +4990,7 @@ then divided by 8.</docstring>
         </paramlist>
       </method>
       <method name="DLG_SZE" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="DLG_SZE" type="Size" overloaded="no">
-        <autodoc>DLG_SZE(Size sz) -&gt; Size</autodoc>
+        <autodoc>DLG_SZE(self, Size sz) -&gt; Size</autodoc>
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
         <docstring>Converts a point or size from dialog units to pixels.  Dialog units
 are used for maintaining a dialog's proportions even if the font
 changes. For the x dimension, the dialog units are multiplied by the
@@ -4821,19 +5002,19 @@ then divided by 8.</docstring>
         </paramlist>
       </method>
       <method name="ConvertPixelPointToDialog" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="ConvertPixelPointToDialog" type="Point" overloaded="no">
-        <autodoc>ConvertPixelPointToDialog(Point pt) -&gt; Point</autodoc>
+        <autodoc>ConvertPixelPointToDialog(self, Point pt) -&gt; Point</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ConvertPixelSizeToDialog" type="Size" overloaded="no">
-        <autodoc>ConvertPixelSizeToDialog(Size sz) -&gt; Size</autodoc>
+        <autodoc>ConvertPixelSizeToDialog(self, Size sz) -&gt; Size</autodoc>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="WarpPointer" type="" overloaded="no">
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="WarpPointer" type="" overloaded="no">
-        <autodoc>WarpPointer(int x, int y)</autodoc>
+        <autodoc>WarpPointer(self, int x, int y)</autodoc>
         <docstring>Moves the pointer to the given position on the window.
 
 NOTE: This function is not supported under Mac because Apple Human
         <docstring>Moves the pointer to the given position on the window.
 
 NOTE: This function is not supported under Mac because Apple Human
@@ -4844,7 +5025,7 @@ Interface Guidelines forbid moving the mouse cursor programmatically.</docstring
         </paramlist>
       </method>
       <method name="CaptureMouse" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="CaptureMouse" type="" overloaded="no">
-        <autodoc>CaptureMouse()</autodoc>
+        <autodoc>CaptureMouse(self)</autodoc>
         <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to
 release the capture.
 
         <docstring>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to
 release the capture.
 
@@ -4855,7 +5036,7 @@ there were no previous window. In particular, this means that you must
 release the mouse as many times as you capture it.</docstring>
       </method>
       <method name="ReleaseMouse" type="" overloaded="no">
 release the mouse as many times as you capture it.</docstring>
       </method>
       <method name="ReleaseMouse" type="" overloaded="no">
-        <autodoc>ReleaseMouse()</autodoc>
+        <autodoc>ReleaseMouse(self)</autodoc>
         <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring>
       </method>
       <staticmethod name="GetCapture" type="Window" overloaded="no">
         <docstring>Releases mouse input captured with wx.Window.CaptureMouse.</docstring>
       </method>
       <staticmethod name="GetCapture" type="Window" overloaded="no">
@@ -4863,11 +5044,11 @@ release the mouse as many times as you capture it.</docstring>
         <docstring>Returns the window which currently captures the mouse or None</docstring>
       </staticmethod>
       <method name="HasCapture" type="bool" overloaded="no">
         <docstring>Returns the window which currently captures the mouse or None</docstring>
       </staticmethod>
       <method name="HasCapture" type="bool" overloaded="no">
-        <autodoc>HasCapture() -&gt; bool</autodoc>
+        <autodoc>HasCapture(self) -&gt; bool</autodoc>
         <docstring>Returns true if this window has the current mouse capture.</docstring>
       </method>
       <method name="Refresh" type="" overloaded="no">
         <docstring>Returns true if this window has the current mouse capture.</docstring>
       </method>
       <method name="Refresh" type="" overloaded="no">
-        <autodoc>Refresh(bool eraseBackground=True, Rect rect=None)</autodoc>
+        <autodoc>Refresh(self, bool eraseBackground=True, Rect rect=None)</autodoc>
         <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it
 will be repainted.  Causes an EVT_PAINT event to be generated and sent
 to the window.</docstring>
         <docstring>Mark the specified rectangle (or the whole window) as "dirty" so it
 will be repainted.  Causes an EVT_PAINT event to be generated and sent
 to the window.</docstring>
@@ -4877,7 +5058,7 @@ to the window.</docstring>
         </paramlist>
       </method>
       <method name="RefreshRect" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="RefreshRect" type="" overloaded="no">
-        <autodoc>RefreshRect(Rect rect)</autodoc>
+        <autodoc>RefreshRect(self, Rect rect)</autodoc>
         <docstring>Redraws the contents of the given rectangle: the area inside it will
 be repainted.  This is the same as Refresh but has a nicer syntax.</docstring>
         <paramlist>
         <docstring>Redraws the contents of the given rectangle: the area inside it will
 be repainted.  This is the same as Refresh but has a nicer syntax.</docstring>
         <paramlist>
@@ -4885,7 +5066,7 @@ be repainted.  This is the same as Refresh but has a nicer syntax.</docstring>
         </paramlist>
       </method>
       <method name="Update" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Update" type="" overloaded="no">
-        <autodoc>Update()</autodoc>
+        <autodoc>Update(self)</autodoc>
         <docstring>Calling this method immediately repaints the invalidated area of the
 window instead of waiting for the EVT_PAINT event to happen, (normally
 this would usually only happen when the flow of control returns to the
         <docstring>Calling this method immediately repaints the invalidated area of the
 window instead of waiting for the EVT_PAINT event to happen, (normally
 this would usually only happen when the flow of control returns to the
@@ -4895,16 +5076,17 @@ first if you want to immediately redraw the window (or some portion of
 it) unconditionally.</docstring>
       </method>
       <method name="ClearBackground" type="" overloaded="no">
 it) unconditionally.</docstring>
       </method>
       <method name="ClearBackground" type="" overloaded="no">
-        <autodoc>ClearBackground()</autodoc>
+        <autodoc>ClearBackground(self)</autodoc>
         <docstring>Clears the window by filling it with the current background
 colour. Does not cause an erase background event to be generated.</docstring>
       </method>
       <method name="Freeze" type="" overloaded="no">
         <docstring>Clears the window by filling it with the current background
 colour. Does not cause an erase background event to be generated.</docstring>
       </method>
       <method name="Freeze" type="" overloaded="no">
-        <autodoc>Freeze()</autodoc>
-        <docstring>Freezes the window or, in other words, prevents any updates from taking place
-on screen, the window is not redrawn at all. Thaw must be called to reenable
-window redrawing.  Calls to Freeze/Thaw may be nested, with the actual Thaw
-being delayed until all the nesting has been undone.
+        <autodoc>Freeze(self)</autodoc>
+        <docstring>Freezes the window or, in other words, prevents any updates from
+taking place on screen, the window is not redrawn at all. Thaw must be
+called to reenable window redrawing.  Calls to Freeze/Thaw may be
+nested, with the actual Thaw being delayed until all the nesting has
+been undone.
 
 This method is useful for visual appearance optimization (for example,
 it is a good idea to use it before inserting large amount of text into
 
 This method is useful for visual appearance optimization (for example,
 it is a good idea to use it before inserting large amount of text into
@@ -4913,13 +5095,13 @@ for all controls so it is mostly just a hint to wxWindows and not a
 mandatory directive.</docstring>
       </method>
       <method name="Thaw" type="" overloaded="no">
 mandatory directive.</docstring>
       </method>
       <method name="Thaw" type="" overloaded="no">
-        <autodoc>Thaw()</autodoc>
+        <autodoc>Thaw(self)</autodoc>
         <docstring>Reenables window updating after a previous call to Freeze.  Calls to
         <docstring>Reenables window updating after a previous call to Freeze.  Calls to
-Freeze/Thaw may be nested, so Thaw must be called the same number of times
-that Freeze was before the window will be updated.</docstring>
+Freeze/Thaw may be nested, so Thaw must be called the same number of
+times that Freeze was before the window will be updated.</docstring>
       </method>
       <method name="PrepareDC" type="" overloaded="no">
       </method>
       <method name="PrepareDC" type="" overloaded="no">
-        <autodoc>PrepareDC(DC dc)</autodoc>
+        <autodoc>PrepareDC(self, DC dc)</autodoc>
         <docstring>Call this function to prepare the device context for drawing a
 scrolled image. It sets the device origin according to the current
 scroll position.</docstring>
         <docstring>Call this function to prepare the device context for drawing a
 scrolled image. It sets the device origin according to the current
 scroll position.</docstring>
@@ -4928,16 +5110,16 @@ scroll position.</docstring>
         </paramlist>
       </method>
       <method name="GetUpdateRegion" type="wxRegion" overloaded="no">
         </paramlist>
       </method>
       <method name="GetUpdateRegion" type="wxRegion" overloaded="no">
-        <autodoc>GetUpdateRegion() -&gt; Region</autodoc>
+        <autodoc>GetUpdateRegion(self) -&gt; Region</autodoc>
         <docstring>Returns the region specifying which parts of the window have been
 damaged. Should only be called within an EVT_PAINT handler.</docstring>
       </method>
       <method name="GetUpdateClientRect" type="Rect" overloaded="no">
         <docstring>Returns the region specifying which parts of the window have been
 damaged. Should only be called within an EVT_PAINT handler.</docstring>
       </method>
       <method name="GetUpdateClientRect" type="Rect" overloaded="no">
-        <autodoc>GetUpdateClientRect() -&gt; Rect</autodoc>
+        <autodoc>GetUpdateClientRect(self) -&gt; Rect</autodoc>
         <docstring>Get the update rectangle region bounding box in client coords.</docstring>
       </method>
       <method name="IsExposed" type="bool" overloaded="no">
         <docstring>Get the update rectangle region bounding box in client coords.</docstring>
       </method>
       <method name="IsExposed" type="bool" overloaded="no">
-        <autodoc>IsExposed(int x, int y, int w=1, int h=1) -&gt; bool</autodoc>
+        <autodoc>IsExposed(self, int x, int y, int w=1, int h=1) -&gt; bool</autodoc>
         <docstring>Returns true if the given point or rectangle area has been exposed
 since the last repaint. Call this in an paint event handler to
 optimize redrawing by only redrawing those areas, which have been
         <docstring>Returns true if the given point or rectangle area has been exposed
 since the last repaint. Call this in an paint event handler to
 optimize redrawing by only redrawing those areas, which have been
@@ -4950,7 +5132,7 @@ exposed.</docstring>
         </paramlist>
       </method>
       <method name="IsExposedPoint" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsExposedPoint" type="bool" overloaded="no">
-        <autodoc>IsExposedPoint(Point pt) -&gt; bool</autodoc>
+        <autodoc>IsExposedPoint(self, Point pt) -&gt; bool</autodoc>
         <docstring>Returns true if the given point or rectangle area has been exposed
 since the last repaint. Call this in an paint event handler to
 optimize redrawing by only redrawing those areas, which have been
         <docstring>Returns true if the given point or rectangle area has been exposed
 since the last repaint. Call this in an paint event handler to
 optimize redrawing by only redrawing those areas, which have been
@@ -4960,7 +5142,7 @@ exposed.</docstring>
         </paramlist>
       </method>
       <method name="IsExposedRect" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsExposedRect" type="bool" overloaded="no">
-        <autodoc>IsExposedRect(Rect rect) -&gt; bool</autodoc>
+        <autodoc>IsExposedRect(self, Rect rect) -&gt; bool</autodoc>
         <docstring>Returns true if the given point or rectangle area has been exposed
 since the last repaint. Call this in an paint event handler to
 optimize redrawing by only redrawing those areas, which have been
         <docstring>Returns true if the given point or rectangle area has been exposed
 since the last repaint. Call this in an paint event handler to
 optimize redrawing by only redrawing those areas, which have been
@@ -4969,27 +5151,58 @@ exposed.</docstring>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
+      <method name="GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for an instance of this class.  This is
+useful if you want to use the same font or colour in your own control
+as in a standard control -- which is a much better idea than hard
+coding specific colours or fonts which might look completely out of
+place on the user's system, especially if it uses themes.</docstring>
+      </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
       <method name="SetBackgroundColour" type="bool" overloaded="no">
       <method name="SetBackgroundColour" type="bool" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colour) -&gt; bool</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colour) -&gt; bool</autodoc>
         <docstring>Sets the background colour of the window.  Returns True if the colour
 was changed.  The background colour is usually painted by the default
 EVT_ERASE_BACKGROUND event handler function under Windows and
         <docstring>Sets the background colour of the window.  Returns True if the colour
 was changed.  The background colour is usually painted by the default
 EVT_ERASE_BACKGROUND event handler function under Windows and
-automatically under GTK.
+automatically under GTK.  Using `wx.NullColour` will reset the window
+to the default background colour.
 
 
-Note that setting the background colour does not cause an immediate
-refresh, so you may wish to call ClearBackground or Refresh after
+Note that setting the background colour may not cause an immediate
+refresh, so you may wish to call `ClearBackground` or `Refresh` after
 calling this function.
 
 calling this function.
 
-Use this function with care under GTK+ as the new appearance of the
-window might not look equally well when used with themes, i.e GTK+'s
-ability to change its look as the user wishes with run-time loadable
-modules.</docstring>
+Using this function will disable attempts to use themes for this
+window, if the system supports them.  Use with care since usually the
+themes represent the appearance chosen by the user to be used for all
+applications on the system.</docstring>
+        <paramlist>
+          <param name="colour" type="wxColour" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetOwnBackgroundColour" type="" overloaded="no">
+        <autodoc>SetOwnBackgroundColour(self, Colour colour)</autodoc>
         <paramlist>
           <param name="colour" type="wxColour" default=""/>
         </paramlist>
       </method>
       <method name="SetForegroundColour" type="bool" overloaded="no">
         <paramlist>
           <param name="colour" type="wxColour" default=""/>
         </paramlist>
       </method>
       <method name="SetForegroundColour" type="bool" overloaded="no">
-        <autodoc>SetForegroundColour(Colour colour) -&gt; bool</autodoc>
+        <autodoc>SetForegroundColour(self, Colour colour) -&gt; bool</autodoc>
         <docstring>Sets the foreground colour of the window.  Returns True is the colour
 was changed.  The interpretation of foreground colour is dependent on
 the window class; it may be the text colour or other colour, or it may
         <docstring>Sets the foreground colour of the window.  Returns True is the colour
 was changed.  The interpretation of foreground colour is dependent on
 the window class; it may be the text colour or other colour, or it may
@@ -4998,18 +5211,52 @@ not be used at all.</docstring>
           <param name="colour" type="wxColour" default=""/>
         </paramlist>
       </method>
           <param name="colour" type="wxColour" default=""/>
         </paramlist>
       </method>
+      <method name="SetOwnForegroundColour" type="" overloaded="no">
+        <autodoc>SetOwnForegroundColour(self, Colour colour)</autodoc>
+        <paramlist>
+          <param name="colour" type="wxColour" default=""/>
+        </paramlist>
+      </method>
       <method name="GetBackgroundColour" type="wxColour" overloaded="no">
       <method name="GetBackgroundColour" type="wxColour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
         <docstring>Returns the background colour of the window.</docstring>
       </method>
       <method name="GetForegroundColour" type="wxColour" overloaded="no">
         <docstring>Returns the background colour of the window.</docstring>
       </method>
       <method name="GetForegroundColour" type="wxColour" overloaded="no">
-        <autodoc>GetForegroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetForegroundColour(self) -&gt; Colour</autodoc>
         <docstring>Returns the foreground colour of the window.  The interpretation of
 foreground colour is dependent on the window class; it may be the text
 colour or other colour, or it may not be used at all.</docstring>
         <docstring>Returns the foreground colour of the window.  The interpretation of
 foreground colour is dependent on the window class; it may be the text
 colour or other colour, or it may not be used at all.</docstring>
+      </method>
+      <method name="SetBackgroundStyle" type="bool" overloaded="no">
+        <autodoc>SetBackgroundStyle(self, int style) -&gt; bool</autodoc>
+        <docstring>Returns the background style of the window. The background style
+indicates how the background of the window is drawn.
+
+    ======================  ========================================
+    wx.BG_STYLE_SYSTEM      The background colour or pattern should
+                            be determined by the system
+    wx.BG_STYLE_COLOUR      The background should be a solid colour
+    wx.BG_STYLE_CUSTOM      The background will be implemented by the
+                            application.
+    ======================  ========================================
+
+On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of
+a custom background, such as a tiled bitmap. Currently the style has
+no effect on other platforms.
+
+:see: `GetBackgroundStyle`, `SetBackgroundColour`</docstring>
+        <paramlist>
+          <param name="style" type="wxBackgroundStyle" default=""/>
+        </paramlist>
+      </method>
+      <method name="GetBackgroundStyle" type="wxBackgroundStyle" overloaded="no">
+        <autodoc>GetBackgroundStyle(self) -&gt; int</autodoc>
+        <docstring>Returns the background style of the window.
+
+:see: `SetBackgroundStyle`</docstring>
       </method>
       <method name="SetCursor" type="bool" overloaded="no">
       </method>
       <method name="SetCursor" type="bool" overloaded="no">
-        <autodoc>SetCursor(Cursor cursor) -&gt; bool</autodoc>
+        <autodoc>SetCursor(self, Cursor cursor) -&gt; bool</autodoc>
         <docstring>Sets the window's cursor. Notice that the window cursor also sets it
 for the children of the window implicitly.
 
         <docstring>Sets the window's cursor. Notice that the window cursor also sets it
 for the children of the window implicitly.
 
@@ -5020,37 +5267,43 @@ be reset back to default.</docstring>
         </paramlist>
       </method>
       <method name="GetCursor" type="wxCursor" overloaded="no">
         </paramlist>
       </method>
       <method name="GetCursor" type="wxCursor" overloaded="no">
-        <autodoc>GetCursor() -&gt; Cursor</autodoc>
+        <autodoc>GetCursor(self) -&gt; Cursor</autodoc>
         <docstring>Return the cursor associated with this window.</docstring>
       </method>
       <method name="SetFont" type="bool" overloaded="no">
         <docstring>Return the cursor associated with this window.</docstring>
       </method>
       <method name="SetFont" type="bool" overloaded="no">
-        <autodoc>SetFont(Font font) -&gt; bool</autodoc>
+        <autodoc>SetFont(self, Font font) -&gt; bool</autodoc>
         <docstring>Sets the font for this window.</docstring>
         <paramlist>
           <param name="font" type="wxFont" default=""/>
         </paramlist>
       </method>
         <docstring>Sets the font for this window.</docstring>
         <paramlist>
           <param name="font" type="wxFont" default=""/>
         </paramlist>
       </method>
+      <method name="SetOwnFont" type="" overloaded="no">
+        <autodoc>SetOwnFont(self, Font font)</autodoc>
+        <paramlist>
+          <param name="font" type="wxFont" default=""/>
+        </paramlist>
+      </method>
       <method name="GetFont" type="wxFont" overloaded="no">
       <method name="GetFont" type="wxFont" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
         <docstring>Returns the default font used for this window.</docstring>
       </method>
       <method name="SetCaret" type="" overloaded="no">
         <docstring>Returns the default font used for this window.</docstring>
       </method>
       <method name="SetCaret" type="" overloaded="no">
-        <autodoc>SetCaret(Caret caret)</autodoc>
+        <autodoc>SetCaret(self, Caret caret)</autodoc>
         <docstring>Sets the caret associated with the window.</docstring>
         <paramlist>
           <param name="caret" type="wxCaret" default=""/>
         </paramlist>
       </method>
       <method name="GetCaret" type="wxCaret" overloaded="no">
         <docstring>Sets the caret associated with the window.</docstring>
         <paramlist>
           <param name="caret" type="wxCaret" default=""/>
         </paramlist>
       </method>
       <method name="GetCaret" type="wxCaret" overloaded="no">
-        <autodoc>GetCaret() -&gt; Caret</autodoc>
+        <autodoc>GetCaret(self) -&gt; Caret</autodoc>
         <docstring>Returns the caret associated with the window.</docstring>
       </method>
       <method name="GetCharHeight" type="int" overloaded="no">
         <docstring>Returns the caret associated with the window.</docstring>
       </method>
       <method name="GetCharHeight" type="int" overloaded="no">
-        <autodoc>GetCharHeight() -&gt; int</autodoc>
+        <autodoc>GetCharHeight(self) -&gt; int</autodoc>
         <docstring>Get the (average) character size for the current font.</docstring>
       </method>
       <method name="GetCharWidth" type="int" overloaded="no">
         <docstring>Get the (average) character size for the current font.</docstring>
       </method>
       <method name="GetCharWidth" type="int" overloaded="no">
-        <autodoc>GetCharWidth() -&gt; int</autodoc>
+        <autodoc>GetCharWidth(self) -&gt; int</autodoc>
         <docstring>Get the (average) character size for the current font.</docstring>
       </method>
       <method name="GetTextExtent" type="" overloaded="no">
         <docstring>Get the (average) character size for the current font.</docstring>
       </method>
       <method name="GetTextExtent" type="" overloaded="no">
@@ -5093,21 +5346,21 @@ current or specified font.</docstring>
         </paramlist>
       </method>
       <method name="ClientToScreen" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="ClientToScreen" type="Point" overloaded="no">
-        <autodoc>ClientToScreen(Point pt) -&gt; Point</autodoc>
+        <autodoc>ClientToScreen(self, Point pt) -&gt; Point</autodoc>
         <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ScreenToClient" type="Point" overloaded="no">
         <docstring>Converts to screen coordinates from coordinates relative to this window.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ScreenToClient" type="Point" overloaded="no">
-        <autodoc>ScreenToClient(Point pt) -&gt; Point</autodoc>
+        <autodoc>ScreenToClient(self, Point pt) -&gt; Point</autodoc>
         <docstring>Converts from screen to client window coordinates.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="HitTestXY" type="wxHitTest" overloaded="no">
         <docstring>Converts from screen to client window coordinates.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="HitTestXY" type="wxHitTest" overloaded="no">
-        <autodoc>HitTestXY(int x, int y) -&gt; int</autodoc>
+        <autodoc>HitTestXY(self, int x, int y) -&gt; int</autodoc>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
@@ -5115,7 +5368,7 @@ current or specified font.</docstring>
         </paramlist>
       </method>
       <method name="HitTest" type="wxHitTest" overloaded="no">
         </paramlist>
       </method>
       <method name="HitTest" type="wxHitTest" overloaded="no">
-        <autodoc>HitTest(Point pt) -&gt; int</autodoc>
+        <autodoc>HitTest(self, Point pt) -&gt; int</autodoc>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
@@ -5132,12 +5385,12 @@ reasonable.
         </paramlist>
       </method>
       <method name="GetBorder" type="wxBorder" overloaded="yes">
         </paramlist>
       </method>
       <method name="GetBorder" type="wxBorder" overloaded="yes">
-        <autodoc>GetBorder(long flags) -&gt; int
-GetBorder() -&gt; int</autodoc>
+        <autodoc>GetBorder(self, long flags) -&gt; int
+GetBorder(self) -&gt; int</autodoc>
         <docstring>Get border for the flags of this window</docstring>
       </method>
       <method name="UpdateWindowUI" type="" overloaded="no">
         <docstring>Get border for the flags of this window</docstring>
       </method>
       <method name="UpdateWindowUI" type="" overloaded="no">
-        <autodoc>UpdateWindowUI(long flags=UPDATE_UI_NONE)</autodoc>
+        <autodoc>UpdateWindowUI(self, long flags=UPDATE_UI_NONE)</autodoc>
         <docstring>This function sends EVT_UPDATE_UI events to the window. The particular
 implementation depends on the window; for example a wx.ToolBar will
 send an update UI event for each toolbar button, and a wx.Frame will
         <docstring>This function sends EVT_UPDATE_UI events to the window. The particular
 implementation depends on the window; for example a wx.ToolBar will
 send an update UI event for each toolbar button, and a wx.Frame will
@@ -5148,19 +5401,20 @@ concerned). This may be necessary if you have called
 wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to
 limit the overhead that wxWindows incurs by sending update UI events
 in idle time.
 wx.UpdateUIEvent.SetMode or wx.UpdateUIEvent.SetUpdateInterval to
 limit the overhead that wxWindows incurs by sending update UI events
 in idle time.
-
 The flags should be a bitlist of one or more of the following values:
 
 The flags should be a bitlist of one or more of the following values:
 
+    =====================      ==============================
     wx.UPDATE_UI_NONE          No particular value
     wx.UPDATE_UI_RECURSE       Call the function for descendants
     wx.UPDATE_UI_FROMIDLE      Invoked from OnIdle
     wx.UPDATE_UI_NONE          No particular value
     wx.UPDATE_UI_RECURSE       Call the function for descendants
     wx.UPDATE_UI_FROMIDLE      Invoked from OnIdle
+    =====================      ==============================
 
 If you are calling this function from an OnIdle function, make sure
 
 If you are calling this function from an OnIdle function, make sure
-you pass the wx.UPDATE_UI_FROMIDLE flag, since this tells the window to
-only update the UI elements that need to be updated in idle time. Some
-windows update their elements only when necessary, for example when a
-menu is about to be shown. The following is an example of how to call
-UpdateWindowUI from an idle function.
+you pass the wx.UPDATE_UI_FROMIDLE flag, since this tells the window
+to only update the UI elements that need to be updated in idle
+time. Some windows update their elements only when necessary, for
+example when a menu is about to be shown. The following is an example
+of how to call UpdateWindowUI from an idle function::
 
     def OnIdle(self, evt):
         if wx.UpdateUIEvent.CanUpdate(self):
 
     def OnIdle(self, evt):
         if wx.UpdateUIEvent.CanUpdate(self):
@@ -5171,67 +5425,69 @@ UpdateWindowUI from an idle function.
         </paramlist>
       </method>
       <method name="PopupMenuXY" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="PopupMenuXY" type="bool" overloaded="no">
-        <autodoc>PopupMenuXY(Menu menu, int x, int y) -&gt; bool</autodoc>
-        <docstring>Pops up the given menu at the specified coordinates, relative to this
-window, and returns control when the user has dismissed the menu. If a
-menu item is selected, the corresponding menu event is generated and
-will be processed as usual.</docstring>
+        <autodoc>PopupMenuXY(self, Menu menu, int x=-1, int y=-1) -&gt; bool</autodoc>
+        <docstring>Pops up the given menu at the specified coordinates, relative to this window,
+and returns control when the user has dismissed the menu. If a menu item is
+selected, the corresponding menu event is generated and will be processed as
+usual.  If the default position is given then the current position of the
+mouse cursor will be used.</docstring>
         <paramlist>
           <param name="menu" type="wxMenu" default=""/>
         <paramlist>
           <param name="menu" type="wxMenu" default=""/>
-          <param name="x" type="int" default=""/>
-          <param name="y" type="int" default=""/>
+          <param name="x" type="int" default="-1"/>
+          <param name="y" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="PopupMenu" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="PopupMenu" type="bool" overloaded="no">
-        <autodoc>PopupMenu(Menu menu, Point pos) -&gt; bool</autodoc>
-        <docstring>Pops up the given menu at the specified coordinates, relative to this
-window, and returns control when the user has dismissed the menu. If a
-menu item is selected, the corresponding menu event is generated and
-will be processed as usual.</docstring>
+        <autodoc>PopupMenu(self, Menu menu, Point pos=DefaultPosition) -&gt; bool</autodoc>
+        <docstring>Pops up the given menu at the specified coordinates, relative to this window,
+and returns control when the user has dismissed the menu. If a menu item is
+selected, the corresponding menu event is generated and will be processed as
+usual.  If the default position is given then the current position of the
+mouse cursor will be used.</docstring>
         <paramlist>
           <param name="menu" type="wxMenu" default=""/>
         <paramlist>
           <param name="menu" type="wxMenu" default=""/>
-          <param name="pos" type="Point" default=""/>
+          <param name="pos" type="Point" default="wxDefaultPosition"/>
         </paramlist>
       </method>
       <method name="GetHandle" type="long" overloaded="no">
         </paramlist>
       </method>
       <method name="GetHandle" type="long" overloaded="no">
-        <autodoc>GetHandle() -&gt; long</autodoc>
+        <autodoc>GetHandle(self) -&gt; long</autodoc>
         <docstring>Returns the platform-specific handle (as a long integer) of the
 physical window.  Currently on wxMac it returns the handle of the
 toplevel parent of the window.</docstring>
       </method>
       <method name="HasScrollbar" type="bool" overloaded="no">
         <docstring>Returns the platform-specific handle (as a long integer) of the
 physical window.  Currently on wxMac it returns the handle of the
 toplevel parent of the window.</docstring>
       </method>
       <method name="HasScrollbar" type="bool" overloaded="no">
-        <autodoc>HasScrollbar(int orient) -&gt; bool</autodoc>
+        <autodoc>HasScrollbar(self, int orient) -&gt; bool</autodoc>
         <docstring>Does the window have the scrollbar for this orientation?</docstring>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollbar" type="" overloaded="no">
         <docstring>Does the window have the scrollbar for this orientation?</docstring>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollbar" type="" overloaded="no">
-        <autodoc>SetScrollbar(int orientation, int pos, int thumbvisible, int range, 
+        <autodoc>SetScrollbar(self, int orientation, int position, int thumbSize, int range, 
     bool refresh=True)</autodoc>
         <docstring>Sets the scrollbar properties of a built-in scrollbar.
     bool refresh=True)</autodoc>
         <docstring>Sets the scrollbar properties of a built-in scrollbar.
+    :param orientation: Determines the scrollbar whose page size is to
+                 be set. May be wx.HORIZONTAL or wx.VERTICAL.
 
 
-    orientation: Determines the scrollbar whose page size is to be
-                 set. May be wx.HORIZONTAL or wx.VERTICAL.
-
-    position:    The position of the scrollbar in scroll units.
+    :param position: The position of the scrollbar in scroll units.
 
 
-    thumbSize:   The size of the thumb, or visible portion of the
+    :param thumbSize: The size of the thumb, or visible portion of the
                  scrollbar, in scroll units.
 
                  scrollbar, in scroll units.
 
-    range:       The maximum position of the scrollbar.
+    :param range: The maximum position of the scrollbar.
 
 
-    refresh:     True to redraw the scrollbar, false otherwise.</docstring>
+    :param refresh: True to redraw the scrollbar, false otherwise.
+</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         <paramlist>
           <param name="orientation" type="int" default=""/>
-          <param name="pos" type="int" default=""/>
-          <param name="thumbvisible" type="int" default=""/>
+          <param name="position" type="int" default=""/>
+          <param name="thumbSize" type="int" default=""/>
           <param name="range" type="int" default=""/>
           <param name="refresh" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetScrollPos" type="" overloaded="no">
           <param name="range" type="int" default=""/>
           <param name="refresh" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetScrollPos" type="" overloaded="no">
-        <autodoc>SetScrollPos(int orientation, int pos, bool refresh=True)</autodoc>
+        <autodoc>SetScrollPos(self, int orientation, int pos, bool refresh=True)</autodoc>
         <docstring>Sets the position of one of the built-in scrollbars.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         <docstring>Sets the position of one of the built-in scrollbars.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
@@ -5240,41 +5496,40 @@ toplevel parent of the window.</docstring>
         </paramlist>
       </method>
       <method name="GetScrollPos" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetScrollPos" type="int" overloaded="no">
-        <autodoc>GetScrollPos(int orientation) -&gt; int</autodoc>
+        <autodoc>GetScrollPos(self, int orientation) -&gt; int</autodoc>
         <docstring>Returns the built-in scrollbar position.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollThumb" type="int" overloaded="no">
         <docstring>Returns the built-in scrollbar position.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollThumb" type="int" overloaded="no">
-        <autodoc>GetScrollThumb(int orientation) -&gt; int</autodoc>
+        <autodoc>GetScrollThumb(self, int orientation) -&gt; int</autodoc>
         <docstring>Returns the built-in scrollbar thumb size.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollRange" type="int" overloaded="no">
         <docstring>Returns the built-in scrollbar thumb size.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollRange" type="int" overloaded="no">
-        <autodoc>GetScrollRange(int orientation) -&gt; int</autodoc>
+        <autodoc>GetScrollRange(self, int orientation) -&gt; int</autodoc>
         <docstring>Returns the built-in scrollbar range.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ScrollWindow" type="" overloaded="no">
         <docstring>Returns the built-in scrollbar range.</docstring>
         <paramlist>
           <param name="orientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ScrollWindow" type="" overloaded="no">
-        <autodoc>ScrollWindow(int dx, int dy, Rect rect=None)</autodoc>
+        <autodoc>ScrollWindow(self, int dx, int dy, Rect rect=None)</autodoc>
         <docstring>Physically scrolls the pixels in the window and move child windows
 accordingly.  Use this function to optimise your scrolling
 implementations, to minimise the area that must be redrawn. Note that
 it is rarely required to call this function from a user program.
         <docstring>Physically scrolls the pixels in the window and move child windows
 accordingly.  Use this function to optimise your scrolling
 implementations, to minimise the area that must be redrawn. Note that
 it is rarely required to call this function from a user program.
+    :param dx:   Amount to scroll horizontally.
 
 
-    dx:   Amount to scroll horizontally.
+    :param dy:   Amount to scroll vertically.
 
 
-    dy:   Amount to scroll vertically.
-
-    rect: Rectangle to invalidate. If this is None, the whole window
-          is invalidated. If you pass a rectangle corresponding to the
-          area of the window exposed by the scroll, your painting
-          handler can optimize painting by checking for the
+    :param rect: Rectangle to invalidate. If this is None, the whole
+          window is invalidated. If you pass a rectangle corresponding
+          to the area of the window exposed by the scroll, your
+          painting handler can optimize painting by checking for the
           invalidated region.</docstring>
         <paramlist>
           <param name="dx" type="int" default=""/>
           invalidated region.</docstring>
         <paramlist>
           <param name="dx" type="int" default=""/>
@@ -5283,7 +5538,7 @@ it is rarely required to call this function from a user program.
         </paramlist>
       </method>
       <method name="ScrollLines" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="ScrollLines" type="bool" overloaded="no">
-        <autodoc>ScrollLines(int lines) -&gt; bool</autodoc>
+        <autodoc>ScrollLines(self, int lines) -&gt; bool</autodoc>
         <docstring>If the platform and window class supports it, scrolls the window by
 the given number of lines down, if lines is positive, or up if lines
 is negative.  Returns True if the window was scrolled, False if it was
         <docstring>If the platform and window class supports it, scrolls the window by
 the given number of lines down, if lines is positive, or up if lines
 is negative.  Returns True if the window was scrolled, False if it was
@@ -5293,8 +5548,8 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="ScrollPages" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="ScrollPages" type="bool" overloaded="no">
-        <autodoc>ScrollPages(int pages) -&gt; bool</autodoc>
-        <docstring>If the platform and window class supports it,  scrolls the window by
+        <autodoc>ScrollPages(self, int pages) -&gt; bool</autodoc>
+        <docstring>If the platform and window class supports it, scrolls the window by
 the given number of pages down, if pages is positive, or up if pages
 is negative.  Returns True if the window was scrolled, False if it was
 already on top/bottom and nothing was done.</docstring>
 the given number of pages down, if pages is positive, or up if pages
 is negative.  Returns True if the window was scrolled, False if it was
 already on top/bottom and nothing was done.</docstring>
@@ -5303,23 +5558,23 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="LineUp" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="LineUp" type="bool" overloaded="no">
-        <autodoc>LineUp() -&gt; bool</autodoc>
+        <autodoc>LineUp(self) -&gt; bool</autodoc>
         <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
       </method>
       <method name="LineDown" type="bool" overloaded="no">
         <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
       </method>
       <method name="LineDown" type="bool" overloaded="no">
-        <autodoc>LineDown() -&gt; bool</autodoc>
+        <autodoc>LineDown(self) -&gt; bool</autodoc>
         <docstring>This is just a wrapper for ScrollLines(1).</docstring>
       </method>
       <method name="PageUp" type="bool" overloaded="no">
         <docstring>This is just a wrapper for ScrollLines(1).</docstring>
       </method>
       <method name="PageUp" type="bool" overloaded="no">
-        <autodoc>PageUp() -&gt; bool</autodoc>
+        <autodoc>PageUp(self) -&gt; bool</autodoc>
         <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
       </method>
       <method name="PageDown" type="bool" overloaded="no">
         <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
       </method>
       <method name="PageDown" type="bool" overloaded="no">
-        <autodoc>PageDown() -&gt; bool</autodoc>
+        <autodoc>PageDown(self) -&gt; bool</autodoc>
         <docstring>This is just a wrapper for ScrollPages(1).</docstring>
       </method>
       <method name="SetHelpText" type="" overloaded="no">
         <docstring>This is just a wrapper for ScrollPages(1).</docstring>
       </method>
       <method name="SetHelpText" type="" overloaded="no">
-        <autodoc>SetHelpText(String text)</autodoc>
+        <autodoc>SetHelpText(self, String text)</autodoc>
         <docstring>Sets the help text to be used as context-sensitive help for this
 window.  Note that the text is actually stored by the current
 wxHelpProvider implementation, and not in the window object itself.</docstring>
         <docstring>Sets the help text to be used as context-sensitive help for this
 window.  Note that the text is actually stored by the current
 wxHelpProvider implementation, and not in the window object itself.</docstring>
@@ -5328,7 +5583,7 @@ wxHelpProvider implementation, and not in the window object itself.</docstring>
         </paramlist>
       </method>
       <method name="SetHelpTextForId" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetHelpTextForId" type="" overloaded="no">
-        <autodoc>SetHelpTextForId(String text)</autodoc>
+        <autodoc>SetHelpTextForId(self, String text)</autodoc>
         <docstring>Associate this help text with all windows with the same id as this
 one.</docstring>
         <paramlist>
         <docstring>Associate this help text with all windows with the same id as this
 one.</docstring>
         <paramlist>
@@ -5336,31 +5591,31 @@ one.</docstring>
         </paramlist>
       </method>
       <method name="GetHelpText" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="GetHelpText" type="String" overloaded="no">
-        <autodoc>GetHelpText() -&gt; String</autodoc>
+        <autodoc>GetHelpText(self) -&gt; String</autodoc>
         <docstring>Gets the help text to be used as context-sensitive help for this
 window.  Note that the text is actually stored by the current
 wxHelpProvider implementation, and not in the window object itself.</docstring>
       </method>
       <method name="SetToolTipString" type="" overloaded="no">
         <docstring>Gets the help text to be used as context-sensitive help for this
 window.  Note that the text is actually stored by the current
 wxHelpProvider implementation, and not in the window object itself.</docstring>
       </method>
       <method name="SetToolTipString" type="" overloaded="no">
-        <autodoc>SetToolTipString(String tip)</autodoc>
+        <autodoc>SetToolTipString(self, String tip)</autodoc>
         <docstring>Attach a tooltip to the window.</docstring>
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetToolTip" type="" overloaded="no">
         <docstring>Attach a tooltip to the window.</docstring>
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetToolTip" type="" overloaded="no">
-        <autodoc>SetToolTip(ToolTip tip)</autodoc>
+        <autodoc>SetToolTip(self, ToolTip tip)</autodoc>
         <docstring>Attach a tooltip to the window.</docstring>
         <paramlist>
           <param name="tip" type="wxToolTip" default=""/>
         </paramlist>
       </method>
       <method name="GetToolTip" type="wxToolTip" overloaded="no">
         <docstring>Attach a tooltip to the window.</docstring>
         <paramlist>
           <param name="tip" type="wxToolTip" default=""/>
         </paramlist>
       </method>
       <method name="GetToolTip" type="wxToolTip" overloaded="no">
-        <autodoc>GetToolTip() -&gt; ToolTip</autodoc>
+        <autodoc>GetToolTip(self) -&gt; ToolTip</autodoc>
         <docstring>get the associated tooltip or None if none</docstring>
       </method>
       <method name="SetDropTarget" type="" overloaded="no">
         <docstring>get the associated tooltip or None if none</docstring>
       </method>
       <method name="SetDropTarget" type="" overloaded="no">
-        <autodoc>SetDropTarget(DropTarget dropTarget)</autodoc>
+        <autodoc>SetDropTarget(self, DropTarget dropTarget)</autodoc>
         <docstring>Associates a drop target with this window.  If the window already has
 a drop target, it is deleted.</docstring>
         <paramlist>
         <docstring>Associates a drop target with this window.  If the window already has
 a drop target, it is deleted.</docstring>
         <paramlist>
@@ -5368,11 +5623,11 @@ a drop target, it is deleted.</docstring>
         </paramlist>
       </method>
       <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDropTarget" type="wxPyDropTarget" overloaded="no">
-        <autodoc>GetDropTarget() -&gt; DropTarget</autodoc>
+        <autodoc>GetDropTarget(self) -&gt; DropTarget</autodoc>
         <docstring>Returns the associated drop target, which may be None.</docstring>
       </method>
       <method name="SetConstraints" type="" overloaded="no">
         <docstring>Returns the associated drop target, which may be None.</docstring>
       </method>
       <method name="SetConstraints" type="" overloaded="no">
-        <autodoc>SetConstraints(LayoutConstraints constraints)</autodoc>
+        <autodoc>SetConstraints(self, LayoutConstraints constraints)</autodoc>
         <docstring>Sets the window to have the given layout constraints. If an existing
 layout constraints object is already owned by the window, it will be
 deleted.  Pass None to disassociate and delete the window's current
         <docstring>Sets the window to have the given layout constraints. If an existing
 layout constraints object is already owned by the window, it will be
 deleted.  Pass None to disassociate and delete the window's current
@@ -5388,12 +5643,12 @@ effect.</docstring>
         </paramlist>
       </method>
       <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no">
         </paramlist>
       </method>
       <method name="GetConstraints" type="wxLayoutConstraints" overloaded="no">
-        <autodoc>GetConstraints() -&gt; LayoutConstraints</autodoc>
+        <autodoc>GetConstraints(self) -&gt; LayoutConstraints</autodoc>
         <docstring>Returns a pointer to the window's layout constraints, or None if there
 are none.</docstring>
       </method>
       <method name="SetAutoLayout" type="" overloaded="no">
         <docstring>Returns a pointer to the window's layout constraints, or None if there
 are none.</docstring>
       </method>
       <method name="SetAutoLayout" type="" overloaded="no">
-        <autodoc>SetAutoLayout(bool autoLayout)</autodoc>
+        <autodoc>SetAutoLayout(self, bool autoLayout)</autodoc>
         <docstring>Determines whether the Layout function will be called automatically
 when the window is resized.  It is called implicitly by SetSizer but
 if you use SetConstraints you should call it manually or otherwise the
         <docstring>Determines whether the Layout function will be called automatically
 when the window is resized.  It is called implicitly by SetSizer but
 if you use SetConstraints you should call it manually or otherwise the
@@ -5403,18 +5658,18 @@ window layout won't be correctly updated when its size changes.</docstring>
         </paramlist>
       </method>
       <method name="GetAutoLayout" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAutoLayout" type="bool" overloaded="no">
-        <autodoc>GetAutoLayout() -&gt; bool</autodoc>
+        <autodoc>GetAutoLayout(self) -&gt; bool</autodoc>
         <docstring>Returns the current autoLayout setting</docstring>
       </method>
       <method name="Layout" type="bool" overloaded="no">
         <docstring>Returns the current autoLayout setting</docstring>
       </method>
       <method name="Layout" type="bool" overloaded="no">
-        <autodoc>Layout() -&gt; bool</autodoc>
+        <autodoc>Layout(self) -&gt; bool</autodoc>
         <docstring>Invokes the constraint-based layout algorithm or the sizer-based
 algorithm for this window.  See SetAutoLayout: when auto layout is on,
 this function gets called automatically by the default EVT_SIZE
 handler when the window is resized.</docstring>
       </method>
       <method name="SetSizer" type="" overloaded="no">
         <docstring>Invokes the constraint-based layout algorithm or the sizer-based
 algorithm for this window.  See SetAutoLayout: when auto layout is on,
 this function gets called automatically by the default EVT_SIZE
 handler when the window is resized.</docstring>
       </method>
       <method name="SetSizer" type="" overloaded="no">
-        <autodoc>SetSizer(Sizer sizer, bool deleteOld=True)</autodoc>
+        <autodoc>SetSizer(self, Sizer sizer, bool deleteOld=True)</autodoc>
         <docstring>Sets the window to have the given layout sizer. The window will then
 own the object, and will take care of its deletion. If an existing
 layout sizer object is already owned by the window, it will be deleted
         <docstring>Sets the window to have the given layout sizer. The window will then
 own the object, and will take care of its deletion. If an existing
 layout sizer object is already owned by the window, it will be deleted
@@ -5427,7 +5682,7 @@ non-NoneL and False otherwise.</docstring>
         </paramlist>
       </method>
       <method name="SetSizerAndFit" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSizerAndFit" type="" overloaded="no">
-        <autodoc>SetSizerAndFit(Sizer sizer, bool deleteOld=True)</autodoc>
+        <autodoc>SetSizerAndFit(self, Sizer sizer, bool deleteOld=True)</autodoc>
         <docstring>The same as SetSizer, except it also sets the size hints for the
 window based on the sizer's minimum size.</docstring>
         <paramlist>
         <docstring>The same as SetSizer, except it also sets the size hints for the
 window based on the sizer's minimum size.</docstring>
         <paramlist>
@@ -5436,12 +5691,12 @@ window based on the sizer's minimum size.</docstring>
         </paramlist>
       </method>
       <method name="GetSizer" type="wxSizer" overloaded="no">
         </paramlist>
       </method>
       <method name="GetSizer" type="wxSizer" overloaded="no">
-        <autodoc>GetSizer() -&gt; Sizer</autodoc>
+        <autodoc>GetSizer(self) -&gt; Sizer</autodoc>
         <docstring>Return the sizer associated with the window by a previous call to
 SetSizer or None if there isn't one.</docstring>
       </method>
       <method name="SetContainingSizer" type="" overloaded="no">
         <docstring>Return the sizer associated with the window by a previous call to
 SetSizer or None if there isn't one.</docstring>
       </method>
       <method name="SetContainingSizer" type="" overloaded="no">
-        <autodoc>SetContainingSizer(Sizer sizer)</autodoc>
+        <autodoc>SetContainingSizer(self, Sizer sizer)</autodoc>
         <docstring>This normally does not need to be called by application code. It is
 called internally when a window is added to a sizer, and is used so
 the window can remove itself from the sizer when it is destroyed.</docstring>
         <docstring>This normally does not need to be called by application code. It is
 called internally when a window is added to a sizer, and is used so
 the window can remove itself from the sizer when it is destroyed.</docstring>
@@ -5450,9 +5705,45 @@ the window can remove itself from the sizer when it is destroyed.</docstring>
         </paramlist>
       </method>
       <method name="GetContainingSizer" type="wxSizer" overloaded="no">
         </paramlist>
       </method>
       <method name="GetContainingSizer" type="wxSizer" overloaded="no">
-        <autodoc>GetContainingSizer() -&gt; Sizer</autodoc>
+        <autodoc>GetContainingSizer(self) -&gt; Sizer</autodoc>
         <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring>
       </method>
         <docstring>Return the sizer that this window is a member of, if any, otherwise None.</docstring>
       </method>
+      <method name="InheritAttributes" type="" overloaded="no">
+        <autodoc>InheritAttributes(self)</autodoc>
+        <docstring>This function is (or should be, in case of custom controls) called
+during window creation to intelligently set up the window visual
+attributes, that is the font and the foreground and background
+colours.
+
+By 'intelligently' the following is meant: by default, all windows use
+their own default attributes. However if some of the parent's
+attributes are explicitly changed (that is, using SetFont and not
+SetOwnFont) and if the corresponding attribute hadn't been
+explicitly set for this window itself, then this window takes the same
+value as used by the parent. In addition, if the window overrides
+ShouldInheritColours to return false, the colours will not be changed
+no matter what and only the font might.
+
+This rather complicated logic is necessary in order to accommodate the
+different usage scenarius. The most common one is when all default
+attributes are used and in this case, nothing should be inherited as
+in modern GUIs different controls use different fonts (and colours)
+than their siblings so they can't inherit the same value from the
+parent. However it was also deemed desirable to allow to simply change
+the attributes of all children at once by just changing the font or
+colour of their common parent, hence in this case we do inherit the
+parents attributes.
+</docstring>
+      </method>
+      <method name="ShouldInheritColours" type="bool" overloaded="no">
+        <autodoc>ShouldInheritColours(self) -&gt; bool</autodoc>
+        <docstring>Return true from here to allow the colours of this window to be
+changed by InheritAttributes, returning false forbids inheriting them
+from the parent window.
+
+The base class version returns false, but this method is overridden in
+wxControl where it returns true.</docstring>
+      </method>
     </class>
     <pythoncode>
 def DLG_PNT(win, point_or_x, y=None):
     </class>
     <pythoncode>
 def DLG_PNT(win, point_or_x, y=None):
@@ -5522,31 +5813,31 @@ hierarchy. The search is recursive in both cases.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Validator" oldname="wxValidator" module="core">
+    <class name="Validator" oldname="wxValidator" module="_core">
       <baseclass name="EvtHandler"/>
       <constructor name="Validator" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="Validator" overloaded="no">
-        <autodoc>__init__() -&gt; Validator</autodoc>
+        <autodoc>__init__(self) -&gt; Validator</autodoc>
       </constructor>
       <method name="Clone" type="Validator" overloaded="no">
       </constructor>
       <method name="Clone" type="Validator" overloaded="no">
-        <autodoc>Clone() -&gt; Validator</autodoc>
+        <autodoc>Clone(self) -&gt; Validator</autodoc>
       </method>
       <method name="Validate" type="bool" overloaded="no">
       </method>
       <method name="Validate" type="bool" overloaded="no">
-        <autodoc>Validate(Window parent) -&gt; bool</autodoc>
+        <autodoc>Validate(self, Window parent) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="TransferToWindow" type="bool" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="TransferToWindow" type="bool" overloaded="no">
-        <autodoc>TransferToWindow() -&gt; bool</autodoc>
+        <autodoc>TransferToWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="TransferFromWindow" type="bool" overloaded="no">
       </method>
       <method name="TransferFromWindow" type="bool" overloaded="no">
-        <autodoc>TransferFromWindow() -&gt; bool</autodoc>
+        <autodoc>TransferFromWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="SetWindow" type="" overloaded="no">
       </method>
       <method name="SetWindow" type="" overloaded="no">
-        <autodoc>SetWindow(Window window)</autodoc>
+        <autodoc>SetWindow(self, Window window)</autodoc>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
@@ -5561,13 +5852,13 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </staticmethod>
     </class>
         </paramlist>
       </staticmethod>
     </class>
-    <class name="PyValidator" oldname="wxPyValidator" module="core">
+    <class name="PyValidator" oldname="wxPyValidator" module="_core">
       <baseclass name="Validator"/>
       <constructor name="PyValidator" overloaded="no">
       <baseclass name="Validator"/>
       <constructor name="PyValidator" overloaded="no">
-        <autodoc>__init__() -&gt; PyValidator</autodoc>
+        <autodoc>__init__(self) -&gt; PyValidator</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=True)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=True)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -5578,17 +5869,17 @@ hierarchy. The search is recursive in both cases.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Menu" oldname="wxMenu" module="core">
+    <class name="Menu" oldname="wxMenu" module="_core">
       <baseclass name="EvtHandler"/>
       <constructor name="Menu" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="Menu" overloaded="no">
-        <autodoc>__init__(String title=EmptyString, long style=0) -&gt; Menu</autodoc>
+        <autodoc>__init__(self, String title=EmptyString, long style=0) -&gt; Menu</autodoc>
         <paramlist>
           <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="style" type="long" default="0"/>
         </paramlist>
       </constructor>
       <method name="Append" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="style" type="long" default="0"/>
         </paramlist>
       </constructor>
       <method name="Append" type="wxMenuItem" overloaded="no">
-        <autodoc>Append(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
+        <autodoc>Append(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5597,10 +5888,10 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="AppendSeparator" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendSeparator" type="wxMenuItem" overloaded="no">
-        <autodoc>AppendSeparator() -&gt; MenuItem</autodoc>
+        <autodoc>AppendSeparator(self) -&gt; MenuItem</autodoc>
       </method>
       <method name="AppendCheckItem" type="wxMenuItem" overloaded="no">
       </method>
       <method name="AppendCheckItem" type="wxMenuItem" overloaded="no">
-        <autodoc>AppendCheckItem(int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>AppendCheckItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5608,7 +5899,7 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="AppendRadioItem" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendRadioItem" type="wxMenuItem" overloaded="no">
-        <autodoc>AppendRadioItem(int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>AppendRadioItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5616,7 +5907,7 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="AppendMenu" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendMenu" type="wxMenuItem" overloaded="no">
-        <autodoc>AppendMenu(int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5625,23 +5916,23 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="AppendItem" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendItem" type="wxMenuItem" overloaded="no">
-        <autodoc>AppendItem(MenuItem item) -&gt; MenuItem</autodoc>
+        <autodoc>AppendItem(self, MenuItem item) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Break" type="" overloaded="no">
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Break" type="" overloaded="no">
-        <autodoc>Break()</autodoc>
+        <autodoc>Break(self)</autodoc>
       </method>
       <method name="InsertItem" type="wxMenuItem" overloaded="no">
       </method>
       <method name="InsertItem" type="wxMenuItem" overloaded="no">
-        <autodoc>InsertItem(size_t pos, MenuItem item) -&gt; MenuItem</autodoc>
+        <autodoc>InsertItem(self, size_t pos, MenuItem item) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Insert" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Insert" type="wxMenuItem" overloaded="no">
-        <autodoc>Insert(size_t pos, int id, String text, String help=EmptyString, 
+        <autodoc>Insert(self, size_t pos, int id, String text, String help=EmptyString, 
     int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
     int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
@@ -5652,13 +5943,13 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="InsertSeparator" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertSeparator" type="wxMenuItem" overloaded="no">
-        <autodoc>InsertSeparator(size_t pos) -&gt; MenuItem</autodoc>
+        <autodoc>InsertSeparator(self, size_t pos) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="InsertCheckItem" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="InsertCheckItem" type="wxMenuItem" overloaded="no">
-        <autodoc>InsertCheckItem(size_t pos, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>InsertCheckItem(self, size_t pos, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="id" type="int" default=""/>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="id" type="int" default=""/>
@@ -5667,7 +5958,7 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="InsertRadioItem" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertRadioItem" type="wxMenuItem" overloaded="no">
-        <autodoc>InsertRadioItem(size_t pos, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>InsertRadioItem(self, size_t pos, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="id" type="int" default=""/>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="id" type="int" default=""/>
@@ -5676,7 +5967,7 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="InsertMenu" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertMenu" type="wxMenuItem" overloaded="no">
-        <autodoc>InsertMenu(size_t pos, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>InsertMenu(self, size_t pos, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="id" type="int" default=""/>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="id" type="int" default=""/>
@@ -5686,13 +5977,13 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="PrependItem" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="PrependItem" type="wxMenuItem" overloaded="no">
-        <autodoc>PrependItem(MenuItem item) -&gt; MenuItem</autodoc>
+        <autodoc>PrependItem(self, MenuItem item) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Prepend" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Prepend" type="wxMenuItem" overloaded="no">
-        <autodoc>Prepend(int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
+        <autodoc>Prepend(self, int id, String text, String help=EmptyString, int kind=ITEM_NORMAL) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5701,10 +5992,10 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="PrependSeparator" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="PrependSeparator" type="wxMenuItem" overloaded="no">
-        <autodoc>PrependSeparator() -&gt; MenuItem</autodoc>
+        <autodoc>PrependSeparator(self) -&gt; MenuItem</autodoc>
       </method>
       <method name="PrependCheckItem" type="wxMenuItem" overloaded="no">
       </method>
       <method name="PrependCheckItem" type="wxMenuItem" overloaded="no">
-        <autodoc>PrependCheckItem(int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>PrependCheckItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5712,7 +6003,7 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="PrependRadioItem" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="PrependRadioItem" type="wxMenuItem" overloaded="no">
-        <autodoc>PrependRadioItem(int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>PrependRadioItem(self, int id, String text, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5720,7 +6011,7 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="PrependMenu" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="PrependMenu" type="wxMenuItem" overloaded="no">
-        <autodoc>PrependMenu(int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
+        <autodoc>PrependMenu(self, int id, String text, Menu submenu, String help=EmptyString) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
@@ -5729,204 +6020,204 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="Remove" type="wxMenuItem" overloaded="no">
         </paramlist>
       </method>
       <method name="Remove" type="wxMenuItem" overloaded="no">
-        <autodoc>Remove(int id) -&gt; MenuItem</autodoc>
+        <autodoc>Remove(self, int id) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="RemoveItem" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="RemoveItem" type="wxMenuItem" overloaded="no">
-        <autodoc>RemoveItem(MenuItem item) -&gt; MenuItem</autodoc>
+        <autodoc>RemoveItem(self, MenuItem item) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Delete" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Delete" type="bool" overloaded="no">
-        <autodoc>Delete(int id) -&gt; bool</autodoc>
+        <autodoc>Delete(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeleteItem" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeleteItem" type="bool" overloaded="no">
-        <autodoc>DeleteItem(MenuItem item) -&gt; bool</autodoc>
+        <autodoc>DeleteItem(self, MenuItem item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
       <method name="DestroyId" type="bool" overloaded="no">
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
       <method name="DestroyId" type="bool" overloaded="no">
-        <autodoc>DestroyId(int id) -&gt; bool</autodoc>
+        <autodoc>DestroyId(self, int id) -&gt; bool</autodoc>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DestroyItem" type="bool" overloaded="no">
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DestroyItem" type="bool" overloaded="no">
-        <autodoc>DestroyItem(MenuItem item) -&gt; bool</autodoc>
+        <autodoc>DestroyItem(self, MenuItem item) -&gt; bool</autodoc>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="GetMenuItemCount" type="size_t" overloaded="no">
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
         <paramlist>
           <param name="item" type="wxMenuItem" default=""/>
         </paramlist>
       </method>
       <method name="GetMenuItemCount" type="size_t" overloaded="no">
-        <autodoc>GetMenuItemCount() -&gt; size_t</autodoc>
+        <autodoc>GetMenuItemCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetMenuItems" type="PyObject" overloaded="no">
       </method>
       <method name="GetMenuItems" type="PyObject" overloaded="no">
-        <autodoc>GetMenuItems() -&gt; PyObject</autodoc>
+        <autodoc>GetMenuItems(self) -&gt; PyObject</autodoc>
       </method>
       <method name="FindItem" type="int" overloaded="no">
       </method>
       <method name="FindItem" type="int" overloaded="no">
-        <autodoc>FindItem(String item) -&gt; int</autodoc>
+        <autodoc>FindItem(self, String item) -&gt; int</autodoc>
         <paramlist>
           <param name="item" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindItemById" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="item" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindItemById" type="wxMenuItem" overloaded="no">
-        <autodoc>FindItemById(int id) -&gt; MenuItem</autodoc>
+        <autodoc>FindItemById(self, int id) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindItemByPosition" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindItemByPosition" type="wxMenuItem" overloaded="no">
-        <autodoc>FindItemByPosition(size_t position) -&gt; MenuItem</autodoc>
+        <autodoc>FindItemByPosition(self, size_t position) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="position" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Enable" type="" overloaded="no">
         <paramlist>
           <param name="position" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Enable" type="" overloaded="no">
-        <autodoc>Enable(int id, bool enable)</autodoc>
+        <autodoc>Enable(self, int id, bool enable)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
-        <autodoc>IsEnabled(int id) -&gt; bool</autodoc>
+        <autodoc>IsEnabled(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Check" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Check" type="" overloaded="no">
-        <autodoc>Check(int id, bool check)</autodoc>
+        <autodoc>Check(self, int id, bool check)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="check" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="check" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
-        <autodoc>IsChecked(int id) -&gt; bool</autodoc>
+        <autodoc>IsChecked(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLabel" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(int id, String label)</autodoc>
+        <autodoc>SetLabel(self, int id, String label)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel(int id) -&gt; String</autodoc>
+        <autodoc>GetLabel(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHelpString" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHelpString" type="" overloaded="no">
-        <autodoc>SetHelpString(int id, String helpString)</autodoc>
+        <autodoc>SetHelpString(self, int id, String helpString)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetHelpString" type="String" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetHelpString" type="String" overloaded="no">
-        <autodoc>GetHelpString(int id) -&gt; String</autodoc>
+        <autodoc>GetHelpString(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetTitle" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetTitle" type="" overloaded="no">
-        <autodoc>SetTitle(String title)</autodoc>
+        <autodoc>SetTitle(self, String title)</autodoc>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
-        <autodoc>GetTitle() -&gt; String</autodoc>
+        <autodoc>GetTitle(self) -&gt; String</autodoc>
       </method>
       <method name="SetEventHandler" type="" overloaded="no">
       </method>
       <method name="SetEventHandler" type="" overloaded="no">
-        <autodoc>SetEventHandler(EvtHandler handler)</autodoc>
+        <autodoc>SetEventHandler(self, EvtHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetEventHandler" type="EvtHandler" overloaded="no">
         <paramlist>
           <param name="handler" type="EvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetEventHandler" type="EvtHandler" overloaded="no">
-        <autodoc>GetEventHandler() -&gt; EvtHandler</autodoc>
+        <autodoc>GetEventHandler(self) -&gt; EvtHandler</autodoc>
       </method>
       <method name="SetInvokingWindow" type="" overloaded="no">
       </method>
       <method name="SetInvokingWindow" type="" overloaded="no">
-        <autodoc>SetInvokingWindow(Window win)</autodoc>
+        <autodoc>SetInvokingWindow(self, Window win)</autodoc>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetInvokingWindow" type="Window" overloaded="no">
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetInvokingWindow" type="Window" overloaded="no">
-        <autodoc>GetInvokingWindow() -&gt; Window</autodoc>
+        <autodoc>GetInvokingWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
       </method>
       <method name="GetStyle" type="long" overloaded="no">
-        <autodoc>GetStyle() -&gt; long</autodoc>
+        <autodoc>GetStyle(self) -&gt; long</autodoc>
       </method>
       <method name="UpdateUI" type="" overloaded="no">
       </method>
       <method name="UpdateUI" type="" overloaded="no">
-        <autodoc>UpdateUI(EvtHandler source=None)</autodoc>
+        <autodoc>UpdateUI(self, EvtHandler source=None)</autodoc>
         <paramlist>
           <param name="source" type="EvtHandler" default="NULL"/>
         </paramlist>
       </method>
       <method name="GetMenuBar" type="wxMenuBar" overloaded="no">
         <paramlist>
           <param name="source" type="EvtHandler" default="NULL"/>
         </paramlist>
       </method>
       <method name="GetMenuBar" type="wxMenuBar" overloaded="no">
-        <autodoc>GetMenuBar() -&gt; MenuBar</autodoc>
+        <autodoc>GetMenuBar(self) -&gt; MenuBar</autodoc>
       </method>
       <method name="Attach" type="" overloaded="no">
       </method>
       <method name="Attach" type="" overloaded="no">
-        <autodoc>Attach(wxMenuBarBase menubar)</autodoc>
+        <autodoc>Attach(self, wxMenuBarBase menubar)</autodoc>
         <paramlist>
           <param name="menubar" type="wxMenuBarBase" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
         <paramlist>
           <param name="menubar" type="wxMenuBarBase" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
-        <autodoc>Detach()</autodoc>
+        <autodoc>Detach(self)</autodoc>
       </method>
       <method name="IsAttached" type="bool" overloaded="no">
       </method>
       <method name="IsAttached" type="bool" overloaded="no">
-        <autodoc>IsAttached() -&gt; bool</autodoc>
+        <autodoc>IsAttached(self) -&gt; bool</autodoc>
       </method>
       <method name="SetParent" type="" overloaded="no">
       </method>
       <method name="SetParent" type="" overloaded="no">
-        <autodoc>SetParent(Menu parent)</autodoc>
+        <autodoc>SetParent(self, Menu parent)</autodoc>
         <paramlist>
           <param name="parent" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="GetParent" type="Menu" overloaded="no">
         <paramlist>
           <param name="parent" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="GetParent" type="Menu" overloaded="no">
-        <autodoc>GetParent() -&gt; Menu</autodoc>
+        <autodoc>GetParent(self) -&gt; Menu</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MenuBar" oldname="wxMenuBar" module="core">
+    <class name="MenuBar" oldname="wxMenuBar" module="_core">
       <baseclass name="Window"/>
       <constructor name="MenuBar" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="MenuBar" overloaded="no">
-        <autodoc>__init__(long style=0) -&gt; MenuBar</autodoc>
+        <autodoc>__init__(self, long style=0) -&gt; MenuBar</autodoc>
         <paramlist>
           <param name="style" type="long" default="0"/>
         </paramlist>
       </constructor>
       <method name="Append" type="bool" overloaded="no">
         <paramlist>
           <param name="style" type="long" default="0"/>
         </paramlist>
       </constructor>
       <method name="Append" type="bool" overloaded="no">
-        <autodoc>Append(Menu menu, String title) -&gt; bool</autodoc>
+        <autodoc>Append(self, Menu menu, String title) -&gt; bool</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Insert" type="bool" overloaded="no">
         <paramlist>
           <param name="menu" type="Menu" default=""/>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Insert" type="bool" overloaded="no">
-        <autodoc>Insert(size_t pos, Menu menu, String title) -&gt; bool</autodoc>
+        <autodoc>Insert(self, size_t pos, Menu menu, String title) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="menu" type="Menu" default=""/>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="menu" type="Menu" default=""/>
@@ -5934,16 +6225,16 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="GetMenuCount" type="size_t" overloaded="no">
         </paramlist>
       </method>
       <method name="GetMenuCount" type="size_t" overloaded="no">
-        <autodoc>GetMenuCount() -&gt; size_t</autodoc>
+        <autodoc>GetMenuCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetMenu" type="Menu" overloaded="no">
       </method>
       <method name="GetMenu" type="Menu" overloaded="no">
-        <autodoc>GetMenu(size_t pos) -&gt; Menu</autodoc>
+        <autodoc>GetMenu(self, size_t pos) -&gt; Menu</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Replace" type="Menu" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Replace" type="Menu" overloaded="no">
-        <autodoc>Replace(size_t pos, Menu menu, String title) -&gt; Menu</autodoc>
+        <autodoc>Replace(self, size_t pos, Menu menu, String title) -&gt; Menu</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="menu" type="Menu" default=""/>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="menu" type="Menu" default=""/>
@@ -5951,136 +6242,136 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </method>
       <method name="Remove" type="Menu" overloaded="no">
         </paramlist>
       </method>
       <method name="Remove" type="Menu" overloaded="no">
-        <autodoc>Remove(size_t pos) -&gt; Menu</autodoc>
+        <autodoc>Remove(self, size_t pos) -&gt; Menu</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="EnableTop" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="EnableTop" type="" overloaded="no">
-        <autodoc>EnableTop(size_t pos, bool enable)</autodoc>
+        <autodoc>EnableTop(self, size_t pos, bool enable)</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsEnabledTop" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsEnabledTop" type="bool" overloaded="no">
-        <autodoc>IsEnabledTop(size_t pos) -&gt; bool</autodoc>
+        <autodoc>IsEnabledTop(self, size_t pos) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelTop" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelTop" type="" overloaded="no">
-        <autodoc>SetLabelTop(size_t pos, String label)</autodoc>
+        <autodoc>SetLabelTop(self, size_t pos, String label)</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabelTop" type="String" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabelTop" type="String" overloaded="no">
-        <autodoc>GetLabelTop(size_t pos) -&gt; String</autodoc>
+        <autodoc>GetLabelTop(self, size_t pos) -&gt; String</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="FindMenuItem" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="FindMenuItem" type="int" overloaded="no">
-        <autodoc>FindMenuItem(String menu, String item) -&gt; int</autodoc>
+        <autodoc>FindMenuItem(self, String menu, String item) -&gt; int</autodoc>
         <paramlist>
           <param name="menu" type="String" default=""/>
           <param name="item" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindItemById" type="wxMenuItem" overloaded="no">
         <paramlist>
           <param name="menu" type="String" default=""/>
           <param name="item" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindItemById" type="wxMenuItem" overloaded="no">
-        <autodoc>FindItemById(int id) -&gt; MenuItem</autodoc>
+        <autodoc>FindItemById(self, int id) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindMenu" type="int" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindMenu" type="int" overloaded="no">
-        <autodoc>FindMenu(String title) -&gt; int</autodoc>
+        <autodoc>FindMenu(self, String title) -&gt; int</autodoc>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Enable" type="" overloaded="no">
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Enable" type="" overloaded="no">
-        <autodoc>Enable(int id, bool enable)</autodoc>
+        <autodoc>Enable(self, int id, bool enable)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Check" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Check" type="" overloaded="no">
-        <autodoc>Check(int id, bool check)</autodoc>
+        <autodoc>Check(self, int id, bool check)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="check" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="check" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
-        <autodoc>IsChecked(int id) -&gt; bool</autodoc>
+        <autodoc>IsChecked(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
-        <autodoc>IsEnabled(int id) -&gt; bool</autodoc>
+        <autodoc>IsEnabled(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLabel" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(int id, String label)</autodoc>
+        <autodoc>SetLabel(self, int id, String label)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel(int id) -&gt; String</autodoc>
+        <autodoc>GetLabel(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHelpString" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHelpString" type="" overloaded="no">
-        <autodoc>SetHelpString(int id, String helpString)</autodoc>
+        <autodoc>SetHelpString(self, int id, String helpString)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetHelpString" type="String" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetHelpString" type="String" overloaded="no">
-        <autodoc>GetHelpString(int id) -&gt; String</autodoc>
+        <autodoc>GetHelpString(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFrame" type="wxFrame" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFrame" type="wxFrame" overloaded="no">
-        <autodoc>GetFrame() -&gt; wxFrame</autodoc>
+        <autodoc>GetFrame(self) -&gt; wxFrame</autodoc>
       </method>
       <method name="IsAttached" type="bool" overloaded="no">
       </method>
       <method name="IsAttached" type="bool" overloaded="no">
-        <autodoc>IsAttached() -&gt; bool</autodoc>
+        <autodoc>IsAttached(self) -&gt; bool</autodoc>
       </method>
       <method name="Attach" type="" overloaded="no">
       </method>
       <method name="Attach" type="" overloaded="no">
-        <autodoc>Attach(wxFrame frame)</autodoc>
+        <autodoc>Attach(self, wxFrame frame)</autodoc>
         <paramlist>
           <param name="frame" type="wxFrame" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
         <paramlist>
           <param name="frame" type="wxFrame" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
-        <autodoc>Detach()</autodoc>
+        <autodoc>Detach(self)</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MenuItem" oldname="wxMenuItem" module="core">
+    <class name="MenuItem" oldname="wxMenuItem" module="_core">
       <baseclass name="Object"/>
       <constructor name="MenuItem" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="MenuItem" overloaded="no">
-        <autodoc>__init__(Menu parentMenu=None, int id=ID_SEPARATOR, String text=EmptyString, 
+        <autodoc>__init__(self, Menu parentMenu=None, int id=ID_ANY, String text=EmptyString, 
     String help=EmptyString, int kind=ITEM_NORMAL, 
     Menu subMenu=None) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="parentMenu" type="Menu" default="NULL"/>
     String help=EmptyString, int kind=ITEM_NORMAL, 
     Menu subMenu=None) -&gt; MenuItem</autodoc>
         <paramlist>
           <param name="parentMenu" type="Menu" default="NULL"/>
-          <param name="id" type="int" default="wxID_SEPARATOR"/>
+          <param name="id" type="int" default="wxID_ANY"/>
           <param name="text" type="String" default="wxPyEmptyString"/>
           <param name="help" type="String" default="wxPyEmptyString"/>
           <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
           <param name="text" type="String" default="wxPyEmptyString"/>
           <param name="help" type="String" default="wxPyEmptyString"/>
           <param name="kind" type="wxItemKind" default="wxITEM_NORMAL"/>
@@ -6088,37 +6379,37 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </constructor>
       <method name="GetMenu" type="Menu" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetMenu" type="Menu" overloaded="no">
-        <autodoc>GetMenu() -&gt; Menu</autodoc>
+        <autodoc>GetMenu(self) -&gt; Menu</autodoc>
       </method>
       <method name="SetMenu" type="" overloaded="no">
       </method>
       <method name="SetMenu" type="" overloaded="no">
-        <autodoc>SetMenu(Menu menu)</autodoc>
+        <autodoc>SetMenu(self, Menu menu)</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="SetId" type="" overloaded="no">
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(int id)</autodoc>
+        <autodoc>SetId(self, int id)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
-        <autodoc>GetId() -&gt; int</autodoc>
+        <autodoc>GetId(self) -&gt; int</autodoc>
       </method>
       <method name="IsSeparator" type="bool" overloaded="no">
       </method>
       <method name="IsSeparator" type="bool" overloaded="no">
-        <autodoc>IsSeparator() -&gt; bool</autodoc>
+        <autodoc>IsSeparator(self) -&gt; bool</autodoc>
       </method>
       <method name="SetText" type="" overloaded="no">
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String str)</autodoc>
+        <autodoc>SetText(self, String str)</autodoc>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel() -&gt; String</autodoc>
+        <autodoc>GetLabel(self) -&gt; String</autodoc>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <staticmethod name="GetLabelFromText" type="String" overloaded="no">
         <autodoc>GetLabelFromText(String text) -&gt; String</autodoc>
       </method>
       <staticmethod name="GetLabelFromText" type="String" overloaded="no">
         <autodoc>GetLabelFromText(String text) -&gt; String</autodoc>
@@ -6127,64 +6418,70 @@ hierarchy. The search is recursive in both cases.</docstring>
         </paramlist>
       </staticmethod>
       <method name="GetKind" type="wxItemKind" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="GetKind" type="wxItemKind" overloaded="no">
-        <autodoc>GetKind() -&gt; int</autodoc>
+        <autodoc>GetKind(self) -&gt; int</autodoc>
+      </method>
+      <method name="SetKind" type="" overloaded="no">
+        <autodoc>SetKind(self, int kind)</autodoc>
+        <paramlist>
+          <param name="kind" type="wxItemKind" default=""/>
+        </paramlist>
       </method>
       <method name="SetCheckable" type="" overloaded="no">
       </method>
       <method name="SetCheckable" type="" overloaded="no">
-        <autodoc>SetCheckable(bool checkable)</autodoc>
+        <autodoc>SetCheckable(self, bool checkable)</autodoc>
         <paramlist>
           <param name="checkable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsCheckable" type="bool" overloaded="no">
         <paramlist>
           <param name="checkable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsCheckable" type="bool" overloaded="no">
-        <autodoc>IsCheckable() -&gt; bool</autodoc>
+        <autodoc>IsCheckable(self) -&gt; bool</autodoc>
       </method>
       <method name="IsSubMenu" type="bool" overloaded="no">
       </method>
       <method name="IsSubMenu" type="bool" overloaded="no">
-        <autodoc>IsSubMenu() -&gt; bool</autodoc>
+        <autodoc>IsSubMenu(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSubMenu" type="" overloaded="no">
       </method>
       <method name="SetSubMenu" type="" overloaded="no">
-        <autodoc>SetSubMenu(Menu menu)</autodoc>
+        <autodoc>SetSubMenu(self, Menu menu)</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="GetSubMenu" type="Menu" overloaded="no">
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="GetSubMenu" type="Menu" overloaded="no">
-        <autodoc>GetSubMenu() -&gt; Menu</autodoc>
+        <autodoc>GetSubMenu(self) -&gt; Menu</autodoc>
       </method>
       <method name="Enable" type="" overloaded="no">
       </method>
       <method name="Enable" type="" overloaded="no">
-        <autodoc>Enable(bool enable=True)</autodoc>
+        <autodoc>Enable(self, bool enable=True)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
-        <autodoc>IsEnabled() -&gt; bool</autodoc>
+        <autodoc>IsEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="Check" type="" overloaded="no">
       </method>
       <method name="Check" type="" overloaded="no">
-        <autodoc>Check(bool check=True)</autodoc>
+        <autodoc>Check(self, bool check=True)</autodoc>
         <paramlist>
           <param name="check" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
         <paramlist>
           <param name="check" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
-        <autodoc>IsChecked() -&gt; bool</autodoc>
+        <autodoc>IsChecked(self) -&gt; bool</autodoc>
       </method>
       <method name="Toggle" type="" overloaded="no">
       </method>
       <method name="Toggle" type="" overloaded="no">
-        <autodoc>Toggle()</autodoc>
+        <autodoc>Toggle(self)</autodoc>
       </method>
       <method name="SetHelp" type="" overloaded="no">
       </method>
       <method name="SetHelp" type="" overloaded="no">
-        <autodoc>SetHelp(String str)</autodoc>
+        <autodoc>SetHelp(self, String str)</autodoc>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetHelp" type="String" overloaded="no">
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetHelp" type="String" overloaded="no">
-        <autodoc>GetHelp() -&gt; String</autodoc>
+        <autodoc>GetHelp(self) -&gt; String</autodoc>
       </method>
       <method name="GetAccel" type="AcceleratorEntry" overloaded="no">
       </method>
       <method name="GetAccel" type="AcceleratorEntry" overloaded="no">
-        <autodoc>GetAccel() -&gt; AcceleratorEntry</autodoc>
+        <autodoc>GetAccel(self) -&gt; AcceleratorEntry</autodoc>
       </method>
       <method name="SetAccel" type="" overloaded="no">
       </method>
       <method name="SetAccel" type="" overloaded="no">
-        <autodoc>SetAccel(AcceleratorEntry accel)</autodoc>
+        <autodoc>SetAccel(self, AcceleratorEntry accel)</autodoc>
         <paramlist>
           <param name="accel" type="AcceleratorEntry" default=""/>
         </paramlist>
         <paramlist>
           <param name="accel" type="AcceleratorEntry" default=""/>
         </paramlist>
@@ -6193,33 +6490,33 @@ hierarchy. The search is recursive in both cases.</docstring>
         <autodoc>GetDefaultMarginWidth() -&gt; int</autodoc>
       </staticmethod>
       <method name="SetBitmap" type="" overloaded="no">
         <autodoc>GetDefaultMarginWidth() -&gt; int</autodoc>
       </staticmethod>
       <method name="SetBitmap" type="" overloaded="no">
-        <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
         <paramlist>
           <param name="bitmap" type="wxBitmap" default=""/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="wxBitmap" overloaded="no">
         <paramlist>
           <param name="bitmap" type="wxBitmap" default=""/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="wxBitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Control" oldname="wxControl" module="core">
+    <class name="Control" oldname="wxControl" module="_core">
       <docstring>This is the base class for a control or 'widget'.
 
       <docstring>This is the base class for a control or 'widget'.
 
-A control is generally a small window which processes user input and/or
-displays one or more item of data.</docstring>
+A control is generally a small window which processes user input
+and/or displays one or more item of data.</docstring>
       <baseclass name="Window"/>
       <constructor name="Control" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="Control" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, Validator validator=DefaultValidator, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, 
     String name=ControlNameStr) -&gt; Control</autodoc>
     String name=ControlNameStr) -&gt; Control</autodoc>
-        <docstring>Create a Control.  Normally you should only call this from a
-subclass' __init__ as a plain old wx.Control is not very useful.</docstring>
+        <docstring>Create a Control.  Normally you should only call this from a subclass'
+__init__ as a plain old wx.Control is not very useful.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -6232,13 +6529,13 @@ subclass' __init__ as a plain old wx.Control is not very useful.</docstring>
         <docstring>Precreate a Control control for 2-phase creation</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <docstring>Precreate a Control control for 2-phase creation</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, Validator validator=DefaultValidator, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, 
     String name=ControlNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=ControlNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -6247,65 +6544,83 @@ subclass' __init__ as a plain old wx.Control is not very useful.</docstring>
         </paramlist>
       </method>
       <method name="Command" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Command" type="" overloaded="no">
-        <autodoc>Command(CommandEvent event)</autodoc>
-        <docstring>Simulates the effect of the user issuing a command to the
-item. See wxCommandEvent.</docstring>
+        <autodoc>Command(self, CommandEvent event)</autodoc>
+        <docstring>Simulates the effect of the user issuing a command to the item.
+
+:see: `wx.CommandEvent`
+</docstring>
         <paramlist>
           <param name="event" type="CommandEvent" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
         <paramlist>
           <param name="event" type="CommandEvent" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel() -&gt; String</autodoc>
+        <autodoc>GetLabel(self) -&gt; String</autodoc>
         <docstring>Return a control's text.</docstring>
       </method>
       <method name="SetLabel" type="" overloaded="no">
         <docstring>Return a control's text.</docstring>
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(String label)</autodoc>
+        <autodoc>SetLabel(self, String label)</autodoc>
         <docstring>Sets the item's text.</docstring>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
         <docstring>Sets the item's text.</docstring>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ItemContainer" oldname="wxItemContainer" module="core">
+    <class name="ItemContainer" oldname="wxItemContainer" module="_core">
       <docstring>wx.ItemContainer defines an interface which is implemented by all
       <docstring>wx.ItemContainer defines an interface which is implemented by all
-controls which have string subitems, each of which may be
-selected, such as wx.ListBox, wx.CheckListBox, wx.Choice and
-wx.ComboBox (which implements an extended interface deriving from
-this one)
+controls which have string subitems, each of which may be selected,
+such as `wx.ListBox`, `wx.CheckListBox`, `wx.Choice` as well as
+`wx.ComboBox` which implements an extended interface deriving from
+this one.
 
 
-It defines the methods for accessing the control's items and
-although each of the derived classes implements them differently,
-they still all conform to the same interface.
+It defines the methods for accessing the control's items and although
+each of the derived classes implements them differently, they still
+all conform to the same interface.
 
 
-The items in a wx.ItemContainer have (non empty) string labels
-and, optionally, client data associated with them.
+The items in a wx.ItemContainer have (non empty) string labels and,
+optionally, client data associated with them.
 </docstring>
       <method name="Append" type="int" overloaded="no">
 </docstring>
       <method name="Append" type="int" overloaded="no">
-        <autodoc>Append(String item, PyObject clientData=None) -&gt; int</autodoc>
-        <docstring>Adds the item to the control, associating the given data with the
-item if not None.  The return value is the index of the newly
-added item which may be different from the last one if the
-control is sorted (e.g. has wx.LB_SORT or wx.CB_SORT style).</docstring>
+        <autodoc>Append(self, String item, PyObject clientData=None) -&gt; int</autodoc>
+        <docstring>Adds the item to the control, associating the given data with the item
+if not None.  The return value is the index of the newly added item
+which may be different from the last one if the control is sorted (e.g.
+has wx.LB_SORT or wx.CB_SORT style).</docstring>
         <paramlist>
           <param name="item" type="String" default=""/>
           <param name="clientData" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
       <method name="AppendItems" type="" overloaded="no">
         <paramlist>
           <param name="item" type="String" default=""/>
           <param name="clientData" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
       <method name="AppendItems" type="" overloaded="no">
-        <autodoc>AppendItems(wxArrayString strings)</autodoc>
-        <docstring>Apend several items at once to the control.  Notice that calling
-this method may be much faster than appending the items one by
-one if you need to add a lot of items.</docstring>
+        <autodoc>AppendItems(self, List strings)</autodoc>
+        <docstring>Apend several items at once to the control.  Notice that calling this
+method may be much faster than appending the items one by one if you
+need to add a lot of items.</docstring>
         <paramlist>
           <param name="strings" type="wxArrayString" default=""/>
         </paramlist>
       </method>
       <method name="Insert" type="int" overloaded="no">
         <paramlist>
           <param name="strings" type="wxArrayString" default=""/>
         </paramlist>
       </method>
       <method name="Insert" type="int" overloaded="no">
-        <autodoc>Insert(String item, int pos, PyObject clientData=None) -&gt; int</autodoc>
-        <docstring>Insert an item into the control before the item at the pos index,
+        <autodoc>Insert(self, String item, int pos, PyObject clientData=None) -&gt; int</autodoc>
+        <docstring>Insert an item into the control before the item at the ``pos`` index,
 optionally associating some data object with the item.</docstring>
         <paramlist>
           <param name="item" type="String" default=""/>
 optionally associating some data object with the item.</docstring>
         <paramlist>
           <param name="item" type="String" default=""/>
@@ -6314,39 +6629,39 @@ optionally associating some data object with the item.</docstring>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
         <docstring>Removes all items from the control.</docstring>
       </method>
       <method name="Delete" type="" overloaded="no">
         <docstring>Removes all items from the control.</docstring>
       </method>
       <method name="Delete" type="" overloaded="no">
-        <autodoc>Delete(int n)</autodoc>
-        <docstring>Deletes the item at the zero-based index 'n' from the control.
-Note that it is an error (signalled by a PyAssertionError
-exception if enabled) to remove an item with the index negative
-or greater or equal than the number of items in the control.</docstring>
+        <autodoc>Delete(self, int n)</autodoc>
+        <docstring>Deletes the item at the zero-based index 'n' from the control. Note
+that it is an error (signalled by a `wx.PyAssertionError` exception if
+enabled) to remove an item with the index negative or greater or equal
+than the number of items in the control.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
         <docstring>Returns the number of items in the control.</docstring>
       </method>
       <method name="IsEmpty" type="bool" overloaded="no">
         <docstring>Returns the number of items in the control.</docstring>
       </method>
       <method name="IsEmpty" type="bool" overloaded="no">
-        <autodoc>IsEmpty() -&gt; bool</autodoc>
+        <autodoc>IsEmpty(self) -&gt; bool</autodoc>
         <docstring>Returns True if the control is empty or False if it has some items.</docstring>
       </method>
       <method name="GetString" type="String" overloaded="no">
         <docstring>Returns True if the control is empty or False if it has some items.</docstring>
       </method>
       <method name="GetString" type="String" overloaded="no">
-        <autodoc>GetString(int n) -&gt; String</autodoc>
+        <autodoc>GetString(self, int n) -&gt; String</autodoc>
         <docstring>Returns the label of the item with the given index.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStrings" type="wxArrayString" overloaded="no">
         <docstring>Returns the label of the item with the given index.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStrings" type="wxArrayString" overloaded="no">
-        <autodoc>GetStrings() -&gt; wxArrayString</autodoc>
+        <autodoc>GetStrings(self) -&gt; wxArrayString</autodoc>
       </method>
       <method name="SetString" type="" overloaded="no">
       </method>
       <method name="SetString" type="" overloaded="no">
-        <autodoc>SetString(int n, String s)</autodoc>
+        <autodoc>SetString(self, int n, String s)</autodoc>
         <docstring>Sets the label for the given item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         <docstring>Sets the label for the given item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
@@ -6354,38 +6669,40 @@ or greater or equal than the number of items in the control.</docstring>
         </paramlist>
       </method>
       <method name="FindString" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="FindString" type="int" overloaded="no">
-        <autodoc>FindString(String s) -&gt; int</autodoc>
+        <autodoc>FindString(self, String s) -&gt; int</autodoc>
         <docstring>Finds an item whose label matches the given string.  Returns the
         <docstring>Finds an item whose label matches the given string.  Returns the
-zero-based position of the item, or wx.NOT_FOUND if the string
-was not found.</docstring>
+zero-based position of the item, or ``wx.NOT_FOUND`` if the string was not
+found.</docstring>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Select" type="" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Select" type="" overloaded="no">
-        <autodoc>Select(int n)</autodoc>
+        <autodoc>Select(self, int n)</autodoc>
         <docstring>Sets the item at index 'n' to be the selected item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
         <docstring>Sets the item at index 'n' to be the selected item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
-        <docstring>Returns the index of the selected item or wx.NOT_FOUND if no item is selected.</docstring>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
+        <docstring>Returns the index of the selected item or ``wx.NOT_FOUND`` if no item
+is selected.</docstring>
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
-        <autodoc>GetStringSelection() -&gt; String</autodoc>
-        <docstring>Returns the label of the selected item or an empty string if no item is selected.</docstring>
+        <autodoc>GetStringSelection(self) -&gt; String</autodoc>
+        <docstring>Returns the label of the selected item or an empty string if no item
+is selected.</docstring>
       </method>
       <method name="GetClientData" type="PyObject" overloaded="no">
       </method>
       <method name="GetClientData" type="PyObject" overloaded="no">
-        <autodoc>GetClientData(int n) -&gt; PyObject</autodoc>
+        <autodoc>GetClientData(self, int n) -&gt; PyObject</autodoc>
         <docstring>Returns the client data associated with the given item, (if any.)</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetClientData" type="" overloaded="no">
         <docstring>Returns the client data associated with the given item, (if any.)</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetClientData" type="" overloaded="no">
-        <autodoc>SetClientData(int n, PyObject clientData)</autodoc>
+        <autodoc>SetClientData(self, int n, PyObject clientData)</autodoc>
         <docstring>Associate the given client data with the item at position n.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         <docstring>Associate the given client data with the item at position n.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
@@ -6396,196 +6713,389 @@ was not found.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ControlWithItems" oldname="wxControlWithItems" module="core">
-      <docstring>wx.ControlWithItems combines the wx.ItemContainer class with the
-wx.Control class, and is used for the base class of various
-controls that have items.</docstring>
+    <class name="ControlWithItems" oldname="wxControlWithItems" module="_core">
+      <docstring>wx.ControlWithItems combines the ``wx.ItemContainer`` class with the
+wx.Control class, and is used for the base class of various controls
+that have items.</docstring>
       <baseclass name="Control"/>
       <baseclass name="ItemContainer"/>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       <baseclass name="Control"/>
       <baseclass name="ItemContainer"/>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SizerItem" oldname="wxSizerItem" module="core">
+    <class name="SizerItem" oldname="wxSizerItem" module="_core">
+      <docstring>The wx.SizerItem class is used to track the position, size and other
+attributes of each item managed by a `wx.Sizer`. In normal usage user
+code should never need to deal directly with a wx.SizerItem, but
+custom classes derived from `wx.PySizer` will probably need to use the
+collection of wx.SizerItems held by wx.Sizer when calculating layout.
+
+:see: `wx.Sizer`, `wx.GBSizerItem`</docstring>
       <baseclass name="Object"/>
       <constructor name="SizerItem" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="SizerItem" overloaded="no">
-        <autodoc>__init__() -&gt; SizerItem</autodoc>
+        <autodoc>__init__(self) -&gt; SizerItem</autodoc>
+        <docstring>Constructs an empty wx.SizerItem.  Either a window, sizer or spacer
+size will need to be set before this item can be used in a Sizer.
+
+You will probably never need to create a wx.SizerItem directly as they
+are created automatically when the sizer's Add, Insert or Prepend
+methods are called.
+
+:see: `wx.SizerItemSpacer`, `wx.SizerItemWindow`, `wx.SizerItemSizer`</docstring>
       </constructor>
       </constructor>
-      <constructor name="SizerItemSpacer" overloaded="no">
-        <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border, 
-    Object userData) -&gt; SizerItem</autodoc>
+      <constructor name="SizerItemWindow" overloaded="no">
+        <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border, 
+    PyObject userData=None) -&gt; SizerItem</autodoc>
+        <docstring>Constructs a `wx.SizerItem` for tracking a window.</docstring>
         <paramlist>
         <paramlist>
-          <param name="width" type="int" default=""/>
-          <param name="height" type="int" default=""/>
+          <param name="window" type="Window" default=""/>
           <param name="proportion" type="int" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
           <param name="proportion" type="int" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
-          <param name="userData" type="Object" default=""/>
+          <param name="userData" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
         </paramlist>
       </constructor>
-      <constructor name="SizerItemWindow" overloaded="no">
-        <autodoc>SizerItemWindow(Window window, int proportion, int flag, int border, 
-    Object userData) -&gt; SizerItem</autodoc>
+      <constructor name="SizerItemSpacer" overloaded="no">
+        <autodoc>SizerItemSpacer(int width, int height, int proportion, int flag, int border, 
+    PyObject userData=None) -&gt; SizerItem</autodoc>
+        <docstring>Constructs a `wx.SizerItem` for tracking a spacer.</docstring>
         <paramlist>
         <paramlist>
-          <param name="window" type="Window" default=""/>
+          <param name="width" type="int" default=""/>
+          <param name="height" type="int" default=""/>
           <param name="proportion" type="int" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
           <param name="proportion" type="int" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
-          <param name="userData" type="Object" default=""/>
+          <param name="userData" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <constructor name="SizerItemSizer" overloaded="no">
         <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border, 
         </paramlist>
       </constructor>
       <constructor name="SizerItemSizer" overloaded="no">
         <autodoc>SizerItemSizer(Sizer sizer, int proportion, int flag, int border, 
-    Object userData) -&gt; SizerItem</autodoc>
+    PyObject userData=None) -&gt; SizerItem</autodoc>
+        <docstring>Constructs a `wx.SizerItem` for tracking a subsizer</docstring>
         <paramlist>
           <param name="sizer" type="wxSizer" default=""/>
           <param name="proportion" type="int" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
         <paramlist>
           <param name="sizer" type="wxSizer" default=""/>
           <param name="proportion" type="int" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
-          <param name="userData" type="Object" default=""/>
+          <param name="userData" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="DeleteWindows" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="DeleteWindows" type="" overloaded="no">
-        <autodoc>DeleteWindows()</autodoc>
+        <autodoc>DeleteWindows(self)</autodoc>
+        <docstring>Destroy the window or the windows in a subsizer, depending on the type
+of item.</docstring>
       </method>
       <method name="DetachSizer" type="" overloaded="no">
       </method>
       <method name="DetachSizer" type="" overloaded="no">
-        <autodoc>DetachSizer()</autodoc>
+        <autodoc>DetachSizer(self)</autodoc>
+        <docstring>Enable deleting the SizerItem without destroying the contained sizer.</docstring>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
+        <docstring>Get the current size of the item, as set in the last Layout.</docstring>
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
+        <autodoc>CalcMin(self) -&gt; Size</autodoc>
+        <docstring>Calculates the minimum desired size for the item, including any space
+needed by borders.</docstring>
       </method>
       <method name="SetDimension" type="" overloaded="no">
       </method>
       <method name="SetDimension" type="" overloaded="no">
-        <autodoc>SetDimension(Point pos, Size size)</autodoc>
+        <autodoc>SetDimension(self, Point pos, Size size)</autodoc>
+        <docstring>Set the position and size of the space allocated for this item by the
+sizer, and adjust the position and size of the item (window or
+subsizer) to be within that space taking alignment and borders into
+account.</docstring>
         <paramlist>
           <param name="pos" type="Point" default=""/>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetMinSize" type="Size" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetMinSize" type="Size" overloaded="no">
-        <autodoc>GetMinSize() -&gt; Size</autodoc>
+        <autodoc>GetMinSize(self) -&gt; Size</autodoc>
+        <docstring>Get the minimum size needed for the item.</docstring>
+      </method>
+      <method name="GetMinSizeWithBorder" type="Size" overloaded="no">
+        <autodoc>GetMinSizeWithBorder(self) -&gt; Size</autodoc>
+        <docstring>Get the minimum size needed for the item with space for the borders
+added, if needed.</docstring>
       </method>
       <method name="SetInitSize" type="" overloaded="no">
       </method>
       <method name="SetInitSize" type="" overloaded="no">
-        <autodoc>SetInitSize(int x, int y)</autodoc>
+        <autodoc>SetInitSize(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRatioWH" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRatioWH" type="" overloaded="no">
-        <autodoc>SetRatioWH(int width, int height)</autodoc>
+        <autodoc>SetRatioWH(self, int width, int height)</autodoc>
+        <docstring>Set the ratio item attribute.</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRatioSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRatioSize" type="" overloaded="no">
-        <autodoc>SetRatioSize(Size size)</autodoc>
+        <autodoc>SetRatioSize(self, Size size)</autodoc>
+        <docstring>Set the ratio item attribute.</docstring>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetRatio" type="" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetRatio" type="" overloaded="no">
-        <autodoc>SetRatio(float ratio)</autodoc>
+        <autodoc>SetRatio(self, float ratio)</autodoc>
+        <docstring>Set the ratio item attribute.</docstring>
         <paramlist>
           <param name="ratio" type="float" default=""/>
         </paramlist>
       </method>
       <method name="GetRatio" type="float" overloaded="no">
         <paramlist>
           <param name="ratio" type="float" default=""/>
         </paramlist>
       </method>
       <method name="GetRatio" type="float" overloaded="no">
-        <autodoc>GetRatio() -&gt; float</autodoc>
+        <autodoc>GetRatio(self) -&gt; float</autodoc>
+        <docstring>Set the ratio item attribute.</docstring>
       </method>
       <method name="IsWindow" type="bool" overloaded="no">
       </method>
       <method name="IsWindow" type="bool" overloaded="no">
-        <autodoc>IsWindow() -&gt; bool</autodoc>
+        <autodoc>IsWindow(self) -&gt; bool</autodoc>
+        <docstring>Is this sizer item a window?</docstring>
       </method>
       <method name="IsSizer" type="bool" overloaded="no">
       </method>
       <method name="IsSizer" type="bool" overloaded="no">
-        <autodoc>IsSizer() -&gt; bool</autodoc>
+        <autodoc>IsSizer(self) -&gt; bool</autodoc>
+        <docstring>Is this sizer item a subsizer?</docstring>
       </method>
       <method name="IsSpacer" type="bool" overloaded="no">
       </method>
       <method name="IsSpacer" type="bool" overloaded="no">
-        <autodoc>IsSpacer() -&gt; bool</autodoc>
+        <autodoc>IsSpacer(self) -&gt; bool</autodoc>
+        <docstring>Is this sizer item a spacer?</docstring>
       </method>
       <method name="SetProportion" type="" overloaded="no">
       </method>
       <method name="SetProportion" type="" overloaded="no">
-        <autodoc>SetProportion(int proportion)</autodoc>
+        <autodoc>SetProportion(self, int proportion)</autodoc>
+        <docstring>Set the proportion value for this item.</docstring>
         <paramlist>
           <param name="proportion" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetProportion" type="int" overloaded="no">
         <paramlist>
           <param name="proportion" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetProportion" type="int" overloaded="no">
-        <autodoc>GetProportion() -&gt; int</autodoc>
+        <autodoc>GetProportion(self) -&gt; int</autodoc>
+        <docstring>Get the proportion value for this item.</docstring>
       </method>
       <method name="SetFlag" type="" overloaded="no">
       </method>
       <method name="SetFlag" type="" overloaded="no">
-        <autodoc>SetFlag(int flag)</autodoc>
+        <autodoc>SetFlag(self, int flag)</autodoc>
+        <docstring>Set the flag value for this item.</docstring>
         <paramlist>
           <param name="flag" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlag" type="int" overloaded="no">
         <paramlist>
           <param name="flag" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlag" type="int" overloaded="no">
-        <autodoc>GetFlag() -&gt; int</autodoc>
+        <autodoc>GetFlag(self) -&gt; int</autodoc>
+        <docstring>Get the flag value for this item.</docstring>
       </method>
       <method name="SetBorder" type="" overloaded="no">
       </method>
       <method name="SetBorder" type="" overloaded="no">
-        <autodoc>SetBorder(int border)</autodoc>
+        <autodoc>SetBorder(self, int border)</autodoc>
+        <docstring>Set the border value for this item.</docstring>
         <paramlist>
           <param name="border" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBorder" type="int" overloaded="no">
         <paramlist>
           <param name="border" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBorder" type="int" overloaded="no">
-        <autodoc>GetBorder() -&gt; int</autodoc>
+        <autodoc>GetBorder(self) -&gt; int</autodoc>
+        <docstring>Get the border value for this item.</docstring>
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
+        <docstring>Get the window (if any) that is managed by this sizer item.</docstring>
       </method>
       <method name="SetWindow" type="" overloaded="no">
       </method>
       <method name="SetWindow" type="" overloaded="no">
-        <autodoc>SetWindow(Window window)</autodoc>
+        <autodoc>SetWindow(self, Window window)</autodoc>
+        <docstring>Set the window to be managed by this sizer item.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetSizer" type="wxSizer" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetSizer" type="wxSizer" overloaded="no">
-        <autodoc>GetSizer() -&gt; Sizer</autodoc>
+        <autodoc>GetSizer(self) -&gt; Sizer</autodoc>
+        <docstring>Get the subsizer (if any) that is managed by this sizer item.</docstring>
       </method>
       <method name="SetSizer" type="" overloaded="no">
       </method>
       <method name="SetSizer" type="" overloaded="no">
-        <autodoc>SetSizer(Sizer sizer)</autodoc>
+        <autodoc>SetSizer(self, Sizer sizer)</autodoc>
+        <docstring>Set the subsizer to be managed by this sizer item.</docstring>
         <paramlist>
           <param name="sizer" type="wxSizer" default=""/>
         </paramlist>
       </method>
       <method name="GetSpacer" type="Size" overloaded="no">
         <paramlist>
           <param name="sizer" type="wxSizer" default=""/>
         </paramlist>
       </method>
       <method name="GetSpacer" type="Size" overloaded="no">
-        <autodoc>GetSpacer() -&gt; Size</autodoc>
+        <autodoc>GetSpacer(self) -&gt; Size</autodoc>
+        <docstring>Get the size of the spacer managed by this sizer item.</docstring>
       </method>
       <method name="SetSpacer" type="" overloaded="no">
       </method>
       <method name="SetSpacer" type="" overloaded="no">
-        <autodoc>SetSpacer(Size size)</autodoc>
+        <autodoc>SetSpacer(self, Size size)</autodoc>
+        <docstring>Set the size of the spacer to be managed by this sizer item.</docstring>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
-        <autodoc>Show(bool show)</autodoc>
+        <autodoc>Show(self, bool show)</autodoc>
+        <docstring>Set the show item attribute, which sizers use to determine if the item
+is to be made part of the layout or not. If the item is tracking a
+window then it is shown or hidden as needed.</docstring>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsShown" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsShown" type="bool" overloaded="no">
-        <autodoc>IsShown() -&gt; bool</autodoc>
+        <autodoc>IsShown(self) -&gt; bool</autodoc>
+        <docstring>Is the item to be shown in the layout?</docstring>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
+        <docstring>Returns the current position of the item, as set in the last Layout.</docstring>
       </method>
       <method name="GetUserData" type="PyObject" overloaded="no">
       </method>
       <method name="GetUserData" type="PyObject" overloaded="no">
-        <autodoc>GetUserData() -&gt; PyObject</autodoc>
-      </method>
-    </class>
-    <class name="Sizer" oldname="wxSizer" module="core">
+        <autodoc>GetUserData(self) -&gt; PyObject</autodoc>
+        <docstring>Returns the userData associated with this sizer item, or None if there
+isn't any.</docstring>
+      </method>
+    </class>
+    <class name="Sizer" oldname="wxSizer" module="_core">
+      <docstring>wx.Sizer is the abstract base class used for laying out subwindows in
+a window.  You cannot use wx.Sizer directly; instead, you will have to
+use one of the sizer classes derived from it such as `wx.BoxSizer`,
+`wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`,  `wx.FlexGridSizer`
+and `wx.GridBagSizer`.
+
+The concept implemented by sizers in wxWidgets is closely related to
+layout tools in other GUI toolkits, such as Java's AWT, the GTK
+toolkit or the Qt toolkit. It is based upon the idea of the individual
+subwindows reporting their minimal required size and their ability to
+get stretched if the size of the parent window has changed. This will
+most often mean that the programmer does not set the original size of
+a dialog in the beginning, rather the dialog will assigned a sizer and
+this sizer will be queried about the recommended size. The sizer in
+turn will query its children, which can be normal windows or contorls,
+empty space or other sizers, so that a hierarchy of sizers can be
+constructed. Note that wxSizer does not derive from wxWindow and thus
+do not interfere with tab ordering and requires very little resources
+compared to a real window on screen.
+
+What makes sizers so well fitted for use in wxWidgets is the fact that
+every control reports its own minimal size and the algorithm can
+handle differences in font sizes or different window (dialog item)
+sizes on different platforms without problems. If for example the
+standard font as well as the overall design of Mac widgets requires
+more space than on Windows, then the initial size of a dialog using a
+sizer will automatically be bigger on Mac than on Windows.
+
+:note: If you wish to create a custom sizer class in wxPython you
+    should derive the class from `wx.PySizer` in order to get
+    Python-aware capabilities for the various virtual methods.
+
+:see: `wx.SizerItem`
+
+:todo: More dscriptive text here along with some pictures...
+
+</docstring>
       <baseclass name="Object"/>
       <method name="_setOORInfo" type="" overloaded="no">
       <baseclass name="Object"/>
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Add" type="" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Add" type="" overloaded="no">
-        <autodoc>Add(PyObject item, int proportion=0, int flag=0, int border=0, 
+        <autodoc>Add(self, item, int proportion=0, int flag=0, int border=0,
     PyObject userData=None)</autodoc>
     PyObject userData=None)</autodoc>
+        <docstring>Appends a child item to the sizer.
+
+    :param item:  The item can be one of three kinds of objects:
+
+        - **window**: A `wx.Window` to be managed by the sizer. Its
+          minimal size (either set explicitly by the user or
+          calculated internally when constructed with wx.DefaultSize)
+          is interpreted as the minimal size to use when laying out
+          item in the sizer.  This is particularly useful in
+          connection with `wx.Window.SetSizeHints`.
+
+        - **sizer**: The (child-)sizer to be added to the sizer. This
+          allows placing a child sizer in a sizer and thus to create
+          hierarchies of sizers (typically a vertical box as the top
+          sizer and several horizontal boxes on the level beneath).
+
+        - **size**: A `wx.Size` or a 2-element sequence of integers
+          that represents the width and height of a spacer to be added
+          to the sizer. Adding spacers to sizers gives more
+          flexibility in the design of dialogs; imagine for example a
+          horizontal box with two buttons at the bottom of a dialog:
+          you might want to insert a space between the two buttons and
+          make that space stretchable using the *proportion* value and
+          the result will be that the left button will be aligned with
+          the left side of the dialog and the right button with the
+          right side - the space in between will shrink and grow with
+          the dialog.
+
+    :param proportion: Although the meaning of this parameter is
+        undefined in wx.Sizer, it is used in `wx.BoxSizer` to indicate
+        if a child of a sizer can change its size in the main
+        orientation of the wx.BoxSizer - where 0 stands for not
+        changeable and a value of more than zero is interpreted
+        relative (a proportion of the total) to the value of other
+        children of the same wx.BoxSizer. For example, you might have
+        a horizontal wx.BoxSizer with three children, two of which are
+        supposed to change their size with the sizer. Then the two
+        stretchable windows should each be given *proportion* value of
+        1 to make them grow and shrink equally with the sizer's
+        horizontal dimension.  But if one of them had a *proportion*
+        value of 2 then it would get a double share of the space
+        available after the fixed size items are positioned.
+
+    :param flag: This parameter can be used to set a number of flags
+        which can be combined using the binary OR operator ``|``. Two
+        main behaviours are defined using these flags. One is the
+        border around a window: the *border* parameter determines the
+        border width whereas the flags given here determine which
+        side(s) of the item that the border will be added. The other
+        flags determine how the sizer item behaves when the space
+        allotted to the sizer changes, and is somewhat dependent on
+        the specific kind of sizer used.
+
+        +----------------------------+------------------------------------------+
+        |- wx.TOP                    |These flags are used to specify           |
+        |- wx.BOTTOM                 |which side(s) of the sizer item that      |
+        |- wx.LEFT                   |the *border* width will apply to.         |
+        |- wx.RIGHT                  |                                          |
+        |- wx.ALL                    |                                          |
+        |                            |                                          |
+        +----------------------------+------------------------------------------+
+        |- wx.EXAPAND                |The item will be expanded to fill         |
+        |                            |the space allotted to the item.           |
+        +----------------------------+------------------------------------------+
+        |- wx.SHAPED                 |The item will be expanded as much as      |
+        |                            |possible while also maintaining its       |
+        |                            |aspect ratio                              |
+        +----------------------------+------------------------------------------+
+        |- wx.FIXED_MINSIZE          |Normally wx.Sizers will use               |
+        |                            |`wx.Window.GetMinSize` or                 |
+        |                            |`wx.Window.GetBestSize` to determine what |
+        |                            |the minimal size of window items should   |
+        |                            |be, and will use that size to calculate   |
+        |                            |the layout. This allows layouts to adjust |
+        |                            |when an item changes and it's best size   |
+        |                            |becomes different. If you would rather    |
+        |                            |have a window item stay the size it       |
+        |                            |started with then use wx.FIXED_MINSIZE.   |
+        +----------------------------+------------------------------------------+
+        |- wx.ALIGN_CENTER           |The wx.ALIGN flags allow you to specify   |
+        |- wx.ALIGN_LEFT             |the alignment of the item within the space|
+        |- wx.ALIGN_RIGHT            |allotted to it by the sizer, ajusted for  |
+        |- wx.ALIGN_TOP              |the border if any.                        |
+        |- wx.ALIGN_BOTTOM           |                                          |
+        |- wx.ALIGN_CENTER_VERTICAL  |                                          |
+        |- wx.ALIGN_CENTER_HORIZONTAL|                                          |
+        +----------------------------+------------------------------------------+
+
+
+    :param border: Determines the border width, if the *flag*
+        parameter is set to include any border flag.
+
+    :param userData: Allows an extra object to be attached to the
+        sizer item, for use in derived classes when sizing information
+        is more complex than the *proportion* and *flag* will allow for.
+</docstring>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="proportion" type="int" default="0"/>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="proportion" type="int" default="0"/>
@@ -6595,8 +7105,10 @@ controls that have items.</docstring>
         </paramlist>
       </method>
       <method name="Insert" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Insert" type="" overloaded="no">
-        <autodoc>Insert(int before, PyObject item, int proportion=0, int flag=0, 
-    int border=0, PyObject userData=None)</autodoc>
+        <autodoc>Insert(self, int before, item, int proportion=0, int flag=0, int border=0,
+    PyObject userData=None)</autodoc>
+        <docstring>Inserts a new item into the list of items managed by this sizer before
+the item at index *before*.  See `Add` for a description of the parameters.</docstring>
         <paramlist>
           <param name="before" type="int" default=""/>
           <param name="item" type="PyObject" default=""/>
         <paramlist>
           <param name="before" type="int" default=""/>
           <param name="item" type="PyObject" default=""/>
@@ -6607,8 +7119,10 @@ controls that have items.</docstring>
         </paramlist>
       </method>
       <method name="Prepend" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Prepend" type="" overloaded="no">
-        <autodoc>Prepend(PyObject item, int proportion=0, int flag=0, int border=0, 
+        <autodoc>Prepend(self, item, int proportion=0, int flag=0, int border=0,
     PyObject userData=None)</autodoc>
     PyObject userData=None)</autodoc>
+        <docstring>Adds a new item to the begining of the list of sizer items managed by
+this sizer.  See `Add` for a description of the parameters.</docstring>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="proportion" type="int" default="0"/>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="proportion" type="int" default="0"/>
@@ -6618,39 +7132,69 @@ controls that have items.</docstring>
         </paramlist>
       </method>
       <method name="Remove" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Remove" type="bool" overloaded="no">
-        <autodoc>Remove(PyObject item) -&gt; bool</autodoc>
+        <autodoc>Remove(self, item) -&gt; bool</autodoc>
+        <docstring>Removes an item from the sizer and destroys it.  This method does not
+cause any layout or resizing to take place, call `Layout` to update
+the layout on screen after removing a child from the sizer.  The
+*item* parameter can be either a window, a sizer, or the zero-based
+index of an item to remove.  Returns True if the child item was found
+and removed.
+
+:note: For historical reasons calling this method with a `wx.Window`
+    parameter is depreacted, as it will not be able to destroy the
+    window since it is owned by its parent.  You should use `Detach`
+    instead.
+</docstring>
+        <paramlist>
+          <param name="item" type="PyObject" default=""/>
+        </paramlist>
+      </method>
+      <method name="Detach" type="bool" overloaded="no">
+        <autodoc>Detach(self, item) -&gt; bool</autodoc>
+        <docstring>Detaches an item from the sizer without destroying it.  This method
+does not cause any layout or resizing to take place, call `Layout` to
+do so.  The *item* parameter can be either a window, a sizer, or the
+zero-based index of the item to be detached.  Returns True if the child item
+was found and detached.</docstring>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="_SetItemMinSize" type="" overloaded="no">
         <paramlist>
           <param name="item" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="_SetItemMinSize" type="" overloaded="no">
-        <autodoc>_SetItemMinSize(PyObject item, Size size)</autodoc>
+        <autodoc>_SetItemMinSize(self, PyObject item, Size size)</autodoc>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="AddItem" type="" overloaded="no">
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="AddItem" type="" overloaded="no">
-        <autodoc>AddItem(SizerItem item)</autodoc>
+        <autodoc>AddItem(self, SizerItem item)</autodoc>
+        <docstring>Adds a `wx.SizerItem` to the sizer.</docstring>
         <paramlist>
           <param name="item" type="SizerItem" default=""/>
         </paramlist>
       </method>
       <method name="InsertItem" type="" overloaded="no">
         <paramlist>
           <param name="item" type="SizerItem" default=""/>
         </paramlist>
       </method>
       <method name="InsertItem" type="" overloaded="no">
-        <autodoc>InsertItem(size_t index, SizerItem item)</autodoc>
+        <autodoc>InsertItem(self, int index, SizerItem item)</autodoc>
+        <docstring>Inserts a `wx.SizerItem` to the sizer at the position given by *index*.</docstring>
         <paramlist>
           <param name="index" type="size_t" default=""/>
           <param name="item" type="SizerItem" default=""/>
         </paramlist>
       </method>
       <method name="PrependItem" type="" overloaded="no">
         <paramlist>
           <param name="index" type="size_t" default=""/>
           <param name="item" type="SizerItem" default=""/>
         </paramlist>
       </method>
       <method name="PrependItem" type="" overloaded="no">
-        <autodoc>PrependItem(SizerItem item)</autodoc>
+        <autodoc>PrependItem(self, SizerItem item)</autodoc>
+        <docstring>Prepends a `wx.SizerItem` to the sizer.</docstring>
         <paramlist>
           <param name="item" type="SizerItem" default=""/>
         </paramlist>
       </method>
       <method name="SetDimension" type="" overloaded="no">
         <paramlist>
           <param name="item" type="SizerItem" default=""/>
         </paramlist>
       </method>
       <method name="SetDimension" type="" overloaded="no">
-        <autodoc>SetDimension(int x, int y, int width, int height)</autodoc>
+        <autodoc>SetDimension(self, int x, int y, int width, int height)</autodoc>
+        <docstring>Call this to force the sizer to take the given dimension and thus
+force the items owned by the sizer to resize themselves according to
+the rules defined by the parameter in the `Add`, `Insert` or `Prepend`
+methods.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -6659,98 +7203,193 @@ controls that have items.</docstring>
         </paramlist>
       </method>
       <method name="SetMinSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetMinSize" type="" overloaded="no">
-        <autodoc>SetMinSize(Size size)</autodoc>
+        <autodoc>SetMinSize(self, Size size)</autodoc>
+        <docstring>Call this to give the sizer a minimal size. Normally, the sizer will
+calculate its minimal size based purely on how much space its children
+need. After calling this method `GetMinSize` will return either the
+minimal size as requested by its children or the minimal size set
+here, depending on which is bigger.</docstring>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
+        <docstring>Returns the current size of the space managed by the sizer.</docstring>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
+        <docstring>Returns the current position of the sizer's managed space.</docstring>
       </method>
       <method name="GetMinSize" type="Size" overloaded="no">
       </method>
       <method name="GetMinSize" type="Size" overloaded="no">
-        <autodoc>GetMinSize() -&gt; Size</autodoc>
+        <autodoc>GetMinSize(self) -&gt; Size</autodoc>
+        <docstring>Returns the minimal size of the sizer. This is either the combined
+minimal size of all the children and their borders or the minimal size
+set by SetMinSize, depending on which is bigger.</docstring>
       </method>
       <method name="RecalcSizes" type="" overloaded="no">
       </method>
       <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
+        <autodoc>RecalcSizes(self)</autodoc>
+        <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
+items managed by this sizer.  You should not need to call this directly as
+it is called by `Layout`.</docstring>
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
+        <autodoc>CalcMin(self) -&gt; Size</autodoc>
+        <docstring>This method is where the sizer will do the actual calculation of its
+children's minimal sizes.  You should not need to call this directly as
+it is called by `Layout`.</docstring>
       </method>
       <method name="Layout" type="" overloaded="no">
       </method>
       <method name="Layout" type="" overloaded="no">
-        <autodoc>Layout()</autodoc>
+        <autodoc>Layout(self)</autodoc>
+        <docstring>This method will force the recalculation and layout of the items
+controlled by the sizer using the current space allocated to the
+sizer.  Normally this is called automatically from the owning window's
+EVT_SIZE handler, but it is also useful to call it from user code when
+one of the items in a sizer change size, or items are added or
+removed.</docstring>
       </method>
       <method name="Fit" type="Size" overloaded="no">
       </method>
       <method name="Fit" type="Size" overloaded="no">
-        <autodoc>Fit(Window window) -&gt; Size</autodoc>
+        <autodoc>Fit(self, Window window) -&gt; Size</autodoc>
+        <docstring>Tell the sizer to resize the *window* to match the sizer's minimal
+size. This is commonly done in the constructor of the window itself in
+order to set its initial size to match the needs of the children as
+determined by the sizer.  Returns the new size.
+
+For a top level window this is the total window size, not the client size.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="FitInside" type="" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="FitInside" type="" overloaded="no">
-        <autodoc>FitInside(Window window)</autodoc>
+        <autodoc>FitInside(self, Window window)</autodoc>
+        <docstring>Tell the sizer to resize the *virtual size* of the *window* to match the
+sizer's minimal size. This will not alter the on screen size of the
+window, but may cause the addition/removal/alteration of scrollbars
+required to view the virtual area in windows which manage it.
+
+:see: `wx.ScrolledWindow.SetScrollbars`, `SetVirtualSizeHints`
+</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetSizeHints" type="" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetSizeHints" type="" overloaded="no">
-        <autodoc>SetSizeHints(Window window)</autodoc>
+        <autodoc>SetSizeHints(self, Window window)</autodoc>
+        <docstring>Tell the sizer to set (and `Fit`) the minimal size of the *window* to
+match the sizer's minimal size. This is commonly done in the
+constructor of the window itself if the window is resizable (as are
+many dialogs under Unix and frames on probably all platforms) in order
+to prevent the window from being sized smaller than the minimal size
+required by the sizer.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetVirtualSizeHints" type="" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetVirtualSizeHints" type="" overloaded="no">
-        <autodoc>SetVirtualSizeHints(Window window)</autodoc>
+        <autodoc>SetVirtualSizeHints(self, Window window)</autodoc>
+        <docstring>Tell the sizer to set the minimal size of the window virtual area to
+match the sizer's minimal size. For windows with managed scrollbars
+this will set them appropriately.
+
+:see: `wx.ScrolledWindow.SetScrollbars`
+</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear(bool delete_windows=False)</autodoc>
+        <autodoc>Clear(self, bool deleteWindows=False)</autodoc>
+        <docstring>Clear all items from the sizer, optionally destroying the window items
+as well.</docstring>
         <paramlist>
         <paramlist>
-          <param name="delete_windows" type="bool" default="False"/>
+          <param name="deleteWindows" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="DeleteWindows" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DeleteWindows" type="" overloaded="no">
-        <autodoc>DeleteWindows()</autodoc>
+        <autodoc>DeleteWindows(self)</autodoc>
+        <docstring>Destroy all windows managed by the sizer.</docstring>
       </method>
       <method name="GetChildren" type="PyObject" overloaded="no">
       </method>
       <method name="GetChildren" type="PyObject" overloaded="no">
-        <autodoc>GetChildren() -&gt; PyObject</autodoc>
+        <autodoc>GetChildren(sefl) -&gt; list</autodoc>
+        <docstring>Returns a list of all the `wx.SizerItem` objects managed by the sizer.</docstring>
       </method>
       <method name="Show" type="" overloaded="no">
       </method>
       <method name="Show" type="" overloaded="no">
-        <autodoc>Show(PyObject item, bool show=True)</autodoc>
+        <autodoc>Show(self, item, bool show=True)</autodoc>
+        <docstring>Shows or hides an item managed by the sizer.  To make a sizer item
+disappear or reappear, use Show followed by `Layout`.  The *item*
+parameter can be either a window, a sizer, or the zero-based index of
+the item.</docstring>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="show" type="bool" default="True"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="show" type="bool" default="True"/>
         </paramlist>
       </method>
-      <method name="Hide" type="" overloaded="no">
-        <autodoc>Hide(PyObject item)</autodoc>
-        <paramlist>
-          <param name="item" type="PyObject" default=""/>
-        </paramlist>
-      </method>
       <method name="IsShown" type="bool" overloaded="no">
       <method name="IsShown" type="bool" overloaded="no">
-        <autodoc>IsShown(PyObject item) -&gt; bool</autodoc>
+        <autodoc>IsShown(self, item)</autodoc>
+        <docstring>Determines if the item is currently shown. sizer.  To make a sizer
+item disappear or reappear, use Show followed by `Layout`.  The *item*
+parameter can be either a window, a sizer, or the zero-based index of
+the item.</docstring>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="ShowItems" type="" overloaded="no">
         <paramlist>
           <param name="item" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="ShowItems" type="" overloaded="no">
-        <autodoc>ShowItems(bool show)</autodoc>
+        <autodoc>ShowItems(self, bool show)</autodoc>
+        <docstring>Recursively call `wx.Window.Show` on all sizer items.</docstring>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PySizer" oldname="wxPySizer" module="core">
+    <class name="PySizer" oldname="wxPySizer" module="_core">
+      <docstring>wx.PySizer is a special version of `wx.Sizer` that has been
+instrumented to allow the C++ virtual methods to be overloaded in
+Python derived classes.  You would derive from this class if you are
+wanting to implement a custom sizer in Python code.  Simply implement
+`CalcMin` and `RecalcSizes` in the derived class and you're all set.
+For example::
+
+    class MySizer(wx.PySizer):
+         def __init__(self):
+             wx.PySizer.__init__(self)
+
+         def CalcMin(self):
+             for item in self.GetChildren():
+                  # calculate the total minimum width and height needed
+                  # by all items in the sizer according to this sizer's
+                  # layout algorithm.
+                  ...
+             return wx.Size(width, height)
+
+          def RecalcSizes(self):
+              # find the space allotted to this sizer
+              pos = self.GetPosition()
+              size = self.GetSize()
+              for item in self.GetChildren():
+                  # Recalculate (if necessary) the position and size of
+                  # each item and then call item.SetDimension to do the
+                  # actual positioning and sizing of the items within the
+                  # space alloted to this sizer.
+                  ...
+                  item.SetDimension(itemPos, itemSize)
+
+
+When `Layout` is called it first calls `CalcMin` followed by
+`RecalcSizes` so you can optimize a bit by saving the results of
+`CalcMin` and resuing them in `RecalcSizes`.
+
+:see: `wx.SizerItem`, `wx.Sizer.GetChildren`
+
+</docstring>
       <baseclass name="Sizer"/>
       <constructor name="PySizer" overloaded="no">
       <baseclass name="Sizer"/>
       <constructor name="PySizer" overloaded="no">
-        <autodoc>__init__() -&gt; PySizer</autodoc>
+        <autodoc>__init__(self) -&gt; PySizer</autodoc>
+        <docstring>Creates a wx.PySizer.  Must be called from the __init__ in the derived
+class.</docstring>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -6760,59 +7399,101 @@ controls that have items.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="BoxSizer" oldname="wxBoxSizer" module="core">
+    <class name="BoxSizer" oldname="wxBoxSizer" module="_core">
+      <docstring>The basic idea behind a box sizer is that windows will most often be
+laid out in rather simple basic geometry, typically in a row or a
+column or nested hierarchies of either.  A wx.BoxSizer will lay out
+its items in a simple row or column, depending on the orientation
+parameter passed to the constructor.
+
+It is the unique feature of a box sizer, that it can grow in both
+directions (height and width) but can distribute its growth in the
+main direction (horizontal for a row) *unevenly* among its children.
+This is determined by the proportion parameter give to items when they
+are added to the sizer. It is interpreted as a weight factor, i.e. it
+can be zero, indicating that the window may not be resized at all, or
+above zero. If several windows have a value above zero, the value is
+interpreted relative to the sum of all weight factors of the sizer, so
+when adding two windows with a value of 1, they will both get resized
+equally and each will receive half of the available space after the
+fixed size items have been sized.  If the items have unequal
+proportion settings then they will receive a coresondingly unequal
+allotment of the free space.
+
+:see: `wx.StaticBoxSizer`
+</docstring>
       <baseclass name="Sizer"/>
       <constructor name="BoxSizer" overloaded="no">
       <baseclass name="Sizer"/>
       <constructor name="BoxSizer" overloaded="no">
-        <autodoc>__init__(int orient=HORIZONTAL) -&gt; BoxSizer</autodoc>
+        <autodoc>__init__(self, int orient=HORIZONTAL) -&gt; BoxSizer</autodoc>
+        <docstring>Constructor for a wx.BoxSizer. *orient* may be one of ``wx.VERTICAL``
+or ``wx.HORIZONTAL`` for creating either a column sizer or a row
+sizer.</docstring>
         <paramlist>
           <param name="orient" type="int" default="wxHORIZONTAL"/>
         </paramlist>
       </constructor>
       <method name="GetOrientation" type="int" overloaded="no">
         <paramlist>
           <param name="orient" type="int" default="wxHORIZONTAL"/>
         </paramlist>
       </constructor>
       <method name="GetOrientation" type="int" overloaded="no">
-        <autodoc>GetOrientation() -&gt; int</autodoc>
+        <autodoc>GetOrientation(self) -&gt; int</autodoc>
+        <docstring>Returns the current orientation of the sizer.</docstring>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
       </method>
       <method name="SetOrientation" type="" overloaded="no">
-        <autodoc>SetOrientation(int orient)</autodoc>
+        <autodoc>SetOrientation(self, int orient)</autodoc>
+        <docstring>Resets the orientation of the sizer.</docstring>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
-      </method>
-      <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
-      </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="core">
+    <class name="StaticBoxSizer" oldname="wxStaticBoxSizer" module="_core">
+      <docstring>wx.StaticBoxSizer derives from and functions identically to the
+`wx.BoxSizer` and adds a `wx.StaticBox` around the items that the sizer
+manages.  Note that this static box must be created separately and
+passed to the sizer constructor.</docstring>
       <baseclass name="BoxSizer"/>
       <constructor name="StaticBoxSizer" overloaded="no">
       <baseclass name="BoxSizer"/>
       <constructor name="StaticBoxSizer" overloaded="no">
-        <autodoc>__init__(wxStaticBox box, int orient=HORIZONTAL) -&gt; StaticBoxSizer</autodoc>
+        <autodoc>__init__(self, StaticBox box, int orient=HORIZONTAL) -&gt; StaticBoxSizer</autodoc>
+        <docstring>Constructor. It takes an associated static box and the orientation
+*orient* as parameters - orient can be either of ``wx.VERTICAL`` or
+``wx.HORIZONTAL``.</docstring>
         <paramlist>
           <param name="box" type="wxStaticBox" default=""/>
           <param name="orient" type="int" default="wxHORIZONTAL"/>
         </paramlist>
       </constructor>
       <method name="GetStaticBox" type="wxStaticBox" overloaded="no">
         <paramlist>
           <param name="box" type="wxStaticBox" default=""/>
           <param name="orient" type="int" default="wxHORIZONTAL"/>
         </paramlist>
       </constructor>
       <method name="GetStaticBox" type="wxStaticBox" overloaded="no">
-        <autodoc>GetStaticBox() -&gt; wxStaticBox</autodoc>
-      </method>
-      <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
-      </method>
-      <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
+        <autodoc>GetStaticBox(self) -&gt; StaticBox</autodoc>
+        <docstring>Returns the static box associated with this sizer.</docstring>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="GridSizer" oldname="wxGridSizer" module="core">
+    <class name="GridSizer" oldname="wxGridSizer" module="_core">
+      <docstring>A grid sizer is a sizer which lays out its children in a
+two-dimensional table with all cells having the same size.  In other
+words, the width of each cell within the grid is the width of the
+widest item added to the sizer and the height of each grid cell is the
+height of the tallest item.  An optional vertical and/or horizontal
+gap between items can also be specified (in pixels.)
+
+Items are placed in the cells of the grid in the order they are added,
+in row-major order.  In other words, the first row is filled first,
+then the second, and so on until all items have been added. (If
+neccessary, additional rows will be added as items are added.)  If you
+need to have greater control over the cells that items are placed in
+then use the `wx.GridBagSizer`.
+</docstring>
       <baseclass name="Sizer"/>
       <constructor name="GridSizer" overloaded="no">
       <baseclass name="Sizer"/>
       <constructor name="GridSizer" overloaded="no">
-        <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -&gt; GridSizer</autodoc>
+        <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -&gt; GridSizer</autodoc>
+        <docstring>Constructor for a wx.GridSizer. *rows* and *cols* determine the number
+of columns and rows in the sizer - if either of the parameters is
+zero, it will be calculated to from the total number of children in
+the sizer, thus making the sizer grow dynamically. *vgap* and *hgap*
+define extra space between all children.</docstring>
         <paramlist>
           <param name="rows" type="int" default="1"/>
           <param name="cols" type="int" default="0"/>
         <paramlist>
           <param name="rows" type="int" default="1"/>
           <param name="cols" type="int" default="0"/>
@@ -6820,56 +7501,77 @@ controls that have items.</docstring>
           <param name="hgap" type="int" default="0"/>
         </paramlist>
       </constructor>
           <param name="hgap" type="int" default="0"/>
         </paramlist>
       </constructor>
-      <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
-      </method>
-      <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
-      </method>
       <method name="SetCols" type="" overloaded="no">
       <method name="SetCols" type="" overloaded="no">
-        <autodoc>SetCols(int cols)</autodoc>
+        <autodoc>SetCols(self, int cols)</autodoc>
+        <docstring>Sets the number of columns in the sizer.</docstring>
         <paramlist>
           <param name="cols" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRows" type="" overloaded="no">
         <paramlist>
           <param name="cols" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRows" type="" overloaded="no">
-        <autodoc>SetRows(int rows)</autodoc>
+        <autodoc>SetRows(self, int rows)</autodoc>
+        <docstring>Sets the number of rows in the sizer.</docstring>
         <paramlist>
           <param name="rows" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetVGap" type="" overloaded="no">
         <paramlist>
           <param name="rows" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetVGap" type="" overloaded="no">
-        <autodoc>SetVGap(int gap)</autodoc>
+        <autodoc>SetVGap(self, int gap)</autodoc>
+        <docstring>Sets the vertical gap (in pixels) between the cells in the sizer.</docstring>
         <paramlist>
           <param name="gap" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHGap" type="" overloaded="no">
         <paramlist>
           <param name="gap" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHGap" type="" overloaded="no">
-        <autodoc>SetHGap(int gap)</autodoc>
+        <autodoc>SetHGap(self, int gap)</autodoc>
+        <docstring>Sets the horizontal gap (in pixels) between cells in the sizer</docstring>
         <paramlist>
           <param name="gap" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCols" type="int" overloaded="no">
         <paramlist>
           <param name="gap" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCols" type="int" overloaded="no">
-        <autodoc>GetCols() -&gt; int</autodoc>
+        <autodoc>GetCols(self) -&gt; int</autodoc>
+        <docstring>Returns the number of columns in the sizer.</docstring>
       </method>
       <method name="GetRows" type="int" overloaded="no">
       </method>
       <method name="GetRows" type="int" overloaded="no">
-        <autodoc>GetRows() -&gt; int</autodoc>
+        <autodoc>GetRows(self) -&gt; int</autodoc>
+        <docstring>Returns the number of rows in the sizer.</docstring>
       </method>
       <method name="GetVGap" type="int" overloaded="no">
       </method>
       <method name="GetVGap" type="int" overloaded="no">
-        <autodoc>GetVGap() -&gt; int</autodoc>
+        <autodoc>GetVGap(self) -&gt; int</autodoc>
+        <docstring>Returns the vertical gap (in pixels) between the cells in the sizer.</docstring>
       </method>
       <method name="GetHGap" type="int" overloaded="no">
       </method>
       <method name="GetHGap" type="int" overloaded="no">
-        <autodoc>GetHGap() -&gt; int</autodoc>
+        <autodoc>GetHGap(self) -&gt; int</autodoc>
+        <docstring>Returns the horizontal gap (in pixels) between cells in the sizer.</docstring>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="core">
+    <class name="FlexGridSizer" oldname="wxFlexGridSizer" module="_core">
+      <docstring>A flex grid sizer is a sizer which lays out its children in a
+two-dimensional table with all table cells in one row having the same
+height and all cells in one column having the same width, but all
+rows or all columns are not necessarily the same height or width as in
+the `wx.GridSizer`.
+
+wx.FlexGridSizer can also size items equally in one direction but
+unequally ("flexibly") in the other. If the sizer is only flexible
+in one direction (this can be changed using `SetFlexibleDirection`), it
+needs to be decided how the sizer should grow in the other ("non
+flexible") direction in order to fill the available space. The
+`SetNonFlexibleGrowMode` method serves this purpose.
+
+</docstring>
       <baseclass name="GridSizer"/>
       <constructor name="FlexGridSizer" overloaded="no">
       <baseclass name="GridSizer"/>
       <constructor name="FlexGridSizer" overloaded="no">
-        <autodoc>__init__(int rows=1, int cols=0, int vgap=0, int hgap=0) -&gt; FlexGridSizer</autodoc>
+        <autodoc>__init__(self, int rows=1, int cols=0, int vgap=0, int hgap=0) -&gt; FlexGridSizer</autodoc>
+        <docstring>Constructor for a wx.FlexGridSizer. *rows* and *cols* determine the
+number of columns and rows in the sizer - if either of the parameters
+is zero, it will be calculated to from the total number of children in
+the sizer, thus making the sizer grow dynamically. *vgap* and *hgap*
+define extra space between all children.</docstring>
         <paramlist>
           <param name="rows" type="int" default="1"/>
           <param name="cols" type="int" default="0"/>
         <paramlist>
           <param name="rows" type="int" default="1"/>
           <param name="cols" type="int" default="0"/>
@@ -6877,196 +7579,279 @@ controls that have items.</docstring>
           <param name="hgap" type="int" default="0"/>
         </paramlist>
       </constructor>
           <param name="hgap" type="int" default="0"/>
         </paramlist>
       </constructor>
-      <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
-      </method>
-      <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
-      </method>
       <method name="AddGrowableRow" type="" overloaded="no">
       <method name="AddGrowableRow" type="" overloaded="no">
-        <autodoc>AddGrowableRow(size_t idx, int proportion=0)</autodoc>
+        <autodoc>AddGrowableRow(self, size_t idx, int proportion=0)</autodoc>
+        <docstring>Specifies that row *idx* (starting from zero) should be grown if there
+is extra space available to the sizer.
+
+The *proportion* parameter has the same meaning as the stretch factor
+for the box sizers except that if all proportions are 0, then all
+columns are resized equally (instead of not being resized at all).</docstring>
         <paramlist>
           <param name="idx" type="size_t" default=""/>
           <param name="proportion" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RemoveGrowableRow" type="" overloaded="no">
         <paramlist>
           <param name="idx" type="size_t" default=""/>
           <param name="proportion" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RemoveGrowableRow" type="" overloaded="no">
-        <autodoc>RemoveGrowableRow(size_t idx)</autodoc>
+        <autodoc>RemoveGrowableRow(self, size_t idx)</autodoc>
+        <docstring>Specifies that row *idx* is no longer growable.</docstring>
         <paramlist>
           <param name="idx" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="AddGrowableCol" type="" overloaded="no">
         <paramlist>
           <param name="idx" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="AddGrowableCol" type="" overloaded="no">
-        <autodoc>AddGrowableCol(size_t idx, int proportion=0)</autodoc>
+        <autodoc>AddGrowableCol(self, size_t idx, int proportion=0)</autodoc>
+        <docstring>Specifies that column *idx* (starting from zero) should be grown if
+there is extra space available to the sizer.
+
+The *proportion* parameter has the same meaning as the stretch factor
+for the box sizers except that if all proportions are 0, then all
+columns are resized equally (instead of not being resized at all).</docstring>
         <paramlist>
           <param name="idx" type="size_t" default=""/>
           <param name="proportion" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RemoveGrowableCol" type="" overloaded="no">
         <paramlist>
           <param name="idx" type="size_t" default=""/>
           <param name="proportion" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RemoveGrowableCol" type="" overloaded="no">
-        <autodoc>RemoveGrowableCol(size_t idx)</autodoc>
+        <autodoc>RemoveGrowableCol(self, size_t idx)</autodoc>
+        <docstring>Specifies that column *idx* is no longer growable.</docstring>
         <paramlist>
           <param name="idx" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetFlexibleDirection" type="" overloaded="no">
         <paramlist>
           <param name="idx" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetFlexibleDirection" type="" overloaded="no">
-        <autodoc>SetFlexibleDirection(int direction)</autodoc>
+        <autodoc>SetFlexibleDirection(self, int direction)</autodoc>
+        <docstring>Specifies whether the sizer should flexibly resize its columns, rows,
+or both. Argument *direction* can be one of the following values.  Any
+other value is ignored.
+
+    ==============    =======================================
+    wx.VERTICAL       Rows are flexibly sized.
+    wx.HORIZONTAL     Columns are flexibly sized.
+    wx.BOTH           Both rows and columns are flexibly sized
+                      (this is the default value).
+    ==============    =======================================
+
+Note that this method does not trigger relayout.
+</docstring>
         <paramlist>
           <param name="direction" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlexibleDirection" type="int" overloaded="no">
         <paramlist>
           <param name="direction" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlexibleDirection" type="int" overloaded="no">
-        <autodoc>GetFlexibleDirection() -&gt; int</autodoc>
+        <autodoc>GetFlexibleDirection(self) -&gt; int</autodoc>
+        <docstring>Returns a value that specifies whether the sizer
+flexibly resizes its columns, rows, or both (default).
+
+:see: `SetFlexibleDirection`</docstring>
       </method>
       <method name="SetNonFlexibleGrowMode" type="" overloaded="no">
       </method>
       <method name="SetNonFlexibleGrowMode" type="" overloaded="no">
-        <autodoc>SetNonFlexibleGrowMode(int mode)</autodoc>
+        <autodoc>SetNonFlexibleGrowMode(self, int mode)</autodoc>
+        <docstring>Specifies how the sizer should grow in the non-flexible direction if
+there is one (so `SetFlexibleDirection` must have been called
+previously). Argument *mode* can be one of the following values:
+
+    ==========================  =================================================
+    wx.FLEX_GROWMODE_NONE       Sizer doesn't grow in the non flexible direction.
+    wx.FLEX_GROWMODE_SPECIFIED  Sizer honors growable columns/rows set with
+                                `AddGrowableCol` and `AddGrowableRow`. In this
+                                case equal sizing applies to minimum sizes of
+                                columns or rows (this is the default value).
+    wx.FLEX_GROWMODE_ALL        Sizer equally stretches all columns or rows in
+                                the non flexible direction, whether they are
+                                growable or not in the flexbile direction.
+    ==========================  =================================================
+
+Note that this method does not trigger relayout.
+
+</docstring>
         <paramlist>
           <param name="mode" type="wxFlexSizerGrowMode" default=""/>
         </paramlist>
       </method>
       <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no">
         <paramlist>
           <param name="mode" type="wxFlexSizerGrowMode" default=""/>
         </paramlist>
       </method>
       <method name="GetNonFlexibleGrowMode" type="wxFlexSizerGrowMode" overloaded="no">
-        <autodoc>GetNonFlexibleGrowMode() -&gt; int</autodoc>
+        <autodoc>GetNonFlexibleGrowMode(self) -&gt; int</autodoc>
+        <docstring>Returns the value that specifies how the sizer grows in the
+non-flexible direction if there is one.
+
+:see: `SetNonFlexibleGrowMode`</docstring>
       </method>
       <method name="GetRowHeights" type="wxArrayInt" overloaded="no">
       </method>
       <method name="GetRowHeights" type="wxArrayInt" overloaded="no">
-        <autodoc>GetRowHeights() -&gt; wxArrayInt</autodoc>
+        <autodoc>GetRowHeights(self) -&gt; list</autodoc>
+        <docstring>Returns a list of integers representing the heights of each of the
+rows in the sizer.</docstring>
       </method>
       <method name="GetColWidths" type="wxArrayInt" overloaded="no">
       </method>
       <method name="GetColWidths" type="wxArrayInt" overloaded="no">
-        <autodoc>GetColWidths() -&gt; wxArrayInt</autodoc>
+        <autodoc>GetColWidths(self) -&gt; list</autodoc>
+        <docstring>Returns a list of integers representing the widths of each of the
+columns in the sizer.</docstring>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="GBPosition" oldname="wxGBPosition" module="core">
+    <class name="GBPosition" oldname="wxGBPosition" module="_core">
+      <docstring>This class represents the position of an item in a virtual grid of
+rows and columns managed by a `wx.GridBagSizer`.  wxPython has
+typemaps that will automatically convert from a 2-element sequence of
+integers to a wx.GBPosition, so you can use the more pythonic
+representation of the position nearly transparently in Python code.</docstring>
       <constructor name="GBPosition" overloaded="no">
       <constructor name="GBPosition" overloaded="no">
-        <autodoc>__init__(int row=0, int col=0) -&gt; GBPosition</autodoc>
+        <autodoc>__init__(self, int row=0, int col=0) -&gt; GBPosition</autodoc>
+        <docstring>This class represents the position of an item in a virtual grid of
+rows and columns managed by a `wx.GridBagSizer`.  wxPython has
+typemaps that will automatically convert from a 2-element sequence of
+integers to a wx.GBPosition, so you can use the more pythonic
+representation of the position nearly transparently in Python code.</docstring>
         <paramlist>
           <param name="row" type="int" default="0"/>
           <param name="col" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetRow" type="int" overloaded="no">
         <paramlist>
           <param name="row" type="int" default="0"/>
           <param name="col" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetRow" type="int" overloaded="no">
-        <autodoc>GetRow() -&gt; int</autodoc>
+        <autodoc>GetRow(self) -&gt; int</autodoc>
       </method>
       <method name="GetCol" type="int" overloaded="no">
       </method>
       <method name="GetCol" type="int" overloaded="no">
-        <autodoc>GetCol() -&gt; int</autodoc>
+        <autodoc>GetCol(self) -&gt; int</autodoc>
       </method>
       <method name="SetRow" type="" overloaded="no">
       </method>
       <method name="SetRow" type="" overloaded="no">
-        <autodoc>SetRow(int row)</autodoc>
+        <autodoc>SetRow(self, int row)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCol" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCol" type="" overloaded="no">
-        <autodoc>SetCol(int col)</autodoc>
+        <autodoc>SetCol(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(GBPosition other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, GBPosition other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(GBPosition other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, GBPosition other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <paramlist>
           <param name="other" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int row=0, int col=0)</autodoc>
+        <autodoc>Set(self, int row=0, int col=0)</autodoc>
         <paramlist>
           <param name="row" type="int" default="0"/>
           <param name="col" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Get" type="PyObject" overloaded="no">
         <paramlist>
           <param name="row" type="int" default="0"/>
           <param name="col" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Get" type="PyObject" overloaded="no">
-        <autodoc>Get() -&gt; PyObject</autodoc>
+        <autodoc>Get(self) -&gt; PyObject</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="GBSpan" oldname="wxGBSpan" module="core">
+    <class name="GBSpan" oldname="wxGBSpan" module="_core">
+      <docstring>This class is used to hold the row and column spanning attributes of
+items in a `wx.GridBagSizer`.  wxPython has typemaps that will
+automatically convert from a 2-element sequence of integers to a
+wx.GBSpan, so you can use the more pythonic representation of the span
+nearly transparently in Python code.
+</docstring>
       <constructor name="GBSpan" overloaded="no">
       <constructor name="GBSpan" overloaded="no">
-        <autodoc>__init__(int rowspan=1, int colspan=1) -&gt; GBSpan</autodoc>
+        <autodoc>__init__(self, int rowspan=1, int colspan=1) -&gt; GBSpan</autodoc>
+        <docstring>Construct a new wxGBSpan, optionally setting the rowspan and
+colspan. The default is (1,1). (Meaning that the item occupies one
+cell in each direction.</docstring>
         <paramlist>
           <param name="rowspan" type="int" default="1"/>
           <param name="colspan" type="int" default="1"/>
         </paramlist>
       </constructor>
       <method name="GetRowspan" type="int" overloaded="no">
         <paramlist>
           <param name="rowspan" type="int" default="1"/>
           <param name="colspan" type="int" default="1"/>
         </paramlist>
       </constructor>
       <method name="GetRowspan" type="int" overloaded="no">
-        <autodoc>GetRowspan() -&gt; int</autodoc>
+        <autodoc>GetRowspan(self) -&gt; int</autodoc>
       </method>
       <method name="GetColspan" type="int" overloaded="no">
       </method>
       <method name="GetColspan" type="int" overloaded="no">
-        <autodoc>GetColspan() -&gt; int</autodoc>
+        <autodoc>GetColspan(self) -&gt; int</autodoc>
       </method>
       <method name="SetRowspan" type="" overloaded="no">
       </method>
       <method name="SetRowspan" type="" overloaded="no">
-        <autodoc>SetRowspan(int rowspan)</autodoc>
+        <autodoc>SetRowspan(self, int rowspan)</autodoc>
         <paramlist>
           <param name="rowspan" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColspan" type="" overloaded="no">
         <paramlist>
           <param name="rowspan" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColspan" type="" overloaded="no">
-        <autodoc>SetColspan(int colspan)</autodoc>
+        <autodoc>SetColspan(self, int colspan)</autodoc>
         <paramlist>
           <param name="colspan" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="colspan" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(GBSpan other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, GBSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(GBSpan other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, GBSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <paramlist>
           <param name="other" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int rowspan=1, int colspan=1)</autodoc>
+        <autodoc>Set(self, int rowspan=1, int colspan=1)</autodoc>
         <paramlist>
           <param name="rowspan" type="int" default="1"/>
           <param name="colspan" type="int" default="1"/>
         </paramlist>
       </method>
       <method name="Get" type="PyObject" overloaded="no">
         <paramlist>
           <param name="rowspan" type="int" default="1"/>
           <param name="colspan" type="int" default="1"/>
         </paramlist>
       </method>
       <method name="Get" type="PyObject" overloaded="no">
-        <autodoc>Get() -&gt; PyObject</autodoc>
+        <autodoc>Get(self) -&gt; PyObject</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="GBSizerItem" oldname="wxGBSizerItem" module="core">
+    <class name="GBSizerItem" oldname="wxGBSizerItem" module="_core">
+      <docstring>The wx.GBSizerItem class is used to track the additional data about
+items in a `wx.GridBagSizer` such as the item's position in the grid
+and how many rows or columns it spans.
+</docstring>
       <baseclass name="SizerItem"/>
       <constructor name="GBSizerItem" overloaded="no">
       <baseclass name="SizerItem"/>
       <constructor name="GBSizerItem" overloaded="no">
-        <autodoc>__init__() -&gt; GBSizerItem</autodoc>
+        <autodoc>__init__(self) -&gt; GBSizerItem</autodoc>
+        <docstring>Constructs an empty wx.GBSizerItem.  Either a window, sizer or spacer
+size will need to be set, as well as a position and span before this
+item can be used in a Sizer.
+
+You will probably never need to create a wx.GBSizerItem directly as they
+are created automatically when the sizer's Add method is called.</docstring>
       </constructor>
       <constructor name="GBSizerItemWindow" overloaded="no">
         <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, 
       </constructor>
       <constructor name="GBSizerItemWindow" overloaded="no">
         <autodoc>GBSizerItemWindow(Window window, GBPosition pos, GBSpan span, int flag, 
-    int border, Object userData) -&gt; GBSizerItem</autodoc>
+    int border, PyObject userData=None) -&gt; GBSizerItem</autodoc>
+        <docstring>Construct a `wx.GBSizerItem` for a window.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
-          <param name="userData" type="Object" default=""/>
+          <param name="userData" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <constructor name="GBSizerItemSizer" overloaded="no">
         <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, 
         </paramlist>
       </constructor>
       <constructor name="GBSizerItemSizer" overloaded="no">
         <autodoc>GBSizerItemSizer(Sizer sizer, GBPosition pos, GBSpan span, int flag, 
-    int border, Object userData) -&gt; GBSizerItem</autodoc>
+    int border, PyObject userData=None) -&gt; GBSizerItem</autodoc>
+        <docstring>Construct a `wx.GBSizerItem` for a sizer</docstring>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
-          <param name="userData" type="Object" default=""/>
+          <param name="userData" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <constructor name="GBSizerItemSpacer" overloaded="no">
         <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, 
         </paramlist>
       </constructor>
       <constructor name="GBSizerItemSpacer" overloaded="no">
         <autodoc>GBSizerItemSpacer(int width, int height, GBPosition pos, GBSpan span, 
-    int flag, int border, Object userData) -&gt; GBSizerItem</autodoc>
+    int flag, int border, PyObject userData=None) -&gt; GBSizerItem</autodoc>
+        <docstring>Construct a `wx.GBSizerItem` for a spacer.</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
@@ -7074,69 +7859,97 @@ controls that have items.</docstring>
           <param name="span" type="GBSpan" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
           <param name="span" type="GBSpan" default=""/>
           <param name="flag" type="int" default=""/>
           <param name="border" type="int" default=""/>
-          <param name="userData" type="Object" default=""/>
+          <param name="userData" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetPos" type="GBPosition" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetPos" type="GBPosition" overloaded="no">
-        <autodoc>GetPos() -&gt; GBPosition</autodoc>
+        <autodoc>GetPos(self) -&gt; GBPosition</autodoc>
+        <docstring>Get the grid position of the item</docstring>
       </method>
       <method name="GetSpan" type="GBSpan" overloaded="no">
       </method>
       <method name="GetSpan" type="GBSpan" overloaded="no">
-        <autodoc>GetSpan() -&gt; GBSpan</autodoc>
+        <autodoc>GetSpan(self) -&gt; GBSpan</autodoc>
+        <docstring>Get the row and column spanning of the item</docstring>
       </method>
       <method name="SetPos" type="bool" overloaded="no">
       </method>
       <method name="SetPos" type="bool" overloaded="no">
-        <autodoc>SetPos(GBPosition pos) -&gt; bool</autodoc>
+        <autodoc>SetPos(self, GBPosition pos) -&gt; bool</autodoc>
+        <docstring>If the item is already a member of a sizer then first ensure that
+there is no other item that would intersect with this one at the new
+position, then set the new position.  Returns True if the change is
+successful and after the next Layout() the item will be moved.</docstring>
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="SetSpan" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="SetSpan" type="bool" overloaded="no">
-        <autodoc>SetSpan(GBSpan span) -&gt; bool</autodoc>
+        <autodoc>SetSpan(self, GBSpan span) -&gt; bool</autodoc>
+        <docstring>If the item is already a member of a sizer then first ensure that
+there is no other item that would intersect with this one with its new
+spanning size, then set the new spanning.  Returns True if the change
+is successful and after the next Layout() the item will be resized.
+</docstring>
         <paramlist>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
-      <method name="Intersects" type="bool" overloaded="yes">
+      <method name="Intersects" type="bool" overloaded="no">
+        <autodoc>Intersects(self, GBSizerItem other) -&gt; bool</autodoc>
+        <docstring>Returns True if this item and the other item instersect.</docstring>
         <paramlist>
           <param name="other" type="GBSizerItem" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="other" type="GBSizerItem" default=""/>
         </paramlist>
       </method>
-      <method name="Intersects" type="bool" overloaded="yes">
-        <autodoc>Intersects(GBSizerItem other) -&gt; bool
-Intersects(GBPosition pos, GBSpan span) -&gt; bool</autodoc>
+      <method name="IntersectsPos" type="bool" overloaded="no">
+        <autodoc>IntersectsPos(self, GBPosition pos, GBSpan span) -&gt; bool</autodoc>
+        <docstring>Returns True if the given pos/span would intersect with this item.</docstring>
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
-      <method name="GetEndPos" type="" overloaded="no">
-        <autodoc>GetEndPos(int row, int col)</autodoc>
-        <paramlist>
-          <param name="row" type="int" default=""/>
-          <param name="col" type="int" default=""/>
-        </paramlist>
+      <method name="GetEndPos" type="GBPosition" overloaded="no">
+        <autodoc>GetEndPos(self) -&gt; GBPosition</autodoc>
+        <docstring>Get the row and column of the endpoint of this item.</docstring>
       </method>
       <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no">
       </method>
       <method name="GetGBSizer" type="wxGridBagSizer" overloaded="no">
-        <autodoc>GetGBSizer() -&gt; GridBagSizer</autodoc>
+        <autodoc>GetGBSizer(self) -&gt; GridBagSizer</autodoc>
+        <docstring>Get the sizer this item is a member of.</docstring>
       </method>
       <method name="SetGBSizer" type="" overloaded="no">
       </method>
       <method name="SetGBSizer" type="" overloaded="no">
-        <autodoc>SetGBSizer(GridBagSizer sizer)</autodoc>
+        <autodoc>SetGBSizer(self, GridBagSizer sizer)</autodoc>
+        <docstring>Set the sizer this item is a member of.</docstring>
         <paramlist>
           <param name="sizer" type="wxGridBagSizer" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="sizer" type="wxGridBagSizer" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="GridBagSizer" oldname="wxGridBagSizer" module="core">
+    <class name="GridBagSizer" oldname="wxGridBagSizer" module="_core">
+      <docstring>A `wx.Sizer` that can lay out items in a virtual grid like a
+`wx.FlexGridSizer` but in this case explicit positioning of the items
+is allowed using `wx.GBPosition`, and items can optionally span more
+than one row and/or column using `wx.GBSpan`.  The total size of the
+virtual grid is determined by the largest row and column that items are
+positioned at, adjusted for spanning.
+</docstring>
       <baseclass name="FlexGridSizer"/>
       <constructor name="GridBagSizer" overloaded="no">
       <baseclass name="FlexGridSizer"/>
       <constructor name="GridBagSizer" overloaded="no">
-        <autodoc>__init__(int vgap=0, int hgap=0) -&gt; GridBagSizer</autodoc>
+        <autodoc>__init__(self, int vgap=0, int hgap=0) -&gt; GridBagSizer</autodoc>
+        <docstring>Constructor, with optional parameters to specify the gap between the
+rows and columns.</docstring>
         <paramlist>
           <param name="vgap" type="int" default="0"/>
           <param name="hgap" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="Add" type="bool" overloaded="no">
         <paramlist>
           <param name="vgap" type="int" default="0"/>
           <param name="hgap" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="Add" type="bool" overloaded="no">
-        <autodoc>Add(PyObject item, GBPosition pos, GBSpan span=DefaultSpan, 
-    int flag=0, int border=0, PyObject userData=None) -&gt; bool</autodoc>
+        <autodoc>Add(self, item, GBPosition pos, GBSpan span=DefaultSpan, int flag=0,
+int border=0, userData=None)</autodoc>
+        <docstring>Adds an item to the sizer at the grid cell *pos*, optionally spanning
+more than one row or column as specified with *span*.  The remaining
+args behave similarly to `wx.Sizer.Add`.
+
+Returns True if the item was successfully placed at the given cell
+position, False if something was already there.
+</docstring>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         <paramlist>
           <param name="item" type="PyObject" default=""/>
           <param name="pos" type="GBPosition" default=""/>
@@ -7147,143 +7960,216 @@ Intersects(GBPosition pos, GBSpan span) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="AddItem" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="AddItem" type="bool" overloaded="no">
-        <autodoc>AddItem(GBSizerItem item) -&gt; bool</autodoc>
+        <autodoc>Add(self, GBSizerItem item) -&gt; bool</autodoc>
+        <docstring>Add an item to the sizer using a `wx.GBSizerItem`.  Returns True if
+the item was successfully placed at its given cell position, False if
+something was already there.</docstring>
         <paramlist>
           <param name="item" type="GBSizerItem" default=""/>
         </paramlist>
       </method>
       <method name="GetEmptyCellSize" type="Size" overloaded="no">
         <paramlist>
           <param name="item" type="GBSizerItem" default=""/>
         </paramlist>
       </method>
       <method name="GetEmptyCellSize" type="Size" overloaded="no">
-        <autodoc>GetEmptyCellSize() -&gt; Size</autodoc>
+        <autodoc>GetEmptyCellSize(self) -&gt; Size</autodoc>
+        <docstring>Get the size used for cells in the grid with no item.</docstring>
       </method>
       <method name="SetEmptyCellSize" type="" overloaded="no">
       </method>
       <method name="SetEmptyCellSize" type="" overloaded="no">
-        <autodoc>SetEmptyCellSize(Size sz)</autodoc>
+        <autodoc>SetEmptyCellSize(self, Size sz)</autodoc>
+        <docstring>Set the size used for cells in the grid with no item.</docstring>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="GBPosition" overloaded="yes">
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="GBPosition" overloaded="yes">
+        <docstring>GetItemPosition(self, item) -&gt; GBPosition
+
+Get the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="GBPosition" overloaded="yes">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="GBPosition" overloaded="yes">
+        <docstring>GetItemPosition(self, item) -&gt; GBPosition
+
+Get the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.</docstring>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="GBPosition" overloaded="yes">
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="GBPosition" overloaded="yes">
-        <autodoc>GetItemPosition(Window window) -&gt; GBPosition
-GetItemPosition(Sizer sizer) -&gt; GBPosition
-GetItemPosition(size_t index) -&gt; GBPosition</autodoc>
+        <docstring>GetItemPosition(self, item) -&gt; GBPosition
+
+Get the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.</docstring>
         <paramlist>
           <param name="index" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="yes">
         <paramlist>
           <param name="index" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="yes">
+        <docstring>SetItemPosition(self, item, GBPosition pos) -&gt; bool
+
+Set the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.  Returns True on success.  If the move is not
+allowed (because an item is already there) then False is returned.
+</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="yes">
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="yes">
+        <docstring>SetItemPosition(self, item, GBPosition pos) -&gt; bool
+
+Set the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.  Returns True on success.  If the move is not
+allowed (because an item is already there) then False is returned.
+</docstring>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="yes">
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="yes">
-        <autodoc>SetItemPosition(Window window, GBPosition pos) -&gt; bool
-SetItemPosition(Sizer sizer, GBPosition pos) -&gt; bool
-SetItemPosition(size_t index, GBPosition pos) -&gt; bool</autodoc>
+        <docstring>SetItemPosition(self, item, GBPosition pos) -&gt; bool
+
+Set the grid position of the specified *item* where *item* is either a
+window or subsizer that is a member of this sizer, or a zero-based
+index of an item.  Returns True on success.  If the move is not
+allowed (because an item is already there) then False is returned.
+</docstring>
         <paramlist>
           <param name="index" type="size_t" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="GetItemSpan" type="GBSpan" overloaded="yes">
         <paramlist>
           <param name="index" type="size_t" default=""/>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="GetItemSpan" type="GBSpan" overloaded="yes">
+        <docstring>GetItemSpan(self, item) -&gt; GBSpan
+
+Get the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetItemSpan" type="GBSpan" overloaded="yes">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetItemSpan" type="GBSpan" overloaded="yes">
+        <docstring>GetItemSpan(self, item) -&gt; GBSpan
+
+Get the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.</docstring>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
         </paramlist>
       </method>
       <method name="GetItemSpan" type="GBSpan" overloaded="yes">
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
         </paramlist>
       </method>
       <method name="GetItemSpan" type="GBSpan" overloaded="yes">
-        <autodoc>GetItemSpan(Window window) -&gt; GBSpan
-GetItemSpan(Sizer sizer) -&gt; GBSpan
-GetItemSpan(size_t index) -&gt; GBSpan</autodoc>
+        <docstring>GetItemSpan(self, item) -&gt; GBSpan
+
+Get the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.</docstring>
         <paramlist>
           <param name="index" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetItemSpan" type="bool" overloaded="yes">
         <paramlist>
           <param name="index" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetItemSpan" type="bool" overloaded="yes">
+        <docstring>SetItemSpan(self, item, GBSpan span) -&gt; bool
+
+Set the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.  Returns True on success.  If the move is
+not allowed (because an item is already there) then False is returned.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="SetItemSpan" type="bool" overloaded="yes">
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="SetItemSpan" type="bool" overloaded="yes">
+        <docstring>SetItemSpan(self, item, GBSpan span) -&gt; bool
+
+Set the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.  Returns True on success.  If the move is
+not allowed (because an item is already there) then False is returned.</docstring>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="SetItemSpan" type="bool" overloaded="yes">
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="SetItemSpan" type="bool" overloaded="yes">
-        <autodoc>SetItemSpan(Window window, GBSpan span) -&gt; bool
-SetItemSpan(Sizer sizer, GBSpan span) -&gt; bool
-SetItemSpan(size_t index, GBSpan span) -&gt; bool</autodoc>
+        <docstring>SetItemSpan(self, item, GBSpan span) -&gt; bool
+
+Set the row/col spanning of the specified *item* where *item* is
+either a window or subsizer that is a member of this sizer, or a
+zero-based index of an item.  Returns True on success.  If the move is
+not allowed (because an item is already there) then False is returned.</docstring>
         <paramlist>
           <param name="index" type="size_t" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="FindItem" type="GBSizerItem" overloaded="yes">
         <paramlist>
           <param name="index" type="size_t" default=""/>
           <param name="span" type="GBSpan" default=""/>
         </paramlist>
       </method>
       <method name="FindItem" type="GBSizerItem" overloaded="yes">
+        <docstring>FindItem(self, item) -&gt; GBSizerItem
+
+Find the sizer item for the given window or subsizer, returns None if
+not found. (non-recursive)</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="FindItem" type="GBSizerItem" overloaded="yes">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="FindItem" type="GBSizerItem" overloaded="yes">
-        <autodoc>FindItem(Window window) -&gt; GBSizerItem
-FindItem(Sizer sizer) -&gt; GBSizerItem</autodoc>
+        <docstring>FindItem(self, item) -&gt; GBSizerItem
+
+Find the sizer item for the given window or subsizer, returns None if
+not found. (non-recursive)</docstring>
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
         </paramlist>
       </method>
       <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no">
         <paramlist>
           <param name="sizer" type="Sizer" default=""/>
         </paramlist>
       </method>
       <method name="FindItemAtPosition" type="GBSizerItem" overloaded="no">
-        <autodoc>FindItemAtPosition(GBPosition pos) -&gt; GBSizerItem</autodoc>
+        <autodoc>FindItemAtPosition(self, GBPosition pos) -&gt; GBSizerItem</autodoc>
+        <docstring>Return the sizer item for the given grid cell, or None if there is no
+item at that position. (non-recursive)</docstring>
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no">
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
         </paramlist>
       </method>
       <method name="FindItemAtPoint" type="GBSizerItem" overloaded="no">
-        <autodoc>FindItemAtPoint(Point pt) -&gt; GBSizerItem</autodoc>
+        <autodoc>FindItemAtPoint(self, Point pt) -&gt; GBSizerItem</autodoc>
+        <docstring>Return the sizer item located at the point given in *pt*, or None if
+there is no item at that point. The (x,y) coordinates in pt correspond
+to the client coordinates of the window using the sizer for
+layout. (non-recursive)</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="FindItemWithData" type="GBSizerItem" overloaded="no">
-        <autodoc>FindItemWithData(Object userData) -&gt; GBSizerItem</autodoc>
-        <paramlist>
-          <param name="userData" type="Object" default=""/>
-        </paramlist>
-      </method>
-      <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
-      </method>
-      <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
-      </method>
-      <method name="CheckForIntersection" type="bool" overloaded="yes">
+      <method name="CheckForIntersection" type="bool" overloaded="no">
+        <autodoc>CheckForIntersection(self, GBSizerItem item, GBSizerItem excludeItem=None) -&gt; bool</autodoc>
+        <docstring>Look at all items and see if any intersect (or would overlap) the
+given *item*.  Returns True if so, False if there would be no overlap.
+If an *excludeItem* is given then it will not be checked for
+intersection, for example it may be the item we are checking the
+position of.
+</docstring>
         <paramlist>
           <param name="item" type="GBSizerItem" default=""/>
           <param name="excludeItem" type="GBSizerItem" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="GBSizerItem" default=""/>
           <param name="excludeItem" type="GBSizerItem" default="NULL"/>
         </paramlist>
       </method>
-      <method name="CheckForIntersection" type="bool" overloaded="yes">
-        <autodoc>CheckForIntersection(GBSizerItem item, GBSizerItem excludeItem=None) -&gt; bool
-CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -&gt; bool</autodoc>
+      <method name="CheckForIntersectionPos" type="bool" overloaded="no">
+        <autodoc>CheckForIntersectionPos(self, GBPosition pos, GBSpan span, GBSizerItem excludeItem=None) -&gt; bool</autodoc>
+        <docstring>Look at all items and see if any intersect (or would overlap) the
+given position and span.  Returns True if so, False if there would be
+no overlap.  If an *excludeItem* is given then it will not be checked
+for intersection, for example it may be the item we are checking the
+position of.</docstring>
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
         <paramlist>
           <param name="pos" type="GBPosition" default=""/>
           <param name="span" type="GBSpan" default=""/>
@@ -7294,53 +8180,62 @@ CheckForIntersection(GBPosition pos, GBSpan span, GBSizerItem excludeItem=None)
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="core">
-      <docstring>Objects of this class are stored in the wx.LayoutConstraint class as one of
-eight possible constraints that a window can be involved in.  You will never
-need to create an instance of wx.IndividualLayoutConstraint, rather you should
-use create a wx.LayoutContstraints instance and use the individual contstraints
+    <class name="IndividualLayoutConstraint" oldname="wxIndividualLayoutConstraint" module="_core">
+      <docstring>Objects of this class are stored in the `wx.LayoutConstraints` class as
+one of eight possible constraints that a window can be involved in.
+You will never need to create an instance of
+wx.IndividualLayoutConstraint, rather you should create a
+`wx.LayoutConstraints` instance and use the individual contstraints
 that it contains.
 
 that it contains.
 
-Constraints are initially set to have the relationship wx.Unconstrained, which
-means that their values should be calculated by looking at known constraints.
+Constraints are initially set to have the relationship
+wx.Unconstrained, which means that their values should be calculated
+by looking at known constraints.
 
 The Edge specifies the type of edge or dimension of a window.
 
 
 The Edge specifies the type of edge or dimension of a window.
 
- Edges
-
-    wx.Left  The left edge.
-    wx.Top  The top edge.
-    wx.Right  The right edge.
-    wx.Bottom  The bottom edge.
-    wx.CentreX  The x-coordinate of the centre of the window.
-    wx.CentreY  The y-coordinate of the centre of the window. 
-
-
-The Relationship specifies the relationship that this edge or dimension has
-with another specified edge or dimension. Normally, the user doesn't use these
-directly because functions such as Below and RightOf are a convenience for
-using the more general Set function.
-
- Relationships
-
-    wx.Unconstrained  The edge or dimension is unconstrained
+Edges
+------
+    ==================  ==============================================
+    wx.Left             The left edge.
+    wx.Top              The top edge.
+    wx.Right            The right edge.
+    wx.Bottom           The bottom edge.
+    wx.CentreX          The x-coordinate of the centre of the window.
+    wx.CentreY          The y-coordinate of the centre of the window. 
+    ==================  ==============================================
+
+
+The Relationship specifies the relationship that this edge or
+dimension has with another specified edge or dimension. Normally, the
+user doesn't use these directly because functions such as Below and
+RightOf are a convenience for using the more general Set function.
+
+Relationships
+-------------
+    ==================  ==============================================
+    wx.Unconstrained    The edge or dimension is unconstrained
                         (the default for edges.)
                         (the default for edges.)
-    wx.AsIs          The edge or dimension is to be taken from the current
+    wx.AsIs             The edge or dimension is to be taken from the current
                         window position or size (the default for dimensions.)
                         window position or size (the default for dimensions.)
-    wx.Above          The edge should be above another edge.
-    wx.Below          The edge should be below another edge.
-    wx.LeftOf          The edge should be to the left of another edge.
+    wx.Above            The edge should be above another edge.
+    wx.Below            The edge should be below another edge.
+    wx.LeftOf           The edge should be to the left of another edge.
     wx.RightOf          The edge should be to the right of another edge.
     wx.RightOf          The edge should be to the right of another edge.
-    wx.SameAs          The edge or dimension should be the same as another edge
+    wx.SameAs           The edge or dimension should be the same as another edge
                         or dimension.
                         or dimension.
-    wx.PercentOf  The edge or dimension should be a percentage of another
+    wx.PercentOf        The edge or dimension should be a percentage of another
                         edge or dimension.
                         edge or dimension.
-    wx.Absolute  The edge or dimension should be a given absolute value.
+    wx.Absolute         The edge or dimension should be a given absolute value.
+    ==================  ==============================================
 
 
+:see: `wx.LayoutConstraints`, `wx.Window.SetConstraints`
 </docstring>
       <baseclass name="Object"/>
       <method name="Set" type="" overloaded="no">
 </docstring>
       <baseclass name="Object"/>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc>
+        <autodoc>Set(self, int rel, Window otherW, int otherE, int val=0, int marg=wxLAYOUT_DEFAULT_MARGIN)</autodoc>
+        <docstring>Sets the properties of the constraint. Normally called by one of the
+convenience functions such as Above, RightOf, SameAs.</docstring>
         <paramlist>
           <param name="rel" type="wxRelationship" default=""/>
           <param name="otherW" type="Window" default=""/>
         <paramlist>
           <param name="rel" type="wxRelationship" default=""/>
           <param name="otherW" type="Window" default=""/>
@@ -7350,40 +8245,49 @@ using the more general Set function.
         </paramlist>
       </method>
       <method name="LeftOf" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="LeftOf" type="" overloaded="no">
-        <autodoc>LeftOf(Window sibling, int marg=0)</autodoc>
-        <docstring>Sibling relationship</docstring>
+        <autodoc>LeftOf(self, Window sibling, int marg=0)</autodoc>
+        <docstring>Constrains this edge to be to the left of the given window, with an
+optional margin. Implicitly, this is relative to the left edge of the
+other window.</docstring>
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RightOf" type="" overloaded="no">
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RightOf" type="" overloaded="no">
-        <autodoc>RightOf(Window sibling, int marg=0)</autodoc>
-        <docstring>Sibling relationship</docstring>
+        <autodoc>RightOf(self, Window sibling, int marg=0)</autodoc>
+        <docstring>Constrains this edge to be to the right of the given window, with an
+optional margin. Implicitly, this is relative to the right edge of the
+other window.</docstring>
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Above" type="" overloaded="no">
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Above" type="" overloaded="no">
-        <autodoc>Above(Window sibling, int marg=0)</autodoc>
-        <docstring>Sibling relationship</docstring>
+        <autodoc>Above(self, Window sibling, int marg=0)</autodoc>
+        <docstring>Constrains this edge to be above the given window, with an optional
+margin. Implicitly, this is relative to the top edge of the other
+window.</docstring>
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Below" type="" overloaded="no">
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Below" type="" overloaded="no">
-        <autodoc>Below(Window sibling, int marg=0)</autodoc>
-        <docstring>Sibling relationship</docstring>
+        <autodoc>Below(self, Window sibling, int marg=0)</autodoc>
+        <docstring>Constrains this edge to be below the given window, with an optional
+margin. Implicitly, this is relative to the bottom edge of the other
+window.</docstring>
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SameAs" type="" overloaded="no">
         <paramlist>
           <param name="sibling" type="Window" default=""/>
           <param name="marg" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SameAs" type="" overloaded="no">
-        <autodoc>SameAs(Window otherW, int edge, int marg=0)</autodoc>
-        <docstring>'Same edge' alignment</docstring>
+        <autodoc>SameAs(self, Window otherW, int edge, int marg=0)</autodoc>
+        <docstring>Constrains this edge or dimension to be to the same as the edge of the
+given window, with an optional margin.</docstring>
         <paramlist>
           <param name="otherW" type="Window" default=""/>
           <param name="edge" type="wxEdge" default=""/>
         <paramlist>
           <param name="otherW" type="Window" default=""/>
           <param name="edge" type="wxEdge" default=""/>
@@ -7391,8 +8295,9 @@ using the more general Set function.
         </paramlist>
       </method>
       <method name="PercentOf" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="PercentOf" type="" overloaded="no">
-        <autodoc>PercentOf(Window otherW, int wh, int per)</autodoc>
-        <docstring>The edge is a percentage of the other window's edge</docstring>
+        <autodoc>PercentOf(self, Window otherW, int wh, int per)</autodoc>
+        <docstring>Constrains this edge or dimension to be to a percentage of the given
+window, with an optional margin.</docstring>
         <paramlist>
           <param name="otherW" type="Window" default=""/>
           <param name="wh" type="wxEdge" default=""/>
         <paramlist>
           <param name="otherW" type="Window" default=""/>
           <param name="wh" type="wxEdge" default=""/>
@@ -7400,83 +8305,89 @@ using the more general Set function.
         </paramlist>
       </method>
       <method name="Absolute" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Absolute" type="" overloaded="no">
-        <autodoc>Absolute(int val)</autodoc>
-        <docstring>Edge has absolute value</docstring>
+        <autodoc>Absolute(self, int val)</autodoc>
+        <docstring>Constrains this edge or dimension to be the given absolute value.</docstring>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Unconstrained" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Unconstrained" type="" overloaded="no">
-        <autodoc>Unconstrained()</autodoc>
-        <docstring>Dimension is unconstrained</docstring>
+        <autodoc>Unconstrained(self)</autodoc>
+        <docstring>Sets this edge or dimension to be unconstrained, that is, dependent on
+other edges and dimensions from which this value can be deduced.</docstring>
       </method>
       <method name="AsIs" type="" overloaded="no">
       </method>
       <method name="AsIs" type="" overloaded="no">
-        <autodoc>AsIs()</autodoc>
-        <docstring>Dimension is 'as is' (use current size settings)</docstring>
+        <autodoc>AsIs(self)</autodoc>
+        <docstring>Sets this edge or constraint to be whatever the window's value is at
+the moment. If either of the width and height constraints are *as is*,
+the window will not be resized, but moved instead. This is important
+when considering panel items which are intended to have a default
+size, such as a button, which may take its size from the size of the
+button label.</docstring>
       </method>
       <method name="GetOtherWindow" type="Window" overloaded="no">
       </method>
       <method name="GetOtherWindow" type="Window" overloaded="no">
-        <autodoc>GetOtherWindow() -&gt; Window</autodoc>
+        <autodoc>GetOtherWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="GetMyEdge" type="wxEdge" overloaded="no">
       </method>
       <method name="GetMyEdge" type="wxEdge" overloaded="no">
-        <autodoc>GetMyEdge() -&gt; int</autodoc>
+        <autodoc>GetMyEdge(self) -&gt; int</autodoc>
       </method>
       <method name="SetEdge" type="" overloaded="no">
       </method>
       <method name="SetEdge" type="" overloaded="no">
-        <autodoc>SetEdge(int which)</autodoc>
+        <autodoc>SetEdge(self, int which)</autodoc>
         <paramlist>
           <param name="which" type="wxEdge" default=""/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
         <paramlist>
           <param name="which" type="wxEdge" default=""/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(int v)</autodoc>
+        <autodoc>SetValue(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMargin" type="int" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMargin" type="int" overloaded="no">
-        <autodoc>GetMargin() -&gt; int</autodoc>
+        <autodoc>GetMargin(self) -&gt; int</autodoc>
       </method>
       <method name="SetMargin" type="" overloaded="no">
       </method>
       <method name="SetMargin" type="" overloaded="no">
-        <autodoc>SetMargin(int m)</autodoc>
+        <autodoc>SetMargin(self, int m)</autodoc>
         <paramlist>
           <param name="m" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
         <paramlist>
           <param name="m" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
-        <autodoc>GetValue() -&gt; int</autodoc>
+        <autodoc>GetValue(self) -&gt; int</autodoc>
       </method>
       <method name="GetPercent" type="int" overloaded="no">
       </method>
       <method name="GetPercent" type="int" overloaded="no">
-        <autodoc>GetPercent() -&gt; int</autodoc>
+        <autodoc>GetPercent(self) -&gt; int</autodoc>
       </method>
       <method name="GetOtherEdge" type="int" overloaded="no">
       </method>
       <method name="GetOtherEdge" type="int" overloaded="no">
-        <autodoc>GetOtherEdge() -&gt; int</autodoc>
+        <autodoc>GetOtherEdge(self) -&gt; int</autodoc>
       </method>
       <method name="GetDone" type="bool" overloaded="no">
       </method>
       <method name="GetDone" type="bool" overloaded="no">
-        <autodoc>GetDone() -&gt; bool</autodoc>
+        <autodoc>GetDone(self) -&gt; bool</autodoc>
       </method>
       <method name="SetDone" type="" overloaded="no">
       </method>
       <method name="SetDone" type="" overloaded="no">
-        <autodoc>SetDone(bool d)</autodoc>
+        <autodoc>SetDone(self, bool d)</autodoc>
         <paramlist>
           <param name="d" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetRelationship" type="wxRelationship" overloaded="no">
         <paramlist>
           <param name="d" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetRelationship" type="wxRelationship" overloaded="no">
-        <autodoc>GetRelationship() -&gt; int</autodoc>
+        <autodoc>GetRelationship(self) -&gt; int</autodoc>
       </method>
       <method name="SetRelationship" type="" overloaded="no">
       </method>
       <method name="SetRelationship" type="" overloaded="no">
-        <autodoc>SetRelationship(int r)</autodoc>
+        <autodoc>SetRelationship(self, int r)</autodoc>
         <paramlist>
           <param name="r" type="wxRelationship" default=""/>
         </paramlist>
       </method>
       <method name="ResetIfWin" type="bool" overloaded="no">
         <paramlist>
           <param name="r" type="wxRelationship" default=""/>
         </paramlist>
       </method>
       <method name="ResetIfWin" type="bool" overloaded="no">
-        <autodoc>ResetIfWin(Window otherW) -&gt; bool</autodoc>
+        <autodoc>ResetIfWin(self, Window otherW) -&gt; bool</autodoc>
         <docstring>Reset constraint if it mentions otherWin</docstring>
         <paramlist>
           <param name="otherW" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SatisfyConstraint" type="bool" overloaded="no">
         <docstring>Reset constraint if it mentions otherWin</docstring>
         <paramlist>
           <param name="otherW" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SatisfyConstraint" type="bool" overloaded="no">
-        <autodoc>SatisfyConstraint(LayoutConstraints constraints, Window win) -&gt; bool</autodoc>
+        <autodoc>SatisfyConstraint(self, LayoutConstraints constraints, Window win) -&gt; bool</autodoc>
         <docstring>Try to satisfy constraint</docstring>
         <paramlist>
           <param name="constraints" type="wxLayoutConstraints" default=""/>
         <docstring>Try to satisfy constraint</docstring>
         <paramlist>
           <param name="constraints" type="wxLayoutConstraints" default=""/>
@@ -7484,7 +8395,7 @@ using the more general Set function.
         </paramlist>
       </method>
       <method name="GetEdge" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetEdge" type="int" overloaded="no">
-        <autodoc>GetEdge(int which, Window thisWin, Window other) -&gt; int</autodoc>
+        <autodoc>GetEdge(self, int which, Window thisWin, Window other) -&gt; int</autodoc>
         <docstring>Get the value of this edge or dimension, or if this
 is not determinable, -1.</docstring>
         <paramlist>
         <docstring>Get the value of this edge or dimension, or if this
 is not determinable, -1.</docstring>
         <paramlist>
@@ -7494,11 +8405,12 @@ is not determinable, -1.</docstring>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="core">
-      <docstring>Note: constraints are now deprecated and you should use sizers instead.
+    <class name="LayoutConstraints" oldname="wxLayoutConstraints" module="_core">
+      <docstring>**Note:** constraints are now deprecated and you should use sizers
+instead.
 
 
-Objects of this class can be associated with a window to define its layout
-constraints, with respect to siblings or its parent.
+Objects of this class can be associated with a window to define its
+layout constraints, with respect to siblings or its parent.
 
 The class consists of the following eight constraints of class
 wx.IndividualLayoutConstraint, some or all of which should be accessed
 
 The class consists of the following eight constraints of class
 wx.IndividualLayoutConstraint, some or all of which should be accessed
@@ -7513,16 +8425,19 @@ directly to set the appropriate constraints.
     * centreX: represents the horizontal centre point of the window
     * centreY: represents the vertical centre point of the window 
 
     * centreX: represents the horizontal centre point of the window
     * centreY: represents the vertical centre point of the window 
 
-Most constraints are initially set to have the relationship wxUnconstrained,
-which means that their values should be calculated by looking at known
-constraints. The exceptions are width and height, which are set to wxAsIs to
-ensure that if the user does not specify a constraint, the existing width and
-height will be used, to be compatible with panel items which often have take a
-default size. If the constraint is wxAsIs, the dimension will not be changed.
+Most constraints are initially set to have the relationship
+wxUnconstrained, which means that their values should be calculated by
+looking at known constraints. The exceptions are width and height,
+which are set to wxAsIs to ensure that if the user does not specify a
+constraint, the existing width and height will be used, to be
+compatible with panel items which often have take a default size. If
+the constraint is ``wx.AsIs``, the dimension will not be changed.
+
+:see: `wx.IndividualLayoutConstraint`, `wx.Window.SetConstraints`
 </docstring>
       <baseclass name="Object"/>
       <constructor name="LayoutConstraints" overloaded="no">
 </docstring>
       <baseclass name="Object"/>
       <constructor name="LayoutConstraints" overloaded="no">
-        <autodoc>__init__() -&gt; LayoutConstraints</autodoc>
+        <autodoc>__init__(self) -&gt; LayoutConstraints</autodoc>
       </constructor>
       <property name="left" type="IndividualLayoutConstraint" readonly="yes"/>
       <property name="top" type="IndividualLayoutConstraint" readonly="yes"/>
       </constructor>
       <property name="left" type="IndividualLayoutConstraint" readonly="yes"/>
       <property name="top" type="IndividualLayoutConstraint" readonly="yes"/>
@@ -7540,7 +8455,7 @@ default size. If the constraint is wxAsIs, the dimension will not be changed.
         </paramlist>
       </method>
       <method name="AreSatisfied" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="AreSatisfied" type="bool" overloaded="no">
-        <autodoc>AreSatisfied() -&gt; bool</autodoc>
+        <autodoc>AreSatisfied(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>#----------------------------------------------------------------------------
       </method>
     </class>
     <pythoncode>#----------------------------------------------------------------------------
@@ -7551,6 +8466,8 @@ try:
 except NameError:
     __builtins__.True = 1==1
     __builtins__.False = 1==0
 except NameError:
     __builtins__.True = 1==1
     __builtins__.False = 1==0
+    def bool(value): return not not value
+    __builtins__.bool = bool
 
 
 
 
 
 
@@ -7562,16 +8479,16 @@ __wxPyPtrTypeMap['wxStatusBar95']   = 'wxStatusBar'
 
 #----------------------------------------------------------------------------
 # Load version numbers from __version__...  Ensure that major and minor
 
 #----------------------------------------------------------------------------
 # Load version numbers from __version__...  Ensure that major and minor
-# versions are the same for both wxPython and wxWindows.
+# versions are the same for both wxPython and wxWidgets.
 
 from __version__ import *
 __version__ = VERSION_STRING
 
 
 from __version__ import *
 __version__ = VERSION_STRING
 
-assert MAJOR_VERSION == _core.MAJOR_VERSION, "wxPython/wxWindows version mismatch"
-assert MINOR_VERSION == _core.MINOR_VERSION, "wxPython/wxWindows version mismatch"
-if RELEASE_VERSION != _core.RELEASE_VERSION:
+assert MAJOR_VERSION == _core_.MAJOR_VERSION, "wxPython/wxWidgets version mismatch"
+assert MINOR_VERSION == _core_.MINOR_VERSION, "wxPython/wxWidgets version mismatch"
+if RELEASE_VERSION != _core_.RELEASE_VERSION:
     import warnings
     import warnings
-    warnings.warn("wxPython/wxWindows release number mismatch")
+    warnings.warn("wxPython/wxWidgets release number mismatch")
 
 #----------------------------------------------------------------------------
 
 
 #----------------------------------------------------------------------------
 
@@ -7607,7 +8524,7 @@ class PyUnbornObjectError(AttributeError):
 
 class _wxPyUnbornObject(object):
     """
 
 class _wxPyUnbornObject(object):
     """
-    Some stock objects are created when the wx.core module is
+    Some stock objects are created when the wx._core module is
     imported, but their C++ instance is not created until the wx.App
     object is created and initialized.  These object instances will
     temporarily have their __class__ changed to this class so an
     imported, but their C++ instance is not created until the wx.App
     object is created and initialized.  These object instances will
     temporarily have their __class__ changed to this class so an
@@ -7639,10 +8556,13 @@ def CallAfter(callable, *args, **kw):
     """
     Call the specified function after the current and pending event
     handlers have been completed.  This is also good for making GUI
     """
     Call the specified function after the current and pending event
     handlers have been completed.  This is also good for making GUI
-    method calls from non-GUI threads.
+    method calls from non-GUI threads.  Any extra positional or
+    keyword args are passed on to the callable when it is called.
+
+    :see: `wx.FutureCall`
     """
     app = wx.GetApp()
     """
     app = wx.GetApp()
-    assert app, 'No wxApp created yet'
+    assert app is not None, 'No wx.App created yet'
 
     global _wxPyCallAfterId
     if _wxPyCallAfterId is None:
 
     global _wxPyCallAfterId
     if _wxPyCallAfterId is None:
@@ -7665,7 +8585,7 @@ class FutureCall:
     A convenience class for wx.Timer, that calls the given callable
     object once after the given amount of milliseconds, passing any
     positional or keyword args.  The return value of the callable is
     A convenience class for wx.Timer, that calls the given callable
     object once after the given amount of milliseconds, passing any
     positional or keyword args.  The return value of the callable is
-    availbale after it has been run with the GetResult method.
+    availbale after it has been run with the `GetResult` method.
 
     If you don't need to get the return value or restart the timer
     then there is no need to hold a reference to this object.  It will
 
     If you don't need to get the return value or restart the timer
     then there is no need to hold a reference to this object.  It will
@@ -7673,6 +8593,8 @@ class FutureCall:
     has a reference to self.Notify) but the cycle will be broken when
     the timer completes, automatically cleaning up the wx.FutureCall
     object.
     has a reference to self.Notify) but the cycle will be broken when
     the timer completes, automatically cleaning up the wx.FutureCall
     object.
+
+    :see: `wx.CallAfter`
     """
     def __init__(self, millis, callable, *args, **kwargs):
         self.millis = millis
     """
     def __init__(self, millis, callable, *args, **kwargs):
         self.millis = millis
@@ -7756,84 +8678,117 @@ class FutureCall:
             wx.CallAfter(self.Stop)
 
 
             wx.CallAfter(self.Stop)
 
 
+
+#----------------------------------------------------------------------------
+# Control which items in this module should be documented by epydoc.
+# We allow only classes and functions, which will help reduce the size
+# of the docs by filtering out the zillions of constants, EVT objects,
+# and etc that don't make much sense by themselves, but are instead
+# documented (or will be) as part of the classes/functions/methods
+# where they should be used.
+
+class __DocFilter:
+    """
+    A filter for epydoc that only allows non-Ptr classes and
+    fucntions, in order to reduce the clutter in the API docs.
+    """
+    def __init__(self, globals):
+        self._globals = globals
+        
+    def __call__(self, name):
+        import types
+        obj = self._globals.get(name, None)
+        if type(obj) not in [type, types.ClassType, types.FunctionType, types.BuiltinFunctionType]:
+            return False
+        if name.startswith('_') or name.endswith('Ptr') or name.startswith('EVT'):
+            return False
+        return True
+
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------
 
 # Import other modules in this package that should show up in the
 # "core" wx namespace
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------
 
 # Import other modules in this package that should show up in the
 # "core" wx namespace
-from gdi import *
-from windows import *
-from controls import *
-from misc import *
+from _gdi import *
+from _windows import *
+from _controls import *
+from _misc import *
 
 
 # Fixup the stock objects since they can't be used yet.  (They will be
 # restored in wx.PyApp.OnInit.)
 
 
 # Fixup the stock objects since they can't be used yet.  (They will be
 # restored in wx.PyApp.OnInit.)
-_core._wxPyFixStockObjects()
+_core_._wxPyFixStockObjects()
 
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------
 </pythoncode>
   </module>
 
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------
 </pythoncode>
   </module>
-  <module name="gdi">
-    <import name="core"/>
-    <pythoncode> wx = core </pythoncode>
+  <module name="_gdi">
+    <import name="_core"/>
+    <pythoncode> wx = _core </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="GDIObject" oldname="wxGDIObject" module="gdi">
+    <class name="GDIObject" oldname="wxGDIObject" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="GDIObject" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="GDIObject" overloaded="no">
-        <autodoc>__init__() -&gt; GDIObject</autodoc>
+        <autodoc>__init__(self) -&gt; GDIObject</autodoc>
       </constructor>
       <destructor name="~wxGDIObject" overloaded="no">
       </constructor>
       <destructor name="~wxGDIObject" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetVisible" type="bool" overloaded="no">
       </destructor>
       <method name="GetVisible" type="bool" overloaded="no">
-        <autodoc>GetVisible() -&gt; bool</autodoc>
+        <autodoc>GetVisible(self) -&gt; bool</autodoc>
       </method>
       <method name="SetVisible" type="" overloaded="no">
       </method>
       <method name="SetVisible" type="" overloaded="no">
-        <autodoc>SetVisible(bool visible)</autodoc>
+        <autodoc>SetVisible(self, bool visible)</autodoc>
         <paramlist>
           <param name="visible" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsNull" type="bool" overloaded="no">
         <paramlist>
           <param name="visible" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsNull" type="bool" overloaded="no">
-        <autodoc>IsNull() -&gt; bool</autodoc>
+        <autodoc>IsNull(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Colour" oldname="wxColour" module="gdi">
-      <docstring>A colour is an object representing a combination of Red, Green, and Blue (RGB)
-intensity values, and is used to determine drawing colours, window colours,
-etc.  Valid RGB values are in the range 0 to 255.
+    <class name="Colour" oldname="wxColour" module="_gdi">
+      <docstring>A colour is an object representing a combination of Red, Green, and
+Blue (RGB) intensity values, and is used to determine drawing colours,
+window colours, etc.  Valid RGB values are in the range 0 to 255.
 
 
-In wxPython there are typemaps that will automatically convert from a colour
-name, or from a "#RRGGBB" colour hex value string to a wx.Colour object when
-calling C++ methods that expect a wxColour.  This means that the following are
-all equivallent:
+In wxPython there are typemaps that will automatically convert from a
+colour name, or from a '#RRGGBB' colour hex value string to a
+wx.Colour object when calling C++ methods that expect a wxColour.
+This means that the following are all equivallent::
 
     win.SetBackgroundColour(wxColour(0,0,255))
 
     win.SetBackgroundColour(wxColour(0,0,255))
-    win.SetBackgroundColour("BLUE")
-    win.SetBackgroundColour("#0000FF")
+    win.SetBackgroundColour('BLUE')
+    win.SetBackgroundColour('#0000FF')
 
 
-You can retrieve the various current system colour settings with
-wx.SystemSettings.GetColour.</docstring>
+Additional colour names and their coresponding values can be added
+using `wx.ColourDatabase`.  Various system colours (as set in the
+user's system preferences) can be retrieved with
+`wx.SystemSettings.GetColour`.
+</docstring>
       <baseclass name="Object"/>
       <constructor name="Colour" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="Colour" overloaded="no">
-        <autodoc>__init__(unsigned char red=0, unsigned char green=0, unsigned char blue=0) -&gt; Colour</autodoc>
-        <docstring>Constructs a colour from red, green and blue values.</docstring>
+        <autodoc>__init__(self, byte red=0, byte green=0, byte blue=0) -&gt; Colour</autodoc>
+        <docstring>Constructs a colour from red, green and blue values.
+
+:see: Alternate constructors `wx.NamedColour` and `wx.ColourRGB`.
+</docstring>
         <paramlist>
         <paramlist>
-          <param name="red" type="unsigned char" default="0"/>
-          <param name="green" type="unsigned char" default="0"/>
-          <param name="blue" type="unsigned char" default="0"/>
+          <param name="red" type="byte" default="0"/>
+          <param name="green" type="byte" default="0"/>
+          <param name="blue" type="byte" default="0"/>
         </paramlist>
       </constructor>
       <constructor name="NamedColour" overloaded="no">
         <autodoc>NamedColour(String colorName) -&gt; Colour</autodoc>
         </paramlist>
       </constructor>
       <constructor name="NamedColour" overloaded="no">
         <autodoc>NamedColour(String colorName) -&gt; Colour</autodoc>
-        <docstring>Constructs a colour object using a colour name listed in wx.TheColourDatabase.</docstring>
+        <docstring>Constructs a colour object using a colour name listed in
+``wx.TheColourDatabase``.</docstring>
         <paramlist>
           <param name="colorName" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="colorName" type="String" default=""/>
         </paramlist>
@@ -7846,63 +8801,64 @@ wx.SystemSettings.GetColour.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxColour" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxColour" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       </destructor>
-      <method name="Red" type="unsigned char" overloaded="no">
-        <autodoc>Red() -&gt; unsigned char</autodoc>
+      <method name="Red" type="byte" overloaded="no">
+        <autodoc>Red(self) -&gt; byte</autodoc>
         <docstring>Returns the red intensity.</docstring>
       </method>
         <docstring>Returns the red intensity.</docstring>
       </method>
-      <method name="Green" type="unsigned char" overloaded="no">
-        <autodoc>Green() -&gt; unsigned char</autodoc>
+      <method name="Green" type="byte" overloaded="no">
+        <autodoc>Green(self) -&gt; byte</autodoc>
         <docstring>Returns the green intensity.</docstring>
       </method>
         <docstring>Returns the green intensity.</docstring>
       </method>
-      <method name="Blue" type="unsigned char" overloaded="no">
-        <autodoc>Blue() -&gt; unsigned char</autodoc>
+      <method name="Blue" type="byte" overloaded="no">
+        <autodoc>Blue(self) -&gt; byte</autodoc>
         <docstring>Returns the blue intensity.</docstring>
       </method>
       <method name="Ok" type="bool" overloaded="no">
         <docstring>Returns the blue intensity.</docstring>
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
         <docstring>Returns True if the colour object is valid (the colour has been
 initialised with RGB values).</docstring>
       </method>
       <method name="Set" type="" overloaded="no">
         <docstring>Returns True if the colour object is valid (the colour has been
 initialised with RGB values).</docstring>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(unsigned char red, unsigned char green, unsigned char blue)</autodoc>
+        <autodoc>Set(self, byte red, byte green, byte blue)</autodoc>
         <docstring>Sets the RGB intensity values.</docstring>
         <paramlist>
         <docstring>Sets the RGB intensity values.</docstring>
         <paramlist>
-          <param name="red" type="unsigned char" default=""/>
-          <param name="green" type="unsigned char" default=""/>
-          <param name="blue" type="unsigned char" default=""/>
+          <param name="red" type="byte" default=""/>
+          <param name="green" type="byte" default=""/>
+          <param name="blue" type="byte" default=""/>
         </paramlist>
       </method>
       <method name="SetRGB" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRGB" type="" overloaded="no">
-        <autodoc>SetRGB(unsigned long colRGB)</autodoc>
+        <autodoc>SetRGB(self, unsigned long colRGB)</autodoc>
         <docstring>Sets the RGB intensity values from a packed RGB value.</docstring>
         <paramlist>
           <param name="colRGB" type="unsigned long" default=""/>
         </paramlist>
       </method>
       <method name="SetFromName" type="" overloaded="no">
         <docstring>Sets the RGB intensity values from a packed RGB value.</docstring>
         <paramlist>
           <param name="colRGB" type="unsigned long" default=""/>
         </paramlist>
       </method>
       <method name="SetFromName" type="" overloaded="no">
-        <autodoc>SetFromName(String colourName)</autodoc>
-        <docstring>Sets the RGB intensity values using a colour name listed in wx.TheColourDatabase.</docstring>
+        <autodoc>SetFromName(self, String colourName)</autodoc>
+        <docstring>Sets the RGB intensity values using a colour name listed in
+``wx.TheColourDatabase``.</docstring>
         <paramlist>
           <param name="colourName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPixel" type="long" overloaded="no">
         <paramlist>
           <param name="colourName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPixel" type="long" overloaded="no">
-        <autodoc>GetPixel() -&gt; long</autodoc>
+        <autodoc>GetPixel(self) -&gt; long</autodoc>
         <docstring>Returns a pixel value which is platform-dependent. On Windows, a
         <docstring>Returns a pixel value which is platform-dependent. On Windows, a
-COLORREF is returned. On X, an allocated pixel value is returned.
--1 is returned if the pixel is invalid (on X, unallocated).</docstring>
+COLORREF is returned. On X, an allocated pixel value is returned.  -1
+is returned if the pixel is invalid (on X, unallocated).</docstring>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Colour colour) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Colour colour) -&gt; bool</autodoc>
         <docstring>Compare colours for equality</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <docstring>Compare colours for equality</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Colour colour) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Colour colour) -&gt; bool</autodoc>
         <docstring>Compare colours for inequality</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         <docstring>Compare colours for inequality</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
@@ -7913,7 +8869,7 @@ COLORREF is returned. On X, an allocated pixel value is returned.
         <docstring>Returns the RGB intensity values as a tuple.</docstring>
       </method>
       <method name="GetRGB" type="unsigned long" overloaded="no">
         <docstring>Returns the RGB intensity values as a tuple.</docstring>
       </method>
       <method name="GetRGB" type="unsigned long" overloaded="no">
-        <autodoc>GetRGB() -&gt; unsigned long</autodoc>
+        <autodoc>GetRGB(self) -&gt; unsigned long</autodoc>
         <docstring>Return the colour as a packed RGB value</docstring>
       </method>
     </class>
         <docstring>Return the colour as a packed RGB value</docstring>
       </method>
     </class>
@@ -7922,10 +8878,10 @@ COLORREF is returned. On X, an allocated pixel value is returned.
     NamedColor = NamedColour
     ColorRGB = ColourRGB
 </pythoncode>
     NamedColor = NamedColour
     ColorRGB = ColourRGB
 </pythoncode>
-    <class name="Palette" oldname="wxPalette" module="gdi">
+    <class name="Palette" oldname="wxPalette" module="_gdi">
       <baseclass name="GDIObject"/>
       <constructor name="Palette" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Palette" overloaded="no">
-        <autodoc>__init__(int n, unsigned char red, unsigned char green, unsigned char blue) -&gt; Palette</autodoc>
+        <autodoc>__init__(self, int n, unsigned char red, unsigned char green, unsigned char blue) -&gt; Palette</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="red" type="unsigned char" default=""/>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="red" type="unsigned char" default=""/>
@@ -7934,10 +8890,10 @@ COLORREF is returned. On X, an allocated pixel value is returned.
         </paramlist>
       </constructor>
       <destructor name="~wxPalette" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxPalette" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetPixel" type="int" overloaded="no">
       </destructor>
       <method name="GetPixel" type="int" overloaded="no">
-        <autodoc>GetPixel(byte red, byte green, byte blue) -&gt; int</autodoc>
+        <autodoc>GetPixel(self, byte red, byte green, byte blue) -&gt; int</autodoc>
         <paramlist>
           <param name="red" type="byte" default=""/>
           <param name="green" type="byte" default=""/>
         <paramlist>
           <param name="red" type="byte" default=""/>
           <param name="green" type="byte" default=""/>
@@ -7954,16 +8910,16 @@ COLORREF is returned. On X, an allocated pixel value is returned.
         </paramlist>
       </method>
       <method name="Ok" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Pen" oldname="wxPen" module="gdi">
+    <class name="Pen" oldname="wxPen" module="_gdi">
       <baseclass name="GDIObject"/>
       <constructor name="Pen" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Pen" overloaded="no">
-        <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -&gt; Pen</autodoc>
+        <autodoc>__init__(self, Colour colour, int width=1, int style=SOLID) -&gt; Pen</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="width" type="int" default="1"/>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="width" type="int" default="1"/>
@@ -7971,158 +8927,227 @@ COLORREF is returned. On X, an allocated pixel value is returned.
         </paramlist>
       </constructor>
       <destructor name="~wxPen" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxPen" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetCap" type="int" overloaded="no">
       </destructor>
       <method name="GetCap" type="int" overloaded="no">
-        <autodoc>GetCap() -&gt; int</autodoc>
+        <autodoc>GetCap(self) -&gt; int</autodoc>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
-        <autodoc>GetColour() -&gt; Colour</autodoc>
+        <autodoc>GetColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetJoin" type="int" overloaded="no">
       </method>
       <method name="GetJoin" type="int" overloaded="no">
-        <autodoc>GetJoin() -&gt; int</autodoc>
+        <autodoc>GetJoin(self) -&gt; int</autodoc>
       </method>
       <method name="GetStyle" type="int" overloaded="no">
       </method>
       <method name="GetStyle" type="int" overloaded="no">
-        <autodoc>GetStyle() -&gt; int</autodoc>
+        <autodoc>GetStyle(self) -&gt; int</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="SetCap" type="" overloaded="no">
       </method>
       <method name="SetCap" type="" overloaded="no">
-        <autodoc>SetCap(int cap_style)</autodoc>
+        <autodoc>SetCap(self, int cap_style)</autodoc>
         <paramlist>
           <param name="cap_style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
         <paramlist>
           <param name="cap_style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(Colour colour)</autodoc>
+        <autodoc>SetColour(self, Colour colour)</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetJoin" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetJoin" type="" overloaded="no">
-        <autodoc>SetJoin(int join_style)</autodoc>
+        <autodoc>SetJoin(self, int join_style)</autodoc>
         <paramlist>
           <param name="join_style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
         <paramlist>
           <param name="join_style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(int style)</autodoc>
+        <autodoc>SetStyle(self, int style)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int width)</autodoc>
+        <autodoc>SetWidth(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDashes" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDashes" type="" overloaded="no">
-        <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc>
+        <autodoc>SetDashes(self, int dashes, wxDash dashes_array)</autodoc>
         <paramlist>
           <param name="dashes" type="int" default=""/>
           <param name="dashes_array" type="wxDash" default=""/>
         </paramlist>
       </method>
       <method name="GetDashes" type="PyObject" overloaded="no">
         <paramlist>
           <param name="dashes" type="int" default=""/>
           <param name="dashes_array" type="wxDash" default=""/>
         </paramlist>
       </method>
       <method name="GetDashes" type="PyObject" overloaded="no">
-        <autodoc>GetDashes() -&gt; PyObject</autodoc>
-      </method>
-      <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Pen other) -&gt; bool</autodoc>
-        <paramlist>
-          <param name="other" type="Pen" default=""/>
-        </paramlist>
+        <autodoc>GetDashes(self) -&gt; PyObject</autodoc>
       </method>
       </method>
-      <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Pen other) -&gt; bool</autodoc>
+      <method name="_SetDashes" type="" overloaded="no">
+        <autodoc>_SetDashes(self, PyObject _self, PyObject pyDashes)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="other" type="Pen" default=""/>
+          <param name="_self" type="PyObject" default=""/>
+          <param name="pyDashes" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDashCount" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDashCount" type="int" overloaded="no">
-        <autodoc>GetDashCount() -&gt; int</autodoc>
+        <autodoc>GetDashCount(self) -&gt; int</autodoc>
       </method>
       </method>
-    </class>
-    <class name="PyPen" oldname="wxPyPen" module="gdi">
-      <baseclass name="Pen"/>
-      <constructor name="PyPen" overloaded="no">
-        <autodoc>__init__(Colour colour, int width=1, int style=SOLID) -&gt; PyPen</autodoc>
+      <method name="__eq__" type="bool" overloaded="no">
+        <autodoc>__eq__(self, Pen other) -&gt; bool</autodoc>
         <paramlist>
         <paramlist>
-          <param name="colour" type="Colour" default=""/>
-          <param name="width" type="int" default="1"/>
-          <param name="style" type="int" default="wxSOLID"/>
+          <param name="other" type="Pen" default=""/>
         </paramlist>
         </paramlist>
-      </constructor>
-      <destructor name="~wxPyPen" overloaded="no">
-        <autodoc>__del__()</autodoc>
-      </destructor>
-      <method name="SetDashes" type="" overloaded="no">
-        <autodoc>SetDashes(int dashes, wxDash dashes_array)</autodoc>
+      </method>
+      <method name="__ne__" type="bool" overloaded="no">
+        <autodoc>__ne__(self, Pen other) -&gt; bool</autodoc>
         <paramlist>
         <paramlist>
-          <param name="dashes" type="int" default=""/>
-          <param name="dashes_array" type="wxDash" default=""/>
+          <param name="other" type="Pen" default=""/>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <pythoncode> Pen = PyPen </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Brush" oldname="wxBrush" module="gdi">
-      <docstring>A brush is a drawing tool for filling in areas. It is used for painting the
-background of rectangles, ellipses, etc. It has a colour and a style.</docstring>
+    <class name="Brush" oldname="wxBrush" module="_gdi">
+      <docstring>A brush is a drawing tool for filling in areas. It is used for
+painting the background of rectangles, ellipses, etc. when drawing on
+a `wx.DC`.  It has a colour and a style.
+
+:warning: Do not create instances of wx.Brush before the `wx.App`
+    object has been created because, depending on the platform,
+    required internal data structures may not have been initialized
+    yet.  Instead create your brushes in the app's OnInit or as they
+    are needed for drawing.
+
+:note: On monochrome displays all brushes are white, unless the colour
+    really is black.
+
+:see: `wx.BrushList`, `wx.DC`, `wx.DC.SetBrush`
+</docstring>
       <baseclass name="GDIObject"/>
       <constructor name="Brush" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Brush" overloaded="no">
-        <autodoc>__init__(Colour colour, int style=SOLID) -&gt; Brush</autodoc>
-        <docstring>Constructs a brush from a colour object and style.</docstring>
+        <autodoc>__init__(self, Colour colour, int style=SOLID) -&gt; Brush</autodoc>
+        <docstring>Constructs a brush from a `wx.Colour` object and a style.The style parameter may be one of the following:
+
+    ===================   =============================
+    Style                 Meaning
+    ===================   =============================
+    wx.TRANSPARENT        Transparent (no fill).
+    wx.SOLID              Solid.
+    wx.STIPPLE            Uses a bitmap as a stipple.
+    wx.BDIAGONAL_HATCH    Backward diagonal hatch.
+    wx.CROSSDIAG_HATCH    Cross-diagonal hatch.
+    wx.FDIAGONAL_HATCH    Forward diagonal hatch.
+    wx.CROSS_HATCH        Cross hatch.
+    wx.HORIZONTAL_HATCH   Horizontal hatch.
+    wx.VERTICAL_HATCH     Vertical hatch.
+    ===================   =============================
+
+</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="style" type="int" default="wxSOLID"/>
         </paramlist>
       </constructor>
       <destructor name="~wxBrush" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="style" type="int" default="wxSOLID"/>
         </paramlist>
       </constructor>
       <destructor name="~wxBrush" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetColour" type="" overloaded="no">
       </destructor>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(Colour col)</autodoc>
+        <autodoc>SetColour(self, Colour col)</autodoc>
+        <docstring>Set the brush's `wx.Colour`.</docstring>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(int style)</autodoc>
+        <autodoc>SetStyle(self, int style)</autodoc>
+        <docstring>Sets the style of the brush. See `__init__` for a listing of styles.</docstring>
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStipple" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStipple" type="" overloaded="no">
-        <autodoc>SetStipple(Bitmap stipple)</autodoc>
+        <autodoc>SetStipple(self, Bitmap stipple)</autodoc>
+        <docstring>Sets the stipple `wx.Bitmap`.</docstring>
         <paramlist>
           <param name="stipple" type="wxBitmap" default=""/>
         </paramlist>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="stipple" type="wxBitmap" default=""/>
         </paramlist>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
-        <autodoc>GetColour() -&gt; Colour</autodoc>
+        <autodoc>GetColour(self) -&gt; Colour</autodoc>
+        <docstring>Returns the `wx.Colour` of the brush.</docstring>
       </method>
       <method name="GetStyle" type="int" overloaded="no">
       </method>
       <method name="GetStyle" type="int" overloaded="no">
-        <autodoc>GetStyle() -&gt; int</autodoc>
+        <autodoc>GetStyle(self) -&gt; int</autodoc>
+        <docstring>Returns the style of the brush.  See `__init__` for a listing of
+styles.</docstring>
       </method>
       <method name="GetStipple" type="wxBitmap" overloaded="no">
       </method>
       <method name="GetStipple" type="wxBitmap" overloaded="no">
-        <autodoc>GetStipple() -&gt; Bitmap</autodoc>
+        <autodoc>GetStipple(self) -&gt; Bitmap</autodoc>
+        <docstring>Returns the stiple `wx.Bitmap` of the brush.  If the brush does not
+have a wx.STIPPLE style, then the return value may be non-None but an
+uninitialised bitmap (`wx.Bitmap.Ok` returns False).</docstring>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
+        <docstring>Returns True if the brush is initialised and valid.</docstring>
       </method>
     </class>
       </method>
     </class>
-    <class name="Bitmap" oldname="wxBitmap" module="gdi">
+    <class name="Bitmap" oldname="wxBitmap" module="_gdi">
+      <docstring>The wx.Bitmap class encapsulates the concept of a platform-dependent
+bitmap.  It can be either monochrome or colour, and either loaded from
+a file or created dynamically.  A bitmap can be selected into a memory
+device context (instance of `wx.MemoryDC`). This enables the bitmap to
+be copied to a window or memory device context using `wx.DC.Blit`, or
+to be used as a drawing surface.
+
+The BMP and XMP image file formats are supported on all platforms by
+wx.Bitmap.  Other formats are automatically loaded by `wx.Image` and
+converted to a wx.Bitmap, so any image file format supported by
+`wx.Image` can be used.
+
+:todo: Add wrappers and support for raw bitmap data access.  Can this
+       be be put into Python without losing the speed benefits of the
+       teplates and iterators in rawbmp.h?
+
+:todo: Find a way to do very efficient PIL Image &lt;--&gt; wx.Bitmap
+       converstions.
+</docstring>
       <baseclass name="GDIObject"/>
       <constructor name="Bitmap" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Bitmap" overloaded="no">
-        <autodoc>__init__(String name, int type=BITMAP_TYPE_ANY) -&gt; Bitmap</autodoc>
-        <docstring>Loads a bitmap from a file.</docstring>
+        <autodoc>__init__(self, String name, int type=BITMAP_TYPE_ANY) -&gt; Bitmap</autodoc>
+        <docstring>Loads a bitmap from a file.
+    :param name:  Name of the file to load the bitmap from.
+    :param type: The type of image to expect.  Can be one of the following
+        constants (assuming that the neccessary `wx.Image` handlers are
+        loaded):
+
+        * wx.BITMAP_TYPE_ANY
+        * wx.BITMAP_TYPE_BMP
+        * wx.BITMAP_TYPE_ICO
+        * wx.BITMAP_TYPE_CUR
+        * wx.BITMAP_TYPE_XBM
+        * wx.BITMAP_TYPE_XPM
+        * wx.BITMAP_TYPE_TIF
+        * wx.BITMAP_TYPE_GIF
+        * wx.BITMAP_TYPE_PNG
+        * wx.BITMAP_TYPE_JPEG
+        * wx.BITMAP_TYPE_PNM
+        * wx.BITMAP_TYPE_PCX
+        * wx.BITMAP_TYPE_PICT
+        * wx.BITMAP_TYPE_ICON
+        * wx.BITMAP_TYPE_ANI
+        * wx.BITMAP_TYPE_IFF
+
+:see: Alternate constructors `wx.EmptyBitmap`, `wx.BitmapFromIcon`,
+      `wx.BitmapFromImage`, `wx.BitmapFromXPMData`,
+      `wx.BitmapFromBits`
+</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default="wxBITMAP_TYPE_ANY"/>
@@ -8130,9 +9155,9 @@ background of rectangles, ellipses, etc. It has a colour and a style.</docstring
       </constructor>
       <constructor name="EmptyBitmap" overloaded="no">
         <autodoc>EmptyBitmap(int width, int height, int depth=-1) -&gt; Bitmap</autodoc>
       </constructor>
       <constructor name="EmptyBitmap" overloaded="no">
         <autodoc>EmptyBitmap(int width, int height, int depth=-1) -&gt; Bitmap</autodoc>
-        <docstring>Creates a new bitmap of the given size.  A depth of -1 indicates the depth of
-the current screen or visual. Some platforms only support 1 for monochrome and
--1 for the current colour setting.</docstring>
+        <docstring>Creates a new bitmap of the given size.  A depth of -1 indicates the
+depth of the current screen or visual. Some platforms only support 1
+for monochrome and -1 for the current colour setting.</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
@@ -8141,17 +9166,18 @@ the current screen or visual. Some platforms only support 1 for monochrome and
       </constructor>
       <constructor name="BitmapFromIcon" overloaded="no">
         <autodoc>BitmapFromIcon(Icon icon) -&gt; Bitmap</autodoc>
       </constructor>
       <constructor name="BitmapFromIcon" overloaded="no">
         <autodoc>BitmapFromIcon(Icon icon) -&gt; Bitmap</autodoc>
-        <docstring>Create a new bitmap from an Icon object.</docstring>
+        <docstring>Create a new bitmap from a `wx.Icon` object.</docstring>
         <paramlist>
           <param name="icon" type="wxIcon" default=""/>
         </paramlist>
       </constructor>
       <constructor name="BitmapFromImage" overloaded="no">
         <autodoc>BitmapFromImage(Image image, int depth=-1) -&gt; Bitmap</autodoc>
         <paramlist>
           <param name="icon" type="wxIcon" default=""/>
         </paramlist>
       </constructor>
       <constructor name="BitmapFromImage" overloaded="no">
         <autodoc>BitmapFromImage(Image image, int depth=-1) -&gt; Bitmap</autodoc>
-        <docstring>Creates bitmap object from the image. This has to be done to actually display
-an image as you cannot draw an image directly on a window. The resulting
-bitmap will use the provided colour depth (or that of the current system if
-depth is -1) which entails that a colour reduction has to take place.</docstring>
+        <docstring>Creates bitmap object from a `wx.Image`. This has to be done to
+actually display a `wx.Image` as you cannot draw an image directly on
+a window. The resulting bitmap will use the provided colour depth (or
+that of the current screen colour depth if depth is -1) which entails
+that a colour reduction may have to take place.</docstring>
         <paramlist>
           <param name="image" type="Image" default=""/>
           <param name="depth" type="int" default="-1"/>
         <paramlist>
           <param name="image" type="Image" default=""/>
           <param name="depth" type="int" default="-1"/>
@@ -8166,10 +9192,10 @@ depth is -1) which entails that a colour reduction has to take place.</docstring
       </constructor>
       <constructor name="BitmapFromBits" overloaded="no">
         <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -&gt; Bitmap</autodoc>
       </constructor>
       <constructor name="BitmapFromBits" overloaded="no">
         <autodoc>BitmapFromBits(PyObject bits, int width, int height, int depth=1) -&gt; Bitmap</autodoc>
-        <docstring>Creates a bitmap from an array of bits.  You should only use this function for
-monochrome bitmaps (depth 1) in portable programs: in this case the bits
-parameter should contain an XBM image.  For other bit depths, the behaviour is
-platform dependent.</docstring>
+        <docstring>Creates a bitmap from an array of bits.  You should only use this
+function for monochrome bitmaps (depth 1) in portable programs: in
+this case the bits parameter should contain an XBM image.  For other
+bit depths, the behaviour is platform dependent.</docstring>
         <paramlist>
           <param name="bits" type="PyObject" default=""/>
           <param name="width" type="int" default=""/>
         <paramlist>
           <param name="bits" type="PyObject" default=""/>
           <param name="width" type="int" default=""/>
@@ -8178,135 +9204,165 @@ platform dependent.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxBitmap" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxBitmap" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
         <docstring>Gets the width of the bitmap in pixels.</docstring>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
         <docstring>Gets the width of the bitmap in pixels.</docstring>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
         <docstring>Gets the height of the bitmap in pixels.</docstring>
       </method>
       <method name="GetDepth" type="int" overloaded="no">
         <docstring>Gets the height of the bitmap in pixels.</docstring>
       </method>
       <method name="GetDepth" type="int" overloaded="no">
-        <autodoc>GetDepth() -&gt; int</autodoc>
+        <autodoc>GetDepth(self) -&gt; int</autodoc>
         <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a
 monochrome bitmap.</docstring>
       </method>
         <docstring>Gets the colour depth of the bitmap. A value of 1 indicates a
 monochrome bitmap.</docstring>
       </method>
+      <method name="GetSize" type="Size" overloaded="no">
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
+        <docstring>Get the size of the bitmap.</docstring>
+      </method>
       <method name="ConvertToImage" type="Image" overloaded="no">
       <method name="ConvertToImage" type="Image" overloaded="no">
-        <autodoc>ConvertToImage() -&gt; Image</autodoc>
-        <docstring>Creates a platform-independent image from a platform-dependent bitmap. This
-preserves mask information so that bitmaps and images can be converted back
-and forth without loss in that respect.</docstring>
+        <autodoc>ConvertToImage(self) -&gt; Image</autodoc>
+        <docstring>Creates a platform-independent image from a platform-dependent
+bitmap. This preserves mask information so that bitmaps and images can
+be converted back and forth without loss in that respect.</docstring>
       </method>
       <method name="GetMask" type="wxMask" overloaded="no">
       </method>
       <method name="GetMask" type="wxMask" overloaded="no">
-        <autodoc>GetMask() -&gt; Mask</autodoc>
-        <docstring>Gets the associated mask (if any) which may have been loaded from a file
-or explpicitly set for the bitmap.</docstring>
+        <autodoc>GetMask(self) -&gt; Mask</autodoc>
+        <docstring>Gets the associated mask (if any) which may have been loaded from a
+file or explpicitly set for the bitmap.
+
+:see: `SetMask`, `wx.Mask`
+</docstring>
       </method>
       <method name="SetMask" type="" overloaded="no">
       </method>
       <method name="SetMask" type="" overloaded="no">
-        <autodoc>SetMask(Mask mask)</autodoc>
-        <docstring>Sets the mask for this bitmap.</docstring>
+        <autodoc>SetMask(self, Mask mask)</autodoc>
+        <docstring>Sets the mask for this bitmap.
+
+:see: `GetMask`, `wx.Mask`
+</docstring>
         <paramlist>
           <param name="mask" type="wxMask" default=""/>
         </paramlist>
       </method>
       <method name="SetMaskColour" type="" overloaded="no">
         <paramlist>
           <param name="mask" type="wxMask" default=""/>
         </paramlist>
       </method>
       <method name="SetMaskColour" type="" overloaded="no">
-        <autodoc>SetMaskColour(Colour colour)</autodoc>
+        <autodoc>SetMaskColour(self, Colour colour)</autodoc>
         <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetSubBitmap" type="Bitmap" overloaded="no">
         <docstring>Create a Mask based on a specified colour in the Bitmap.</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetSubBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetSubBitmap(Rect rect) -&gt; Bitmap</autodoc>
-        <docstring>Returns a sub bitmap of the current one as long as the rect belongs entirely
-to the bitmap. This function preserves bit depth and mask information.</docstring>
+        <autodoc>GetSubBitmap(self, Rect rect) -&gt; Bitmap</autodoc>
+        <docstring>Returns a sub-bitmap of the current one as long as the rect belongs
+entirely to the bitmap. This function preserves bit depth and mask
+information.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
-        <autodoc>SaveFile(String name, int type, Palette palette=(wxPalette *) NULL) -&gt; bool</autodoc>
-        <docstring>Saves a bitmap in the named file.</docstring>
+        <autodoc>SaveFile(self, String name, int type, Palette palette=None) -&gt; bool</autodoc>
+        <docstring>Saves a bitmap in the named file.  See `__init__` for a description of
+the ``type`` parameter.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
-          <param name="palette" type="Palette" default="(wxPalette *) NULL"/>
+          <param name="palette" type="Palette" default="NULL"/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
-        <autodoc>LoadFile(String name, int type) -&gt; bool</autodoc>
-        <docstring>Loads a bitmap from a file</docstring>
+        <autodoc>LoadFile(self, String name, int type) -&gt; bool</autodoc>
+        <docstring>Loads a bitmap from a file.  See `__init__` for a description of the
+``type`` parameter.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
         </paramlist>
       </method>
       <method name="CopyFromIcon" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
         </paramlist>
       </method>
       <method name="CopyFromIcon" type="bool" overloaded="no">
-        <autodoc>CopyFromIcon(Icon icon) -&gt; bool</autodoc>
+        <autodoc>CopyFromIcon(self, Icon icon) -&gt; bool</autodoc>
         <paramlist>
           <param name="icon" type="wxIcon" default=""/>
         </paramlist>
       </method>
       <method name="SetHeight" type="" overloaded="no">
         <paramlist>
           <param name="icon" type="wxIcon" default=""/>
         </paramlist>
       </method>
       <method name="SetHeight" type="" overloaded="no">
-        <autodoc>SetHeight(int height)</autodoc>
-        <docstring>Set the height property (does not affect the bitmap data).</docstring>
+        <autodoc>SetHeight(self, int height)</autodoc>
+        <docstring>Set the height property (does not affect the existing bitmap data).</docstring>
         <paramlist>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
         <paramlist>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int width)</autodoc>
-        <docstring>Set the width property (does not affect the bitmap data).</docstring>
+        <autodoc>SetWidth(self, int width)</autodoc>
+        <docstring>Set the width property (does not affect the existing bitmap data).</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDepth" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDepth" type="" overloaded="no">
-        <autodoc>SetDepth(int depth)</autodoc>
-        <docstring>Set the depth property (does not affect the bitmap data).</docstring>
+        <autodoc>SetDepth(self, int depth)</autodoc>
+        <docstring>Set the depth property (does not affect the existing bitmap data).</docstring>
         <paramlist>
           <param name="depth" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="depth" type="int" default=""/>
         </paramlist>
       </method>
+      <method name="SetSize" type="" overloaded="no">
+        <autodoc>SetSize(self, Size size)</autodoc>
+        <docstring>Set the bitmap size (does not affect the existing bitmap data).</docstring>
+        <paramlist>
+          <param name="size" type="Size" default=""/>
+        </paramlist>
+      </method>
       <method name="__eq__" type="bool" overloaded="no">
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Bitmap other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Bitmap other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Bitmap other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Bitmap other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="Bitmap" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="other" type="Bitmap" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="Mask" oldname="wxMask" module="gdi">
-      <docstring>This class encapsulates a monochrome mask bitmap, where the masked area is
-black and the unmasked area is white. When associated with a bitmap and drawn
-in a device context, the unmasked area of the bitmap will be drawn, and the
-masked area will not be drawn.</docstring>
+    <class name="Mask" oldname="wxMask" module="_gdi">
+      <docstring>This class encapsulates a monochrome mask bitmap, where the masked
+area is black and the unmasked area is white. When associated with a
+bitmap and drawn in a device context, the unmasked area of the bitmap
+will be drawn, and the masked area will not be drawn.
+
+A mask may be associated with a `wx.Bitmap`. It is used in
+`wx.DC.DrawBitmap` or `wx.DC.Blit` when the source device context is a
+`wx.MemoryDC` with a `wx.Bitmap` selected into it that contains a
+mask.</docstring>
       <baseclass name="Object"/>
       <constructor name="Mask" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="Mask" overloaded="no">
-        <autodoc>__init__(Bitmap bitmap, Colour colour=NullColour) -&gt; Mask</autodoc>
-        <docstring>Constructs a mask from a bitmap and a colour in that bitmap that indicates
-the transparent portions of the mask, by default BLACK is used.</docstring>
+        <autodoc>__init__(self, Bitmap bitmap, Colour colour=NullColour) -&gt; Mask</autodoc>
+        <docstring>Constructs a mask from a `wx.Bitmap` and a `wx.Colour` in that bitmap
+that indicates the transparent portions of the mask.  In other words,
+the pixels in ``bitmap`` that match ``colour`` will be the transparent
+portions of the mask.  If no ``colour`` or an invalid ``colour`` is
+passed then BLACK is used.
+
+:see: `wx.Bitmap`, `wx.Colour`</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="colour" type="Colour" default="wxNullColour"/>
         </paramlist>
       </constructor>
     </class>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="colour" type="Colour" default="wxNullColour"/>
         </paramlist>
       </constructor>
     </class>
-    <pythoncode> MaskColour = Mask </pythoncode>
-    <class name="Icon" oldname="wxIcon" module="gdi">
+    <pythoncode> MaskColour = wx._deprecated(Mask, "wx.MaskColour is deprecated, use `wx.Mask` instead.") </pythoncode>
+    <class name="Icon" oldname="wxIcon" module="_gdi">
       <baseclass name="GDIObject"/>
       <constructor name="Icon" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Icon" overloaded="no">
-        <autodoc>__init__(String name, int type, int desiredWidth=-1, int desiredHeight=-1) -&gt; Icon</autodoc>
+        <autodoc>__init__(self, String name, int type, int desiredWidth=-1, int desiredHeight=-1) -&gt; Icon</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
@@ -8336,88 +9392,88 @@ the transparent portions of the mask, by default BLACK is used.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxIcon" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxIcon" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="LoadFile" type="bool" overloaded="no">
       </destructor>
       <method name="LoadFile" type="bool" overloaded="no">
-        <autodoc>LoadFile(String name, int type) -&gt; bool</autodoc>
+        <autodoc>LoadFile(self, String name, int type) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
         </paramlist>
       </method>
       <method name="Ok" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="type" type="wxBitmapType" default=""/>
         </paramlist>
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetDepth" type="int" overloaded="no">
       </method>
       <method name="GetDepth" type="int" overloaded="no">
-        <autodoc>GetDepth() -&gt; int</autodoc>
+        <autodoc>GetDepth(self) -&gt; int</autodoc>
       </method>
       <method name="SetWidth" type="" overloaded="no">
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int w)</autodoc>
+        <autodoc>SetWidth(self, int w)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHeight" type="" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHeight" type="" overloaded="no">
-        <autodoc>SetHeight(int h)</autodoc>
+        <autodoc>SetHeight(self, int h)</autodoc>
         <paramlist>
           <param name="h" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDepth" type="" overloaded="no">
         <paramlist>
           <param name="h" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDepth" type="" overloaded="no">
-        <autodoc>SetDepth(int d)</autodoc>
+        <autodoc>SetDepth(self, int d)</autodoc>
         <paramlist>
           <param name="d" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CopyFromBitmap" type="" overloaded="no">
         <paramlist>
           <param name="d" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CopyFromBitmap" type="" overloaded="no">
-        <autodoc>CopyFromBitmap(Bitmap bmp)</autodoc>
+        <autodoc>CopyFromBitmap(self, Bitmap bmp)</autodoc>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="IconLocation" oldname="wxIconLocation" module="gdi">
+    <class name="IconLocation" oldname="wxIconLocation" module="_gdi">
       <constructor name="IconLocation" overloaded="no">
       <constructor name="IconLocation" overloaded="no">
-        <autodoc>__init__(String filename=&amp;wxPyEmptyString, int num=0) -&gt; IconLocation</autodoc>
+        <autodoc>__init__(self, String filename=&amp;wxPyEmptyString, int num=0) -&gt; IconLocation</autodoc>
         <paramlist>
           <param name="filename" type="String" default="&amp;wxPyEmptyString"/>
           <param name="num" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxIconLocation" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default="&amp;wxPyEmptyString"/>
           <param name="num" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxIconLocation" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="IsOk" type="bool" overloaded="no">
       </destructor>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="SetFileName" type="" overloaded="no">
       </method>
       <method name="SetFileName" type="" overloaded="no">
-        <autodoc>SetFileName(String filename)</autodoc>
+        <autodoc>SetFileName(self, String filename)</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFileName" type="String" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFileName" type="String" overloaded="no">
-        <autodoc>GetFileName() -&gt; String</autodoc>
+        <autodoc>GetFileName(self) -&gt; String</autodoc>
       </method>
       <method name="SetIndex" type="" overloaded="no">
       </method>
       <method name="SetIndex" type="" overloaded="no">
-        <autodoc>SetIndex(int num)</autodoc>
+        <autodoc>SetIndex(self, int num)</autodoc>
         <paramlist>
           <param name="num" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetIndex" type="int" overloaded="no">
         <paramlist>
           <param name="num" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetIndex" type="int" overloaded="no">
-        <autodoc>GetIndex() -&gt; int</autodoc>
+        <autodoc>GetIndex(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="IconBundle" oldname="wxIconBundle" module="gdi">
+    <class name="IconBundle" oldname="wxIconBundle" module="_gdi">
       <constructor name="IconBundle" overloaded="no">
       <constructor name="IconBundle" overloaded="no">
-        <autodoc>__init__() -&gt; IconBundle</autodoc>
+        <autodoc>__init__(self) -&gt; IconBundle</autodoc>
       </constructor>
       <constructor name="IconBundleFromFile" overloaded="no">
         <autodoc>IconBundleFromFile(String file, long type) -&gt; IconBundle</autodoc>
       </constructor>
       <constructor name="IconBundleFromFile" overloaded="no">
         <autodoc>IconBundleFromFile(String file, long type) -&gt; IconBundle</autodoc>
@@ -8433,61 +9489,42 @@ the transparent portions of the mask, by default BLACK is used.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxIconBundle" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxIconBundle" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="AddIcon" type="" overloaded="no">
       </destructor>
       <method name="AddIcon" type="" overloaded="no">
-        <autodoc>AddIcon(Icon icon)</autodoc>
+        <autodoc>AddIcon(self, Icon icon)</autodoc>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
       <method name="AddIconFromFile" type="" overloaded="no">
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
       <method name="AddIconFromFile" type="" overloaded="no">
-        <autodoc>AddIconFromFile(String file, long type)</autodoc>
+        <autodoc>AddIconFromFile(self, String file, long type)</autodoc>
         <paramlist>
           <param name="file" type="String" default=""/>
           <param name="type" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
         <paramlist>
           <param name="file" type="String" default=""/>
           <param name="type" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
-        <autodoc>GetIcon(Size size) -&gt; Icon</autodoc>
+        <autodoc>GetIcon(self, Size size) -&gt; Icon</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="Cursor" oldname="wxCursor" module="gdi">
-      <docstring>A cursor is a small bitmap usually used for denoting where the
-mouse pointer is, with a picture that might indicate the
-interpretation of a mouse click.
+    <class name="Cursor" oldname="wxCursor" module="_gdi">
+      <docstring>A cursor is a small bitmap usually used for denoting where the mouse
+pointer is, with a picture that might indicate the interpretation of a
+mouse click.
 
 A single cursor object may be used in many windows (any subwindow
 
 A single cursor object may be used in many windows (any subwindow
-type). The wxWindows convention is to set the cursor for a
-window, as in X, rather than to set it globally as in MS Windows,
-although a global wx.SetCursor function is also available for use
-on MS Windows.</docstring>
-      <baseclass name="GDIObject"/>
-      <constructor name="Cursor" overloaded="no">
-        <autodoc>__init__(String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -&gt; Cursor</autodoc>
-        <docstring>Construct a Cursor from a file.  Specify the type of file using
-wx.BITAMP_TYPE* constants, and specify the hotspot if not using a
-.cur file.
+type). The wxWindows convention is to set the cursor for a window, as
+in X, rather than to set it globally as in MS Windows, although a
+global `wx.SetCursor` function is also available for use on MS Windows.
 
 
-This cursor is not available on wxGTK, use wx.StockCursor,
-wx.CursorFromImage, or wx.CursorFromBits instead.</docstring>
-        <paramlist>
-          <param name="cursorName" type="String" default=""/>
-          <param name="type" type="long" default=""/>
-          <param name="hotSpotX" type="int" default="0"/>
-          <param name="hotSpotY" type="int" default="0"/>
-        </paramlist>
-      </constructor>
-      <constructor name="StockCursor" overloaded="no">
-        <autodoc>StockCursor(int id) -&gt; Cursor</autodoc>
-        <docstring>Create a cursor using one of the stock cursors.  Note that not
-all cursors are available on all platforms.</docstring>
-        <refdoc>
-  Stock Cursor IDs
 
 
+Stock Cursor IDs
+-----------------
+    ========================    ======================================
     wx.CURSOR_ARROW             A standard arrow cursor.
     wx.CURSOR_RIGHT_ARROW       A standard arrow cursor pointing to the right.
     wx.CURSOR_BLANK             Transparent cursor.
     wx.CURSOR_ARROW             A standard arrow cursor.
     wx.CURSOR_RIGHT_ARROW       A standard arrow cursor pointing to the right.
     wx.CURSOR_BLANK             Transparent cursor.
@@ -8515,43 +9552,65 @@ all cursors are available on all platforms.</docstring>
     wx.CURSOR_WAIT              A wait cursor.
     wx.CURSOR_WATCH             A watch cursor.
     wx.CURSOR_ARROWWAIT         A cursor with both an arrow and an hourglass, (windows.)
     wx.CURSOR_WAIT              A wait cursor.
     wx.CURSOR_WATCH             A watch cursor.
     wx.CURSOR_ARROWWAIT         A cursor with both an arrow and an hourglass, (windows.)
+    ========================    ======================================
+
+</docstring>
+      <baseclass name="GDIObject"/>
+      <constructor name="Cursor" overloaded="no">
+        <autodoc>__init__(self, String cursorName, long type, int hotSpotX=0, int hotSpotY=0) -&gt; Cursor</autodoc>
+        <docstring>Construct a Cursor from a file.  Specify the type of file using
+wx.BITAMP_TYPE* constants, and specify the hotspot if not using a cur
+file.
 
 
-</refdoc>
+This constructor is not available on wxGTK, use ``wx.StockCursor``,
+``wx.CursorFromImage``, or ``wx.CursorFromBits`` instead.</docstring>
+        <paramlist>
+          <param name="cursorName" type="String" default=""/>
+          <param name="type" type="long" default=""/>
+          <param name="hotSpotX" type="int" default="0"/>
+          <param name="hotSpotY" type="int" default="0"/>
+        </paramlist>
+      </constructor>
+      <constructor name="StockCursor" overloaded="no">
+        <autodoc>StockCursor(int id) -&gt; Cursor</autodoc>
+        <docstring>Create a cursor using one of the stock cursors.  Note that not all
+cursors are available on all platforms.</docstring>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </constructor>
       <constructor name="CursorFromImage" overloaded="no">
         <autodoc>CursorFromImage(Image image) -&gt; Cursor</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </constructor>
       <constructor name="CursorFromImage" overloaded="no">
         <autodoc>CursorFromImage(Image image) -&gt; Cursor</autodoc>
-        <docstring>Constructs a cursor from a wxImage. The cursor is monochrome,
-colors with the RGB elements all greater than 127 will be
-foreground, colors less than this background. The mask (if any)
-will be used as transparent.
-
-In MSW the foreground will be white and the background black. The
-cursor is resized to 32x32 In GTK, the two most frequent colors
-will be used for foreground and background. The cursor will be
-displayed at the size of the image. On MacOS the cursor is
-resized to 16x16 and currently only shown as black/white (mask
-respected).</docstring>
+        <docstring>Constructs a cursor from a wxImage. The cursor is monochrome, colors
+with the RGB elements all greater than 127 will be foreground, colors
+less than this background. The mask (if any) will be used as
+transparent.
+In MSW the foreground will be white and the background
+black. The cursor is resized to 32x32.
+
+In GTK, the two most frequent colors will be used for foreground and
+background. The cursor will be displayed at the size of the image.
+
+On MacOS the cursor is resized to 16x16 and currently only shown as
+black/white (mask respected).</docstring>
         <paramlist>
           <param name="image" type="Image" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxCursor" overloaded="no">
         <paramlist>
           <param name="image" type="Image" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxCursor" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Region" oldname="wxRegion" module="gdi">
+    <class name="Region" oldname="wxRegion" module="_gdi">
       <baseclass name="GDIObject"/>
       <constructor name="Region" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Region" overloaded="no">
-        <autodoc>__init__(int x=0, int y=0, int width=0, int height=0) -&gt; Region</autodoc>
+        <autodoc>__init__(self, int x=0, int y=0, int width=0, int height=0) -&gt; Region</autodoc>
         <paramlist>
           <param name="x" type="int" default="0"/>
           <param name="y" type="int" default="0"/>
         <paramlist>
           <param name="x" type="int" default="0"/>
           <param name="y" type="int" default="0"/>
@@ -8560,10 +9619,16 @@ respected).</docstring>
         </paramlist>
       </constructor>
       <constructor name="RegionFromBitmap" overloaded="no">
         </paramlist>
       </constructor>
       <constructor name="RegionFromBitmap" overloaded="no">
-        <autodoc>RegionFromBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -&gt; Region</autodoc>
+        <autodoc>RegionFromBitmap(Bitmap bmp) -&gt; Region</autodoc>
+        <paramlist>
+          <param name="bmp" type="Bitmap" default=""/>
+        </paramlist>
+      </constructor>
+      <constructor name="RegionFromBitmapColour" overloaded="no">
+        <autodoc>RegionFromBitmapColour(Bitmap bmp, Colour transColour, int tolerance=0) -&gt; Region</autodoc>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
-          <param name="transColour" type="Colour" default="wxNullColour"/>
+          <param name="transColour" type="Colour" default=""/>
           <param name="tolerance" type="int" default="0"/>
         </paramlist>
       </constructor>
           <param name="tolerance" type="int" default="0"/>
         </paramlist>
       </constructor>
@@ -8576,39 +9641,39 @@ respected).</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxRegion" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxRegion" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Clear" type="" overloaded="no">
       </destructor>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="Offset" type="bool" overloaded="no">
       </method>
       <method name="Offset" type="bool" overloaded="no">
-        <autodoc>Offset(int x, int y) -&gt; bool</autodoc>
+        <autodoc>Offset(self, int x, int y) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Contains" type="wxRegionContain" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Contains" type="wxRegionContain" overloaded="no">
-        <autodoc>Contains(int x, int y) -&gt; int</autodoc>
+        <autodoc>Contains(self, int x, int y) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ContainsPoint" type="wxRegionContain" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ContainsPoint" type="wxRegionContain" overloaded="no">
-        <autodoc>ContainsPoint(Point pt) -&gt; int</autodoc>
+        <autodoc>ContainsPoint(self, Point pt) -&gt; int</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ContainsRect" type="wxRegionContain" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ContainsRect" type="wxRegionContain" overloaded="no">
-        <autodoc>ContainsRect(Rect rect) -&gt; int</autodoc>
+        <autodoc>ContainsRect(self, Rect rect) -&gt; int</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="ContainsRectDim" type="wxRegionContain" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="ContainsRectDim" type="wxRegionContain" overloaded="no">
-        <autodoc>ContainsRectDim(int x, int y, int w, int h) -&gt; int</autodoc>
+        <autodoc>ContainsRectDim(self, int x, int y, int w, int h) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -8617,10 +9682,10 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="GetBox" type="Rect" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBox" type="Rect" overloaded="no">
-        <autodoc>GetBox() -&gt; Rect</autodoc>
+        <autodoc>GetBox(self) -&gt; Rect</autodoc>
       </method>
       <method name="Intersect" type="bool" overloaded="no">
       </method>
       <method name="Intersect" type="bool" overloaded="no">
-        <autodoc>Intersect(int x, int y, int width, int height) -&gt; bool</autodoc>
+        <autodoc>Intersect(self, int x, int y, int width, int height) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -8629,22 +9694,22 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="IntersectRect" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IntersectRect" type="bool" overloaded="no">
-        <autodoc>IntersectRect(Rect rect) -&gt; bool</autodoc>
+        <autodoc>IntersectRect(self, Rect rect) -&gt; bool</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="IntersectRegion" type="bool" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="IntersectRegion" type="bool" overloaded="no">
-        <autodoc>IntersectRegion(Region region) -&gt; bool</autodoc>
+        <autodoc>IntersectRegion(self, Region region) -&gt; bool</autodoc>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="IsEmpty" type="bool" overloaded="no">
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="IsEmpty" type="bool" overloaded="no">
-        <autodoc>IsEmpty() -&gt; bool</autodoc>
+        <autodoc>IsEmpty(self) -&gt; bool</autodoc>
       </method>
       <method name="Union" type="bool" overloaded="no">
       </method>
       <method name="Union" type="bool" overloaded="no">
-        <autodoc>Union(int x, int y, int width, int height) -&gt; bool</autodoc>
+        <autodoc>Union(self, int x, int y, int width, int height) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -8653,19 +9718,19 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="UnionRect" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="UnionRect" type="bool" overloaded="no">
-        <autodoc>UnionRect(Rect rect) -&gt; bool</autodoc>
+        <autodoc>UnionRect(self, Rect rect) -&gt; bool</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="UnionRegion" type="bool" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="UnionRegion" type="bool" overloaded="no">
-        <autodoc>UnionRegion(Region region) -&gt; bool</autodoc>
+        <autodoc>UnionRegion(self, Region region) -&gt; bool</autodoc>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="bool" overloaded="no">
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="bool" overloaded="no">
-        <autodoc>Subtract(int x, int y, int width, int height) -&gt; bool</autodoc>
+        <autodoc>Subtract(self, int x, int y, int width, int height) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -8674,19 +9739,19 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="SubtractRect" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SubtractRect" type="bool" overloaded="no">
-        <autodoc>SubtractRect(Rect rect) -&gt; bool</autodoc>
+        <autodoc>SubtractRect(self, Rect rect) -&gt; bool</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SubtractRegion" type="bool" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SubtractRegion" type="bool" overloaded="no">
-        <autodoc>SubtractRegion(Region region) -&gt; bool</autodoc>
+        <autodoc>SubtractRegion(self, Region region) -&gt; bool</autodoc>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="Xor" type="bool" overloaded="no">
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="Xor" type="bool" overloaded="no">
-        <autodoc>Xor(int x, int y, int width, int height) -&gt; bool</autodoc>
+        <autodoc>Xor(self, int x, int y, int width, int height) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -8695,72 +9760,78 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="XorRect" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="XorRect" type="bool" overloaded="no">
-        <autodoc>XorRect(Rect rect) -&gt; bool</autodoc>
+        <autodoc>XorRect(self, Rect rect) -&gt; bool</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="XorRegion" type="bool" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="XorRegion" type="bool" overloaded="no">
-        <autodoc>XorRegion(Region region) -&gt; bool</autodoc>
+        <autodoc>XorRegion(self, Region region) -&gt; bool</autodoc>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="ConvertToBitmap" type="Bitmap" overloaded="no">
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </method>
       <method name="ConvertToBitmap" type="Bitmap" overloaded="no">
-        <autodoc>ConvertToBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>ConvertToBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="UnionBitmap" type="bool" overloaded="no">
       </method>
       <method name="UnionBitmap" type="bool" overloaded="no">
-        <autodoc>UnionBitmap(Bitmap bmp, Colour transColour=NullColour, int tolerance=0) -&gt; bool</autodoc>
+        <autodoc>UnionBitmap(self, Bitmap bmp) -&gt; bool</autodoc>
+        <paramlist>
+          <param name="bmp" type="Bitmap" default=""/>
+        </paramlist>
+      </method>
+      <method name="UnionBitmapColour" type="bool" overloaded="no">
+        <autodoc>UnionBitmapColour(self, Bitmap bmp, Colour transColour, int tolerance=0) -&gt; bool</autodoc>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
-          <param name="transColour" type="Colour" default="wxNullColour"/>
+          <param name="transColour" type="Colour" default=""/>
           <param name="tolerance" type="int" default="0"/>
         </paramlist>
       </method>
     </class>
           <param name="tolerance" type="int" default="0"/>
         </paramlist>
       </method>
     </class>
-    <class name="RegionIterator" oldname="wxRegionIterator" module="gdi">
+    <class name="RegionIterator" oldname="wxRegionIterator" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="RegionIterator" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="RegionIterator" overloaded="no">
-        <autodoc>__init__(Region region) -&gt; RegionIterator</autodoc>
+        <autodoc>__init__(self, Region region) -&gt; RegionIterator</autodoc>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxRegionIterator" overloaded="no">
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxRegionIterator" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetX" type="int" overloaded="no">
       </destructor>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
       </method>
       <method name="GetY" type="int" overloaded="no">
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
       </method>
       <method name="GetW" type="int" overloaded="no">
       </method>
       <method name="GetW" type="int" overloaded="no">
-        <autodoc>GetW() -&gt; int</autodoc>
+        <autodoc>GetW(self) -&gt; int</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetH" type="int" overloaded="no">
       </method>
       <method name="GetH" type="int" overloaded="no">
-        <autodoc>GetH() -&gt; int</autodoc>
+        <autodoc>GetH(self) -&gt; int</autodoc>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
-        <autodoc>GetRect() -&gt; Rect</autodoc>
+        <autodoc>GetRect(self) -&gt; Rect</autodoc>
       </method>
       <method name="HaveRects" type="bool" overloaded="no">
       </method>
       <method name="HaveRects" type="bool" overloaded="no">
-        <autodoc>HaveRects() -&gt; bool</autodoc>
+        <autodoc>HaveRects(self) -&gt; bool</autodoc>
       </method>
       <method name="Reset" type="" overloaded="no">
       </method>
       <method name="Reset" type="" overloaded="no">
-        <autodoc>Reset()</autodoc>
+        <autodoc>Reset(self)</autodoc>
       </method>
       <method name="Next" type="" overloaded="no">
       </method>
       <method name="Next" type="" overloaded="no">
-        <autodoc>Next()</autodoc>
+        <autodoc>Next(self)</autodoc>
       </method>
       <method name="__nonzero__" type="bool" overloaded="no">
       </method>
       <method name="__nonzero__" type="bool" overloaded="no">
-        <autodoc>__nonzero__() -&gt; bool</autodoc>
+        <autodoc>__nonzero__(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -8769,124 +9840,124 @@ respected).</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="gdi">
+    <class name="NativeFontInfo" oldname="wxNativeFontInfo" module="_gdi">
       <constructor name="NativeFontInfo" overloaded="no">
       <constructor name="NativeFontInfo" overloaded="no">
-        <autodoc>__init__() -&gt; NativeFontInfo</autodoc>
+        <autodoc>__init__(self) -&gt; NativeFontInfo</autodoc>
       </constructor>
       <destructor name="~wxNativeFontInfo" overloaded="no">
       </constructor>
       <destructor name="~wxNativeFontInfo" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Init" type="" overloaded="no">
       </destructor>
       <method name="Init" type="" overloaded="no">
-        <autodoc>Init()</autodoc>
+        <autodoc>Init(self)</autodoc>
       </method>
       <method name="InitFromFont" type="" overloaded="no">
       </method>
       <method name="InitFromFont" type="" overloaded="no">
-        <autodoc>InitFromFont(Font font)</autodoc>
+        <autodoc>InitFromFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="wxFont" default=""/>
         </paramlist>
       </method>
       <method name="GetPointSize" type="int" overloaded="no">
         <paramlist>
           <param name="font" type="wxFont" default=""/>
         </paramlist>
       </method>
       <method name="GetPointSize" type="int" overloaded="no">
-        <autodoc>GetPointSize() -&gt; int</autodoc>
+        <autodoc>GetPointSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetStyle" type="wxFontStyle" overloaded="no">
       </method>
       <method name="GetStyle" type="wxFontStyle" overloaded="no">
-        <autodoc>GetStyle() -&gt; int</autodoc>
+        <autodoc>GetStyle(self) -&gt; int</autodoc>
       </method>
       <method name="GetWeight" type="wxFontWeight" overloaded="no">
       </method>
       <method name="GetWeight" type="wxFontWeight" overloaded="no">
-        <autodoc>GetWeight() -&gt; int</autodoc>
+        <autodoc>GetWeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetUnderlined" type="bool" overloaded="no">
       </method>
       <method name="GetUnderlined" type="bool" overloaded="no">
-        <autodoc>GetUnderlined() -&gt; bool</autodoc>
+        <autodoc>GetUnderlined(self) -&gt; bool</autodoc>
       </method>
       <method name="GetFaceName" type="String" overloaded="no">
       </method>
       <method name="GetFaceName" type="String" overloaded="no">
-        <autodoc>GetFaceName() -&gt; String</autodoc>
+        <autodoc>GetFaceName(self) -&gt; String</autodoc>
       </method>
       <method name="GetFamily" type="wxFontFamily" overloaded="no">
       </method>
       <method name="GetFamily" type="wxFontFamily" overloaded="no">
-        <autodoc>GetFamily() -&gt; int</autodoc>
+        <autodoc>GetFamily(self) -&gt; int</autodoc>
       </method>
       <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
       </method>
       <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
-        <autodoc>GetEncoding() -&gt; int</autodoc>
+        <autodoc>GetEncoding(self) -&gt; int</autodoc>
       </method>
       <method name="SetPointSize" type="" overloaded="no">
       </method>
       <method name="SetPointSize" type="" overloaded="no">
-        <autodoc>SetPointSize(int pointsize)</autodoc>
+        <autodoc>SetPointSize(self, int pointsize)</autodoc>
         <paramlist>
           <param name="pointsize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
         <paramlist>
           <param name="pointsize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(int style)</autodoc>
+        <autodoc>SetStyle(self, int style)</autodoc>
         <paramlist>
           <param name="style" type="wxFontStyle" default=""/>
         </paramlist>
       </method>
       <method name="SetWeight" type="" overloaded="no">
         <paramlist>
           <param name="style" type="wxFontStyle" default=""/>
         </paramlist>
       </method>
       <method name="SetWeight" type="" overloaded="no">
-        <autodoc>SetWeight(int weight)</autodoc>
+        <autodoc>SetWeight(self, int weight)</autodoc>
         <paramlist>
           <param name="weight" type="wxFontWeight" default=""/>
         </paramlist>
       </method>
       <method name="SetUnderlined" type="" overloaded="no">
         <paramlist>
           <param name="weight" type="wxFontWeight" default=""/>
         </paramlist>
       </method>
       <method name="SetUnderlined" type="" overloaded="no">
-        <autodoc>SetUnderlined(bool underlined)</autodoc>
+        <autodoc>SetUnderlined(self, bool underlined)</autodoc>
         <paramlist>
           <param name="underlined" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetFaceName" type="" overloaded="no">
         <paramlist>
           <param name="underlined" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetFaceName" type="" overloaded="no">
-        <autodoc>SetFaceName(String facename)</autodoc>
+        <autodoc>SetFaceName(self, String facename)</autodoc>
         <paramlist>
           <param name="facename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFamily" type="" overloaded="no">
         <paramlist>
           <param name="facename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFamily" type="" overloaded="no">
-        <autodoc>SetFamily(int family)</autodoc>
+        <autodoc>SetFamily(self, int family)</autodoc>
         <paramlist>
           <param name="family" type="wxFontFamily" default=""/>
         </paramlist>
       </method>
       <method name="SetEncoding" type="" overloaded="no">
         <paramlist>
           <param name="family" type="wxFontFamily" default=""/>
         </paramlist>
       </method>
       <method name="SetEncoding" type="" overloaded="no">
-        <autodoc>SetEncoding(int encoding)</autodoc>
+        <autodoc>SetEncoding(self, int encoding)</autodoc>
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
         </paramlist>
       </method>
       <method name="FromString" type="bool" overloaded="no">
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
         </paramlist>
       </method>
       <method name="FromString" type="bool" overloaded="no">
-        <autodoc>FromString(String s) -&gt; bool</autodoc>
+        <autodoc>FromString(self, String s) -&gt; bool</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ToString" type="String" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ToString" type="String" overloaded="no">
-        <autodoc>ToString() -&gt; String</autodoc>
+        <autodoc>ToString(self) -&gt; String</autodoc>
       </method>
       <method name="__str__" type="String" overloaded="no">
       </method>
       <method name="__str__" type="String" overloaded="no">
-        <autodoc>__str__() -&gt; String</autodoc>
+        <autodoc>__str__(self) -&gt; String</autodoc>
       </method>
       <method name="FromUserString" type="bool" overloaded="no">
       </method>
       <method name="FromUserString" type="bool" overloaded="no">
-        <autodoc>FromUserString(String s) -&gt; bool</autodoc>
+        <autodoc>FromUserString(self, String s) -&gt; bool</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ToUserString" type="String" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ToUserString" type="String" overloaded="no">
-        <autodoc>ToUserString() -&gt; String</autodoc>
+        <autodoc>ToUserString(self) -&gt; String</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="gdi">
+    <class name="NativeEncodingInfo" oldname="wxNativeEncodingInfo" module="_gdi">
       <constructor name="NativeEncodingInfo" overloaded="no">
       <constructor name="NativeEncodingInfo" overloaded="no">
-        <autodoc>__init__() -&gt; NativeEncodingInfo</autodoc>
+        <autodoc>__init__(self) -&gt; NativeEncodingInfo</autodoc>
       </constructor>
       <destructor name="~wxNativeEncodingInfo" overloaded="no">
       </constructor>
       <destructor name="~wxNativeEncodingInfo" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <property name="facename" type="String" readonly="no"/>
       <property name="encoding" type="wxFontEncoding" readonly="no"/>
       <method name="FromString" type="bool" overloaded="no">
       </destructor>
       <property name="facename" type="String" readonly="no"/>
       <property name="encoding" type="wxFontEncoding" readonly="no"/>
       <method name="FromString" type="bool" overloaded="no">
-        <autodoc>FromString(String s) -&gt; bool</autodoc>
+        <autodoc>FromString(self, String s) -&gt; bool</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ToString" type="String" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ToString" type="String" overloaded="no">
-        <autodoc>ToString() -&gt; String</autodoc>
+        <autodoc>ToString(self) -&gt; String</autodoc>
       </method>
     </class>
     <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no">
       </method>
     </class>
     <method name="GetNativeFontEncoding" oldname="wxGetNativeFontEncoding" type="NativeEncodingInfo" overloaded="no">
@@ -8904,12 +9975,12 @@ respected).</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="FontMapper" oldname="wxFontMapper" module="gdi">
+    <class name="FontMapper" oldname="wxFontMapper" module="_gdi">
       <constructor name="FontMapper" overloaded="no">
       <constructor name="FontMapper" overloaded="no">
-        <autodoc>__init__() -&gt; FontMapper</autodoc>
+        <autodoc>__init__(self) -&gt; FontMapper</autodoc>
       </constructor>
       <destructor name="~wxFontMapper" overloaded="no">
       </constructor>
       <destructor name="~wxFontMapper" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="Get" type="FontMapper" overloaded="no">
         <autodoc>Get() -&gt; FontMapper</autodoc>
       </destructor>
       <staticmethod name="Get" type="FontMapper" overloaded="no">
         <autodoc>Get() -&gt; FontMapper</autodoc>
@@ -8921,7 +9992,7 @@ respected).</docstring>
         </paramlist>
       </staticmethod>
       <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="CharsetToEncoding" type="wxFontEncoding" overloaded="no">
-        <autodoc>CharsetToEncoding(String charset, bool interactive=True) -&gt; int</autodoc>
+        <autodoc>CharsetToEncoding(self, String charset, bool interactive=True) -&gt; int</autodoc>
         <paramlist>
           <param name="charset" type="String" default=""/>
           <param name="interactive" type="bool" default="True"/>
         <paramlist>
           <param name="charset" type="String" default=""/>
           <param name="interactive" type="bool" default="True"/>
@@ -8948,14 +10019,20 @@ respected).</docstring>
           <param name="encoding" type="wxFontEncoding" default=""/>
         </paramlist>
       </staticmethod>
           <param name="encoding" type="wxFontEncoding" default=""/>
         </paramlist>
       </staticmethod>
+      <staticmethod name="GetEncodingFromName" type="wxFontEncoding" overloaded="no">
+        <autodoc>GetEncodingFromName(String name) -&gt; int</autodoc>
+        <paramlist>
+          <param name="name" type="String" default=""/>
+        </paramlist>
+      </staticmethod>
       <method name="SetConfig" type="" overloaded="no">
       <method name="SetConfig" type="" overloaded="no">
-        <autodoc>SetConfig(ConfigBase config)</autodoc>
+        <autodoc>SetConfig(self, ConfigBase config)</autodoc>
         <paramlist>
           <param name="config" type="wxConfigBase" default=""/>
         </paramlist>
       </method>
       <method name="SetConfigPath" type="" overloaded="no">
         <paramlist>
           <param name="config" type="wxConfigBase" default=""/>
         </paramlist>
       </method>
       <method name="SetConfigPath" type="" overloaded="no">
-        <autodoc>SetConfigPath(String prefix)</autodoc>
+        <autodoc>SetConfigPath(self, String prefix)</autodoc>
         <paramlist>
           <param name="prefix" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="prefix" type="String" default=""/>
         </paramlist>
@@ -8964,7 +10041,7 @@ respected).</docstring>
         <autodoc>GetDefaultConfigPath() -&gt; String</autodoc>
       </staticmethod>
       <method name="GetAltForEncoding" type="PyObject" overloaded="no">
         <autodoc>GetDefaultConfigPath() -&gt; String</autodoc>
       </staticmethod>
       <method name="GetAltForEncoding" type="PyObject" overloaded="no">
-        <autodoc>GetAltForEncoding(int encoding, String facename=EmptyString, bool interactive=True) -&gt; PyObject</autodoc>
+        <autodoc>GetAltForEncoding(self, int encoding, String facename=EmptyString, bool interactive=True) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
           <param name="facename" type="String" default="wxPyEmptyString"/>
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
           <param name="facename" type="String" default="wxPyEmptyString"/>
@@ -8972,20 +10049,20 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="IsEncodingAvailable" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsEncodingAvailable" type="bool" overloaded="no">
-        <autodoc>IsEncodingAvailable(int encoding, String facename=EmptyString) -&gt; bool</autodoc>
+        <autodoc>IsEncodingAvailable(self, int encoding, String facename=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
           <param name="facename" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="SetDialogParent" type="" overloaded="no">
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
           <param name="facename" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="SetDialogParent" type="" overloaded="no">
-        <autodoc>SetDialogParent(Window parent)</autodoc>
+        <autodoc>SetDialogParent(self, Window parent)</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetDialogTitle" type="" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SetDialogTitle" type="" overloaded="no">
-        <autodoc>SetDialogTitle(String title)</autodoc>
+        <autodoc>SetDialogTitle(self, String title)</autodoc>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
@@ -8994,10 +10071,10 @@ respected).</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Font" oldname="wxFont" module="gdi">
+    <class name="Font" oldname="wxFont" module="_gdi">
       <baseclass name="GDIObject"/>
       <constructor name="Font" overloaded="no">
       <baseclass name="GDIObject"/>
       <constructor name="Font" overloaded="no">
-        <autodoc>__init__(int pointSize, int family, int style, int weight, bool underline=False, 
+        <autodoc>__init__(self, int pointSize, int family, int style, int weight, bool underline=False, 
     String face=EmptyString, 
     int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
         <paramlist>
     String face=EmptyString, 
     int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
         <paramlist>
@@ -9034,133 +10111,133 @@ respected).</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxFont" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxFont" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
       </destructor>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(Font other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, Font other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(Font other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, Font other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetPointSize" type="int" overloaded="no">
         <paramlist>
           <param name="other" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetPointSize" type="int" overloaded="no">
-        <autodoc>GetPointSize() -&gt; int</autodoc>
+        <autodoc>GetPointSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetFamily" type="int" overloaded="no">
       </method>
       <method name="GetFamily" type="int" overloaded="no">
-        <autodoc>GetFamily() -&gt; int</autodoc>
+        <autodoc>GetFamily(self) -&gt; int</autodoc>
       </method>
       <method name="GetStyle" type="int" overloaded="no">
       </method>
       <method name="GetStyle" type="int" overloaded="no">
-        <autodoc>GetStyle() -&gt; int</autodoc>
+        <autodoc>GetStyle(self) -&gt; int</autodoc>
       </method>
       <method name="GetWeight" type="int" overloaded="no">
       </method>
       <method name="GetWeight" type="int" overloaded="no">
-        <autodoc>GetWeight() -&gt; int</autodoc>
+        <autodoc>GetWeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetUnderlined" type="bool" overloaded="no">
       </method>
       <method name="GetUnderlined" type="bool" overloaded="no">
-        <autodoc>GetUnderlined() -&gt; bool</autodoc>
+        <autodoc>GetUnderlined(self) -&gt; bool</autodoc>
       </method>
       <method name="GetFaceName" type="String" overloaded="no">
       </method>
       <method name="GetFaceName" type="String" overloaded="no">
-        <autodoc>GetFaceName() -&gt; String</autodoc>
+        <autodoc>GetFaceName(self) -&gt; String</autodoc>
       </method>
       <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
       </method>
       <method name="GetEncoding" type="wxFontEncoding" overloaded="no">
-        <autodoc>GetEncoding() -&gt; int</autodoc>
+        <autodoc>GetEncoding(self) -&gt; int</autodoc>
       </method>
       <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no">
       </method>
       <method name="GetNativeFontInfo" type="NativeFontInfo" overloaded="no">
-        <autodoc>GetNativeFontInfo() -&gt; NativeFontInfo</autodoc>
+        <autodoc>GetNativeFontInfo(self) -&gt; NativeFontInfo</autodoc>
       </method>
       <method name="IsFixedWidth" type="bool" overloaded="no">
       </method>
       <method name="IsFixedWidth" type="bool" overloaded="no">
-        <autodoc>IsFixedWidth() -&gt; bool</autodoc>
+        <autodoc>IsFixedWidth(self) -&gt; bool</autodoc>
       </method>
       <method name="GetNativeFontInfoDesc" type="String" overloaded="no">
       </method>
       <method name="GetNativeFontInfoDesc" type="String" overloaded="no">
-        <autodoc>GetNativeFontInfoDesc() -&gt; String</autodoc>
+        <autodoc>GetNativeFontInfoDesc(self) -&gt; String</autodoc>
       </method>
       <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no">
       </method>
       <method name="GetNativeFontInfoUserDesc" type="String" overloaded="no">
-        <autodoc>GetNativeFontInfoUserDesc() -&gt; String</autodoc>
+        <autodoc>GetNativeFontInfoUserDesc(self) -&gt; String</autodoc>
       </method>
       <method name="SetPointSize" type="" overloaded="no">
       </method>
       <method name="SetPointSize" type="" overloaded="no">
-        <autodoc>SetPointSize(int pointSize)</autodoc>
+        <autodoc>SetPointSize(self, int pointSize)</autodoc>
         <paramlist>
           <param name="pointSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFamily" type="" overloaded="no">
         <paramlist>
           <param name="pointSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFamily" type="" overloaded="no">
-        <autodoc>SetFamily(int family)</autodoc>
+        <autodoc>SetFamily(self, int family)</autodoc>
         <paramlist>
           <param name="family" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
         <paramlist>
           <param name="family" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(int style)</autodoc>
+        <autodoc>SetStyle(self, int style)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWeight" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWeight" type="" overloaded="no">
-        <autodoc>SetWeight(int weight)</autodoc>
+        <autodoc>SetWeight(self, int weight)</autodoc>
         <paramlist>
           <param name="weight" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFaceName" type="" overloaded="no">
         <paramlist>
           <param name="weight" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFaceName" type="" overloaded="no">
-        <autodoc>SetFaceName(String faceName)</autodoc>
+        <autodoc>SetFaceName(self, String faceName)</autodoc>
         <paramlist>
           <param name="faceName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetUnderlined" type="" overloaded="no">
         <paramlist>
           <param name="faceName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetUnderlined" type="" overloaded="no">
-        <autodoc>SetUnderlined(bool underlined)</autodoc>
+        <autodoc>SetUnderlined(self, bool underlined)</autodoc>
         <paramlist>
           <param name="underlined" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetEncoding" type="" overloaded="no">
         <paramlist>
           <param name="underlined" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetEncoding" type="" overloaded="no">
-        <autodoc>SetEncoding(int encoding)</autodoc>
+        <autodoc>SetEncoding(self, int encoding)</autodoc>
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
         </paramlist>
       </method>
       <method name="SetNativeFontInfo" type="" overloaded="no">
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default=""/>
         </paramlist>
       </method>
       <method name="SetNativeFontInfo" type="" overloaded="no">
-        <autodoc>SetNativeFontInfo(NativeFontInfo info)</autodoc>
+        <autodoc>SetNativeFontInfo(self, NativeFontInfo info)</autodoc>
         <paramlist>
           <param name="info" type="NativeFontInfo" default=""/>
         </paramlist>
       </method>
       <method name="SetNativeFontInfoFromString" type="" overloaded="no">
         <paramlist>
           <param name="info" type="NativeFontInfo" default=""/>
         </paramlist>
       </method>
       <method name="SetNativeFontInfoFromString" type="" overloaded="no">
-        <autodoc>SetNativeFontInfoFromString(String info)</autodoc>
+        <autodoc>SetNativeFontInfoFromString(self, String info)</autodoc>
         <paramlist>
           <param name="info" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetNativeFontInfoUserDesc" type="" overloaded="no">
         <paramlist>
           <param name="info" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetNativeFontInfoUserDesc" type="" overloaded="no">
-        <autodoc>SetNativeFontInfoUserDesc(String info)</autodoc>
+        <autodoc>SetNativeFontInfoUserDesc(self, String info)</autodoc>
         <paramlist>
           <param name="info" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFamilyString" type="String" overloaded="no">
         <paramlist>
           <param name="info" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFamilyString" type="String" overloaded="no">
-        <autodoc>GetFamilyString() -&gt; String</autodoc>
+        <autodoc>GetFamilyString(self) -&gt; String</autodoc>
       </method>
       <method name="GetStyleString" type="String" overloaded="no">
       </method>
       <method name="GetStyleString" type="String" overloaded="no">
-        <autodoc>GetStyleString() -&gt; String</autodoc>
+        <autodoc>GetStyleString(self) -&gt; String</autodoc>
       </method>
       <method name="GetWeightString" type="String" overloaded="no">
       </method>
       <method name="GetWeightString" type="String" overloaded="no">
-        <autodoc>GetWeightString() -&gt; String</autodoc>
+        <autodoc>GetWeightString(self) -&gt; String</autodoc>
       </method>
       <method name="SetNoAntiAliasing" type="" overloaded="no">
       </method>
       <method name="SetNoAntiAliasing" type="" overloaded="no">
-        <autodoc>SetNoAntiAliasing(bool no=True)</autodoc>
+        <autodoc>SetNoAntiAliasing(self, bool no=True)</autodoc>
         <paramlist>
           <param name="no" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetNoAntiAliasing" type="bool" overloaded="no">
         <paramlist>
           <param name="no" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetNoAntiAliasing" type="bool" overloaded="no">
-        <autodoc>GetNoAntiAliasing() -&gt; bool</autodoc>
+        <autodoc>GetNoAntiAliasing(self) -&gt; bool</autodoc>
       </method>
       <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no">
         <autodoc>GetDefaultEncoding() -&gt; int</autodoc>
       </method>
       <staticmethod name="GetDefaultEncoding" type="wxFontEncoding" overloaded="no">
         <autodoc>GetDefaultEncoding() -&gt; int</autodoc>
@@ -9175,15 +10252,15 @@ respected).</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="gdi">
+    <class name="FontEnumerator" oldname="wxPyFontEnumerator" module="_gdi">
       <constructor name="wxPyFontEnumerator" overloaded="no">
       <constructor name="wxPyFontEnumerator" overloaded="no">
-        <autodoc>__init__() -&gt; FontEnumerator</autodoc>
+        <autodoc>__init__(self) -&gt; FontEnumerator</autodoc>
       </constructor>
       <destructor name="~wxPyFontEnumerator" overloaded="no">
       </constructor>
       <destructor name="~wxPyFontEnumerator" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class, bool incref)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, bool incref)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -9191,46 +10268,46 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="EnumerateFacenames" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="EnumerateFacenames" type="bool" overloaded="no">
-        <autodoc>EnumerateFacenames(int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -&gt; bool</autodoc>
+        <autodoc>EnumerateFacenames(self, int encoding=FONTENCODING_SYSTEM, bool fixedWidthOnly=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/>
           <param name="fixedWidthOnly" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="EnumerateEncodings" type="bool" overloaded="no">
         <paramlist>
           <param name="encoding" type="wxFontEncoding" default="wxFONTENCODING_SYSTEM"/>
           <param name="fixedWidthOnly" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="EnumerateEncodings" type="bool" overloaded="no">
-        <autodoc>EnumerateEncodings(String facename=EmptyString) -&gt; bool</autodoc>
+        <autodoc>EnumerateEncodings(self, String facename=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="facename" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetEncodings" type="PyObject" overloaded="no">
         <paramlist>
           <param name="facename" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetEncodings" type="PyObject" overloaded="no">
-        <autodoc>GetEncodings() -&gt; PyObject</autodoc>
+        <autodoc>GetEncodings(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetFacenames" type="PyObject" overloaded="no">
       </method>
       <method name="GetFacenames" type="PyObject" overloaded="no">
-        <autodoc>GetFacenames() -&gt; PyObject</autodoc>
+        <autodoc>GetFacenames(self) -&gt; PyObject</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="LanguageInfo" oldname="wxLanguageInfo" module="gdi">
+    <class name="LanguageInfo" oldname="wxLanguageInfo" module="_gdi">
       <property name="Language" type="int" readonly="no"/>
       <property name="CanonicalName" type="String" readonly="no"/>
       <property name="Description" type="String" readonly="no"/>
     </class>
       <property name="Language" type="int" readonly="no"/>
       <property name="CanonicalName" type="String" readonly="no"/>
       <property name="Description" type="String" readonly="no"/>
     </class>
-    <class name="Locale" oldname="wxLocale" module="gdi">
+    <class name="Locale" oldname="wxLocale" module="_gdi">
       <constructor name="Locale" overloaded="no">
       <constructor name="Locale" overloaded="no">
-        <autodoc>__init__(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -&gt; Locale</autodoc>
+        <autodoc>__init__(self, int language=-1, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -&gt; Locale</autodoc>
         <paramlist>
         <paramlist>
-          <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
+          <param name="language" type="int" default="-1"/>
           <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
         </paramlist>
       </constructor>
       <destructor name="~wxLocale" overloaded="no">
           <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
         </paramlist>
       </constructor>
       <destructor name="~wxLocale" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Init1" type="bool" overloaded="no">
       </destructor>
       <method name="Init1" type="bool" overloaded="no">
-        <autodoc>Init1(String szName, String szShort=EmptyString, String szLocale=EmptyString, 
+        <autodoc>Init1(self, String szName, String szShort=EmptyString, String szLocale=EmptyString, 
     bool bLoadDefault=True, 
     bool bConvertEncoding=False) -&gt; bool</autodoc>
         <paramlist>
     bool bLoadDefault=True, 
     bool bConvertEncoding=False) -&gt; bool</autodoc>
         <paramlist>
@@ -9242,7 +10319,7 @@ respected).</docstring>
         </paramlist>
       </method>
       <method name="Init2" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Init2" type="bool" overloaded="no">
-        <autodoc>Init2(int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -&gt; bool</autodoc>
+        <autodoc>Init2(self, int language=LANGUAGE_DEFAULT, int flags=wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING) -&gt; bool</autodoc>
         <paramlist>
           <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
           <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
         <paramlist>
           <param name="language" type="int" default="wxLANGUAGE_DEFAULT"/>
           <param name="flags" type="int" default="wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING"/>
@@ -9258,19 +10335,19 @@ respected).</docstring>
         <autodoc>GetSystemEncodingName() -&gt; String</autodoc>
       </staticmethod>
       <method name="IsOk" type="bool" overloaded="no">
         <autodoc>GetSystemEncodingName() -&gt; String</autodoc>
       </staticmethod>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="GetLocale" type="String" overloaded="no">
       </method>
       <method name="GetLocale" type="String" overloaded="no">
-        <autodoc>GetLocale() -&gt; String</autodoc>
+        <autodoc>GetLocale(self) -&gt; String</autodoc>
       </method>
       <method name="GetLanguage" type="int" overloaded="no">
       </method>
       <method name="GetLanguage" type="int" overloaded="no">
-        <autodoc>GetLanguage() -&gt; int</autodoc>
+        <autodoc>GetLanguage(self) -&gt; int</autodoc>
       </method>
       <method name="GetSysName" type="String" overloaded="no">
       </method>
       <method name="GetSysName" type="String" overloaded="no">
-        <autodoc>GetSysName() -&gt; String</autodoc>
+        <autodoc>GetSysName(self) -&gt; String</autodoc>
       </method>
       <method name="GetCanonicalName" type="String" overloaded="no">
       </method>
       <method name="GetCanonicalName" type="String" overloaded="no">
-        <autodoc>GetCanonicalName() -&gt; String</autodoc>
+        <autodoc>GetCanonicalName(self) -&gt; String</autodoc>
       </method>
       <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no">
         <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc>
       </method>
       <staticmethod name="AddCatalogLookupPathPrefix" type="" overloaded="no">
         <autodoc>AddCatalogLookupPathPrefix(String prefix)</autodoc>
@@ -9279,13 +10356,13 @@ respected).</docstring>
         </paramlist>
       </staticmethod>
       <method name="AddCatalog" type="bool" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="AddCatalog" type="bool" overloaded="no">
-        <autodoc>AddCatalog(String szDomain) -&gt; bool</autodoc>
+        <autodoc>AddCatalog(self, String szDomain) -&gt; bool</autodoc>
         <paramlist>
           <param name="szDomain" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IsLoaded" type="bool" overloaded="no">
         <paramlist>
           <param name="szDomain" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IsLoaded" type="bool" overloaded="no">
-        <autodoc>IsLoaded(String szDomain) -&gt; bool</autodoc>
+        <autodoc>IsLoaded(self, String szDomain) -&gt; bool</autodoc>
         <paramlist>
           <param name="szDomain" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="szDomain" type="String" default=""/>
         </paramlist>
@@ -9315,14 +10392,14 @@ respected).</docstring>
         </paramlist>
       </staticmethod>
       <method name="GetString" type="String" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="GetString" type="String" overloaded="no">
-        <autodoc>GetString(String szOrigString, String szDomain=EmptyString) -&gt; String</autodoc>
+        <autodoc>GetString(self, String szOrigString, String szDomain=EmptyString) -&gt; String</autodoc>
         <paramlist>
           <param name="szOrigString" type="String" default=""/>
           <param name="szDomain" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetName" type="String" overloaded="no">
         <paramlist>
           <param name="szOrigString" type="String" default=""/>
           <param name="szDomain" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
     </class>
     <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no">
       </method>
     </class>
     <method name="GetLocale" oldname="wxGetLocale" type="Locale" overloaded="no">
@@ -9345,16 +10422,16 @@ GetTranslation(String str, String strPlural, size_t n) -&gt; String</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="EncodingConverter" oldname="wxEncodingConverter" module="gdi">
+    <class name="EncodingConverter" oldname="wxEncodingConverter" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="EncodingConverter" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="EncodingConverter" overloaded="no">
-        <autodoc>__init__() -&gt; EncodingConverter</autodoc>
+        <autodoc>__init__(self) -&gt; EncodingConverter</autodoc>
       </constructor>
       <destructor name="~wxEncodingConverter" overloaded="no">
       </constructor>
       <destructor name="~wxEncodingConverter" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Init" type="bool" overloaded="no">
       </destructor>
       <method name="Init" type="bool" overloaded="no">
-        <autodoc>Init(int input_enc, int output_enc, int method=CONVERT_STRICT) -&gt; bool</autodoc>
+        <autodoc>Init(self, int input_enc, int output_enc, int method=CONVERT_STRICT) -&gt; bool</autodoc>
         <paramlist>
           <param name="input_enc" type="wxFontEncoding" default=""/>
           <param name="output_enc" type="wxFontEncoding" default=""/>
         <paramlist>
           <param name="input_enc" type="wxFontEncoding" default=""/>
           <param name="output_enc" type="wxFontEncoding" default=""/>
@@ -9362,7 +10439,7 @@ GetTranslation(String str, String strPlural, size_t n) -&gt; String</autodoc>
         </paramlist>
       </method>
       <method name="Convert" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="Convert" type="String" overloaded="no">
-        <autodoc>Convert(String input) -&gt; String</autodoc>
+        <autodoc>Convert(self, String input) -&gt; String</autodoc>
         <paramlist>
           <param name="input" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="input" type="String" default=""/>
         </paramlist>
@@ -9389,16 +10466,7 @@ GetTranslation(String str, String strPlural, size_t n) -&gt; String</autodoc>
       </staticmethod>
     </class>
     <pythoncode>#----------------------------------------------------------------------------
       </staticmethod>
     </class>
     <pythoncode>#----------------------------------------------------------------------------
-# wxGTK sets the locale when initialized.  Doing this at the Python
-# level should set it up to match what GTK is doing at the C level.
-if wx.Platform == "__WXGTK__":
-    try:
-        import locale
-        locale.setlocale(locale.LC_ALL, "")
-    except:
-        pass
-
-# On MSW add the directory where the wxWindows catalogs were installed
+# On MSW add the directory where the wxWidgets catalogs were installed
 # to the default catalog path.
 if wx.Platform == "__WXMSW__":
     import os
 # to the default catalog path.
 if wx.Platform == "__WXMSW__":
     import os
@@ -9411,19 +10479,54 @@ if wx.Platform == "__WXMSW__":
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="DC" oldname="wxDC" module="gdi">
+    <class name="DC" oldname="wxDC" module="_gdi">
+      <docstring>A wx.DC is a device context onto which graphics and text can be
+drawn. It is intended to represent a number of output devices in a
+generic way, so a window can have a device context associated with it,
+and a printer also has a device context. In this way, the same piece
+of code may write to a number of different devices, if the device
+context is used as a parameter.
+
+Derived types of wxDC have documentation for specific features only,
+so refer to this section for most device context information.
+
+The wx.DC class is abstract and can not be instantiated, you must use
+one of the derived classes instead.  Which one will depend on the
+situation in which it is used.</docstring>
       <baseclass name="Object"/>
       <destructor name="~wxDC" overloaded="no">
       <baseclass name="Object"/>
       <destructor name="~wxDC" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="BeginDrawing" type="" overloaded="no">
       </destructor>
       <method name="BeginDrawing" type="" overloaded="no">
-        <autodoc>BeginDrawing()</autodoc>
+        <autodoc>BeginDrawing(self)</autodoc>
+        <docstring>Allows for optimization of drawing code on platforms that need it.  On
+other platforms this is just an empty function and is harmless.  To
+take advantage of this postential optimization simply enclose each
+group of calls to the drawing primitives within calls to
+`BeginDrawing` and `EndDrawing`.</docstring>
       </method>
       <method name="EndDrawing" type="" overloaded="no">
       </method>
       <method name="EndDrawing" type="" overloaded="no">
-        <autodoc>EndDrawing()</autodoc>
+        <autodoc>EndDrawing(self)</autodoc>
+        <docstring>Ends the group of drawing primitives started with `BeginDrawing`, and
+invokes whatever optimization is available for this DC type on the
+current platform.</docstring>
       </method>
       </method>
-      <method name="FloodFillXY" type="bool" overloaded="no">
-        <autodoc>FloodFillXY(int x, int y, Colour col, int style=FLOOD_SURFACE) -&gt; bool</autodoc>
+      <method name="FloodFill" type="bool" overloaded="no">
+        <autodoc>FloodFill(self, int x, int y, Colour col, int style=FLOOD_SURFACE) -&gt; bool</autodoc>
+        <docstring>Flood fills the device context starting from the given point, using
+the current brush colour, and using a style:
+
+    - **wxFLOOD_SURFACE**: the flooding occurs until a colour other than
+      the given colour is encountered.
+
+    - **wxFLOOD_BORDER**: the area to be flooded is bounded by the given
+      colour.
+
+Returns False if the operation failed.
+
+Note: The present implementation for non-Windows platforms may fail to
+find colour borders if the pixels do not match the colour
+exactly. However the function will still return true.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -9431,29 +10534,48 @@ if wx.Platform == "__WXMSW__":
           <param name="style" type="int" default="wxFLOOD_SURFACE"/>
         </paramlist>
       </method>
           <param name="style" type="int" default="wxFLOOD_SURFACE"/>
         </paramlist>
       </method>
-      <method name="FloodFill" type="bool" overloaded="no">
-        <autodoc>FloodFill(Point pt, Colour col, int style=FLOOD_SURFACE) -&gt; bool</autodoc>
+      <method name="FloodFillPoint" type="bool" overloaded="no">
+        <autodoc>FloodFillPoint(self, Point pt, Colour col, int style=FLOOD_SURFACE) -&gt; bool</autodoc>
+        <docstring>Flood fills the device context starting from the given point, using
+the current brush colour, and using a style:
+
+    - **wxFLOOD_SURFACE**: the flooding occurs until a colour other than
+      the given colour is encountered.
+
+    - **wxFLOOD_BORDER**: the area to be flooded is bounded by the given
+      colour.
+
+Returns False if the operation failed.
+
+Note: The present implementation for non-Windows platforms may fail to
+find colour borders if the pixels do not match the colour
+exactly. However the function will still return true.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="col" type="Colour" default=""/>
           <param name="style" type="int" default="wxFLOOD_SURFACE"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="col" type="Colour" default=""/>
           <param name="style" type="int" default="wxFLOOD_SURFACE"/>
         </paramlist>
       </method>
-      <method name="GetPixelXY" type="Colour" overloaded="no">
-        <autodoc>GetPixelXY(int x, int y) -&gt; Colour</autodoc>
+      <method name="GetPixel" type="Colour" overloaded="no">
+        <autodoc>GetPixel(self, int x, int y) -&gt; Colour</autodoc>
+        <docstring>Gets the colour at the specified location on the DC.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="GetPixel" type="Colour" overloaded="no">
-        <autodoc>GetPixel(Point pt) -&gt; Colour</autodoc>
+      <method name="GetPixelPoint" type="Colour" overloaded="no">
+        <autodoc>GetPixelPoint(self, Point pt) -&gt; Colour</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="DrawLineXY" type="" overloaded="no">
-        <autodoc>DrawLineXY(int x1, int y1, int x2, int y2)</autodoc>
+      <method name="DrawLine" type="" overloaded="no">
+        <autodoc>DrawLine(self, int x1, int y1, int x2, int y2)</autodoc>
+        <docstring>Draws a line from the first point to the second. The current pen is
+used for drawing the line. Note that the second point is *not* part of
+the line and is not drawn by this function (this is consistent with
+the behaviour of many other toolkits).</docstring>
         <paramlist>
           <param name="x1" type="int" default=""/>
           <param name="y1" type="int" default=""/>
         <paramlist>
           <param name="x1" type="int" default=""/>
           <param name="y1" type="int" default=""/>
@@ -9461,28 +10583,44 @@ if wx.Platform == "__WXMSW__":
           <param name="y2" type="int" default=""/>
         </paramlist>
       </method>
           <param name="y2" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawLine" type="" overloaded="no">
-        <autodoc>DrawLine(Point pt1, Point pt2)</autodoc>
+      <method name="DrawLinePoint" type="" overloaded="no">
+        <autodoc>DrawLinePoint(self, Point pt1, Point pt2)</autodoc>
+        <docstring>Draws a line from the first point to the second. The current pen is
+used for drawing the line. Note that the second point is *not* part of
+the line and is not drawn by this function (this is consistent with
+the behaviour of many other toolkits).</docstring>
         <paramlist>
           <param name="pt1" type="Point" default=""/>
           <param name="pt2" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt1" type="Point" default=""/>
           <param name="pt2" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="CrossHairXY" type="" overloaded="no">
-        <autodoc>CrossHairXY(int x, int y)</autodoc>
+      <method name="CrossHair" type="" overloaded="no">
+        <autodoc>CrossHair(self, int x, int y)</autodoc>
+        <docstring>Displays a cross hair using the current pen. This is a vertical and
+horizontal line the height and width of the window, centred on the
+given point.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="CrossHair" type="" overloaded="no">
-        <autodoc>CrossHair(Point pt)</autodoc>
+      <method name="CrossHairPoint" type="" overloaded="no">
+        <autodoc>CrossHairPoint(self, Point pt)</autodoc>
+        <docstring>Displays a cross hair using the current pen. This is a vertical and
+horizontal line the height and width of the window, centred on the
+given point.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="DrawArcXY" type="" overloaded="no">
-        <autodoc>DrawArcXY(int x1, int y1, int x2, int y2, int xc, int yc)</autodoc>
+      <method name="DrawArc" type="" overloaded="no">
+        <autodoc>DrawArc(self, int x1, int y1, int x2, int y2, int xc, int yc)</autodoc>
+        <docstring>Draws an arc of a circle, centred on the *center* point (xc, yc), from
+the first point to the second. The current pen is used for the outline
+and the current brush for filling the shape.
+
+The arc is drawn in an anticlockwise direction from the start point to
+the end point.</docstring>
         <paramlist>
           <param name="x1" type="int" default=""/>
           <param name="y1" type="int" default=""/>
         <paramlist>
           <param name="x1" type="int" default=""/>
           <param name="y1" type="int" default=""/>
@@ -9492,16 +10630,23 @@ if wx.Platform == "__WXMSW__":
           <param name="yc" type="int" default=""/>
         </paramlist>
       </method>
           <param name="yc" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawArc" type="" overloaded="no">
-        <autodoc>DrawArc(Point pt1, Point pt2, Point centre)</autodoc>
+      <method name="DrawArcPoint" type="" overloaded="no">
+        <autodoc>DrawArcPoint(self, Point pt1, Point pt2, Point center)</autodoc>
+        <docstring>Draws an arc of a circle, centred on the *center* point (xc, yc), from
+the first point to the second. The current pen is used for the outline
+and the current brush for filling the shape.
+
+The arc is drawn in an anticlockwise direction from the start point to
+the end point.</docstring>
         <paramlist>
           <param name="pt1" type="Point" default=""/>
           <param name="pt2" type="Point" default=""/>
         <paramlist>
           <param name="pt1" type="Point" default=""/>
           <param name="pt2" type="Point" default=""/>
-          <param name="centre" type="Point" default=""/>
+          <param name="center" type="Point" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawCheckMarkXY" type="" overloaded="no">
-        <autodoc>DrawCheckMarkXY(int x, int y, int width, int height)</autodoc>
+      <method name="DrawCheckMark" type="" overloaded="no">
+        <autodoc>DrawCheckMark(self, int x, int y, int width, int height)</autodoc>
+        <docstring>Draws a check mark inside the given rectangle.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -9509,47 +10654,71 @@ if wx.Platform == "__WXMSW__":
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawCheckMark" type="" overloaded="no">
-        <autodoc>DrawCheckMark(Rect rect)</autodoc>
+      <method name="DrawCheckMarkRect" type="" overloaded="no">
+        <autodoc>DrawCheckMarkRect(self, Rect rect)</autodoc>
+        <docstring>Draws a check mark inside the given rectangle.</docstring>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
-      <method name="DrawEllipticArcXY" type="" overloaded="no">
-        <autodoc>DrawEllipticArcXY(int x, int y, int w, int h, double sa, double ea)</autodoc>
+      <method name="DrawEllipticArc" type="" overloaded="no">
+        <autodoc>DrawEllipticArc(self, int x, int y, int w, int h, double start, double end)</autodoc>
+        <docstring>Draws an arc of an ellipse, with the given rectangle defining the
+bounds of the ellipse. The current pen is used for drawing the arc and
+the current brush is used for drawing the pie.
+
+The *start* and *end* parameters specify the start and end of the arc
+relative to the three-o'clock position from the center of the
+rectangle. Angles are specified in degrees (360 is a complete
+circle). Positive values mean counter-clockwise motion. If start is
+equal to end, a complete ellipse will be drawn.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
           <param name="w" type="int" default=""/>
           <param name="h" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
           <param name="w" type="int" default=""/>
           <param name="h" type="int" default=""/>
-          <param name="sa" type="double" default=""/>
-          <param name="ea" type="double" default=""/>
+          <param name="start" type="double" default=""/>
+          <param name="end" type="double" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawEllipticArc" type="" overloaded="no">
-        <autodoc>DrawEllipticArc(Point pt, Size sz, double sa, double ea)</autodoc>
+      <method name="DrawEllipticArcPointSize" type="" overloaded="no">
+        <autodoc>DrawEllipticArcPointSize(self, Point pt, Size sz, double start, double end)</autodoc>
+        <docstring>Draws an arc of an ellipse, with the given rectangle defining the
+bounds of the ellipse. The current pen is used for drawing the arc and
+the current brush is used for drawing the pie.
+
+The *start* and *end* parameters specify the start and end of the arc
+relative to the three-o'clock position from the center of the
+rectangle. Angles are specified in degrees (360 is a complete
+circle). Positive values mean counter-clockwise motion. If start is
+equal to end, a complete ellipse will be drawn.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="sz" type="Size" default=""/>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="sz" type="Size" default=""/>
-          <param name="sa" type="double" default=""/>
-          <param name="ea" type="double" default=""/>
+          <param name="start" type="double" default=""/>
+          <param name="end" type="double" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawPointXY" type="" overloaded="no">
-        <autodoc>DrawPointXY(int x, int y)</autodoc>
+      <method name="DrawPoint" type="" overloaded="no">
+        <autodoc>DrawPoint(self, int x, int y)</autodoc>
+        <docstring>Draws a point using the current pen.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawPoint" type="" overloaded="no">
-        <autodoc>DrawPoint(Point pt)</autodoc>
+      <method name="DrawPointPoint" type="" overloaded="no">
+        <autodoc>DrawPointPoint(self, Point pt)</autodoc>
+        <docstring>Draws a point using the current pen.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="DrawRectangleXY" type="" overloaded="no">
-        <autodoc>DrawRectangleXY(int x, int y, int width, int height)</autodoc>
+      <method name="DrawRectangle" type="" overloaded="no">
+        <autodoc>DrawRectangle(self, int x, int y, int width, int height)</autodoc>
+        <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The current pen is used for the outline and the current brush
+for filling the shape.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -9557,21 +10726,38 @@ if wx.Platform == "__WXMSW__":
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawRectangle" type="" overloaded="no">
-        <autodoc>DrawRectangle(Point pt, Size sz)</autodoc>
+      <method name="DrawRectangleRect" type="" overloaded="no">
+        <autodoc>DrawRectangleRect(self, Rect rect)</autodoc>
+        <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The current pen is used for the outline and the current brush
+for filling the shape.</docstring>
         <paramlist>
         <paramlist>
-          <param name="pt" type="Point" default=""/>
-          <param name="sz" type="Size" default=""/>
+          <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawRectangleRect" type="" overloaded="no">
-        <autodoc>DrawRectangleRect(Rect rect)</autodoc>
+      <method name="DrawRectanglePointSize" type="" overloaded="no">
+        <autodoc>DrawRectanglePointSize(self, Point pt, Size sz)</autodoc>
+        <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The current pen is used for the outline and the current brush
+for filling the shape.</docstring>
         <paramlist>
         <paramlist>
-          <param name="rect" type="Rect" default=""/>
+          <param name="pt" type="Point" default=""/>
+          <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawRoundedRectangleXY" type="" overloaded="no">
-        <autodoc>DrawRoundedRectangleXY(int x, int y, int width, int height, double radius)</autodoc>
+      <method name="DrawRoundedRectangle" type="" overloaded="no">
+        <autodoc>DrawRoundedRectangle(self, int x, int y, int width, int height, double radius)</autodoc>
+        <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The corners are quarter-circles using the given radius. The
+current pen is used for the outline and the current brush for filling
+the shape.
+
+If radius is positive, the value is assumed to be the radius of the
+rounded corner. If radius is negative, the absolute value is assumed
+to be the proportion of the smallest dimension of the rectangle. This
+means that the corner can be a sensible size relative to the size of
+the rectangle, and also avoids the strange effects X produces when the
+corners are too big for the rectangle.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -9580,38 +10766,74 @@ if wx.Platform == "__WXMSW__":
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
-      <method name="DrawRoundedRectangle" type="" overloaded="no">
-        <autodoc>DrawRoundedRectangle(Point pt, Size sz, double radius)</autodoc>
+      <method name="DrawRoundedRectangleRect" type="" overloaded="no">
+        <autodoc>DrawRoundedRectangleRect(self, Rect r, double radius)</autodoc>
+        <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The corners are quarter-circles using the given radius. The
+current pen is used for the outline and the current brush for filling
+the shape.
+
+If radius is positive, the value is assumed to be the radius of the
+rounded corner. If radius is negative, the absolute value is assumed
+to be the proportion of the smallest dimension of the rectangle. This
+means that the corner can be a sensible size relative to the size of
+the rectangle, and also avoids the strange effects X produces when the
+corners are too big for the rectangle.</docstring>
         <paramlist>
         <paramlist>
-          <param name="pt" type="Point" default=""/>
-          <param name="sz" type="Size" default=""/>
+          <param name="r" type="Rect" default=""/>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
-      <method name="DrawRoundedRectangleRect" type="" overloaded="no">
-        <autodoc>DrawRoundedRectangleRect(Rect r, double radius)</autodoc>
+      <method name="DrawRoundedRectanglePointSize" type="" overloaded="no">
+        <autodoc>DrawRoundedRectanglePointSize(self, Point pt, Size sz, double radius)</autodoc>
+        <docstring>Draws a rectangle with the given top left corner, and with the given
+size. The corners are quarter-circles using the given radius. The
+current pen is used for the outline and the current brush for filling
+the shape.
+
+If radius is positive, the value is assumed to be the radius of the
+rounded corner. If radius is negative, the absolute value is assumed
+to be the proportion of the smallest dimension of the rectangle. This
+means that the corner can be a sensible size relative to the size of
+the rectangle, and also avoids the strange effects X produces when the
+corners are too big for the rectangle.</docstring>
         <paramlist>
         <paramlist>
-          <param name="r" type="Rect" default=""/>
+          <param name="pt" type="Point" default=""/>
+          <param name="sz" type="Size" default=""/>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
-      <method name="DrawCircleXY" type="" overloaded="no">
-        <autodoc>DrawCircleXY(int x, int y, int radius)</autodoc>
+      <method name="DrawCircle" type="" overloaded="no">
+        <autodoc>DrawCircle(self, int x, int y, int radius)</autodoc>
+        <docstring>Draws a circle with the given center point and radius.  The current
+pen is used for the outline and the current brush for filling the
+shape.
+
+:see: `DrawEllipse`</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
           <param name="radius" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
           <param name="radius" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawCircle" type="" overloaded="no">
-        <autodoc>DrawCircle(Point pt, int radius)</autodoc>
+      <method name="DrawCirclePoint" type="" overloaded="no">
+        <autodoc>DrawCirclePoint(self, Point pt, int radius)</autodoc>
+        <docstring>Draws a circle with the given center point and radius.  The current
+pen is used for the outline and the current brush for filling the
+shape.
+
+:see: `DrawEllipse`</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="radius" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="radius" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawEllipseXY" type="" overloaded="no">
-        <autodoc>DrawEllipseXY(int x, int y, int width, int height)</autodoc>
+      <method name="DrawEllipse" type="" overloaded="no">
+        <autodoc>DrawEllipse(self, int x, int y, int width, int height)</autodoc>
+        <docstring>Draws an ellipse contained in the specified rectangle. The current pen
+is used for the outline and the current brush for filling the shape.
+
+:see: `DrawCircle`</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -9619,36 +10841,61 @@ if wx.Platform == "__WXMSW__":
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawEllipse" type="" overloaded="no">
-        <autodoc>DrawEllipse(Point pt, Size sz)</autodoc>
+      <method name="DrawEllipseRect" type="" overloaded="no">
+        <autodoc>DrawEllipseRect(self, Rect rect)</autodoc>
+        <docstring>Draws an ellipse contained in the specified rectangle. The current pen
+is used for the outline and the current brush for filling the shape.
+
+:see: `DrawCircle`</docstring>
         <paramlist>
         <paramlist>
-          <param name="pt" type="Point" default=""/>
-          <param name="sz" type="Size" default=""/>
+          <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawEllipseRect" type="" overloaded="no">
-        <autodoc>DrawEllipseRect(Rect rect)</autodoc>
+      <method name="DrawEllipsePointSize" type="" overloaded="no">
+        <autodoc>DrawEllipsePointSize(self, Point pt, Size sz)</autodoc>
+        <docstring>Draws an ellipse contained in the specified rectangle. The current pen
+is used for the outline and the current brush for filling the shape.
+
+:see: `DrawCircle`</docstring>
         <paramlist>
         <paramlist>
-          <param name="rect" type="Rect" default=""/>
+          <param name="pt" type="Point" default=""/>
+          <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="DrawIconXY" type="" overloaded="no">
-        <autodoc>DrawIconXY(Icon icon, int x, int y)</autodoc>
+      <method name="DrawIcon" type="" overloaded="no">
+        <autodoc>DrawIcon(self, Icon icon, int x, int y)</autodoc>
+        <docstring>Draw an icon on the display (does nothing if the device context is
+PostScript). This can be the simplest way of drawing bitmaps on a
+window.</docstring>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawIcon" type="" overloaded="no">
-        <autodoc>DrawIcon(Icon icon, Point pt)</autodoc>
+      <method name="DrawIconPoint" type="" overloaded="no">
+        <autodoc>DrawIconPoint(self, Icon icon, Point pt)</autodoc>
+        <docstring>Draw an icon on the display (does nothing if the device context is
+PostScript). This can be the simplest way of drawing bitmaps on a
+window.</docstring>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="DrawBitmapXY" type="" overloaded="no">
-        <autodoc>DrawBitmapXY(Bitmap bmp, int x, int y, bool useMask=False)</autodoc>
+      <method name="DrawBitmap" type="" overloaded="no">
+        <autodoc>DrawBitmap(self, Bitmap bmp, int x, int y, bool useMask=False)</autodoc>
+        <docstring>Draw a bitmap on the device context at the specified point. If
+*transparent* is true and the bitmap has a transparency mask, (or
+alpha channel on the platforms that support it) then the bitmap will
+be drawn transparently.
+
+When drawing a mono-bitmap, the current text foreground colour will be
+used to draw the foreground of the bitmap (all bits set to 1), and the
+current text background colour to draw the background (all bits set to
+0).
+
+:see: `SetTextForeground`, `SetTextBackground` and `wx.MemoryDC`</docstring>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
           <param name="x" type="int" default=""/>
@@ -9656,31 +10903,74 @@ if wx.Platform == "__WXMSW__":
           <param name="useMask" type="bool" default="False"/>
         </paramlist>
       </method>
           <param name="useMask" type="bool" default="False"/>
         </paramlist>
       </method>
-      <method name="DrawBitmap" type="" overloaded="no">
-        <autodoc>DrawBitmap(Bitmap bmp, Point pt, bool useMask=False)</autodoc>
+      <method name="DrawBitmapPoint" type="" overloaded="no">
+        <autodoc>DrawBitmapPoint(self, Bitmap bmp, Point pt, bool useMask=False)</autodoc>
+        <docstring>Draw a bitmap on the device context at the specified point. If
+*transparent* is true and the bitmap has a transparency mask, (or
+alpha channel on the platforms that support it) then the bitmap will
+be drawn transparently.
+
+When drawing a mono-bitmap, the current text foreground colour will be
+used to draw the foreground of the bitmap (all bits set to 1), and the
+current text background colour to draw the background (all bits set to
+0).
+
+:see: `SetTextForeground`, `SetTextBackground` and `wx.MemoryDC`</docstring>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
           <param name="pt" type="Point" default=""/>
           <param name="useMask" type="bool" default="False"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
           <param name="pt" type="Point" default=""/>
           <param name="useMask" type="bool" default="False"/>
         </paramlist>
       </method>
-      <method name="DrawTextXY" type="" overloaded="no">
-        <autodoc>DrawTextXY(String text, int x, int y)</autodoc>
+      <method name="DrawText" type="" overloaded="no">
+        <autodoc>DrawText(self, String text, int x, int y)</autodoc>
+        <docstring>Draws a text string at the specified point, using the current text
+font, and the current text foreground and background colours.
+
+The coordinates refer to the top-left corner of the rectangle bounding
+the string. See `GetTextExtent` for how to get the dimensions of a
+text string, which can be used to position the text more precisely.
+
+**NOTE**: under wxGTK the current logical function is used by this
+function but it is ignored by wxMSW. Thus, you should avoid using
+logical functions with this function in portable programs.
+
+:see: `DrawRotatedText`</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="DrawText" type="" overloaded="no">
-        <autodoc>DrawText(String text, Point pt)</autodoc>
+      <method name="DrawTextPoint" type="" overloaded="no">
+        <autodoc>DrawTextPoint(self, String text, Point pt)</autodoc>
+        <docstring>Draws a text string at the specified point, using the current text
+font, and the current text foreground and background colours.
+
+The coordinates refer to the top-left corner of the rectangle bounding
+the string. See `GetTextExtent` for how to get the dimensions of a
+text string, which can be used to position the text more precisely.
+
+**NOTE**: under wxGTK the current logical function is used by this
+function but it is ignored by wxMSW. Thus, you should avoid using
+logical functions with this function in portable programs.
+
+:see: `DrawRotatedText`</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
-      <method name="DrawRotatedTextXY" type="" overloaded="no">
-        <autodoc>DrawRotatedTextXY(String text, int x, int y, double angle)</autodoc>
+      <method name="DrawRotatedText" type="" overloaded="no">
+        <autodoc>DrawRotatedText(self, String text, int x, int y, double angle)</autodoc>
+        <docstring>Draws the text rotated by *angle* degrees, if supported by the platform.
+
+**NOTE**: Under Win9x only TrueType fonts can be drawn by this
+function. In particular, a font different from ``wx.NORMAL_FONT``
+should be used as the it is not normally a TrueType
+font. ``wx.SWISS_FONT`` is an example of a font which is.
+
+:see: `DrawText`</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="x" type="int" default=""/>
@@ -9688,18 +10978,47 @@ if wx.Platform == "__WXMSW__":
           <param name="angle" type="double" default=""/>
         </paramlist>
       </method>
           <param name="angle" type="double" default=""/>
         </paramlist>
       </method>
-      <method name="DrawRotatedText" type="" overloaded="no">
-        <autodoc>DrawRotatedText(String text, Point pt, double angle)</autodoc>
+      <method name="DrawRotatedTextPoint" type="" overloaded="no">
+        <autodoc>DrawRotatedTextPoint(self, String text, Point pt, double angle)</autodoc>
+        <docstring>Draws the text rotated by *angle* degrees, if supported by the platform.
+
+**NOTE**: Under Win9x only TrueType fonts can be drawn by this
+function. In particular, a font different from ``wx.NORMAL_FONT``
+should be used as the it is not normally a TrueType
+font. ``wx.SWISS_FONT`` is an example of a font which is.
+
+:see: `DrawText`</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="pt" type="Point" default=""/>
           <param name="angle" type="double" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="pt" type="Point" default=""/>
           <param name="angle" type="double" default=""/>
         </paramlist>
       </method>
-      <method name="BlitXY" type="bool" overloaded="no">
-        <autodoc>BlitXY(int xdest, int ydest, int width, int height, DC source, 
+      <method name="Blit" type="bool" overloaded="no">
+        <autodoc>Blit(self, int xdest, int ydest, int width, int height, DC source, 
     int xsrc, int ysrc, int rop=COPY, bool useMask=False, 
     int xsrcMask=-1, int ysrcMask=-1) -&gt; bool</autodoc>
     int xsrc, int ysrc, int rop=COPY, bool useMask=False, 
     int xsrcMask=-1, int ysrcMask=-1) -&gt; bool</autodoc>
+        <docstring>Copy from a source DC to this DC.  Parameters specify the destination
+coordinates, size of area to copy, source DC, source coordinates,
+logical function, whether to use a bitmap mask, and mask source
+position.
+
+    :param xdest:       Destination device context x position.
+    :param ydest:       Destination device context y position.
+    :param width:       Width of source area to be copied.
+    :param height:      Height of source area to be copied.
+    :param source:      Source device context.
+    :param xsrc:        Source device context x position.
+    :param ysrc:        Source device context y position.
+    :param rop:         Logical function to use: see `SetLogicalFunction`.
+    :param useMask:     If true, Blit does a transparent blit using the mask
+                        that is associated with the bitmap selected into the
+                        source device context.
+    :param xsrcMask:    Source x position on the mask. If both xsrcMask and
+                        ysrcMask are -1, xsrc and ysrc will be assumed for
+                        the mask source position.
+    :param ysrcMask:    Source y position on the mask. 
+</docstring>
         <paramlist>
           <param name="xdest" type="int" default=""/>
           <param name="ydest" type="int" default=""/>
         <paramlist>
           <param name="xdest" type="int" default=""/>
           <param name="ydest" type="int" default=""/>
@@ -9714,9 +11033,24 @@ if wx.Platform == "__WXMSW__":
           <param name="ysrcMask" type="int" default="-1"/>
         </paramlist>
       </method>
           <param name="ysrcMask" type="int" default="-1"/>
         </paramlist>
       </method>
-      <method name="Blit" type="bool" overloaded="no">
-        <autodoc>Blit(Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, 
+      <method name="BlitPointSize" type="bool" overloaded="no">
+        <autodoc>BlitPointSize(self, Point destPt, Size sz, DC source, Point srcPt, int rop=COPY, 
     bool useMask=False, Point srcPtMask=DefaultPosition) -&gt; bool</autodoc>
     bool useMask=False, Point srcPtMask=DefaultPosition) -&gt; bool</autodoc>
+        <docstring>Copy from a source DC to this DC.  Parameters specify the destination
+coordinates, size of area to copy, source DC, source coordinates,
+logical function, whether to use a bitmap mask, and mask source
+position.
+
+    :param destPt:      Destination device context position.
+    :param sz:          Size of source area to be copied.
+    :param source:      Source device context.
+    :param srcPt:       Source device context position.
+    :param rop:         Logical function to use: see `SetLogicalFunction`.
+    :param useMask:     If true, Blit does a transparent blit using the mask
+                        that is associated with the bitmap selected into the
+                        source device context.
+    :param srcPtMask:   Source position on the mask. 
+</docstring>
         <paramlist>
           <param name="destPt" type="Point" default=""/>
           <param name="sz" type="Size" default=""/>
         <paramlist>
           <param name="destPt" type="Point" default=""/>
           <param name="sz" type="Size" default=""/>
@@ -9727,8 +11061,87 @@ if wx.Platform == "__WXMSW__":
           <param name="srcPtMask" type="Point" default="wxDefaultPosition"/>
         </paramlist>
       </method>
           <param name="srcPtMask" type="Point" default="wxDefaultPosition"/>
         </paramlist>
       </method>
+      <method name="SetClippingRegion" type="" overloaded="no">
+        <autodoc>SetClippingRegion(self, int x, int y, int width, int height)</autodoc>
+        <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+        <paramlist>
+          <param name="x" type="int" default=""/>
+          <param name="y" type="int" default=""/>
+          <param name="width" type="int" default=""/>
+          <param name="height" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetClippingRegionPointSize" type="" overloaded="no">
+        <autodoc>SetClippingRegionPointSize(self, Point pt, Size sz)</autodoc>
+        <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+        <paramlist>
+          <param name="pt" type="Point" default=""/>
+          <param name="sz" type="Size" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetClippingRegionAsRegion" type="" overloaded="no">
+        <autodoc>SetClippingRegionAsRegion(self, Region region)</autodoc>
+        <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+        <paramlist>
+          <param name="region" type="Region" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetClippingRect" type="" overloaded="no">
+        <autodoc>SetClippingRect(self, Rect rect)</autodoc>
+        <docstring>Sets the clipping region for this device context to the intersection
+of the given region described by the parameters of this method and the
+previously set clipping region. You should call `DestroyClippingRegion`
+if you want to set the clipping region exactly to the region
+specified.
+
+The clipping region is an area to which drawing is
+restricted. Possible uses for the clipping region are for clipping
+text or for speeding up window redraws when only a known area of the
+screen is damaged.
+
+:see: `DestroyClippingRegion`, `wx.Region`</docstring>
+        <paramlist>
+          <param name="rect" type="Rect" default=""/>
+        </paramlist>
+      </method>
       <method name="DrawLines" type="" overloaded="no">
       <method name="DrawLines" type="" overloaded="no">
-        <autodoc>DrawLines(int points, Point points_array, int xoffset=0, int yoffset=0)</autodoc>
+        <autodoc>DrawLines(self, List points, int xoffset=0, int yoffset=0)</autodoc>
+        <docstring>Draws lines using a sequence of `wx.Point` objects, adding the
+optional offset coordinate. The current pen is used for drawing the
+lines.</docstring>
         <paramlist>
           <param name="points" type="int" default=""/>
           <param name="points_array" type="Point" default=""/>
         <paramlist>
           <param name="points" type="int" default=""/>
           <param name="points_array" type="Point" default=""/>
@@ -9737,8 +11150,16 @@ if wx.Platform == "__WXMSW__":
         </paramlist>
       </method>
       <method name="DrawPolygon" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawPolygon" type="" overloaded="no">
-        <autodoc>DrawPolygon(int points, Point points_array, int xoffset=0, int yoffset=0, 
+        <autodoc>DrawPolygon(self, List points, int xoffset=0, int yoffset=0,
     int fillStyle=ODDEVEN_RULE)</autodoc>
     int fillStyle=ODDEVEN_RULE)</autodoc>
+        <docstring>Draws a filled polygon using a sequence of `wx.Point` objects, adding
+the optional offset coordinate.  The last argument specifies the fill
+rule: ``wx.ODDEVEN_RULE`` (the default) or ``wx.WINDING_RULE``.
+
+The current pen is used for drawing the outline, and the current brush
+for filling the shape. Using a transparent brush suppresses
+filling. Note that wxWidgets automatically closes the first and last
+points.</docstring>
         <paramlist>
           <param name="points" type="int" default=""/>
           <param name="points_array" type="Point" default=""/>
         <paramlist>
           <param name="points" type="int" default=""/>
           <param name="points_array" type="Point" default=""/>
@@ -9748,8 +11169,13 @@ if wx.Platform == "__WXMSW__":
         </paramlist>
       </method>
       <method name="DrawLabel" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawLabel" type="" overloaded="no">
-        <autodoc>DrawLabel(String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, 
+        <autodoc>DrawLabel(self, String text, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, 
     int indexAccel=-1)</autodoc>
     int indexAccel=-1)</autodoc>
+        <docstring>Draw *text* within the specified rectangle, abiding by the alignment
+flags.  Will additionally emphasize the character at *indexAccel* if
+it is not -1.
+
+:see: `DrawImageLabel`</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="rect" type="Rect" default=""/>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="rect" type="Rect" default=""/>
@@ -9758,8 +11184,12 @@ if wx.Platform == "__WXMSW__":
         </paramlist>
       </method>
       <method name="DrawImageLabel" type="Rect" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawImageLabel" type="Rect" overloaded="no">
-        <autodoc>DrawImageLabel(String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, 
+        <autodoc>DrawImageLabel(self, String text, Bitmap image, Rect rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, 
     int indexAccel=-1) -&gt; Rect</autodoc>
     int indexAccel=-1) -&gt; Rect</autodoc>
+        <docstring>Draw *text* and an image (which may be ``wx.NullBitmap`` to skip
+drawing it) within the specified rectangle, abiding by the alignment
+flags.  Will additionally emphasize the character at *indexAccel* if
+it is not -1.  Returns the bounding rectangle.</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="image" type="Bitmap" default=""/>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="image" type="Bitmap" default=""/>
@@ -9769,99 +11199,112 @@ if wx.Platform == "__WXMSW__":
         </paramlist>
       </method>
       <method name="DrawSpline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawSpline" type="" overloaded="no">
-        <autodoc>DrawSpline(int points, Point points_array)</autodoc>
+        <autodoc>DrawSpline(self, List points)</autodoc>
+        <docstring>Draws a spline between all given control points, (a list of `wx.Point`
+objects) using the current pen. The spline is drawn using a series of
+lines, using an algorithm taken from the X drawing program 'XFIG'.</docstring>
         <paramlist>
           <param name="points" type="int" default=""/>
           <param name="points_array" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         <paramlist>
           <param name="points" type="int" default=""/>
           <param name="points_array" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
+        <docstring>Clears the device context using the current background brush.</docstring>
       </method>
       <method name="StartDoc" type="bool" overloaded="no">
       </method>
       <method name="StartDoc" type="bool" overloaded="no">
-        <autodoc>StartDoc(String message) -&gt; bool</autodoc>
+        <autodoc>StartDoc(self, String message) -&gt; bool</autodoc>
+        <docstring>Starts a document (only relevant when outputting to a
+printer). *Message* is a message to show whilst printing.</docstring>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EndDoc" type="" overloaded="no">
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EndDoc" type="" overloaded="no">
-        <autodoc>EndDoc()</autodoc>
+        <autodoc>EndDoc(self)</autodoc>
+        <docstring>Ends a document (only relevant when outputting to a printer).</docstring>
       </method>
       <method name="StartPage" type="" overloaded="no">
       </method>
       <method name="StartPage" type="" overloaded="no">
-        <autodoc>StartPage()</autodoc>
+        <autodoc>StartPage(self)</autodoc>
+        <docstring>Starts a document page (only relevant when outputting to a printer).</docstring>
       </method>
       <method name="EndPage" type="" overloaded="no">
       </method>
       <method name="EndPage" type="" overloaded="no">
-        <autodoc>EndPage()</autodoc>
+        <autodoc>EndPage(self)</autodoc>
+        <docstring>Ends a document page (only relevant when outputting to a printer).</docstring>
       </method>
       <method name="SetFont" type="" overloaded="no">
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font)</autodoc>
+        <autodoc>SetFont(self, Font font)</autodoc>
+        <docstring>Sets the current font for the DC. It must be a valid font, in
+particular you should not pass ``wx.NullFont`` to this method.
+
+:see: `wx.Font`</docstring>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetPen" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetPen" type="" overloaded="no">
-        <autodoc>SetPen(Pen pen)</autodoc>
+        <autodoc>SetPen(self, Pen pen)</autodoc>
+        <docstring>Sets the current pen for the DC.
+
+If the argument is ``wx.NullPen``, the current pen is selected out of the
+device context, and the original pen restored.
+
+:see: `wx.Pen`</docstring>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="SetBrush" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="SetBrush" type="" overloaded="no">
-        <autodoc>SetBrush(Brush brush)</autodoc>
+        <autodoc>SetBrush(self, Brush brush)</autodoc>
+        <docstring>Sets the current brush for the DC.
+
+If the argument is ``wx.NullBrush``, the current brush is selected out
+of the device context, and the original brush restored, allowing the
+current brush to be destroyed safely.
+
+:see: `wx.Brush`</docstring>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="SetBackground" type="" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="SetBackground" type="" overloaded="no">
-        <autodoc>SetBackground(Brush brush)</autodoc>
+        <autodoc>SetBackground(self, Brush brush)</autodoc>
+        <docstring>Sets the current background brush for the DC.</docstring>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundMode" type="" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundMode" type="" overloaded="no">
-        <autodoc>SetBackgroundMode(int mode)</autodoc>
+        <autodoc>SetBackgroundMode(self, int mode)</autodoc>
+        <docstring>*mode* may be one of ``wx.SOLID`` and ``wx.TRANSPARENT``. This setting
+determines whether text will be drawn with a background colour or
+not.</docstring>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPalette" type="" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPalette" type="" overloaded="no">
-        <autodoc>SetPalette(Palette palette)</autodoc>
+        <autodoc>SetPalette(self, Palette palette)</autodoc>
+        <docstring>If this is a window DC or memory DC, assigns the given palette to the
+window or bitmap associated with the DC. If the argument is
+``wx.NullPalette``, the current palette is selected out of the device
+context, and the original palette restored.
+
+:see: `wx.Palette`</docstring>
         <paramlist>
           <param name="palette" type="Palette" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="palette" type="Palette" default=""/>
         </paramlist>
       </method>
-      <method name="SetClippingRegionXY" type="" overloaded="no">
-        <autodoc>SetClippingRegionXY(int x, int y, int width, int height)</autodoc>
-        <paramlist>
-          <param name="x" type="int" default=""/>
-          <param name="y" type="int" default=""/>
-          <param name="width" type="int" default=""/>
-          <param name="height" type="int" default=""/>
-        </paramlist>
-      </method>
-      <method name="SetClippingRegion" type="" overloaded="no">
-        <autodoc>SetClippingRegion(Point pt, Size sz)</autodoc>
-        <paramlist>
-          <param name="pt" type="Point" default=""/>
-          <param name="sz" type="Size" default=""/>
-        </paramlist>
-      </method>
-      <method name="SetClippingRect" type="" overloaded="no">
-        <autodoc>SetClippingRect(Rect rect)</autodoc>
-        <paramlist>
-          <param name="rect" type="Rect" default=""/>
-        </paramlist>
-      </method>
-      <method name="SetClippingRegionAsRegion" type="" overloaded="no">
-        <autodoc>SetClippingRegionAsRegion(Region region)</autodoc>
-        <paramlist>
-          <param name="region" type="Region" default=""/>
-        </paramlist>
-      </method>
       <method name="DestroyClippingRegion" type="" overloaded="no">
       <method name="DestroyClippingRegion" type="" overloaded="no">
-        <autodoc>DestroyClippingRegion()</autodoc>
+        <autodoc>DestroyClippingRegion(self)</autodoc>
+        <docstring>Destroys the current clipping region so that none of the DC is
+clipped.
+
+:see: `SetClippingRegion`</docstring>
       </method>
       <method name="GetClippingBox" type="" overloaded="no">
         <autodoc>GetClippingBox() -&gt; (x, y, width, height)</autodoc>
       </method>
       <method name="GetClippingBox" type="" overloaded="no">
         <autodoc>GetClippingBox() -&gt; (x, y, width, height)</autodoc>
+        <docstring>Gets the rectangle surrounding the current clipping region.</docstring>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -9870,18 +11313,21 @@ if wx.Platform == "__WXMSW__":
         </paramlist>
       </method>
       <method name="GetClippingRect" type="Rect" overloaded="no">
         </paramlist>
       </method>
       <method name="GetClippingRect" type="Rect" overloaded="no">
-        <autodoc>GetClippingRect() -&gt; Rect</autodoc>
+        <autodoc>GetClippingRect(self) -&gt; Rect</autodoc>
+        <docstring>Gets the rectangle surrounding the current clipping region.</docstring>
       </method>
       <method name="GetCharHeight" type="int" overloaded="no">
       </method>
       <method name="GetCharHeight" type="int" overloaded="no">
-        <autodoc>GetCharHeight() -&gt; int</autodoc>
+        <autodoc>GetCharHeight(self) -&gt; int</autodoc>
+        <docstring>Gets the character height of the currently set font.</docstring>
       </method>
       <method name="GetCharWidth" type="int" overloaded="no">
       </method>
       <method name="GetCharWidth" type="int" overloaded="no">
-        <autodoc>GetCharWidth() -&gt; int</autodoc>
+        <autodoc>GetCharWidth(self) -&gt; int</autodoc>
+        <docstring>Gets the average character width of the currently set font.</docstring>
       </method>
       <method name="GetTextExtent" type="" overloaded="no">
         <autodoc>GetTextExtent(wxString string) -&gt; (width, height)</autodoc>
       </method>
       <method name="GetTextExtent" type="" overloaded="no">
         <autodoc>GetTextExtent(wxString string) -&gt; (width, height)</autodoc>
-        <docstring>Get the width and height of the text using the current font.
-Only works for single line strings.</docstring>
+        <docstring>Get the width and height of the text using the current font. Only
+works for single line strings.</docstring>
         <paramlist>
           <param name="string" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="string" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -9891,8 +11337,8 @@ Only works for single line strings.</docstring>
       <method name="GetFullTextExtent" type="" overloaded="no">
         <autodoc>GetFullTextExtent(wxString string, Font font=None) -&gt;
    (width, height, descent, externalLeading)</autodoc>
       <method name="GetFullTextExtent" type="" overloaded="no">
         <autodoc>GetFullTextExtent(wxString string, Font font=None) -&gt;
    (width, height, descent, externalLeading)</autodoc>
-        <docstring>Get the width, height, decent and leading of the text using the current or specified font.
-Only works for single line strings.</docstring>
+        <docstring>Get the width, height, decent and leading of the text using the
+current or specified font. Only works for single line strings.</docstring>
         <paramlist>
           <param name="string" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="string" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -9905,8 +11351,9 @@ Only works for single line strings.</docstring>
       <method name="GetMultiLineTextExtent" type="" overloaded="no">
         <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) -&gt;
    (width, height, descent, externalLeading)</autodoc>
       <method name="GetMultiLineTextExtent" type="" overloaded="no">
         <autodoc>GetMultiLineTextExtent(wxString string, Font font=None) -&gt;
    (width, height, descent, externalLeading)</autodoc>
-        <docstring>Get the width, height, decent and leading of the text using the current or specified font.
-Works for single as well as multi-line strings.</docstring>
+        <docstring>Get the width, height, decent and leading of the text using the
+current or specified font. Works for single as well as multi-line
+strings.</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -9916,25 +11363,51 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no">
         </paramlist>
       </method>
       <method name="GetPartialTextExtents" type="wxArrayInt" overloaded="no">
-        <autodoc>GetPartialTextExtents(String text) -&gt; wxArrayInt</autodoc>
+        <autodoc>GetPartialTextExtents(self, text) -&gt; [widths]</autodoc>
+        <docstring>Returns a list of integers such that each value is the distance in
+pixels from the begining of text to the coresponding character of
+*text*. The generic version simply builds a running total of the widths
+of each character using GetTextExtent, however if the various
+platforms have a native API function that is faster or more accurate
+than the generic implementation then it will be used instead.</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
-        <docstring>Get the DC size in device units.</docstring>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
+        <docstring>This gets the horizontal and vertical resolution in device units. It
+can be used to scale graphics to fit the page. For example, if *maxX*
+and *maxY* represent the maximum horizontal and vertical 'pixel' values
+used in your application, the following code will scale the graphic to
+fit on the printer page::
+
+      w, h = dc.GetSize()
+      scaleX = maxX*1.0 / w
+      scaleY = maxY*1.0 / h
+      dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY))
+</docstring>
       </method>
       <method name="GetSizeTuple" type="" overloaded="no">
         <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
       </method>
       <method name="GetSizeTuple" type="" overloaded="no">
         <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
-        <docstring>Get the DC size in device units.</docstring>
+        <docstring>This gets the horizontal and vertical resolution in device units. It
+can be used to scale graphics to fit the page. For example, if *maxX*
+and *maxY* represent the maximum horizontal and vertical 'pixel' values
+used in your application, the following code will scale the graphic to
+fit on the printer page::
+
+      w, h = dc.GetSize()
+      scaleX = maxX*1.0 / w
+      scaleY = maxY*1.0 / h
+      dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY))
+</docstring>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSizeMM" type="Size" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSizeMM" type="Size" overloaded="no">
-        <autodoc>GetSizeMM() -&gt; Size</autodoc>
+        <autodoc>GetSizeMM(self) -&gt; Size</autodoc>
         <docstring>Get the DC size in milimeters.</docstring>
       </method>
       <method name="GetSizeMMTuple" type="" overloaded="no">
         <docstring>Get the DC size in milimeters.</docstring>
       </method>
       <method name="GetSizeMMTuple" type="" overloaded="no">
@@ -9946,119 +11419,185 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="DeviceToLogicalX" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="DeviceToLogicalX" type="int" overloaded="no">
-        <autodoc>DeviceToLogicalX(int x) -&gt; int</autodoc>
+        <autodoc>DeviceToLogicalX(self, int x) -&gt; int</autodoc>
+        <docstring>Convert device X coordinate to logical coordinate, using the current
+mapping mode.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeviceToLogicalY" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeviceToLogicalY" type="int" overloaded="no">
-        <autodoc>DeviceToLogicalY(int y) -&gt; int</autodoc>
+        <autodoc>DeviceToLogicalY(self, int y) -&gt; int</autodoc>
+        <docstring>Converts device Y coordinate to logical coordinate, using the current
+mapping mode.</docstring>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeviceToLogicalXRel" type="int" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeviceToLogicalXRel" type="int" overloaded="no">
-        <autodoc>DeviceToLogicalXRel(int x) -&gt; int</autodoc>
+        <autodoc>DeviceToLogicalXRel(self, int x) -&gt; int</autodoc>
+        <docstring>Convert device X coordinate to relative logical coordinate, using the
+current mapping mode but ignoring the x axis orientation. Use this
+function for converting a width, for example.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeviceToLogicalYRel" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeviceToLogicalYRel" type="int" overloaded="no">
-        <autodoc>DeviceToLogicalYRel(int y) -&gt; int</autodoc>
+        <autodoc>DeviceToLogicalYRel(self, int y) -&gt; int</autodoc>
+        <docstring>Convert device Y coordinate to relative logical coordinate, using the
+current mapping mode but ignoring the y axis orientation. Use this
+function for converting a height, for example.</docstring>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceX" type="int" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceX" type="int" overloaded="no">
-        <autodoc>LogicalToDeviceX(int x) -&gt; int</autodoc>
+        <autodoc>LogicalToDeviceX(self, int x) -&gt; int</autodoc>
+        <docstring>Converts logical X coordinate to device coordinate, using the current
+mapping mode.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceY" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceY" type="int" overloaded="no">
-        <autodoc>LogicalToDeviceY(int y) -&gt; int</autodoc>
+        <autodoc>LogicalToDeviceY(self, int y) -&gt; int</autodoc>
+        <docstring>Converts logical Y coordinate to device coordinate, using the current
+mapping mode.</docstring>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceXRel" type="int" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceXRel" type="int" overloaded="no">
-        <autodoc>LogicalToDeviceXRel(int x) -&gt; int</autodoc>
+        <autodoc>LogicalToDeviceXRel(self, int x) -&gt; int</autodoc>
+        <docstring>Converts logical X coordinate to relative device coordinate, using the
+current mapping mode but ignoring the x axis orientation. Use this for
+converting a width, for example.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceYRel" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToDeviceYRel" type="int" overloaded="no">
-        <autodoc>LogicalToDeviceYRel(int y) -&gt; int</autodoc>
+        <autodoc>LogicalToDeviceYRel(self, int y) -&gt; int</autodoc>
+        <docstring>Converts logical Y coordinate to relative device coordinate, using the
+current mapping mode but ignoring the y axis orientation. Use this for
+converting a height, for example.</docstring>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CanDrawBitmap" type="bool" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CanDrawBitmap" type="bool" overloaded="no">
-        <autodoc>CanDrawBitmap() -&gt; bool</autodoc>
+        <autodoc>CanDrawBitmap(self) -&gt; bool</autodoc>
       </method>
       <method name="CanGetTextExtent" type="bool" overloaded="no">
       </method>
       <method name="CanGetTextExtent" type="bool" overloaded="no">
-        <autodoc>CanGetTextExtent() -&gt; bool</autodoc>
+        <autodoc>CanGetTextExtent(self) -&gt; bool</autodoc>
       </method>
       <method name="GetDepth" type="int" overloaded="no">
       </method>
       <method name="GetDepth" type="int" overloaded="no">
-        <autodoc>GetDepth() -&gt; int</autodoc>
+        <autodoc>GetDepth(self) -&gt; int</autodoc>
+        <docstring>Returns the colour depth of the DC.</docstring>
       </method>
       <method name="GetPPI" type="Size" overloaded="no">
       </method>
       <method name="GetPPI" type="Size" overloaded="no">
-        <autodoc>GetPPI() -&gt; Size</autodoc>
+        <autodoc>GetPPI(self) -&gt; Size</autodoc>
+        <docstring>Resolution in Pixels per inch</docstring>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
+        <docstring>Returns true if the DC is ok to use.</docstring>
       </method>
       <method name="GetBackgroundMode" type="int" overloaded="no">
       </method>
       <method name="GetBackgroundMode" type="int" overloaded="no">
-        <autodoc>GetBackgroundMode() -&gt; int</autodoc>
+        <autodoc>GetBackgroundMode(self) -&gt; int</autodoc>
+        <docstring>Returns the current background mode, either ``wx.SOLID`` or
+``wx.TRANSPARENT``.
+
+:see: `SetBackgroundMode`</docstring>
       </method>
       <method name="GetBackground" type="Brush" overloaded="no">
       </method>
       <method name="GetBackground" type="Brush" overloaded="no">
-        <autodoc>GetBackground() -&gt; Brush</autodoc>
+        <autodoc>GetBackground(self) -&gt; Brush</autodoc>
+        <docstring>Gets the brush used for painting the background.
+
+:see: `SetBackground`</docstring>
       </method>
       <method name="GetBrush" type="Brush" overloaded="no">
       </method>
       <method name="GetBrush" type="Brush" overloaded="no">
-        <autodoc>GetBrush() -&gt; Brush</autodoc>
+        <autodoc>GetBrush(self) -&gt; Brush</autodoc>
+        <docstring>Gets the current brush</docstring>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
+        <docstring>Gets the current font</docstring>
       </method>
       <method name="GetPen" type="Pen" overloaded="no">
       </method>
       <method name="GetPen" type="Pen" overloaded="no">
-        <autodoc>GetPen() -&gt; Pen</autodoc>
+        <autodoc>GetPen(self) -&gt; Pen</autodoc>
+        <docstring>Gets the current pen</docstring>
       </method>
       <method name="GetTextBackground" type="Colour" overloaded="no">
       </method>
       <method name="GetTextBackground" type="Colour" overloaded="no">
-        <autodoc>GetTextBackground() -&gt; Colour</autodoc>
+        <autodoc>GetTextBackground(self) -&gt; Colour</autodoc>
+        <docstring>Gets the current text background colour</docstring>
       </method>
       <method name="GetTextForeground" type="Colour" overloaded="no">
       </method>
       <method name="GetTextForeground" type="Colour" overloaded="no">
-        <autodoc>GetTextForeground() -&gt; Colour</autodoc>
+        <autodoc>GetTextForeground(self) -&gt; Colour</autodoc>
+        <docstring>Gets the current text foreground colour</docstring>
       </method>
       <method name="SetTextForeground" type="" overloaded="no">
       </method>
       <method name="SetTextForeground" type="" overloaded="no">
-        <autodoc>SetTextForeground(Colour colour)</autodoc>
+        <autodoc>SetTextForeground(self, Colour colour)</autodoc>
+        <docstring>Sets the current text foreground colour for the DC.</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetTextBackground" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetTextBackground" type="" overloaded="no">
-        <autodoc>SetTextBackground(Colour colour)</autodoc>
+        <autodoc>SetTextBackground(self, Colour colour)</autodoc>
+        <docstring>Sets the current text background colour for the DC.</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetMapMode" type="int" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetMapMode" type="int" overloaded="no">
-        <autodoc>GetMapMode() -&gt; int</autodoc>
+        <autodoc>GetMapMode(self) -&gt; int</autodoc>
+        <docstring>Gets the current *mapping mode* for the device context </docstring>
       </method>
       <method name="SetMapMode" type="" overloaded="no">
       </method>
       <method name="SetMapMode" type="" overloaded="no">
-        <autodoc>SetMapMode(int mode)</autodoc>
+        <autodoc>SetMapMode(self, int mode)</autodoc>
+        <docstring>The *mapping mode* of the device context defines the unit of
+measurement used to convert logical units to device units.  The
+mapping mode can be one of the following:
+
+    ================    =============================================
+    wx.MM_TWIPS         Each logical unit is 1/20 of a point, or 1/1440
+                        of an inch.
+    wx.MM_POINTS        Each logical unit is a point, or 1/72 of an inch.
+    wx.MM_METRIC        Each logical unit is 1 mm.
+    wx.MM_LOMETRIC      Each logical unit is 1/10 of a mm.
+    wx.MM_TEXT          Each logical unit is 1 pixel.
+    ================    =============================================
+
+Note that in X, text drawing isn't handled consistently with the
+mapping mode; a font is always specified in point size. However,
+setting the user scale (see `SetUserScale`) scales the text
+appropriately. In Windows, scalable TrueType fonts are always used; in
+X, results depend on availability of fonts, but usually a reasonable
+match is found.
+
+The coordinate origin is always at the top left of the screen/printer.
+
+Drawing to a Windows printer device context uses the current mapping
+mode, but mapping mode is currently ignored for PostScript output.
+</docstring>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetUserScale" type="" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetUserScale" type="" overloaded="no">
-        <autodoc>GetUserScale() -&gt; (xScale, yScale)</autodoc>
+        <autodoc>GetUserScale(self) -&gt; (xScale, yScale)</autodoc>
+        <docstring>Gets the current user scale factor (set by `SetUserScale`).</docstring>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetUserScale" type="" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetUserScale" type="" overloaded="no">
-        <autodoc>SetUserScale(double x, double y)</autodoc>
+        <autodoc>SetUserScale(self, double x, double y)</autodoc>
+        <docstring>Sets the user scaling factor, useful for applications which require
+'zooming'.</docstring>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -10072,14 +11611,14 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="SetLogicalScale" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetLogicalScale" type="" overloaded="no">
-        <autodoc>SetLogicalScale(double x, double y)</autodoc>
+        <autodoc>SetLogicalScale(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetLogicalOrigin" type="Point" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetLogicalOrigin" type="Point" overloaded="no">
-        <autodoc>GetLogicalOrigin() -&gt; Point</autodoc>
+        <autodoc>GetLogicalOrigin(self) -&gt; Point</autodoc>
       </method>
       <method name="GetLogicalOriginTuple" type="" overloaded="no">
         <autodoc>GetLogicalOriginTuple() -&gt; (x,y)</autodoc>
       </method>
       <method name="GetLogicalOriginTuple" type="" overloaded="no">
         <autodoc>GetLogicalOriginTuple() -&gt; (x,y)</autodoc>
@@ -10089,14 +11628,20 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="SetLogicalOrigin" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetLogicalOrigin" type="" overloaded="no">
-        <autodoc>SetLogicalOrigin(int x, int y)</autodoc>
+        <autodoc>SetLogicalOrigin(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
+      <method name="SetLogicalOriginPoint" type="" overloaded="no">
+        <autodoc>SetLogicalOriginPoint(self, Point point)</autodoc>
+        <paramlist>
+          <param name="point" type="Point" default=""/>
+        </paramlist>
+      </method>
       <method name="GetDeviceOrigin" type="Point" overloaded="no">
       <method name="GetDeviceOrigin" type="Point" overloaded="no">
-        <autodoc>GetDeviceOrigin() -&gt; Point</autodoc>
+        <autodoc>GetDeviceOrigin(self) -&gt; Point</autodoc>
       </method>
       <method name="GetDeviceOriginTuple" type="" overloaded="no">
         <autodoc>GetDeviceOriginTuple() -&gt; (x,y)</autodoc>
       </method>
       <method name="GetDeviceOriginTuple" type="" overloaded="no">
         <autodoc>GetDeviceOriginTuple() -&gt; (x,y)</autodoc>
@@ -10106,61 +11651,133 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="SetDeviceOrigin" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDeviceOrigin" type="" overloaded="no">
-        <autodoc>SetDeviceOrigin(int x, int y)</autodoc>
+        <autodoc>SetDeviceOrigin(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
+      <method name="SetDeviceOriginPoint" type="" overloaded="no">
+        <autodoc>SetDeviceOriginPoint(self, Point point)</autodoc>
+        <paramlist>
+          <param name="point" type="Point" default=""/>
+        </paramlist>
+      </method>
       <method name="SetAxisOrientation" type="" overloaded="no">
       <method name="SetAxisOrientation" type="" overloaded="no">
-        <autodoc>SetAxisOrientation(bool xLeftRight, bool yBottomUp)</autodoc>
+        <autodoc>SetAxisOrientation(self, bool xLeftRight, bool yBottomUp)</autodoc>
+        <docstring>Sets the x and y axis orientation (i.e., the direction from lowest to
+highest values on the axis). The default orientation is the natural
+orientation, e.g. x axis from left to right and y axis from bottom up.</docstring>
         <paramlist>
           <param name="xLeftRight" type="bool" default=""/>
           <param name="yBottomUp" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetLogicalFunction" type="int" overloaded="no">
         <paramlist>
           <param name="xLeftRight" type="bool" default=""/>
           <param name="yBottomUp" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetLogicalFunction" type="int" overloaded="no">
-        <autodoc>GetLogicalFunction() -&gt; int</autodoc>
+        <autodoc>GetLogicalFunction(self) -&gt; int</autodoc>
+        <docstring>Gets the current logical function (set by `SetLogicalFunction`).</docstring>
       </method>
       <method name="SetLogicalFunction" type="" overloaded="no">
       </method>
       <method name="SetLogicalFunction" type="" overloaded="no">
-        <autodoc>SetLogicalFunction(int function)</autodoc>
+        <autodoc>SetLogicalFunction(self, int function)</autodoc>
+        <docstring>Sets the current logical function for the device context. This
+determines how a source pixel (from a pen or brush colour, or source
+device context if using `Blit`) combines with a destination pixel in
+the current device context.
+
+The possible values and their meaning in terms of source and
+destination pixel values are as follows:
+
+    ================       ==========================
+    wx.AND                 src AND dst
+    wx.AND_INVERT          (NOT src) AND dst
+    wx.AND_REVERSE         src AND (NOT dst)
+    wx.CLEAR               0
+    wx.COPY                src
+    wx.EQUIV               (NOT src) XOR dst
+    wx.INVERT              NOT dst
+    wx.NAND                (NOT src) OR (NOT dst)
+    wx.NOR                 (NOT src) AND (NOT dst)
+    wx.NO_OP               dst
+    wx.OR                  src OR dst
+    wx.OR_INVERT           (NOT src) OR dst
+    wx.OR_REVERSE          src OR (NOT dst)
+    wx.SET                 1
+    wx.SRC_INVERT          NOT src
+    wx.XOR                 src XOR dst
+    ================       ==========================
+
+The default is wx.COPY, which simply draws with the current
+colour. The others combine the current colour and the background using
+a logical operation. wx.INVERT is commonly used for drawing rubber
+bands or moving outlines, since drawing twice reverts to the original
+colour.
+</docstring>
         <paramlist>
           <param name="function" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetOptimization" type="" overloaded="no">
         <paramlist>
           <param name="function" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetOptimization" type="" overloaded="no">
-        <autodoc>SetOptimization(bool opt)</autodoc>
+        <autodoc>SetOptimization(self, bool optimize)</autodoc>
+        <docstring>If *optimize* is true this function sets optimization mode on. This
+currently means that under X, the device context will not try to set a
+pen or brush property if it is known to be set already. This approach
+can fall down if non-wxWidgets code is using the same device context
+or window, for example when the window is a panel on which the
+windowing system draws panel items. The wxWidgets device context
+'memory' will now be out of step with reality.
+
+Setting optimization off, drawing, then setting it back on again, is a
+trick that must occasionally be employed.</docstring>
         <paramlist>
         <paramlist>
-          <param name="opt" type="bool" default=""/>
+          <param name="optimize" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetOptimization" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetOptimization" type="bool" overloaded="no">
-        <autodoc>GetOptimization() -&gt; bool</autodoc>
+        <autodoc>GetOptimization(self) -&gt; bool</autodoc>
+        <docstring>Returns true if device context optimization is on. See
+`SetOptimization` for .</docstring>
       </method>
       <method name="CalcBoundingBox" type="" overloaded="no">
       </method>
       <method name="CalcBoundingBox" type="" overloaded="no">
-        <autodoc>CalcBoundingBox(int x, int y)</autodoc>
+        <autodoc>CalcBoundingBox(self, int x, int y)</autodoc>
+        <docstring>Adds the specified point to the bounding box which can be retrieved
+with `MinX`, `MaxX` and `MinY`, `MaxY` or `GetBoundingBox` functions.</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
+      <method name="CalcBoundingBoxPoint" type="" overloaded="no">
+        <autodoc>CalcBoundingBoxPoint(self, Point point)</autodoc>
+        <docstring>Adds the specified point to the bounding box which can be retrieved
+with `MinX`, `MaxX` and `MinY`, `MaxY` or `GetBoundingBox` functions.</docstring>
+        <paramlist>
+          <param name="point" type="Point" default=""/>
+        </paramlist>
+      </method>
       <method name="ResetBoundingBox" type="" overloaded="no">
       <method name="ResetBoundingBox" type="" overloaded="no">
-        <autodoc>ResetBoundingBox()</autodoc>
+        <autodoc>ResetBoundingBox(self)</autodoc>
+        <docstring>Resets the bounding box: after a call to this function, the bounding
+box doesn't contain anything.</docstring>
       </method>
       <method name="MinX" type="int" overloaded="no">
       </method>
       <method name="MinX" type="int" overloaded="no">
-        <autodoc>MinX() -&gt; int</autodoc>
+        <autodoc>MinX(self) -&gt; int</autodoc>
+        <docstring>Gets the minimum horizontal extent used in drawing commands so far.</docstring>
       </method>
       <method name="MaxX" type="int" overloaded="no">
       </method>
       <method name="MaxX" type="int" overloaded="no">
-        <autodoc>MaxX() -&gt; int</autodoc>
+        <autodoc>MaxX(self) -&gt; int</autodoc>
+        <docstring>Gets the maximum horizontal extent used in drawing commands so far.</docstring>
       </method>
       <method name="MinY" type="int" overloaded="no">
       </method>
       <method name="MinY" type="int" overloaded="no">
-        <autodoc>MinY() -&gt; int</autodoc>
+        <autodoc>MinY(self) -&gt; int</autodoc>
+        <docstring>Gets the minimum vertical extent used in drawing commands so far.</docstring>
       </method>
       <method name="MaxY" type="int" overloaded="no">
       </method>
       <method name="MaxY" type="int" overloaded="no">
-        <autodoc>MaxY() -&gt; int</autodoc>
+        <autodoc>MaxY(self) -&gt; int</autodoc>
+        <docstring>Gets the maximum vertical extent used in drawing commands so far.</docstring>
       </method>
       <method name="GetBoundingBox" type="" overloaded="no">
         <autodoc>GetBoundingBox() -&gt; (x1,y1, x2,y2)</autodoc>
       </method>
       <method name="GetBoundingBox" type="" overloaded="no">
         <autodoc>GetBoundingBox() -&gt; (x1,y1, x2,y2)</autodoc>
+        <docstring>Returns the min and max points used in drawing commands so far.</docstring>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -10169,7 +11786,7 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="_DrawPointList" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="_DrawPointList" type="PyObject" overloaded="no">
-        <autodoc>_DrawPointList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
+        <autodoc>_DrawPointList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
@@ -10177,7 +11794,7 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="_DrawLineList" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="_DrawLineList" type="PyObject" overloaded="no">
-        <autodoc>_DrawLineList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
+        <autodoc>_DrawLineList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
@@ -10185,7 +11802,7 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="_DrawRectangleList" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="_DrawRectangleList" type="PyObject" overloaded="no">
-        <autodoc>_DrawRectangleList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
+        <autodoc>_DrawRectangleList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
@@ -10193,7 +11810,7 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="_DrawEllipseList" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="_DrawEllipseList" type="PyObject" overloaded="no">
-        <autodoc>_DrawEllipseList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
+        <autodoc>_DrawEllipseList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
@@ -10201,7 +11818,7 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="_DrawPolygonList" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="_DrawPolygonList" type="PyObject" overloaded="no">
-        <autodoc>_DrawPolygonList(PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
+        <autodoc>_DrawPolygonList(self, PyObject pyCoords, PyObject pyPens, PyObject pyBrushes) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
         <paramlist>
           <param name="pyCoords" type="PyObject" default=""/>
           <param name="pyPens" type="PyObject" default=""/>
@@ -10209,7 +11826,7 @@ Works for single as well as multi-line strings.</docstring>
         </paramlist>
       </method>
       <method name="_DrawTextList" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="_DrawTextList" type="PyObject" overloaded="no">
-        <autodoc>_DrawTextList(PyObject textList, PyObject pyPoints, PyObject foregroundList, 
+        <autodoc>_DrawTextList(self, PyObject textList, PyObject pyPoints, PyObject foregroundList, 
     PyObject backgroundList) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="textList" type="PyObject" default=""/>
     PyObject backgroundList) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="textList" type="PyObject" default=""/>
@@ -10222,19 +11839,49 @@ Works for single as well as multi-line strings.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MemoryDC" oldname="wxMemoryDC" module="gdi">
+    <class name="MemoryDC" oldname="wxMemoryDC" module="_gdi">
+      <docstring>A memory device context provides a means to draw graphics onto a
+bitmap. A bitmap must be selected into the new memory DC before it may
+be used for anything. Typical usage is as follows::
+
+    dc = wx.MemoryDC()
+    dc.SelectObject(bitmap)
+    # draw on the dc usign any of the Draw methods
+    dc.SelectObject(wx.NullBitmap)
+    # the bitmap now contains wahtever was drawn upon it
+
+Note that the memory DC *must* be deleted (or the bitmap selected out
+of it) before a bitmap can be reselected into another memory DC.
+</docstring>
       <baseclass name="DC"/>
       <constructor name="MemoryDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="MemoryDC" overloaded="no">
-        <autodoc>__init__() -&gt; MemoryDC</autodoc>
+        <autodoc>__init__(self) -&gt; MemoryDC</autodoc>
+        <docstring>Constructs a new memory device context.
+
+Use the Ok member to test whether the constructor was successful in
+creating a usable device context. Don't forget to select a bitmap into
+the DC before drawing on it.
+
+:see: `MemoryDCFromDC`</docstring>
       </constructor>
       <constructor name="MemoryDCFromDC" overloaded="no">
         <autodoc>MemoryDCFromDC(DC oldDC) -&gt; MemoryDC</autodoc>
       </constructor>
       <constructor name="MemoryDCFromDC" overloaded="no">
         <autodoc>MemoryDCFromDC(DC oldDC) -&gt; MemoryDC</autodoc>
+        <docstring>Creates a DC that is compatible with the oldDC.</docstring>
         <paramlist>
           <param name="oldDC" type="DC" default=""/>
         </paramlist>
       </constructor>
       <method name="SelectObject" type="" overloaded="no">
         <paramlist>
           <param name="oldDC" type="DC" default=""/>
         </paramlist>
       </constructor>
       <method name="SelectObject" type="" overloaded="no">
-        <autodoc>SelectObject(Bitmap bitmap)</autodoc>
+        <autodoc>SelectObject(self, Bitmap bitmap)</autodoc>
+        <docstring>Selects the bitmap into the device context, to use as the memory
+bitmap. Selecting the bitmap into a memory DC allows you to draw into
+the DC, and therefore the bitmap, and also to use Blit to copy the
+bitmap to a window.
+
+If the argument is wx.NullBitmap (or some other uninitialised
+`wx.Bitmap`) the current bitmap is selected out of the device context,
+and the original bitmap restored, allowing the current bitmap to be
+destroyed safely.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
@@ -10243,40 +11890,106 @@ Works for single as well as multi-line strings.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="BufferedDC" oldname="wxBufferedDC" module="gdi">
+    <class name="BufferedDC" oldname="wxBufferedDC" module="_gdi">
+      <docstring>This simple class provides a simple way to avoid flicker: when drawing
+on it, everything is in fact first drawn on an in-memory buffer (a
+`wx.Bitmap`) and then copied to the screen only once, when this object
+is destroyed.
+
+It can be used in the same way as any other device
+context. wx.BufferedDC itself typically replaces `wx.ClientDC`, if you
+want to use it in your EVT_PAINT handler, you should look at
+`wx.BufferedPaintDC`.
+</docstring>
       <baseclass name="MemoryDC"/>
       <constructor name="BufferedDC" overloaded="yes">
       <baseclass name="MemoryDC"/>
       <constructor name="BufferedDC" overloaded="yes">
+        <docstring>Constructs a buffered DC.
+
+    :param dc: The underlying DC: everything drawn to this object will
+        be flushed to this DC when this object is destroyed. You may
+        pass ``None`` in order to just initialize the buffer, and not
+        flush it.
+
+    :param buffer: If a `wx.Size` object is passed as the 2nd arg then
+        it is the size of the bitmap that will be created internally
+        and used for an implicit buffer. If the 2nd arg is a
+        `wx.Bitmap` then it is the explicit buffer that will be
+        used. Using an explicit buffer is the most efficient solution
+        as the bitmap doesn't have to be recreated each time but it
+        also requires more memory as the bitmap is never freed. The
+        bitmap should have appropriate size, anything drawn outside of
+        its bounds is clipped.
+</docstring>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="buffer" type="Bitmap" default=""/>
         </paramlist>
       </constructor>
       <constructor name="BufferedDC" overloaded="yes">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="buffer" type="Bitmap" default=""/>
         </paramlist>
       </constructor>
       <constructor name="BufferedDC" overloaded="yes">
-        <autodoc>__init__(DC dc, Bitmap buffer) -&gt; BufferedDC
-__init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
-        <paramlist>
-          <param name="dc" type="DC" default=""/>
-          <param name="area" type="Size" default=""/>
-        </paramlist>
-      </constructor>
-      <constructor name="BufferedDCInternalBuffer" overloaded="no">
-        <autodoc>BufferedDCInternalBuffer(DC dc, Size area) -&gt; BufferedDC</autodoc>
+        <autodoc>__init__(self, DC dc, Bitmap buffer) -&gt; BufferedDC
+__init__(self, DC dc, Size area) -&gt; BufferedDC</autodoc>
+        <docstring>Constructs a buffered DC.
+
+    :param dc: The underlying DC: everything drawn to this object will
+        be flushed to this DC when this object is destroyed. You may
+        pass ``None`` in order to just initialize the buffer, and not
+        flush it.
+
+    :param buffer: If a `wx.Size` object is passed as the 2nd arg then
+        it is the size of the bitmap that will be created internally
+        and used for an implicit buffer. If the 2nd arg is a
+        `wx.Bitmap` then it is the explicit buffer that will be
+        used. Using an explicit buffer is the most efficient solution
+        as the bitmap doesn't have to be recreated each time but it
+        also requires more memory as the bitmap is never freed. The
+        bitmap should have appropriate size, anything drawn outside of
+        its bounds is clipped.
+</docstring>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="area" type="Size" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxBufferedDC" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="area" type="Size" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxBufferedDC" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
+        <docstring>Copies everything drawn on the DC so far to the underlying DC
+associated with this object, if any.</docstring>
       </destructor>
       <method name="UnMask" type="" overloaded="no">
       </destructor>
       <method name="UnMask" type="" overloaded="no">
-        <autodoc>UnMask()</autodoc>
+        <autodoc>UnMask(self)</autodoc>
+        <docstring>Blits the buffer to the dc, and detaches the dc from the buffer (so it
+can be effectively used once only).  This is usually only called in
+the destructor.</docstring>
       </method>
     </class>
       </method>
     </class>
-    <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="gdi">
+    <class name="BufferedPaintDC" oldname="wxBufferedPaintDC" module="_gdi">
+      <docstring>This is a subclass of `wx.BufferedDC` which can be used inside of an
+EVT_PAINT event handler. Just create an object of this class instead
+of `wx.PaintDC` and that's all you have to do to (mostly) avoid
+flicker. The only thing to watch out for is that if you are using this
+class together with `wx.ScrolledWindow`, you probably do **not** want
+to call `wx.Window.PrepareDC` on it as it already does this internally
+for the real underlying `wx.PaintDC`.
+
+If your window is already fully buffered in a `wx.Bitmap` then your
+EVT_PAINT handler can be as simple as just creating a
+``wx.BufferedPaintDC`` as it will `Blit` the buffer to the window
+automatically when it is destroyed.  For example::
+
+    def OnPaint(self, event):
+        dc = wx.BufferedPaintDC(self, self.buffer)
+
+
+</docstring>
       <baseclass name="BufferedDC"/>
       <constructor name="BufferedPaintDC" overloaded="no">
       <baseclass name="BufferedDC"/>
       <constructor name="BufferedPaintDC" overloaded="no">
-        <autodoc>__init__(Window window, Bitmap buffer=NullBitmap) -&gt; BufferedPaintDC</autodoc>
+        <autodoc>__init__(self, Window window, Bitmap buffer=NullBitmap) -&gt; BufferedPaintDC</autodoc>
+        <docstring>Create a buffered paint DC.  As with `wx.BufferedDC`, you may either
+provide the bitmap to be used for buffering or let this object create
+one internally (in the latter case, the size of the client part of the
+window is automatically used).
+
+</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="buffer" type="Bitmap" default="wxNullBitmap"/>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="buffer" type="Bitmap" default="wxNullBitmap"/>
@@ -10286,34 +11999,74 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ScreenDC" oldname="wxScreenDC" module="gdi">
+    <class name="ScreenDC" oldname="wxScreenDC" module="_gdi">
+      <docstring>A wxScreenDC can be used to paint anywhere on the screen. This should
+normally be constructed as a temporary stack object; don't store a
+wxScreenDC object.
+</docstring>
       <baseclass name="DC"/>
       <constructor name="ScreenDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="ScreenDC" overloaded="no">
-        <autodoc>__init__() -&gt; ScreenDC</autodoc>
+        <autodoc>__init__(self) -&gt; ScreenDC</autodoc>
+        <docstring>A wxScreenDC can be used to paint anywhere on the screen. This should
+normally be constructed as a temporary stack object; don't store a
+wxScreenDC object.
+</docstring>
       </constructor>
       <method name="StartDrawingOnTopWin" type="bool" overloaded="no">
       </constructor>
       <method name="StartDrawingOnTopWin" type="bool" overloaded="no">
-        <autodoc>StartDrawingOnTopWin(Window window) -&gt; bool</autodoc>
+        <autodoc>StartDrawingOnTopWin(self, Window window) -&gt; bool</autodoc>
+        <docstring>Specify that the area of the screen to be drawn upon coincides with
+the given window.
+
+:see: `EndDrawingOnTop`</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="StartDrawingOnTop" type="bool" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="StartDrawingOnTop" type="bool" overloaded="no">
-        <autodoc>StartDrawingOnTop(Rect rect=None) -&gt; bool</autodoc>
+        <autodoc>StartDrawingOnTop(self, Rect rect=None) -&gt; bool</autodoc>
+        <docstring>Specify that the area is the given rectangle, or the whole screen if
+``None`` is passed.
+
+:see: `EndDrawingOnTop`</docstring>
         <paramlist>
           <param name="rect" type="Rect" default="NULL"/>
         </paramlist>
       </method>
       <method name="EndDrawingOnTop" type="bool" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default="NULL"/>
         </paramlist>
       </method>
       <method name="EndDrawingOnTop" type="bool" overloaded="no">
-        <autodoc>EndDrawingOnTop() -&gt; bool</autodoc>
+        <autodoc>EndDrawingOnTop(self) -&gt; bool</autodoc>
+        <docstring>Use this in conjunction with `StartDrawingOnTop` or
+`StartDrawingOnTopWin` to ensure that drawing to the screen occurs on
+top of existing windows. Without this, some window systems (such as X)
+only allow drawing to take place underneath other windows.
+
+You might use this pair of functions when implementing a drag feature,
+for example as in the `wx.SplitterWindow` implementation.
+
+These functions are probably obsolete since the X implementations
+allow drawing directly on the screen now. However, the fact that this
+function allows the screen to be refreshed afterwards may be useful
+to some applications.</docstring>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ClientDC" oldname="wxClientDC" module="gdi">
+    <class name="ClientDC" oldname="wxClientDC" module="_gdi">
+      <docstring>A wx.ClientDC must be constructed if an application wishes to paint on
+the client area of a window from outside an EVT_PAINT event. This should
+normally be constructed as a temporary stack object; don't store a
+wx.ClientDC object long term.
+
+To draw on a window from within an EVT_PAINT handler, construct a
+`wx.PaintDC` object.
+
+To draw on the whole window including decorations, construct a
+`wx.WindowDC` object (Windows only).
+</docstring>
       <baseclass name="DC"/>
       <constructor name="ClientDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="ClientDC" overloaded="no">
-        <autodoc>__init__(Window win) -&gt; ClientDC</autodoc>
+        <autodoc>__init__(self, Window win) -&gt; ClientDC</autodoc>
+        <docstring>Constructor. Pass the window on which you wish to paint.</docstring>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
@@ -10322,10 +12075,25 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PaintDC" oldname="wxPaintDC" module="gdi">
+    <class name="PaintDC" oldname="wxPaintDC" module="_gdi">
+      <docstring>A wx.PaintDC must be constructed if an application wishes to paint on
+the client area of a window from within an EVT_PAINT event
+handler. This should normally be constructed as a temporary stack
+object; don't store a wx.PaintDC object. If you have an EVT_PAINT
+handler, you **must** create a wx.PaintDC object within it even if you
+don't actually use it.
+
+Using wx.PaintDC within EVT_PAINT handlers is important because it
+automatically sets the clipping area to the damaged area of the
+window. Attempts to draw outside this area do not appear.
+
+To draw on a window from outside EVT_PAINT handlers, construct a
+`wx.ClientDC` object.
+</docstring>
       <baseclass name="DC"/>
       <constructor name="PaintDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="PaintDC" overloaded="no">
-        <autodoc>__init__(Window win) -&gt; PaintDC</autodoc>
+        <autodoc>__init__(self, Window win) -&gt; PaintDC</autodoc>
+        <docstring>Constructor. Pass the window on which you wish to paint.</docstring>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
@@ -10334,10 +12102,15 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="WindowDC" oldname="wxWindowDC" module="gdi">
+    <class name="WindowDC" oldname="wxWindowDC" module="_gdi">
+      <docstring>A wx.WindowDC must be constructed if an application wishes to paint on
+the whole area of a window (client and decorations). This should
+normally be constructed as a temporary stack object; don't store a
+wx.WindowDC object.</docstring>
       <baseclass name="DC"/>
       <constructor name="WindowDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="WindowDC" overloaded="no">
-        <autodoc>__init__(Window win) -&gt; WindowDC</autodoc>
+        <autodoc>__init__(self, Window win) -&gt; WindowDC</autodoc>
+        <docstring>Constructor. Pass the window on which you wish to paint.</docstring>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
         <paramlist>
           <param name="win" type="Window" default=""/>
         </paramlist>
@@ -10346,10 +12119,19 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MirrorDC" oldname="wxMirrorDC" module="gdi">
+    <class name="MirrorDC" oldname="wxMirrorDC" module="_gdi">
+      <docstring>wx.MirrorDC is a simple wrapper class which is always associated with a
+real `wx.DC` object and either forwards all of its operations to it
+without changes (no mirroring takes place) or exchanges x and y
+coordinates which makes it possible to reuse the same code to draw a
+figure and its mirror -- i.e. reflection related to the diagonal line
+x == y.</docstring>
       <baseclass name="DC"/>
       <constructor name="MirrorDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="MirrorDC" overloaded="no">
-        <autodoc>__init__(DC dc, bool mirror) -&gt; MirrorDC</autodoc>
+        <autodoc>__init__(self, DC dc, bool mirror) -&gt; MirrorDC</autodoc>
+        <docstring>Creates a mirrored DC associated with the real *dc*.  Everything drawn
+on the wx.MirrorDC will appear on the *dc*, and will be mirrored if
+*mirror* is True.</docstring>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="mirror" type="bool" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="mirror" type="bool" default=""/>
@@ -10359,49 +12141,55 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PostScriptDC" oldname="wxPostScriptDC" module="gdi">
+    <class name="PostScriptDC" oldname="wxPostScriptDC" module="_gdi">
+      <docstring>This is a `wx.DC` that can write to PostScript files on any platform.</docstring>
       <baseclass name="DC"/>
       <constructor name="PostScriptDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="PostScriptDC" overloaded="no">
-        <autodoc>__init__(wxPrintData printData) -&gt; PostScriptDC</autodoc>
+        <autodoc>__init__(self, wxPrintData printData) -&gt; PostScriptDC</autodoc>
+        <docstring>Constructs a PostScript printer device context from a `wx.PrintData`
+object.</docstring>
         <paramlist>
           <param name="printData" type="wxPrintData" default=""/>
         </paramlist>
       </constructor>
       <method name="GetPrintData" type="wxPrintData" overloaded="no">
         <paramlist>
           <param name="printData" type="wxPrintData" default=""/>
         </paramlist>
       </constructor>
       <method name="GetPrintData" type="wxPrintData" overloaded="no">
-        <autodoc>GetPrintData() -&gt; wxPrintData</autodoc>
+        <autodoc>GetPrintData(self) -&gt; wxPrintData</autodoc>
       </method>
       <method name="SetPrintData" type="" overloaded="no">
       </method>
       <method name="SetPrintData" type="" overloaded="no">
-        <autodoc>SetPrintData(wxPrintData data)</autodoc>
+        <autodoc>SetPrintData(self, wxPrintData data)</autodoc>
         <paramlist>
           <param name="data" type="wxPrintData" default=""/>
         </paramlist>
       </method>
       <staticmethod name="SetResolution" type="" overloaded="no">
         <autodoc>SetResolution(int ppi)</autodoc>
         <paramlist>
           <param name="data" type="wxPrintData" default=""/>
         </paramlist>
       </method>
       <staticmethod name="SetResolution" type="" overloaded="no">
         <autodoc>SetResolution(int ppi)</autodoc>
+        <docstring>Set resolution (in pixels per inch) that will be used in PostScript
+output. Default is 720ppi.</docstring>
         <paramlist>
           <param name="ppi" type="int" default=""/>
         </paramlist>
       </staticmethod>
       <staticmethod name="GetResolution" type="int" overloaded="no">
         <autodoc>GetResolution() -&gt; int</autodoc>
         <paramlist>
           <param name="ppi" type="int" default=""/>
         </paramlist>
       </staticmethod>
       <staticmethod name="GetResolution" type="int" overloaded="no">
         <autodoc>GetResolution() -&gt; int</autodoc>
+        <docstring>Return resolution used in PostScript output.</docstring>
       </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MetaFile" oldname="wxMetaFile" module="gdi">
+    <class name="MetaFile" oldname="wxMetaFile" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="MetaFile" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="MetaFile" overloaded="no">
-        <autodoc>__init__(String filename=EmptyString) -&gt; MetaFile</autodoc>
+        <autodoc>__init__(self, String filename=EmptyString) -&gt; MetaFile</autodoc>
         <paramlist>
           <param name="filename" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
     </class>
         <paramlist>
           <param name="filename" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
     </class>
-    <class name="MetaFileDC" oldname="wxMetaFileDC" module="gdi">
+    <class name="MetaFileDC" oldname="wxMetaFileDC" module="_gdi">
       <baseclass name="DC"/>
       <constructor name="MetaFileDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="MetaFileDC" overloaded="no">
-        <autodoc>__init__(String filename=EmptyString, int width=0, int height=0, 
+        <autodoc>__init__(self, String filename=EmptyString, int width=0, int height=0, 
     String description=EmptyString) -&gt; MetaFileDC</autodoc>
         <paramlist>
           <param name="filename" type="String" default="wxPyEmptyString"/>
     String description=EmptyString) -&gt; MetaFileDC</autodoc>
         <paramlist>
           <param name="filename" type="String" default="wxPyEmptyString"/>
@@ -10411,274 +12199,22 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </constructor>
     </class>
         </paramlist>
       </constructor>
     </class>
-    <class name="PrinterDC" oldname="wxPrinterDC" module="gdi">
+    <class name="PrinterDC" oldname="wxPrinterDC" module="_gdi">
       <baseclass name="DC"/>
       <constructor name="PrinterDC" overloaded="no">
       <baseclass name="DC"/>
       <constructor name="PrinterDC" overloaded="no">
-        <autodoc>__init__(wxPrintData printData) -&gt; PrinterDC</autodoc>
+        <autodoc>__init__(self, wxPrintData printData) -&gt; PrinterDC</autodoc>
         <paramlist>
           <param name="printData" type="wxPrintData" default=""/>
         </paramlist>
       </constructor>
     </class>
     <pythoncode>
         <paramlist>
           <param name="printData" type="wxPrintData" default=""/>
         </paramlist>
       </constructor>
     </class>
     <pythoncode>
-    class DC_old(DC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = DC.FloodFillXY
-        GetPixel = DC.GetPixelXY
-        DrawLine = DC.DrawLineXY
-        CrossHair = DC.CrossHairXY
-        DrawArc = DC.DrawArcXY
-        DrawCheckMark = DC.DrawCheckMarkXY
-        DrawEllipticArc = DC.DrawEllipticArcXY
-        DrawPoint = DC.DrawPointXY
-        DrawRectangle = DC.DrawRectangleXY
-        DrawRoundedRectangle = DC.DrawRoundedRectangleXY
-        DrawCircle = DC.DrawCircleXY
-        DrawEllipse = DC.DrawEllipseXY
-        DrawIcon = DC.DrawIconXY
-        DrawBitmap = DC.DrawBitmapXY
-        DrawText = DC.DrawTextXY
-        DrawRotatedText = DC.DrawRotatedTextXY
-        Blit = DC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class MemoryDC_old(MemoryDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = MemoryDC.FloodFillXY
-        GetPixel = MemoryDC.GetPixelXY
-        DrawLine = MemoryDC.DrawLineXY
-        CrossHair = MemoryDC.CrossHairXY
-        DrawArc = MemoryDC.DrawArcXY
-        DrawCheckMark = MemoryDC.DrawCheckMarkXY
-        DrawEllipticArc = MemoryDC.DrawEllipticArcXY
-        DrawPoint = MemoryDC.DrawPointXY
-        DrawRectangle = MemoryDC.DrawRectangleXY
-        DrawRoundedRectangle = MemoryDC.DrawRoundedRectangleXY
-        DrawCircle = MemoryDC.DrawCircleXY
-        DrawEllipse = MemoryDC.DrawEllipseXY
-        DrawIcon = MemoryDC.DrawIconXY
-        DrawBitmap = MemoryDC.DrawBitmapXY
-        DrawText = MemoryDC.DrawTextXY
-        DrawRotatedText = MemoryDC.DrawRotatedTextXY
-        Blit = MemoryDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class BufferedDC_old(BufferedDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = BufferedDC.FloodFillXY
-        GetPixel = BufferedDC.GetPixelXY
-        DrawLine = BufferedDC.DrawLineXY
-        CrossHair = BufferedDC.CrossHairXY
-        DrawArc = BufferedDC.DrawArcXY
-        DrawCheckMark = BufferedDC.DrawCheckMarkXY
-        DrawEllipticArc = BufferedDC.DrawEllipticArcXY
-        DrawPoint = BufferedDC.DrawPointXY
-        DrawRectangle = BufferedDC.DrawRectangleXY
-        DrawRoundedRectangle = BufferedDC.DrawRoundedRectangleXY
-        DrawCircle = BufferedDC.DrawCircleXY
-        DrawEllipse = BufferedDC.DrawEllipseXY
-        DrawIcon = BufferedDC.DrawIconXY
-        DrawBitmap = BufferedDC.DrawBitmapXY
-        DrawText = BufferedDC.DrawTextXY
-        DrawRotatedText = BufferedDC.DrawRotatedTextXY
-        Blit = BufferedDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class BufferedPaintDC_old(BufferedPaintDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = BufferedPaintDC.FloodFillXY
-        GetPixel = BufferedPaintDC.GetPixelXY
-        DrawLine = BufferedPaintDC.DrawLineXY
-        CrossHair = BufferedPaintDC.CrossHairXY
-        DrawArc = BufferedPaintDC.DrawArcXY
-        DrawCheckMark = BufferedPaintDC.DrawCheckMarkXY
-        DrawEllipticArc = BufferedPaintDC.DrawEllipticArcXY
-        DrawPoint = BufferedPaintDC.DrawPointXY
-        DrawRectangle = BufferedPaintDC.DrawRectangleXY
-        DrawRoundedRectangle = BufferedPaintDC.DrawRoundedRectangleXY
-        DrawCircle = BufferedPaintDC.DrawCircleXY
-        DrawEllipse = BufferedPaintDC.DrawEllipseXY
-        DrawIcon = BufferedPaintDC.DrawIconXY
-        DrawBitmap = BufferedPaintDC.DrawBitmapXY
-        DrawText = BufferedPaintDC.DrawTextXY
-        DrawRotatedText = BufferedPaintDC.DrawRotatedTextXY
-        Blit = BufferedPaintDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class ScreenDC_old(ScreenDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = ScreenDC.FloodFillXY
-        GetPixel = ScreenDC.GetPixelXY
-        DrawLine = ScreenDC.DrawLineXY
-        CrossHair = ScreenDC.CrossHairXY
-        DrawArc = ScreenDC.DrawArcXY
-        DrawCheckMark = ScreenDC.DrawCheckMarkXY
-        DrawEllipticArc = ScreenDC.DrawEllipticArcXY
-        DrawPoint = ScreenDC.DrawPointXY
-        DrawRectangle = ScreenDC.DrawRectangleXY
-        DrawRoundedRectangle = ScreenDC.DrawRoundedRectangleXY
-        DrawCircle = ScreenDC.DrawCircleXY
-        DrawEllipse = ScreenDC.DrawEllipseXY
-        DrawIcon = ScreenDC.DrawIconXY
-        DrawBitmap = ScreenDC.DrawBitmapXY
-        DrawText = ScreenDC.DrawTextXY
-        DrawRotatedText = ScreenDC.DrawRotatedTextXY
-        Blit = ScreenDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class ClientDC_old(ClientDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = ClientDC.FloodFillXY
-        GetPixel = ClientDC.GetPixelXY
-        DrawLine = ClientDC.DrawLineXY
-        CrossHair = ClientDC.CrossHairXY
-        DrawArc = ClientDC.DrawArcXY
-        DrawCheckMark = ClientDC.DrawCheckMarkXY
-        DrawEllipticArc = ClientDC.DrawEllipticArcXY
-        DrawPoint = ClientDC.DrawPointXY
-        DrawRectangle = ClientDC.DrawRectangleXY
-        DrawRoundedRectangle = ClientDC.DrawRoundedRectangleXY
-        DrawCircle = ClientDC.DrawCircleXY
-        DrawEllipse = ClientDC.DrawEllipseXY
-        DrawIcon = ClientDC.DrawIconXY
-        DrawBitmap = ClientDC.DrawBitmapXY
-        DrawText = ClientDC.DrawTextXY
-        DrawRotatedText = ClientDC.DrawRotatedTextXY
-        Blit = ClientDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class PaintDC_old(PaintDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = PaintDC.FloodFillXY
-        GetPixel = PaintDC.GetPixelXY
-        DrawLine = PaintDC.DrawLineXY
-        CrossHair = PaintDC.CrossHairXY
-        DrawArc = PaintDC.DrawArcXY
-        DrawCheckMark = PaintDC.DrawCheckMarkXY
-        DrawEllipticArc = PaintDC.DrawEllipticArcXY
-        DrawPoint = PaintDC.DrawPointXY
-        DrawRectangle = PaintDC.DrawRectangleXY
-        DrawRoundedRectangle = PaintDC.DrawRoundedRectangleXY
-        DrawCircle = PaintDC.DrawCircleXY
-        DrawEllipse = PaintDC.DrawEllipseXY
-        DrawIcon = PaintDC.DrawIconXY
-        DrawBitmap = PaintDC.DrawBitmapXY
-        DrawText = PaintDC.DrawTextXY
-        DrawRotatedText = PaintDC.DrawRotatedTextXY
-        Blit = PaintDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class WindowDC_old(WindowDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = WindowDC.FloodFillXY
-        GetPixel = WindowDC.GetPixelXY
-        DrawLine = WindowDC.DrawLineXY
-        CrossHair = WindowDC.CrossHairXY
-        DrawArc = WindowDC.DrawArcXY
-        DrawCheckMark = WindowDC.DrawCheckMarkXY
-        DrawEllipticArc = WindowDC.DrawEllipticArcXY
-        DrawPoint = WindowDC.DrawPointXY
-        DrawRectangle = WindowDC.DrawRectangleXY
-        DrawRoundedRectangle = WindowDC.DrawRoundedRectangleXY
-        DrawCircle = WindowDC.DrawCircleXY
-        DrawEllipse = WindowDC.DrawEllipseXY
-        DrawIcon = WindowDC.DrawIconXY
-        DrawBitmap = WindowDC.DrawBitmapXY
-        DrawText = WindowDC.DrawTextXY
-        DrawRotatedText = WindowDC.DrawRotatedTextXY
-        Blit = WindowDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class MirrorDC_old(MirrorDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = MirrorDC.FloodFillXY
-        GetPixel = MirrorDC.GetPixelXY
-        DrawLine = MirrorDC.DrawLineXY
-        CrossHair = MirrorDC.CrossHairXY
-        DrawArc = MirrorDC.DrawArcXY
-        DrawCheckMark = MirrorDC.DrawCheckMarkXY
-        DrawEllipticArc = MirrorDC.DrawEllipticArcXY
-        DrawPoint = MirrorDC.DrawPointXY
-        DrawRectangle = MirrorDC.DrawRectangleXY
-        DrawRoundedRectangle = MirrorDC.DrawRoundedRectangleXY
-        DrawCircle = MirrorDC.DrawCircleXY
-        DrawEllipse = MirrorDC.DrawEllipseXY
-        DrawIcon = MirrorDC.DrawIconXY
-        DrawBitmap = MirrorDC.DrawBitmapXY
-        DrawText = MirrorDC.DrawTextXY
-        DrawRotatedText = MirrorDC.DrawRotatedTextXY
-        Blit = MirrorDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class PostScriptDC_old(PostScriptDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = PostScriptDC.FloodFillXY
-        GetPixel = PostScriptDC.GetPixelXY
-        DrawLine = PostScriptDC.DrawLineXY
-        CrossHair = PostScriptDC.CrossHairXY
-        DrawArc = PostScriptDC.DrawArcXY
-        DrawCheckMark = PostScriptDC.DrawCheckMarkXY
-        DrawEllipticArc = PostScriptDC.DrawEllipticArcXY
-        DrawPoint = PostScriptDC.DrawPointXY
-        DrawRectangle = PostScriptDC.DrawRectangleXY
-        DrawRoundedRectangle = PostScriptDC.DrawRoundedRectangleXY
-        DrawCircle = PostScriptDC.DrawCircleXY
-        DrawEllipse = PostScriptDC.DrawEllipseXY
-        DrawIcon = PostScriptDC.DrawIconXY
-        DrawBitmap = PostScriptDC.DrawBitmapXY
-        DrawText = PostScriptDC.DrawTextXY
-        DrawRotatedText = PostScriptDC.DrawRotatedTextXY
-        Blit = PostScriptDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class MetaFileDC_old(MetaFileDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = MetaFileDC.FloodFillXY
-        GetPixel = MetaFileDC.GetPixelXY
-        DrawLine = MetaFileDC.DrawLineXY
-        CrossHair = MetaFileDC.CrossHairXY
-        DrawArc = MetaFileDC.DrawArcXY
-        DrawCheckMark = MetaFileDC.DrawCheckMarkXY
-        DrawEllipticArc = MetaFileDC.DrawEllipticArcXY
-        DrawPoint = MetaFileDC.DrawPointXY
-        DrawRectangle = MetaFileDC.DrawRectangleXY
-        DrawRoundedRectangle = MetaFileDC.DrawRoundedRectangleXY
-        DrawCircle = MetaFileDC.DrawCircleXY
-        DrawEllipse = MetaFileDC.DrawEllipseXY
-        DrawIcon = MetaFileDC.DrawIconXY
-        DrawBitmap = MetaFileDC.DrawBitmapXY
-        DrawText = MetaFileDC.DrawTextXY
-        DrawRotatedText = MetaFileDC.DrawRotatedTextXY
-        Blit = MetaFileDC.BlitXY
-    </pythoncode>
-    <pythoncode>
-    class PrinterDC_old(PrinterDC):
-        """DC class that has methods with 2.4 compatible parameters."""
-        FloodFill = PrinterDC.FloodFillXY
-        GetPixel = PrinterDC.GetPixelXY
-        DrawLine = PrinterDC.DrawLineXY
-        CrossHair = PrinterDC.CrossHairXY
-        DrawArc = PrinterDC.DrawArcXY
-        DrawCheckMark = PrinterDC.DrawCheckMarkXY
-        DrawEllipticArc = PrinterDC.DrawEllipticArcXY
-        DrawPoint = PrinterDC.DrawPointXY
-        DrawRectangle = PrinterDC.DrawRectangleXY
-        DrawRoundedRectangle = PrinterDC.DrawRoundedRectangleXY
-        DrawCircle = PrinterDC.DrawCircleXY
-        DrawEllipse = PrinterDC.DrawEllipseXY
-        DrawIcon = PrinterDC.DrawIconXY
-        DrawBitmap = PrinterDC.DrawBitmapXY
-        DrawText = PrinterDC.DrawTextXY
-        DrawRotatedText = PrinterDC.DrawRotatedTextXY
-        Blit = PrinterDC.BlitXY
-    </pythoncode>
-    <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ImageList" oldname="wxImageList" module="gdi">
+    <class name="ImageList" oldname="wxImageList" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="ImageList" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="ImageList" overloaded="no">
-        <autodoc>__init__(int width, int height, int mask=True, int initialCount=1) -&gt; ImageList</autodoc>
+        <autodoc>__init__(self, int width, int height, int mask=True, int initialCount=1) -&gt; ImageList</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
@@ -10687,37 +12223,37 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </constructor>
       <destructor name="~wxImageList" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxImageList" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Add" type="int" overloaded="no">
       </destructor>
       <method name="Add" type="int" overloaded="no">
-        <autodoc>Add(Bitmap bitmap, Bitmap mask=NullBitmap) -&gt; int</autodoc>
+        <autodoc>Add(self, Bitmap bitmap, Bitmap mask=NullBitmap) -&gt; int</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="mask" type="Bitmap" default="wxNullBitmap"/>
         </paramlist>
       </method>
       <method name="AddWithColourMask" type="int" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="mask" type="Bitmap" default="wxNullBitmap"/>
         </paramlist>
       </method>
       <method name="AddWithColourMask" type="int" overloaded="no">
-        <autodoc>AddWithColourMask(Bitmap bitmap, Colour maskColour) -&gt; int</autodoc>
+        <autodoc>AddWithColourMask(self, Bitmap bitmap, Colour maskColour) -&gt; int</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="maskColour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="AddIcon" type="int" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="maskColour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="AddIcon" type="int" overloaded="no">
-        <autodoc>AddIcon(Icon icon) -&gt; int</autodoc>
+        <autodoc>AddIcon(self, Icon icon) -&gt; int</autodoc>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
       <method name="Replace" type="bool" overloaded="no">
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
       <method name="Replace" type="bool" overloaded="no">
-        <autodoc>Replace(int index, Bitmap bitmap) -&gt; bool</autodoc>
+        <autodoc>Replace(self, int index, Bitmap bitmap) -&gt; bool</autodoc>
         <paramlist>
           <param name="index" type="int" default=""/>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="Draw" type="bool" overloaded="no">
         <paramlist>
           <param name="index" type="int" default=""/>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="Draw" type="bool" overloaded="no">
-        <autodoc>Draw(int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, 
+        <autodoc>Draw(self, int index, DC dc, int x, int x, int flags=IMAGELIST_DRAW_NORMAL, 
     bool solidBackground=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="index" type="int" default=""/>
     bool solidBackground=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="index" type="int" default=""/>
@@ -10729,16 +12265,16 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="GetImageCount" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetImageCount" type="int" overloaded="no">
-        <autodoc>GetImageCount() -&gt; int</autodoc>
+        <autodoc>GetImageCount(self) -&gt; int</autodoc>
       </method>
       <method name="Remove" type="bool" overloaded="no">
       </method>
       <method name="Remove" type="bool" overloaded="no">
-        <autodoc>Remove(int index) -&gt; bool</autodoc>
+        <autodoc>Remove(self, int index) -&gt; bool</autodoc>
         <paramlist>
           <param name="index" type="int" default=""/>
         </paramlist>
       </method>
       <method name="RemoveAll" type="bool" overloaded="no">
         <paramlist>
           <param name="index" type="int" default=""/>
         </paramlist>
       </method>
       <method name="RemoveAll" type="bool" overloaded="no">
-        <autodoc>RemoveAll() -&gt; bool</autodoc>
+        <autodoc>RemoveAll(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSize" type="" overloaded="no">
         <autodoc>GetSize() -&gt; (width,height)</autodoc>
       </method>
       <method name="GetSize" type="" overloaded="no">
         <autodoc>GetSize() -&gt; (width,height)</autodoc>
@@ -10752,16 +12288,16 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PenList" oldname="wxPenList" module="gdi">
+    <class name="PenList" oldname="wxPenList" module="_gdi">
       <baseclass name="Object"/>
       <method name="AddPen" type="" overloaded="no">
       <baseclass name="Object"/>
       <method name="AddPen" type="" overloaded="no">
-        <autodoc>AddPen(Pen pen)</autodoc>
+        <autodoc>AddPen(self, Pen pen)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="FindOrCreatePen" type="Pen" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="FindOrCreatePen" type="Pen" overloaded="no">
-        <autodoc>FindOrCreatePen(Colour colour, int width, int style) -&gt; Pen</autodoc>
+        <autodoc>FindOrCreatePen(self, Colour colour, int width, int style) -&gt; Pen</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="width" type="int" default=""/>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="width" type="int" default=""/>
@@ -10769,69 +12305,69 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="RemovePen" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="RemovePen" type="" overloaded="no">
-        <autodoc>RemovePen(Pen pen)</autodoc>
+        <autodoc>RemovePen(self, Pen pen)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="BrushList" oldname="wxBrushList" module="gdi">
+    <class name="BrushList" oldname="wxBrushList" module="_gdi">
       <baseclass name="Object"/>
       <method name="AddBrush" type="" overloaded="no">
       <baseclass name="Object"/>
       <method name="AddBrush" type="" overloaded="no">
-        <autodoc>AddBrush(Brush brush)</autodoc>
+        <autodoc>AddBrush(self, Brush brush)</autodoc>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="FindOrCreateBrush" type="Brush" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="FindOrCreateBrush" type="Brush" overloaded="no">
-        <autodoc>FindOrCreateBrush(Colour colour, int style) -&gt; Brush</autodoc>
+        <autodoc>FindOrCreateBrush(self, Colour colour, int style) -&gt; Brush</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="RemoveBrush" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="RemoveBrush" type="" overloaded="no">
-        <autodoc>RemoveBrush(Brush brush)</autodoc>
+        <autodoc>RemoveBrush(self, Brush brush)</autodoc>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="ColourDatabase" oldname="wxColourDatabase" module="gdi">
+    <class name="ColourDatabase" oldname="wxColourDatabase" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="ColourDatabase" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="ColourDatabase" overloaded="no">
-        <autodoc>__init__() -&gt; ColourDatabase</autodoc>
+        <autodoc>__init__(self) -&gt; ColourDatabase</autodoc>
       </constructor>
       <destructor name="~wxColourDatabase" overloaded="no">
       </constructor>
       <destructor name="~wxColourDatabase" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Find" type="Colour" overloaded="no">
       </destructor>
       <method name="Find" type="Colour" overloaded="no">
-        <autodoc>Find(String name) -&gt; Colour</autodoc>
+        <autodoc>Find(self, String name) -&gt; Colour</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindName" type="String" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindName" type="String" overloaded="no">
-        <autodoc>FindName(Colour colour) -&gt; String</autodoc>
+        <autodoc>FindName(self, Colour colour) -&gt; String</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="AddColour" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="AddColour" type="" overloaded="no">
-        <autodoc>AddColour(String name, Colour colour)</autodoc>
+        <autodoc>AddColour(self, String name, Colour colour)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="Append" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="Append" type="" overloaded="no">
-        <autodoc>Append(String name, int red, int green, int blue)</autodoc>
+        <autodoc>Append(self, String name, int red, int green, int blue)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="red" type="int" default=""/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="red" type="int" default=""/>
@@ -10840,16 +12376,16 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="FontList" oldname="wxFontList" module="gdi">
+    <class name="FontList" oldname="wxFontList" module="_gdi">
       <baseclass name="Object"/>
       <method name="AddFont" type="" overloaded="no">
       <baseclass name="Object"/>
       <method name="AddFont" type="" overloaded="no">
-        <autodoc>AddFont(Font font)</autodoc>
+        <autodoc>AddFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="FindOrCreateFont" type="Font" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="FindOrCreateFont" type="Font" overloaded="no">
-        <autodoc>FindOrCreateFont(int point_size, int family, int style, int weight, 
+        <autodoc>FindOrCreateFont(self, int point_size, int family, int style, int weight, 
     bool underline=False, String facename=EmptyString, 
     int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
         <paramlist>
     bool underline=False, String facename=EmptyString, 
     int encoding=FONTENCODING_DEFAULT) -&gt; Font</autodoc>
         <paramlist>
@@ -10863,13 +12399,13 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="RemoveFont" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="RemoveFont" type="" overloaded="no">
-        <autodoc>RemoveFont(Font font)</autodoc>
+        <autodoc>RemoveFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -10879,58 +12415,58 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Effects" oldname="wxEffects" module="gdi">
+    <class name="Effects" oldname="wxEffects" module="_gdi">
       <baseclass name="Object"/>
       <constructor name="Effects" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="Effects" overloaded="no">
-        <autodoc>__init__() -&gt; Effects</autodoc>
+        <autodoc>__init__(self) -&gt; Effects</autodoc>
       </constructor>
       <method name="GetHighlightColour" type="Colour" overloaded="no">
       </constructor>
       <method name="GetHighlightColour" type="Colour" overloaded="no">
-        <autodoc>GetHighlightColour() -&gt; Colour</autodoc>
+        <autodoc>GetHighlightColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetLightShadow" type="Colour" overloaded="no">
       </method>
       <method name="GetLightShadow" type="Colour" overloaded="no">
-        <autodoc>GetLightShadow() -&gt; Colour</autodoc>
+        <autodoc>GetLightShadow(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFaceColour" type="Colour" overloaded="no">
       </method>
       <method name="GetFaceColour" type="Colour" overloaded="no">
-        <autodoc>GetFaceColour() -&gt; Colour</autodoc>
+        <autodoc>GetFaceColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetMediumShadow" type="Colour" overloaded="no">
       </method>
       <method name="GetMediumShadow" type="Colour" overloaded="no">
-        <autodoc>GetMediumShadow() -&gt; Colour</autodoc>
+        <autodoc>GetMediumShadow(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetDarkShadow" type="Colour" overloaded="no">
       </method>
       <method name="GetDarkShadow" type="Colour" overloaded="no">
-        <autodoc>GetDarkShadow() -&gt; Colour</autodoc>
+        <autodoc>GetDarkShadow(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetHighlightColour" type="" overloaded="no">
       </method>
       <method name="SetHighlightColour" type="" overloaded="no">
-        <autodoc>SetHighlightColour(Colour c)</autodoc>
+        <autodoc>SetHighlightColour(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLightShadow" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLightShadow" type="" overloaded="no">
-        <autodoc>SetLightShadow(Colour c)</autodoc>
+        <autodoc>SetLightShadow(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFaceColour" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFaceColour" type="" overloaded="no">
-        <autodoc>SetFaceColour(Colour c)</autodoc>
+        <autodoc>SetFaceColour(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetMediumShadow" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetMediumShadow" type="" overloaded="no">
-        <autodoc>SetMediumShadow(Colour c)</autodoc>
+        <autodoc>SetMediumShadow(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetDarkShadow" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetDarkShadow" type="" overloaded="no">
-        <autodoc>SetDarkShadow(Colour c)</autodoc>
+        <autodoc>SetDarkShadow(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(Colour highlightColour, Colour lightShadow, Colour faceColour, 
+        <autodoc>Set(self, Colour highlightColour, Colour lightShadow, Colour faceColour, 
     Colour mediumShadow, Colour darkShadow)</autodoc>
         <paramlist>
           <param name="highlightColour" type="Colour" default=""/>
     Colour mediumShadow, Colour darkShadow)</autodoc>
         <paramlist>
           <param name="highlightColour" type="Colour" default=""/>
@@ -10941,7 +12477,7 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="DrawSunkenEdge" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawSunkenEdge" type="" overloaded="no">
-        <autodoc>DrawSunkenEdge(DC dc, Rect rect, int borderSize=1)</autodoc>
+        <autodoc>DrawSunkenEdge(self, DC dc, Rect rect, int borderSize=1)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="rect" type="Rect" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="rect" type="Rect" default=""/>
@@ -10949,7 +12485,7 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="TileBitmap" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="TileBitmap" type="bool" overloaded="no">
-        <autodoc>TileBitmap(Rect rect, DC dc, Bitmap bitmap) -&gt; bool</autodoc>
+        <autodoc>TileBitmap(self, Rect rect, DC dc, Bitmap bitmap) -&gt; bool</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="dc" type="DC" default=""/>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="dc" type="DC" default=""/>
@@ -10958,16 +12494,16 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
       </method>
     </class>
   </module>
       </method>
     </class>
   </module>
-  <module name="windows">
-    <import name="core"/>
-    <pythoncode> wx = core </pythoncode>
+  <module name="_windows">
+    <import name="_core"/>
+    <pythoncode> wx = _core </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Panel" oldname="wxPanel" module="windows">
+    <class name="Panel" oldname="wxPanel" module="_windows">
       <baseclass name="Window"/>
       <constructor name="Panel" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="Panel" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
     String name=PanelNameStr) -&gt; Panel</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
     String name=PanelNameStr) -&gt; Panel</autodoc>
         <paramlist>
@@ -10983,13 +12519,13 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         <autodoc>PrePanel() -&gt; Panel</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PrePanel() -&gt; Panel</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
     String name=PanelNameStr) -&gt; bool</autodoc>
         <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=PanelNameStr) -&gt; bool</autodoc>
         <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxTAB_TRAVERSAL|wxNO_BORDER"/>
@@ -10997,16 +12533,34 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="InitDialog" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="InitDialog" type="" overloaded="no">
-        <autodoc>InitDialog()</autodoc>
+        <autodoc>InitDialog(self)</autodoc>
+        <docstring>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data
+to the dialog via validators.</docstring>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ScrolledWindow" oldname="wxScrolledWindow" module="windows">
+    <class name="ScrolledWindow" oldname="wxScrolledWindow" module="_windows">
       <baseclass name="Panel"/>
       <constructor name="ScrolledWindow" overloaded="no">
       <baseclass name="Panel"/>
       <constructor name="ScrolledWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, 
     String name=PanelNameStr) -&gt; ScrolledWindow</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, 
     String name=PanelNameStr) -&gt; ScrolledWindow</autodoc>
         <paramlist>
@@ -11022,7 +12576,7 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         <autodoc>PreScrolledWindow() -&gt; ScrolledWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreScrolledWindow() -&gt; ScrolledWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, 
     String name=PanelNameStr) -&gt; bool</autodoc>
         <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
     Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL, 
     String name=PanelNameStr) -&gt; bool</autodoc>
         <docstring>Create the GUI part of the Window for 2-phase creation mode.</docstring>
@@ -11036,7 +12590,7 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="SetScrollbars" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetScrollbars" type="" overloaded="no">
-        <autodoc>SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, 
+        <autodoc>SetScrollbars(self, int pixelsPerUnitX, int pixelsPerUnitY, int noUnitsX, 
     int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc>
         <paramlist>
           <param name="pixelsPerUnitX" type="int" default=""/>
     int noUnitsY, int xPos=0, int yPos=0, bool noRefresh=False)</autodoc>
         <paramlist>
           <param name="pixelsPerUnitX" type="int" default=""/>
@@ -11049,27 +12603,27 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="Scroll" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Scroll" type="" overloaded="no">
-        <autodoc>Scroll(int x, int y)</autodoc>
+        <autodoc>Scroll(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollPageSize" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollPageSize" type="int" overloaded="no">
-        <autodoc>GetScrollPageSize(int orient) -&gt; int</autodoc>
+        <autodoc>GetScrollPageSize(self, int orient) -&gt; int</autodoc>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollPageSize" type="" overloaded="no">
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollPageSize" type="" overloaded="no">
-        <autodoc>SetScrollPageSize(int orient, int pageSize)</autodoc>
+        <autodoc>SetScrollPageSize(self, int orient, int pageSize)</autodoc>
         <paramlist>
           <param name="orient" type="int" default=""/>
           <param name="pageSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollRate" type="" overloaded="no">
         <paramlist>
           <param name="orient" type="int" default=""/>
           <param name="pageSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollRate" type="" overloaded="no">
-        <autodoc>SetScrollRate(int xstep, int ystep)</autodoc>
+        <autodoc>SetScrollRate(self, int xstep, int ystep)</autodoc>
         <paramlist>
           <param name="xstep" type="int" default=""/>
           <param name="ystep" type="int" default=""/>
         <paramlist>
           <param name="xstep" type="int" default=""/>
           <param name="ystep" type="int" default=""/>
@@ -11084,7 +12638,7 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="EnableScrolling" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="EnableScrolling" type="" overloaded="no">
-        <autodoc>EnableScrolling(bool x_scrolling, bool y_scrolling)</autodoc>
+        <autodoc>EnableScrolling(self, bool x_scrolling, bool y_scrolling)</autodoc>
         <paramlist>
           <param name="x_scrolling" type="bool" default=""/>
           <param name="y_scrolling" type="bool" default=""/>
         <paramlist>
           <param name="x_scrolling" type="bool" default=""/>
           <param name="y_scrolling" type="bool" default=""/>
@@ -11099,17 +12653,17 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="SetScale" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetScale" type="" overloaded="no">
-        <autodoc>SetScale(double xs, double ys)</autodoc>
+        <autodoc>SetScale(self, double xs, double ys)</autodoc>
         <paramlist>
           <param name="xs" type="double" default=""/>
           <param name="ys" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetScaleX" type="double" overloaded="no">
         <paramlist>
           <param name="xs" type="double" default=""/>
           <param name="ys" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetScaleX" type="double" overloaded="no">
-        <autodoc>GetScaleX() -&gt; double</autodoc>
+        <autodoc>GetScaleX(self) -&gt; double</autodoc>
       </method>
       <method name="GetScaleY" type="double" overloaded="no">
       </method>
       <method name="GetScaleY" type="double" overloaded="no">
-        <autodoc>GetScaleY() -&gt; double</autodoc>
+        <autodoc>GetScaleY(self) -&gt; double</autodoc>
       </method>
       <method name="CalcScrolledPosition" type="Point" overloaded="yes">
         <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
       </method>
       <method name="CalcScrolledPosition" type="Point" overloaded="yes">
         <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
@@ -11118,7 +12672,7 @@ __init__(DC dc, Size area) -&gt; BufferedDC</autodoc>
         </paramlist>
       </method>
       <method name="CalcScrolledPosition" type="" overloaded="yes">
         </paramlist>
       </method>
       <method name="CalcScrolledPosition" type="" overloaded="yes">
-        <autodoc>CalcScrolledPosition(Point pt) -&gt; Point
+        <autodoc>CalcScrolledPosition(self, Point pt) -&gt; Point
 CalcScrolledPosition(int x, int y) -&gt; (sx, sy)</autodoc>
         <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
         <paramlist>
 CalcScrolledPosition(int x, int y) -&gt; (sx, sy)</autodoc>
         <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
         <paramlist>
@@ -11135,7 +12689,7 @@ CalcScrolledPosition(int x, int y) -&gt; (sx, sy)</autodoc>
         </paramlist>
       </method>
       <method name="CalcUnscrolledPosition" type="" overloaded="yes">
         </paramlist>
       </method>
       <method name="CalcUnscrolledPosition" type="" overloaded="yes">
-        <autodoc>CalcUnscrolledPosition(Point pt) -&gt; Point
+        <autodoc>CalcUnscrolledPosition(self, Point pt) -&gt; Point
 CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
         <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
         <paramlist>
 CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
         <docstring>Translate between scrolled and unscrolled coordinates.</docstring>
         <paramlist>
@@ -11146,88 +12700,111 @@ CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
         </paramlist>
       </method>
       <method name="AdjustScrollbars" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="AdjustScrollbars" type="" overloaded="no">
-        <autodoc>AdjustScrollbars()</autodoc>
+        <autodoc>AdjustScrollbars(self)</autodoc>
       </method>
       <method name="CalcScrollInc" type="int" overloaded="no">
       </method>
       <method name="CalcScrollInc" type="int" overloaded="no">
-        <autodoc>CalcScrollInc(ScrollWinEvent event) -&gt; int</autodoc>
+        <autodoc>CalcScrollInc(self, ScrollWinEvent event) -&gt; int</autodoc>
         <paramlist>
           <param name="event" type="ScrollWinEvent" default=""/>
         </paramlist>
       </method>
       <method name="SetTargetWindow" type="" overloaded="no">
         <paramlist>
           <param name="event" type="ScrollWinEvent" default=""/>
         </paramlist>
       </method>
       <method name="SetTargetWindow" type="" overloaded="no">
-        <autodoc>SetTargetWindow(Window target)</autodoc>
+        <autodoc>SetTargetWindow(self, Window target)</autodoc>
         <paramlist>
           <param name="target" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetTargetWindow" type="Window" overloaded="no">
         <paramlist>
           <param name="target" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetTargetWindow" type="Window" overloaded="no">
-        <autodoc>GetTargetWindow() -&gt; Window</autodoc>
+        <autodoc>GetTargetWindow(self) -&gt; Window</autodoc>
       </method>
       </method>
+      <method name="DoPrepareDC" type="" overloaded="no">
+        <autodoc>DoPrepareDC(self, DC dc)</autodoc>
+        <docstring>Normally what is called by `PrepareDC`.</docstring>
+        <paramlist>
+          <param name="dc" type="DC" default=""/>
+        </paramlist>
+      </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="windows">
+    <class name="TopLevelWindow" oldname="wxTopLevelWindow" module="_windows">
       <baseclass name="Window"/>
       <method name="Maximize" type="" overloaded="no">
       <baseclass name="Window"/>
       <method name="Maximize" type="" overloaded="no">
-        <autodoc>Maximize(bool maximize=True)</autodoc>
+        <autodoc>Maximize(self, bool maximize=True)</autodoc>
         <paramlist>
           <param name="maximize" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Restore" type="" overloaded="no">
         <paramlist>
           <param name="maximize" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Restore" type="" overloaded="no">
-        <autodoc>Restore()</autodoc>
+        <autodoc>Restore(self)</autodoc>
       </method>
       <method name="Iconize" type="" overloaded="no">
       </method>
       <method name="Iconize" type="" overloaded="no">
-        <autodoc>Iconize(bool iconize=True)</autodoc>
+        <autodoc>Iconize(self, bool iconize=True)</autodoc>
         <paramlist>
           <param name="iconize" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsMaximized" type="bool" overloaded="no">
         <paramlist>
           <param name="iconize" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsMaximized" type="bool" overloaded="no">
-        <autodoc>IsMaximized() -&gt; bool</autodoc>
+        <autodoc>IsMaximized(self) -&gt; bool</autodoc>
       </method>
       <method name="IsIconized" type="bool" overloaded="no">
       </method>
       <method name="IsIconized" type="bool" overloaded="no">
-        <autodoc>IsIconized() -&gt; bool</autodoc>
+        <autodoc>IsIconized(self) -&gt; bool</autodoc>
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
-        <autodoc>GetIcon() -&gt; Icon</autodoc>
+        <autodoc>GetIcon(self) -&gt; Icon</autodoc>
       </method>
       <method name="SetIcon" type="" overloaded="no">
       </method>
       <method name="SetIcon" type="" overloaded="no">
-        <autodoc>SetIcon(Icon icon)</autodoc>
+        <autodoc>SetIcon(self, Icon icon)</autodoc>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
       <method name="SetIcons" type="" overloaded="no">
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
       <method name="SetIcons" type="" overloaded="no">
-        <autodoc>SetIcons(wxIconBundle icons)</autodoc>
+        <autodoc>SetIcons(self, wxIconBundle icons)</autodoc>
         <paramlist>
           <param name="icons" type="IconBundle" default=""/>
         </paramlist>
       </method>
       <method name="ShowFullScreen" type="bool" overloaded="no">
         <paramlist>
           <param name="icons" type="IconBundle" default=""/>
         </paramlist>
       </method>
       <method name="ShowFullScreen" type="bool" overloaded="no">
-        <autodoc>ShowFullScreen(bool show, long style=FULLSCREEN_ALL) -&gt; bool</autodoc>
+        <autodoc>ShowFullScreen(self, bool show, long style=FULLSCREEN_ALL) -&gt; bool</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
           <param name="style" type="long" default="wxFULLSCREEN_ALL"/>
         </paramlist>
       </method>
       <method name="IsFullScreen" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
           <param name="style" type="long" default="wxFULLSCREEN_ALL"/>
         </paramlist>
       </method>
       <method name="IsFullScreen" type="bool" overloaded="no">
-        <autodoc>IsFullScreen() -&gt; bool</autodoc>
+        <autodoc>IsFullScreen(self) -&gt; bool</autodoc>
       </method>
       <method name="SetTitle" type="" overloaded="no">
       </method>
       <method name="SetTitle" type="" overloaded="no">
-        <autodoc>SetTitle(String title)</autodoc>
+        <autodoc>SetTitle(self, String title)</autodoc>
         <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
         <docstring>Sets the window's title. Applicable only to frames and dialogs.</docstring>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
-        <autodoc>GetTitle() -&gt; String</autodoc>
+        <autodoc>GetTitle(self) -&gt; String</autodoc>
         <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
       </method>
       <method name="SetShape" type="bool" overloaded="no">
         <docstring>Gets the window's title. Applicable only to frames and dialogs.</docstring>
       </method>
       <method name="SetShape" type="bool" overloaded="no">
-        <autodoc>SetShape(Region region) -&gt; bool</autodoc>
+        <autodoc>SetShape(self, Region region) -&gt; bool</autodoc>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
         <paramlist>
           <param name="region" type="Region" default=""/>
         </paramlist>
@@ -11236,16 +12813,16 @@ CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Frame" oldname="wxFrame" module="windows">
+    <class name="Frame" oldname="wxFrame" module="_windows">
       <baseclass name="TopLevelWindow"/>
       <constructor name="Frame" overloaded="no">
       <baseclass name="TopLevelWindow"/>
       <constructor name="Frame" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE
-    String name=FrameNameStr) -&gt; Frame</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; Frame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
@@ -11256,13 +12833,13 @@ CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
         <autodoc>PreFrame() -&gt; Frame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreFrame() -&gt; Frame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE
-    String name=FrameNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
@@ -11270,31 +12847,31 @@ CalcUnscrolledPosition(int x, int y) -&gt; (ux, uy)</autodoc>
         </paramlist>
       </method>
       <method name="GetClientAreaOrigin" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="GetClientAreaOrigin" type="Point" overloaded="no">
-        <autodoc>GetClientAreaOrigin() -&gt; Point</autodoc>
+        <autodoc>GetClientAreaOrigin(self) -&gt; Point</autodoc>
         <docstring>Get the origin of the client area of the window relative to the
 window's top left corner (the client area may be shifted because of
 the borders, scrollbars, other decorations...)</docstring>
       </method>
       <method name="SendSizeEvent" type="" overloaded="no">
         <docstring>Get the origin of the client area of the window relative to the
 window's top left corner (the client area may be shifted because of
 the borders, scrollbars, other decorations...)</docstring>
       </method>
       <method name="SendSizeEvent" type="" overloaded="no">
-        <autodoc>SendSizeEvent()</autodoc>
+        <autodoc>SendSizeEvent(self)</autodoc>
       </method>
       <method name="SetMenuBar" type="" overloaded="no">
       </method>
       <method name="SetMenuBar" type="" overloaded="no">
-        <autodoc>SetMenuBar(MenuBar menubar)</autodoc>
+        <autodoc>SetMenuBar(self, MenuBar menubar)</autodoc>
         <paramlist>
           <param name="menubar" type="MenuBar" default=""/>
         </paramlist>
       </method>
       <method name="GetMenuBar" type="MenuBar" overloaded="no">
         <paramlist>
           <param name="menubar" type="MenuBar" default=""/>
         </paramlist>
       </method>
       <method name="GetMenuBar" type="MenuBar" overloaded="no">
-        <autodoc>GetMenuBar() -&gt; MenuBar</autodoc>
+        <autodoc>GetMenuBar(self) -&gt; MenuBar</autodoc>
       </method>
       <method name="ProcessCommand" type="bool" overloaded="no">
       </method>
       <method name="ProcessCommand" type="bool" overloaded="no">
-        <autodoc>ProcessCommand(int winid) -&gt; bool</autodoc>
+        <autodoc>ProcessCommand(self, int winid) -&gt; bool</autodoc>
         <paramlist>
           <param name="winid" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CreateStatusBar" type="wxStatusBar" overloaded="no">
         <paramlist>
           <param name="winid" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CreateStatusBar" type="wxStatusBar" overloaded="no">
-        <autodoc>CreateStatusBar(int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, 
+        <autodoc>CreateStatusBar(self, int number=1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, 
     int winid=0, String name=StatusLineNameStr) -&gt; StatusBar</autodoc>
         <paramlist>
           <param name="number" type="int" default="1"/>
     int winid=0, String name=StatusLineNameStr) -&gt; StatusBar</autodoc>
         <paramlist>
           <param name="number" type="int" default="1"/>
@@ -11304,52 +12881,52 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="GetStatusBar" type="wxStatusBar" overloaded="no">
         </paramlist>
       </method>
       <method name="GetStatusBar" type="wxStatusBar" overloaded="no">
-        <autodoc>GetStatusBar() -&gt; StatusBar</autodoc>
+        <autodoc>GetStatusBar(self) -&gt; StatusBar</autodoc>
       </method>
       <method name="SetStatusBar" type="" overloaded="no">
       </method>
       <method name="SetStatusBar" type="" overloaded="no">
-        <autodoc>SetStatusBar(StatusBar statBar)</autodoc>
+        <autodoc>SetStatusBar(self, StatusBar statBar)</autodoc>
         <paramlist>
           <param name="statBar" type="wxStatusBar" default=""/>
         </paramlist>
       </method>
       <method name="SetStatusText" type="" overloaded="no">
         <paramlist>
           <param name="statBar" type="wxStatusBar" default=""/>
         </paramlist>
       </method>
       <method name="SetStatusText" type="" overloaded="no">
-        <autodoc>SetStatusText(String text, int number=0)</autodoc>
+        <autodoc>SetStatusText(self, String text, int number=0)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetStatusWidths" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetStatusWidths" type="" overloaded="no">
-        <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc>
+        <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc>
         <paramlist>
           <param name="widths" type="int" default=""/>
           <param name="widths_field" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PushStatusText" type="" overloaded="no">
         <paramlist>
           <param name="widths" type="int" default=""/>
           <param name="widths_field" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PushStatusText" type="" overloaded="no">
-        <autodoc>PushStatusText(String text, int number=0)</autodoc>
+        <autodoc>PushStatusText(self, String text, int number=0)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="PopStatusText" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="PopStatusText" type="" overloaded="no">
-        <autodoc>PopStatusText(int number=0)</autodoc>
+        <autodoc>PopStatusText(self, int number=0)</autodoc>
         <paramlist>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetStatusBarPane" type="" overloaded="no">
         <paramlist>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetStatusBarPane" type="" overloaded="no">
-        <autodoc>SetStatusBarPane(int n)</autodoc>
+        <autodoc>SetStatusBarPane(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStatusBarPane" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStatusBarPane" type="int" overloaded="no">
-        <autodoc>GetStatusBarPane() -&gt; int</autodoc>
+        <autodoc>GetStatusBarPane(self) -&gt; int</autodoc>
       </method>
       <method name="CreateToolBar" type="wxToolBar" overloaded="no">
       </method>
       <method name="CreateToolBar" type="wxToolBar" overloaded="no">
-        <autodoc>CreateToolBar(long style=-1, int winid=-1, String name=ToolBarNameStr) -&gt; wxToolBar</autodoc>
+        <autodoc>CreateToolBar(self, long style=-1, int winid=-1, String name=ToolBarNameStr) -&gt; wxToolBar</autodoc>
         <paramlist>
           <param name="style" type="long" default="-1"/>
           <param name="winid" type="int" default="-1"/>
         <paramlist>
           <param name="style" type="long" default="-1"/>
           <param name="winid" type="int" default="-1"/>
@@ -11357,41 +12934,57 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="GetToolBar" type="wxToolBar" overloaded="no">
         </paramlist>
       </method>
       <method name="GetToolBar" type="wxToolBar" overloaded="no">
-        <autodoc>GetToolBar() -&gt; wxToolBar</autodoc>
+        <autodoc>GetToolBar(self) -&gt; wxToolBar</autodoc>
       </method>
       <method name="SetToolBar" type="" overloaded="no">
       </method>
       <method name="SetToolBar" type="" overloaded="no">
-        <autodoc>SetToolBar(wxToolBar toolbar)</autodoc>
+        <autodoc>SetToolBar(self, wxToolBar toolbar)</autodoc>
         <paramlist>
           <param name="toolbar" type="wxToolBar" default=""/>
         </paramlist>
       </method>
       <method name="DoGiveHelp" type="" overloaded="no">
         <paramlist>
           <param name="toolbar" type="wxToolBar" default=""/>
         </paramlist>
       </method>
       <method name="DoGiveHelp" type="" overloaded="no">
-        <autodoc>DoGiveHelp(String text, bool show)</autodoc>
+        <autodoc>DoGiveHelp(self, String text, bool show)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="DoMenuUpdates" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="DoMenuUpdates" type="" overloaded="no">
-        <autodoc>DoMenuUpdates(Menu menu=None)</autodoc>
+        <autodoc>DoMenuUpdates(self, Menu menu=None)</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="menu" type="Menu" default="NULL"/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Dialog" oldname="wxDialog" module="windows">
+    <class name="Dialog" oldname="wxDialog" module="_windows">
       <baseclass name="TopLevelWindow"/>
       <constructor name="Dialog" overloaded="no">
       <baseclass name="TopLevelWindow"/>
       <constructor name="Dialog" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE
-    String name=DialogNameStr) -&gt; Dialog</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -&gt; Dialog</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
@@ -11402,13 +12995,13 @@ the borders, scrollbars, other decorations...)</docstring>
         <autodoc>PreDialog() -&gt; Dialog</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreDialog() -&gt; Dialog</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=DEFAULT_DIALOG_STYLE
-    String name=DialogNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_DIALOG_STYLE"/>
@@ -11416,55 +13009,68 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="SetReturnCode" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetReturnCode" type="" overloaded="no">
-        <autodoc>SetReturnCode(int returnCode)</autodoc>
+        <autodoc>SetReturnCode(self, int returnCode)</autodoc>
         <paramlist>
           <param name="returnCode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetReturnCode" type="int" overloaded="no">
         <paramlist>
           <param name="returnCode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetReturnCode" type="int" overloaded="no">
-        <autodoc>GetReturnCode() -&gt; int</autodoc>
+        <autodoc>GetReturnCode(self) -&gt; int</autodoc>
       </method>
       <method name="CreateTextSizer" type="Sizer" overloaded="no">
       </method>
       <method name="CreateTextSizer" type="Sizer" overloaded="no">
-        <autodoc>CreateTextSizer(String message) -&gt; Sizer</autodoc>
+        <autodoc>CreateTextSizer(self, String message) -&gt; Sizer</autodoc>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CreateButtonSizer" type="Sizer" overloaded="no">
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CreateButtonSizer" type="Sizer" overloaded="no">
-        <autodoc>CreateButtonSizer(long flags) -&gt; Sizer</autodoc>
+        <autodoc>CreateButtonSizer(self, long flags) -&gt; Sizer</autodoc>
         <paramlist>
           <param name="flags" type="long" default=""/>
         </paramlist>
       </method>
       <method name="IsModal" type="bool" overloaded="no">
         <paramlist>
           <param name="flags" type="long" default=""/>
         </paramlist>
       </method>
       <method name="IsModal" type="bool" overloaded="no">
-        <autodoc>IsModal() -&gt; bool</autodoc>
+        <autodoc>IsModal(self) -&gt; bool</autodoc>
       </method>
       <method name="ShowModal" type="int" overloaded="no">
       </method>
       <method name="ShowModal" type="int" overloaded="no">
-        <autodoc>ShowModal() -&gt; int</autodoc>
+        <autodoc>ShowModal(self) -&gt; int</autodoc>
       </method>
       <method name="EndModal" type="" overloaded="no">
       </method>
       <method name="EndModal" type="" overloaded="no">
-        <autodoc>EndModal(int retCode)</autodoc>
+        <autodoc>EndModal(self, int retCode)</autodoc>
         <paramlist>
           <param name="retCode" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="retCode" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="IsModalShowing" type="bool" overloaded="no">
-        <autodoc>IsModalShowing() -&gt; bool</autodoc>
-      </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MiniFrame" oldname="wxMiniFrame" module="windows">
+    <class name="MiniFrame" oldname="wxMiniFrame" module="_windows">
       <baseclass name="Frame"/>
       <constructor name="MiniFrame" overloaded="no">
       <baseclass name="Frame"/>
       <constructor name="MiniFrame" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE
-    String name=FrameNameStr) -&gt; MiniFrame</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; MiniFrame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
@@ -11475,13 +13081,13 @@ the borders, scrollbars, other decorations...)</docstring>
         <autodoc>PreMiniFrame() -&gt; MiniFrame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreMiniFrame() -&gt; MiniFrame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE
-    String name=FrameNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
@@ -11492,10 +13098,10 @@ the borders, scrollbars, other decorations...)</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="windows">
+    <class name="SplashScreenWindow" oldname="wxSplashScreenWindow" module="_windows">
       <baseclass name="Window"/>
       <constructor name="SplashScreenWindow" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="SplashScreenWindow" overloaded="no">
-        <autodoc>__init__(Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Bitmap bitmap, Window parent, int id, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=NO_BORDER) -&gt; SplashScreenWindow</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
     Size size=DefaultSize, long style=NO_BORDER) -&gt; SplashScreenWindow</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
@@ -11507,49 +13113,49 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </constructor>
       <method name="SetBitmap" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetBitmap" type="" overloaded="no">
-        <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="SplashScreen" oldname="wxSplashScreen" module="windows">
+    <class name="SplashScreen" oldname="wxSplashScreen" module="_windows">
       <baseclass name="Frame"/>
       <constructor name="SplashScreen" overloaded="no">
       <baseclass name="Frame"/>
       <constructor name="SplashScreen" overloaded="no">
-        <autodoc>__init__(Bitmap bitmap, long splashStyle, int milliseconds, 
-    Window parent, int id, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Bitmap bitmap, long splashStyle, int milliseconds, 
+    Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -&gt; SplashScreen</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="splashStyle" type="long" default=""/>
           <param name="milliseconds" type="int" default=""/>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP) -&gt; SplashScreen</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
           <param name="splashStyle" type="long" default=""/>
           <param name="milliseconds" type="int" default=""/>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/>
         </paramlist>
       </constructor>
       <method name="GetSplashStyle" type="long" overloaded="no">
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP"/>
         </paramlist>
       </constructor>
       <method name="GetSplashStyle" type="long" overloaded="no">
-        <autodoc>GetSplashStyle() -&gt; long</autodoc>
+        <autodoc>GetSplashStyle(self) -&gt; long</autodoc>
       </method>
       <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no">
       </method>
       <method name="GetSplashWindow" type="SplashScreenWindow" overloaded="no">
-        <autodoc>GetSplashWindow() -&gt; SplashScreenWindow</autodoc>
+        <autodoc>GetSplashWindow(self) -&gt; SplashScreenWindow</autodoc>
       </method>
       <method name="GetTimeout" type="int" overloaded="no">
       </method>
       <method name="GetTimeout" type="int" overloaded="no">
-        <autodoc>GetTimeout() -&gt; int</autodoc>
+        <autodoc>GetTimeout(self) -&gt; int</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="StatusBar" oldname="wxStatusBar" module="windows">
+    <class name="StatusBar" oldname="wxStatusBar" module="_windows">
       <baseclass name="Window"/>
       <constructor name="StatusBar" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="StatusBar" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, 
+        <autodoc>__init__(self, Window parent, int id=-1, long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE, 
     String name=StatusLineNameStr) -&gt; StatusBar</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=StatusLineNameStr) -&gt; StatusBar</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -11562,86 +13168,162 @@ the borders, scrollbars, other decorations...)</docstring>
         <autodoc>PreStatusBar() -&gt; StatusBar</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreStatusBar() -&gt; StatusBar</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, long style=ST_SIZEGRIP, String name=StatusLineNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="style" type="long" default="wxST_SIZEGRIP"/>
           <param name="name" type="String" default="wxPyStatusLineNameStr"/>
         </paramlist>
       </method>
       <method name="SetFieldsCount" type="" overloaded="no">
           <param name="style" type="long" default="wxST_SIZEGRIP"/>
           <param name="name" type="String" default="wxPyStatusLineNameStr"/>
         </paramlist>
       </method>
       <method name="SetFieldsCount" type="" overloaded="no">
-        <autodoc>SetFieldsCount(int number=1)</autodoc>
+        <autodoc>SetFieldsCount(self, int number=1)</autodoc>
         <paramlist>
           <param name="number" type="int" default="1"/>
         </paramlist>
       </method>
       <method name="GetFieldsCount" type="int" overloaded="no">
         <paramlist>
           <param name="number" type="int" default="1"/>
         </paramlist>
       </method>
       <method name="GetFieldsCount" type="int" overloaded="no">
-        <autodoc>GetFieldsCount() -&gt; int</autodoc>
+        <autodoc>GetFieldsCount(self) -&gt; int</autodoc>
       </method>
       <method name="SetStatusText" type="" overloaded="no">
       </method>
       <method name="SetStatusText" type="" overloaded="no">
-        <autodoc>SetStatusText(String text, int number=0)</autodoc>
+        <autodoc>SetStatusText(self, String text, int number=0)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetStatusText" type="String" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetStatusText" type="String" overloaded="no">
-        <autodoc>GetStatusText(int number=0) -&gt; String</autodoc>
+        <autodoc>GetStatusText(self, int number=0) -&gt; String</autodoc>
         <paramlist>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="PushStatusText" type="" overloaded="no">
         <paramlist>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="PushStatusText" type="" overloaded="no">
-        <autodoc>PushStatusText(String text, int number=0)</autodoc>
+        <autodoc>PushStatusText(self, String text, int number=0)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="PopStatusText" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="PopStatusText" type="" overloaded="no">
-        <autodoc>PopStatusText(int number=0)</autodoc>
+        <autodoc>PopStatusText(self, int number=0)</autodoc>
         <paramlist>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetStatusWidths" type="" overloaded="no">
         <paramlist>
           <param name="number" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetStatusWidths" type="" overloaded="no">
-        <autodoc>SetStatusWidths(int widths, int widths_field)</autodoc>
+        <autodoc>SetStatusWidths(self, int widths, int widths_field)</autodoc>
         <paramlist>
           <param name="widths" type="int" default=""/>
           <param name="widths_field" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="widths" type="int" default=""/>
           <param name="widths_field" type="int" default=""/>
         </paramlist>
       </method>
+      <method name="SetStatusStyles" type="" overloaded="no">
+        <autodoc>SetStatusStyles(self, int styles, int styles_field)</autodoc>
+        <paramlist>
+          <param name="styles" type="int" default=""/>
+          <param name="styles_field" type="int" default=""/>
+        </paramlist>
+      </method>
       <method name="GetFieldRect" type="Rect" overloaded="no">
       <method name="GetFieldRect" type="Rect" overloaded="no">
-        <autodoc>GetFieldRect(int i) -&gt; Rect</autodoc>
+        <autodoc>GetFieldRect(self, int i) -&gt; Rect</autodoc>
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinHeight" type="" overloaded="no">
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinHeight" type="" overloaded="no">
-        <autodoc>SetMinHeight(int height)</autodoc>
+        <autodoc>SetMinHeight(self, int height)</autodoc>
         <paramlist>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBorderX" type="int" overloaded="no">
         <paramlist>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBorderX" type="int" overloaded="no">
-        <autodoc>GetBorderX() -&gt; int</autodoc>
+        <autodoc>GetBorderX(self) -&gt; int</autodoc>
       </method>
       <method name="GetBorderY" type="int" overloaded="no">
       </method>
       <method name="GetBorderY" type="int" overloaded="no">
-        <autodoc>GetBorderY() -&gt; int</autodoc>
+        <autodoc>GetBorderY(self) -&gt; int</autodoc>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SplitterWindow" oldname="wxSplitterWindow" module="windows">
+    <class name="SplitterWindow" oldname="wxSplitterWindow" module="_windows">
+      <docstring>wx.SplitterWindow manages up to two subwindows or panes, with an
+optional vertical or horizontal split which can be used with the mouse
+or programmatically.
+
+Styles
+-------
+    ====================   ======================================
+    wx.SP_3D               Draws a 3D effect border and sash.
+    wx.SP_3DSASH           Draws a 3D effect sash.
+    wx.SP_3DBORDER         Synonym for wxSP_BORDER.
+    wx.SP_BORDER           Draws a standard border.
+    wx.SP_NOBORDER         No border (default).
+    wx.SP_NO_XP_THEME      Under Windows XP, switches off the
+                           attempt to draw the splitter
+                           using Windows XP theming, so the
+                           borders and sash will take on the
+                           pre-XP look.
+    wx.SP_PERMIT_UNSPLIT   Always allow to unsplit, even with
+                           the minimum pane size other than zero.
+    wx.SP_LIVE_UPDATE      Don't draw XOR line but resize the
+                           child windows immediately.
+    ====================   ======================================
+
+Events
+------
+    ==============================  =======================================
+    EVT_SPLITTER_SASH_POS_CHANGING  The sash position is in the
+                                    process of being changed. May be
+                                    used to modify the position of
+                                    the tracking bar to properly
+                                    reflect the position that would
+                                    be set if the drag were to be
+                                    completed at this point.
+
+    EVT_SPLITTER_SASH_POS_CHANGED
+                                    The sash position was
+                                    changed. May be used to modify
+                                    the sash position before it is
+                                    set, or to prevent the change
+                                    from taking place. 
+
+    EVT_SPLITTER_UNSPLIT            The splitter has been just unsplit.
+
+    EVT_SPLITTER_DCLICK             The sash was double clicked. The
+                                    default behaviour is to unsplit
+                                    the window when this happens
+                                    (unless the minimum pane size has
+                                    been set to a value greater than
+                                    zero.)
+    ==============================  =======================================
+
+</docstring>
       <baseclass name="Window"/>
       <constructor name="SplitterWindow" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="SplitterWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, 
-    long style=SP_3D, String name=SplitterNameStr) -&gt; SplitterWindow</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
+    Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -&gt; SplitterWindow</autodoc>
+        <docstring>Constructor.  Creates and shows a SplitterWindow.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSP_3D"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSP_3D"/>
@@ -11650,13 +13332,15 @@ the borders, scrollbars, other decorations...)</docstring>
       </constructor>
       <constructor name="PreSplitterWindow" overloaded="no">
         <autodoc>PreSplitterWindow() -&gt; SplitterWindow</autodoc>
       </constructor>
       <constructor name="PreSplitterWindow" overloaded="no">
         <autodoc>PreSplitterWindow() -&gt; SplitterWindow</autodoc>
+        <docstring>Precreate a SplitterWindow for 2-phase creation.</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, 
-    long style=SP_3D, String name=SplitterNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
+    Size size=DefaultSize, long style=SP_3D, String name=SplitterNameStr) -&gt; bool</autodoc>
+        <docstring>Create the GUI part of the SplitterWindow for the 2-phase create.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSP_3D"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSP_3D"/>
@@ -11664,28 +13348,55 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="GetWindow1" type="Window" overloaded="no">
         </paramlist>
       </method>
       <method name="GetWindow1" type="Window" overloaded="no">
-        <autodoc>GetWindow1() -&gt; Window</autodoc>
+        <autodoc>GetWindow1(self) -&gt; Window</autodoc>
+        <docstring>Gets the only or left/top pane.</docstring>
       </method>
       <method name="GetWindow2" type="Window" overloaded="no">
       </method>
       <method name="GetWindow2" type="Window" overloaded="no">
-        <autodoc>GetWindow2() -&gt; Window</autodoc>
+        <autodoc>GetWindow2(self) -&gt; Window</autodoc>
+        <docstring>Gets the right/bottom pane.</docstring>
       </method>
       <method name="SetSplitMode" type="" overloaded="no">
       </method>
       <method name="SetSplitMode" type="" overloaded="no">
-        <autodoc>SetSplitMode(int mode)</autodoc>
+        <autodoc>SetSplitMode(self, int mode)</autodoc>
+        <docstring>Sets the split mode.  The mode can be wx.SPLIT_VERTICAL or
+wx.SPLIT_HORIZONTAL.  This only sets the internal variable; does not
+update the display.</docstring>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSplitMode" type="wxSplitMode" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSplitMode" type="wxSplitMode" overloaded="no">
-        <autodoc>GetSplitMode() -&gt; int</autodoc>
+        <autodoc>GetSplitMode(self) -&gt; int</autodoc>
+        <docstring>Gets the split mode</docstring>
       </method>
       <method name="Initialize" type="" overloaded="no">
       </method>
       <method name="Initialize" type="" overloaded="no">
-        <autodoc>Initialize(Window window)</autodoc>
+        <autodoc>Initialize(self, Window window)</autodoc>
+        <docstring>Initializes the splitter window to have one pane.  This should be
+called if you wish to initially view only a single pane in the
+splitter window.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SplitVertically" type="bool" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="SplitVertically" type="bool" overloaded="no">
-        <autodoc>SplitVertically(Window window1, Window window2, int sashPosition=0) -&gt; bool</autodoc>
+        <autodoc>SplitVertically(self, Window window1, Window window2, int sashPosition=0) -&gt; bool</autodoc>
+        <docstring>Initializes the left and right panes of the splitter window.
+    :param window1:       The left pane.
+    :param window2:       The right pane.
+    :param sashPosition:  The initial position of the sash. If this
+                  value is positive, it specifies the size of the left
+                  pane. If it is negative, it is absolute value gives
+                  the size of the right pane. Finally, specify 0
+                  (default) to choose the default position (half of
+                  the total window width).
+
+Returns True if successful, False otherwise (the window was already
+split).
+
+SplitVertically should be called if you wish to initially view two
+panes. It can also be called at any subsequent time, but the
+application should check that the window is not currently split using
+IsSplit.
+</docstring>
         <paramlist>
           <param name="window1" type="Window" default=""/>
           <param name="window2" type="Window" default=""/>
         <paramlist>
           <param name="window1" type="Window" default=""/>
           <param name="window2" type="Window" default=""/>
@@ -11693,7 +13404,25 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="SplitHorizontally" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SplitHorizontally" type="bool" overloaded="no">
-        <autodoc>SplitHorizontally(Window window1, Window window2, int sashPosition=0) -&gt; bool</autodoc>
+        <autodoc>SplitHorizontally(self, Window window1, Window window2, int sashPosition=0) -&gt; bool</autodoc>
+        <docstring>Initializes the top and bottom panes of the splitter window.
+    :param window1:       The top pane.
+    :param window2:       The bottom pane.
+    :param sashPosition:  The initial position of the sash. If this
+                  value is positive, it specifies the size of the
+                  upper pane. If it is negative, it is absolute value
+                  gives the size of the lower pane. Finally, specify 0
+                  (default) to choose the default position (half of
+                  the total window height).
+
+Returns True if successful, False otherwise (the window was already
+split).
+
+SplitHorizontally should be called if you wish to initially view two
+panes. It can also be called at any subsequent time, but the
+application should check that the window is not currently split using
+IsSplit.
+</docstring>
         <paramlist>
           <param name="window1" type="Window" default=""/>
           <param name="window2" type="Window" default=""/>
         <paramlist>
           <param name="window1" type="Window" default=""/>
           <param name="window2" type="Window" default=""/>
@@ -11701,60 +13430,109 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="Unsplit" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Unsplit" type="bool" overloaded="no">
-        <autodoc>Unsplit(Window toRemove=None) -&gt; bool</autodoc>
+        <autodoc>Unsplit(self, Window toRemove=None) -&gt; bool</autodoc>
+        <docstring>Unsplits the window.  Pass the pane to remove, or None to remove the
+right or bottom pane.  Returns True if successful, False otherwise (the
+window was not split).
+
+This function will not actually delete the pane being
+removed; it sends EVT_SPLITTER_UNSPLIT which can be handled
+for the desired behaviour. By default, the pane being
+removed is only hidden.</docstring>
         <paramlist>
           <param name="toRemove" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="ReplaceWindow" type="bool" overloaded="no">
         <paramlist>
           <param name="toRemove" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="ReplaceWindow" type="bool" overloaded="no">
-        <autodoc>ReplaceWindow(Window winOld, Window winNew) -&gt; bool</autodoc>
+        <autodoc>ReplaceWindow(self, Window winOld, Window winNew) -&gt; bool</autodoc>
+        <docstring>This function replaces one of the windows managed by the
+SplitterWindow with another one. It is in general better to use it
+instead of calling Unsplit() and then resplitting the window back
+because it will provoke much less flicker. It is valid to call this
+function whether the splitter has two windows or only one.
+
+Both parameters should be non-None and winOld must specify one of the
+windows managed by the splitter. If the parameters are incorrect or
+the window couldn't be replaced, False is returned. Otherwise the
+function will return True, but please notice that it will not Destroy
+the replaced window and you may wish to do it yourself.</docstring>
         <paramlist>
           <param name="winOld" type="Window" default=""/>
           <param name="winNew" type="Window" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="winOld" type="Window" default=""/>
           <param name="winNew" type="Window" default=""/>
         </paramlist>
       </method>
+      <method name="UpdateSize" type="" overloaded="no">
+        <autodoc>UpdateSize(self)</autodoc>
+        <docstring>Causes any pending sizing of the sash and child panes to take place
+immediately.
+
+Such resizing normally takes place in idle time, in order to wait for
+layout to be completed. However, this can cause unacceptable flicker
+as the panes are resized after the window has been shown. To work
+around this, you can perform window layout (for example by sending a
+size event to the parent window), and then call this function, before
+showing the top-level window.</docstring>
+      </method>
       <method name="IsSplit" type="bool" overloaded="no">
       <method name="IsSplit" type="bool" overloaded="no">
-        <autodoc>IsSplit() -&gt; bool</autodoc>
+        <autodoc>IsSplit(self) -&gt; bool</autodoc>
+        <docstring>Is the window split?</docstring>
       </method>
       <method name="SetSashSize" type="" overloaded="no">
       </method>
       <method name="SetSashSize" type="" overloaded="no">
-        <autodoc>SetSashSize(int width)</autodoc>
+        <autodoc>SetSashSize(self, int width)</autodoc>
+        <docstring>Sets the sash size</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetBorderSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetBorderSize" type="" overloaded="no">
-        <autodoc>SetBorderSize(int width)</autodoc>
+        <autodoc>SetBorderSize(self, int width)</autodoc>
+        <docstring>Sets the border size</docstring>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSashSize" type="int" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSashSize" type="int" overloaded="no">
-        <autodoc>GetSashSize() -&gt; int</autodoc>
+        <autodoc>GetSashSize(self) -&gt; int</autodoc>
+        <docstring>Gets the sash size</docstring>
       </method>
       <method name="GetBorderSize" type="int" overloaded="no">
       </method>
       <method name="GetBorderSize" type="int" overloaded="no">
-        <autodoc>GetBorderSize() -&gt; int</autodoc>
+        <autodoc>GetBorderSize(self) -&gt; int</autodoc>
+        <docstring>Gets the border size</docstring>
       </method>
       <method name="SetSashPosition" type="" overloaded="no">
       </method>
       <method name="SetSashPosition" type="" overloaded="no">
-        <autodoc>SetSashPosition(int position, bool redraw=True)</autodoc>
+        <autodoc>SetSashPosition(self, int position, bool redraw=True)</autodoc>
+        <docstring>Sets the sash position, in pixels.  If redraw is Ttrue then the panes
+are resized and the sash and border are redrawn.</docstring>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="redraw" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetSashPosition" type="int" overloaded="no">
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="redraw" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetSashPosition" type="int" overloaded="no">
-        <autodoc>GetSashPosition() -&gt; int</autodoc>
+        <autodoc>GetSashPosition(self) -&gt; int</autodoc>
+        <docstring>Returns the surrent sash position.</docstring>
       </method>
       <method name="SetMinimumPaneSize" type="" overloaded="no">
       </method>
       <method name="SetMinimumPaneSize" type="" overloaded="no">
-        <autodoc>SetMinimumPaneSize(int min)</autodoc>
+        <autodoc>SetMinimumPaneSize(self, int min)</autodoc>
+        <docstring>Sets the minimum pane size in pixels.
+
+The default minimum pane size is zero, which means that either pane
+can be reduced to zero by dragging the sash, thus removing one of the
+panes. To prevent this behaviour (and veto out-of-range sash
+dragging), set a minimum size, for example 20 pixels. If the
+wx.SP_PERMIT_UNSPLIT style is used when a splitter window is created,
+the window may be unsplit even if minimum size is non-zero.</docstring>
         <paramlist>
           <param name="min" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMinimumPaneSize" type="int" overloaded="no">
         <paramlist>
           <param name="min" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMinimumPaneSize" type="int" overloaded="no">
-        <autodoc>GetMinimumPaneSize() -&gt; int</autodoc>
+        <autodoc>GetMinimumPaneSize(self) -&gt; int</autodoc>
+        <docstring>Gets the minimum pane size in pixels.</docstring>
       </method>
       <method name="SashHitTest" type="bool" overloaded="no">
       </method>
       <method name="SashHitTest" type="bool" overloaded="no">
-        <autodoc>SashHitTest(int x, int y, int tolerance=5) -&gt; bool</autodoc>
+        <autodoc>SashHitTest(self, int x, int y, int tolerance=5) -&gt; bool</autodoc>
+        <docstring>Tests for x, y over the sash</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -11762,44 +13540,77 @@ the borders, scrollbars, other decorations...)</docstring>
         </paramlist>
       </method>
       <method name="SizeWindows" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SizeWindows" type="" overloaded="no">
-        <autodoc>SizeWindows()</autodoc>
+        <autodoc>SizeWindows(self)</autodoc>
+        <docstring>Resizes subwindows</docstring>
       </method>
       <method name="SetNeedUpdating" type="" overloaded="no">
       </method>
       <method name="SetNeedUpdating" type="" overloaded="no">
-        <autodoc>SetNeedUpdating(bool needUpdating)</autodoc>
+        <autodoc>SetNeedUpdating(self, bool needUpdating)</autodoc>
         <paramlist>
           <param name="needUpdating" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetNeedUpdating" type="bool" overloaded="no">
         <paramlist>
           <param name="needUpdating" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetNeedUpdating" type="bool" overloaded="no">
-        <autodoc>GetNeedUpdating() -&gt; bool</autodoc>
+        <autodoc>GetNeedUpdating(self) -&gt; bool</autodoc>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     </class>
-    <class name="SplitterEvent" oldname="wxSplitterEvent" module="windows">
+    <class name="SplitterEvent" oldname="wxSplitterEvent" module="_windows">
+      <docstring>This class represents the events generated by a splitter control.</docstring>
       <baseclass name="NotifyEvent"/>
       <constructor name="SplitterEvent" overloaded="no">
       <baseclass name="NotifyEvent"/>
       <constructor name="SplitterEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -&gt; SplitterEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, SplitterWindow splitter=(wxSplitterWindow *) NULL) -&gt; SplitterEvent</autodoc>
+        <docstring>This class represents the events generated by a splitter control.</docstring>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/>
         </paramlist>
       </constructor>
       <method name="SetSashPosition" type="" overloaded="no">
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="splitter" type="SplitterWindow" default="(wxSplitterWindow *) NULL"/>
         </paramlist>
       </constructor>
       <method name="SetSashPosition" type="" overloaded="no">
-        <autodoc>SetSashPosition(int pos)</autodoc>
+        <autodoc>SetSashPosition(self, int pos)</autodoc>
+        <docstring>This funciton is only meaningful during EVT_SPLITTER_SASH_POS_CHANGING
+and EVT_SPLITTER_SASH_POS_CHANGED events.  In the case of _CHANGED
+events, sets the the new sash position. In the case of _CHANGING
+events, sets the new tracking bar position so visual feedback during
+dragging will represent that change that will actually take place. Set
+to -1 from the event handler code to prevent repositioning.</docstring>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSashPosition" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSashPosition" type="int" overloaded="no">
-        <autodoc>GetSashPosition() -&gt; int</autodoc>
+        <autodoc>GetSashPosition(self) -&gt; int</autodoc>
+        <docstring>Returns the new sash position while in EVT_SPLITTER_SASH_POS_CHANGING
+and EVT_SPLITTER_SASH_POS_CHANGED events.</docstring>
       </method>
       <method name="GetWindowBeingRemoved" type="Window" overloaded="no">
       </method>
       <method name="GetWindowBeingRemoved" type="Window" overloaded="no">
-        <autodoc>GetWindowBeingRemoved() -&gt; Window</autodoc>
+        <autodoc>GetWindowBeingRemoved(self) -&gt; Window</autodoc>
+        <docstring>Returns a pointer to the window being removed when a splitter window
+is unsplit.</docstring>
       </method>
       <method name="GetX" type="int" overloaded="no">
       </method>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
+        <docstring>Returns the x coordinate of the double-click point in a
+EVT_SPLITTER_DCLICK event.</docstring>
       </method>
       <method name="GetY" type="int" overloaded="no">
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
+        <docstring>Returns the y coordinate of the double-click point in a
+EVT_SPLITTER_DCLICK event.</docstring>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -11807,19 +13618,20 @@ EVT_SPLITTER_SASH_POS_CHANGED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_PO
 EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
 EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
 EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
 EVT_SPLITTER_SASH_POS_CHANGING = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 1 )
 EVT_SPLITTER_DOUBLECLICKED = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 1 )
 EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
+EVT_SPLITTER_DCLICK = EVT_SPLITTER_DOUBLECLICKED
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SashWindow" oldname="wxSashWindow" module="windows">
+    <class name="SashWindow" oldname="wxSashWindow" module="_windows">
       <baseclass name="Window"/>
       <constructor name="SashWindow" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="SashWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxCLIP_CHILDREN|wxSW_3D, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
     String name=SashNameStr) -&gt; SashWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=SashNameStr) -&gt; SashWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
@@ -11830,12 +13642,12 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         <autodoc>PreSashWindow() -&gt; SashWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreSashWindow() -&gt; SashWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxCLIP_CHILDREN|wxSW_3D, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
     String name=SashNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=SashNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
@@ -11843,93 +13655,93 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         </paramlist>
       </method>
       <method name="SetSashVisible" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSashVisible" type="" overloaded="no">
-        <autodoc>SetSashVisible(int edge, bool sash)</autodoc>
+        <autodoc>SetSashVisible(self, int edge, bool sash)</autodoc>
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
           <param name="sash" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetSashVisible" type="bool" overloaded="no">
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
           <param name="sash" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetSashVisible" type="bool" overloaded="no">
-        <autodoc>GetSashVisible(int edge) -&gt; bool</autodoc>
+        <autodoc>GetSashVisible(self, int edge) -&gt; bool</autodoc>
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="SetSashBorder" type="" overloaded="no">
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="SetSashBorder" type="" overloaded="no">
-        <autodoc>SetSashBorder(int edge, bool border)</autodoc>
+        <autodoc>SetSashBorder(self, int edge, bool border)</autodoc>
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
           <param name="border" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="HasBorder" type="bool" overloaded="no">
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
           <param name="border" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="HasBorder" type="bool" overloaded="no">
-        <autodoc>HasBorder(int edge) -&gt; bool</autodoc>
+        <autodoc>HasBorder(self, int edge) -&gt; bool</autodoc>
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeMargin" type="int" overloaded="no">
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeMargin" type="int" overloaded="no">
-        <autodoc>GetEdgeMargin(int edge) -&gt; int</autodoc>
+        <autodoc>GetEdgeMargin(self, int edge) -&gt; int</autodoc>
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultBorderSize" type="" overloaded="no">
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultBorderSize" type="" overloaded="no">
-        <autodoc>SetDefaultBorderSize(int width)</autodoc>
+        <autodoc>SetDefaultBorderSize(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultBorderSize" type="int" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultBorderSize" type="int" overloaded="no">
-        <autodoc>GetDefaultBorderSize() -&gt; int</autodoc>
+        <autodoc>GetDefaultBorderSize(self) -&gt; int</autodoc>
       </method>
       <method name="SetExtraBorderSize" type="" overloaded="no">
       </method>
       <method name="SetExtraBorderSize" type="" overloaded="no">
-        <autodoc>SetExtraBorderSize(int width)</autodoc>
+        <autodoc>SetExtraBorderSize(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetExtraBorderSize" type="int" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetExtraBorderSize" type="int" overloaded="no">
-        <autodoc>GetExtraBorderSize() -&gt; int</autodoc>
+        <autodoc>GetExtraBorderSize(self) -&gt; int</autodoc>
       </method>
       <method name="SetMinimumSizeX" type="" overloaded="no">
       </method>
       <method name="SetMinimumSizeX" type="" overloaded="no">
-        <autodoc>SetMinimumSizeX(int min)</autodoc>
+        <autodoc>SetMinimumSizeX(self, int min)</autodoc>
         <paramlist>
           <param name="min" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinimumSizeY" type="" overloaded="no">
         <paramlist>
           <param name="min" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinimumSizeY" type="" overloaded="no">
-        <autodoc>SetMinimumSizeY(int min)</autodoc>
+        <autodoc>SetMinimumSizeY(self, int min)</autodoc>
         <paramlist>
           <param name="min" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMinimumSizeX" type="int" overloaded="no">
         <paramlist>
           <param name="min" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMinimumSizeX" type="int" overloaded="no">
-        <autodoc>GetMinimumSizeX() -&gt; int</autodoc>
+        <autodoc>GetMinimumSizeX(self) -&gt; int</autodoc>
       </method>
       <method name="GetMinimumSizeY" type="int" overloaded="no">
       </method>
       <method name="GetMinimumSizeY" type="int" overloaded="no">
-        <autodoc>GetMinimumSizeY() -&gt; int</autodoc>
+        <autodoc>GetMinimumSizeY(self) -&gt; int</autodoc>
       </method>
       <method name="SetMaximumSizeX" type="" overloaded="no">
       </method>
       <method name="SetMaximumSizeX" type="" overloaded="no">
-        <autodoc>SetMaximumSizeX(int max)</autodoc>
+        <autodoc>SetMaximumSizeX(self, int max)</autodoc>
         <paramlist>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMaximumSizeY" type="" overloaded="no">
         <paramlist>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMaximumSizeY" type="" overloaded="no">
-        <autodoc>SetMaximumSizeY(int max)</autodoc>
+        <autodoc>SetMaximumSizeY(self, int max)</autodoc>
         <paramlist>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaximumSizeX" type="int" overloaded="no">
         <paramlist>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaximumSizeX" type="int" overloaded="no">
-        <autodoc>GetMaximumSizeX() -&gt; int</autodoc>
+        <autodoc>GetMaximumSizeX(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaximumSizeY" type="int" overloaded="no">
       </method>
       <method name="GetMaximumSizeY" type="int" overloaded="no">
-        <autodoc>GetMaximumSizeY() -&gt; int</autodoc>
+        <autodoc>GetMaximumSizeY(self) -&gt; int</autodoc>
       </method>
       <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no">
       </method>
       <method name="SashHitTest" type="wxSashEdgePosition" overloaded="no">
-        <autodoc>SashHitTest(int x, int y, int tolerance=2) -&gt; int</autodoc>
+        <autodoc>SashHitTest(self, int x, int y, int tolerance=2) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -11937,44 +13749,44 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         </paramlist>
       </method>
       <method name="SizeWindows" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SizeWindows" type="" overloaded="no">
-        <autodoc>SizeWindows()</autodoc>
+        <autodoc>SizeWindows(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="SashEvent" oldname="wxSashEvent" module="windows">
+    <class name="SashEvent" oldname="wxSashEvent" module="_windows">
       <baseclass name="CommandEvent"/>
       <constructor name="SashEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="SashEvent" overloaded="no">
-        <autodoc>__init__(int id=0, int edge=SASH_NONE) -&gt; SashEvent</autodoc>
+        <autodoc>__init__(self, int id=0, int edge=SASH_NONE) -&gt; SashEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/>
         </paramlist>
       </constructor>
       <method name="SetEdge" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="edge" type="wxSashEdgePosition" default="wxSASH_NONE"/>
         </paramlist>
       </constructor>
       <method name="SetEdge" type="" overloaded="no">
-        <autodoc>SetEdge(int edge)</autodoc>
+        <autodoc>SetEdge(self, int edge)</autodoc>
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="GetEdge" type="wxSashEdgePosition" overloaded="no">
         <paramlist>
           <param name="edge" type="wxSashEdgePosition" default=""/>
         </paramlist>
       </method>
       <method name="GetEdge" type="wxSashEdgePosition" overloaded="no">
-        <autodoc>GetEdge() -&gt; int</autodoc>
+        <autodoc>GetEdge(self) -&gt; int</autodoc>
       </method>
       <method name="SetDragRect" type="" overloaded="no">
       </method>
       <method name="SetDragRect" type="" overloaded="no">
-        <autodoc>SetDragRect(Rect rect)</autodoc>
+        <autodoc>SetDragRect(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="GetDragRect" type="Rect" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="GetDragRect" type="Rect" overloaded="no">
-        <autodoc>GetDragRect() -&gt; Rect</autodoc>
+        <autodoc>GetDragRect(self) -&gt; Rect</autodoc>
       </method>
       <method name="SetDragStatus" type="" overloaded="no">
       </method>
       <method name="SetDragStatus" type="" overloaded="no">
-        <autodoc>SetDragStatus(int status)</autodoc>
+        <autodoc>SetDragStatus(self, int status)</autodoc>
         <paramlist>
           <param name="status" type="wxSashDragStatus" default=""/>
         </paramlist>
       </method>
       <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no">
         <paramlist>
           <param name="status" type="wxSashDragStatus" default=""/>
         </paramlist>
       </method>
       <method name="GetDragStatus" type="wxSashDragStatus" overloaded="no">
-        <autodoc>GetDragStatus() -&gt; int</autodoc>
+        <autodoc>GetDragStatus(self) -&gt; int</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -11984,100 +13796,100 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="windows">
+    <class name="QueryLayoutInfoEvent" oldname="wxQueryLayoutInfoEvent" module="_windows">
       <baseclass name="Event"/>
       <constructor name="QueryLayoutInfoEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="QueryLayoutInfoEvent" overloaded="no">
-        <autodoc>__init__(int id=0) -&gt; QueryLayoutInfoEvent</autodoc>
+        <autodoc>__init__(self, int id=0) -&gt; QueryLayoutInfoEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetRequestedLength" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetRequestedLength" type="" overloaded="no">
-        <autodoc>SetRequestedLength(int length)</autodoc>
+        <autodoc>SetRequestedLength(self, int length)</autodoc>
         <paramlist>
           <param name="length" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRequestedLength" type="int" overloaded="no">
         <paramlist>
           <param name="length" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRequestedLength" type="int" overloaded="no">
-        <autodoc>GetRequestedLength() -&gt; int</autodoc>
+        <autodoc>GetRequestedLength(self) -&gt; int</autodoc>
       </method>
       <method name="SetFlags" type="" overloaded="no">
       </method>
       <method name="SetFlags" type="" overloaded="no">
-        <autodoc>SetFlags(int flags)</autodoc>
+        <autodoc>SetFlags(self, int flags)</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlags" type="int" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlags" type="int" overloaded="no">
-        <autodoc>GetFlags() -&gt; int</autodoc>
+        <autodoc>GetFlags(self) -&gt; int</autodoc>
       </method>
       <method name="SetSize" type="" overloaded="no">
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(Size size)</autodoc>
+        <autodoc>SetSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
       </method>
       <method name="SetOrientation" type="" overloaded="no">
-        <autodoc>SetOrientation(int orient)</autodoc>
+        <autodoc>SetOrientation(self, int orient)</autodoc>
         <paramlist>
           <param name="orient" type="wxLayoutOrientation" default=""/>
         </paramlist>
       </method>
       <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
         <paramlist>
           <param name="orient" type="wxLayoutOrientation" default=""/>
         </paramlist>
       </method>
       <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
-        <autodoc>GetOrientation() -&gt; int</autodoc>
+        <autodoc>GetOrientation(self) -&gt; int</autodoc>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
       </method>
       <method name="SetAlignment" type="" overloaded="no">
-        <autodoc>SetAlignment(int align)</autodoc>
+        <autodoc>SetAlignment(self, int align)</autodoc>
         <paramlist>
           <param name="align" type="wxLayoutAlignment" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
         <paramlist>
           <param name="align" type="wxLayoutAlignment" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
-        <autodoc>GetAlignment() -&gt; int</autodoc>
+        <autodoc>GetAlignment(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="windows">
+    <class name="CalculateLayoutEvent" oldname="wxCalculateLayoutEvent" module="_windows">
       <baseclass name="Event"/>
       <constructor name="CalculateLayoutEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="CalculateLayoutEvent" overloaded="no">
-        <autodoc>__init__(int id=0) -&gt; CalculateLayoutEvent</autodoc>
+        <autodoc>__init__(self, int id=0) -&gt; CalculateLayoutEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetFlags" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="SetFlags" type="" overloaded="no">
-        <autodoc>SetFlags(int flags)</autodoc>
+        <autodoc>SetFlags(self, int flags)</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlags" type="int" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFlags" type="int" overloaded="no">
-        <autodoc>GetFlags() -&gt; int</autodoc>
+        <autodoc>GetFlags(self) -&gt; int</autodoc>
       </method>
       <method name="SetRect" type="" overloaded="no">
       </method>
       <method name="SetRect" type="" overloaded="no">
-        <autodoc>SetRect(Rect rect)</autodoc>
+        <autodoc>SetRect(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="GetRect" type="Rect" overloaded="no">
-        <autodoc>GetRect() -&gt; Rect</autodoc>
+        <autodoc>GetRect(self) -&gt; Rect</autodoc>
       </method>
     </class>
     <pythoncode>
     EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
     EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
 </pythoncode>
       </method>
     </class>
     <pythoncode>
     EVT_QUERY_LAYOUT_INFO = wx.PyEventBinder( wxEVT_QUERY_LAYOUT_INFO )
     EVT_CALCULATE_LAYOUT = wx.PyEventBinder( wxEVT_CALCULATE_LAYOUT )
 </pythoncode>
-    <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="windows">
+    <class name="SashLayoutWindow" oldname="wxSashLayoutWindow" module="_windows">
       <baseclass name="SashWindow"/>
       <constructor name="SashLayoutWindow" overloaded="no">
       <baseclass name="SashWindow"/>
       <constructor name="SashLayoutWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxCLIP_CHILDREN|wxSW_3D, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
     String name=SashLayoutNameStr) -&gt; SashLayoutWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=SashLayoutNameStr) -&gt; SashLayoutWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
@@ -12088,12 +13900,12 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         <autodoc>PreSashLayoutWindow() -&gt; SashLayoutWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreSashLayoutWindow() -&gt; SashLayoutWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxCLIP_CHILDREN|wxSW_3D, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxSW_3D, 
     String name=SashLayoutNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=SashLayoutNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxSW_3D"/>
@@ -12101,54 +13913,54 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         </paramlist>
       </method>
       <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAlignment" type="wxLayoutAlignment" overloaded="no">
-        <autodoc>GetAlignment() -&gt; int</autodoc>
+        <autodoc>GetAlignment(self) -&gt; int</autodoc>
       </method>
       <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
       </method>
       <method name="GetOrientation" type="wxLayoutOrientation" overloaded="no">
-        <autodoc>GetOrientation() -&gt; int</autodoc>
+        <autodoc>GetOrientation(self) -&gt; int</autodoc>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
       </method>
       <method name="SetAlignment" type="" overloaded="no">
-        <autodoc>SetAlignment(int alignment)</autodoc>
+        <autodoc>SetAlignment(self, int alignment)</autodoc>
         <paramlist>
           <param name="alignment" type="wxLayoutAlignment" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultSize" type="" overloaded="no">
         <paramlist>
           <param name="alignment" type="wxLayoutAlignment" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultSize" type="" overloaded="no">
-        <autodoc>SetDefaultSize(Size size)</autodoc>
+        <autodoc>SetDefaultSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
-        <autodoc>SetOrientation(int orientation)</autodoc>
+        <autodoc>SetOrientation(self, int orientation)</autodoc>
         <paramlist>
           <param name="orientation" type="wxLayoutOrientation" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="orientation" type="wxLayoutOrientation" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="windows">
+    <class name="LayoutAlgorithm" oldname="wxLayoutAlgorithm" module="_windows">
       <baseclass name="Object"/>
       <constructor name="LayoutAlgorithm" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="LayoutAlgorithm" overloaded="no">
-        <autodoc>__init__() -&gt; LayoutAlgorithm</autodoc>
+        <autodoc>__init__(self) -&gt; LayoutAlgorithm</autodoc>
       </constructor>
       <destructor name="~wxLayoutAlgorithm" overloaded="no">
       </constructor>
       <destructor name="~wxLayoutAlgorithm" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="LayoutMDIFrame" type="bool" overloaded="no">
       </destructor>
       <method name="LayoutMDIFrame" type="bool" overloaded="no">
-        <autodoc>LayoutMDIFrame(MDIParentFrame frame, Rect rect=None) -&gt; bool</autodoc>
+        <autodoc>LayoutMDIFrame(self, MDIParentFrame frame, Rect rect=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="frame" type="wxMDIParentFrame" default=""/>
           <param name="rect" type="Rect" default="NULL"/>
         </paramlist>
       </method>
       <method name="LayoutFrame" type="bool" overloaded="no">
         <paramlist>
           <param name="frame" type="wxMDIParentFrame" default=""/>
           <param name="rect" type="Rect" default="NULL"/>
         </paramlist>
       </method>
       <method name="LayoutFrame" type="bool" overloaded="no">
-        <autodoc>LayoutFrame(Frame frame, Window mainWindow=None) -&gt; bool</autodoc>
+        <autodoc>LayoutFrame(self, Frame frame, Window mainWindow=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="frame" type="Frame" default=""/>
           <param name="mainWindow" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="LayoutWindow" type="bool" overloaded="no">
         <paramlist>
           <param name="frame" type="Frame" default=""/>
           <param name="mainWindow" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="LayoutWindow" type="bool" overloaded="no">
-        <autodoc>LayoutWindow(Window parent, Window mainWindow=None) -&gt; bool</autodoc>
+        <autodoc>LayoutWindow(self, Window parent, Window mainWindow=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="mainWindow" type="Window" default="NULL"/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="mainWindow" type="Window" default="NULL"/>
@@ -12158,10 +13970,10 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PopupWindow" oldname="wxPopupWindow" module="windows">
+    <class name="PopupWindow" oldname="wxPopupWindow" module="_windows">
       <baseclass name="Window"/>
       <constructor name="PopupWindow" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="PopupWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int flags=BORDER_NONE) -&gt; PopupWindow</autodoc>
+        <autodoc>__init__(self, Window parent, int flags=BORDER_NONE) -&gt; PopupWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="flags" type="int" default="wxBORDER_NONE"/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="flags" type="int" default="wxBORDER_NONE"/>
@@ -12171,14 +13983,14 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         <autodoc>PrePopupWindow() -&gt; PopupWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PrePopupWindow() -&gt; PopupWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int flags=BORDER_NONE) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int flags=BORDER_NONE) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="flags" type="int" default="wxBORDER_NONE"/>
         </paramlist>
       </method>
       <method name="Position" type="" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="flags" type="int" default="wxBORDER_NONE"/>
         </paramlist>
       </method>
       <method name="Position" type="" overloaded="no">
-        <autodoc>Position(Point ptOrigin, Size size)</autodoc>
+        <autodoc>Position(self, Point ptOrigin, Size size)</autodoc>
         <paramlist>
           <param name="ptOrigin" type="Point" default=""/>
           <param name="size" type="Size" default=""/>
         <paramlist>
           <param name="ptOrigin" type="Point" default=""/>
           <param name="size" type="Size" default=""/>
@@ -12188,10 +14000,10 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="windows">
+    <class name="PopupTransientWindow" oldname="wxPyPopupTransientWindow" module="_windows">
       <baseclass name="PopupWindow"/>
       <constructor name="wxPyPopupTransientWindow" overloaded="no">
       <baseclass name="PopupWindow"/>
       <constructor name="wxPyPopupTransientWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int style=BORDER_NONE) -&gt; PopupTransientWindow</autodoc>
+        <autodoc>__init__(self, Window parent, int style=BORDER_NONE) -&gt; PopupTransientWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="style" type="int" default="wxBORDER_NONE"/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="style" type="int" default="wxBORDER_NONE"/>
@@ -12201,29 +14013,29 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         <autodoc>PrePopupTransientWindow() -&gt; PopupTransientWindow</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <autodoc>PrePopupTransientWindow() -&gt; PopupTransientWindow</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Popup" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Popup" type="" overloaded="no">
-        <autodoc>Popup(Window focus=None)</autodoc>
+        <autodoc>Popup(self, Window focus=None)</autodoc>
         <paramlist>
           <param name="focus" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="Dismiss" type="" overloaded="no">
         <paramlist>
           <param name="focus" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="Dismiss" type="" overloaded="no">
-        <autodoc>Dismiss()</autodoc>
+        <autodoc>Dismiss(self)</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TipWindow" oldname="wxTipWindow" module="windows">
+    <class name="TipWindow" oldname="wxTipWindow" module="_windows">
       <baseclass name="PopupTransientWindow"/>
       <constructor name="TipWindow" overloaded="no">
       <baseclass name="PopupTransientWindow"/>
       <constructor name="TipWindow" overloaded="no">
-        <autodoc>__init__(Window parent, String text, int maxLength=100, Rect rectBound=None) -&gt; TipWindow</autodoc>
+        <autodoc>__init__(self, Window parent, String text, int maxLength=100, Rect rectBound=None) -&gt; TipWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="text" type="String" default=""/>
@@ -12232,22 +14044,22 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         </paramlist>
       </constructor>
       <method name="SetBoundingRect" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetBoundingRect" type="" overloaded="no">
-        <autodoc>SetBoundingRect(Rect rectBound)</autodoc>
+        <autodoc>SetBoundingRect(self, Rect rectBound)</autodoc>
         <paramlist>
           <param name="rectBound" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="Close" type="" overloaded="no">
         <paramlist>
           <param name="rectBound" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="Close" type="" overloaded="no">
-        <autodoc>Close()</autodoc>
+        <autodoc>Close(self)</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="windows">
+    <class name="VScrolledWindow" oldname="wxPyVScrolledWindow" module="_windows">
       <baseclass name="Panel"/>
       <constructor name="wxPyVScrolledWindow" overloaded="no">
       <baseclass name="Panel"/>
       <constructor name="wxPyVScrolledWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; VScrolledWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; VScrolledWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -12262,14 +14074,14 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         <autodoc>PreVScrolledWindow() -&gt; VScrolledWindow</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <autodoc>PreVScrolledWindow() -&gt; VScrolledWindow</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -12281,19 +14093,19 @@ EVT_SPLITTER_UNSPLIT = wx.PyEventBinder( wxEVT_COMMAND_SPLITTER_UNSPLIT, 1 )
         </paramlist>
       </method>
       <method name="SetLineCount" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetLineCount" type="" overloaded="no">
-        <autodoc>SetLineCount(size_t count)</autodoc>
+        <autodoc>SetLineCount(self, size_t count)</autodoc>
         <paramlist>
           <param name="count" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="ScrollToLine" type="bool" overloaded="no">
         <paramlist>
           <param name="count" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="ScrollToLine" type="bool" overloaded="no">
-        <autodoc>ScrollToLine(size_t line) -&gt; bool</autodoc>
+        <autodoc>ScrollToLine(self, size_t line) -&gt; bool</autodoc>
         <paramlist>
           <param name="line" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="ScrollLines" type="bool" overloaded="no">
         <paramlist>
           <param name="line" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="ScrollLines" type="bool" overloaded="no">
-        <autodoc>ScrollLines(int lines) -&gt; bool</autodoc>
+        <autodoc>ScrollLines(self, int lines) -&gt; bool</autodoc>
         <docstring>If the platform and window class supports it, scrolls the window by
 the given number of lines down, if lines is positive, or up if lines
 is negative.  Returns True if the window was scrolled, False if it was
         <docstring>If the platform and window class supports it, scrolls the window by
 the given number of lines down, if lines is positive, or up if lines
 is negative.  Returns True if the window was scrolled, False if it was
@@ -12303,8 +14115,8 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="ScrollPages" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="ScrollPages" type="bool" overloaded="no">
-        <autodoc>ScrollPages(int pages) -&gt; bool</autodoc>
-        <docstring>If the platform and window class supports it,  scrolls the window by
+        <autodoc>ScrollPages(self, int pages) -&gt; bool</autodoc>
+        <docstring>If the platform and window class supports it, scrolls the window by
 the given number of pages down, if pages is positive, or up if pages
 is negative.  Returns True if the window was scrolled, False if it was
 already on top/bottom and nothing was done.</docstring>
 the given number of pages down, if pages is positive, or up if pages
 is negative.  Returns True if the window was scrolled, False if it was
 already on top/bottom and nothing was done.</docstring>
@@ -12313,20 +14125,20 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="RefreshLine" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="RefreshLine" type="" overloaded="no">
-        <autodoc>RefreshLine(size_t line)</autodoc>
+        <autodoc>RefreshLine(self, size_t line)</autodoc>
         <paramlist>
           <param name="line" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="RefreshLines" type="" overloaded="no">
         <paramlist>
           <param name="line" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="RefreshLines" type="" overloaded="no">
-        <autodoc>RefreshLines(size_t from, size_t to)</autodoc>
+        <autodoc>RefreshLines(self, size_t from, size_t to)</autodoc>
         <paramlist>
           <param name="from" type="size_t" default=""/>
           <param name="to" type="size_t" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="from" type="size_t" default=""/>
           <param name="to" type="size_t" default=""/>
         </paramlist>
       </method>
-      <method name="HitTestXT" type="int" overloaded="no">
-        <autodoc>HitTestXT(int x, int y) -&gt; int</autodoc>
+      <method name="HitTestXY" type="int" overloaded="no">
+        <autodoc>HitTestXY(self, int x, int y) -&gt; int</autodoc>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
@@ -12334,35 +14146,35 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="HitTest" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="HitTest" type="int" overloaded="no">
-        <autodoc>HitTest(Point pt) -&gt; int</autodoc>
+        <autodoc>HitTest(self, Point pt) -&gt; int</autodoc>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="RefreshAll" type="" overloaded="no">
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="RefreshAll" type="" overloaded="no">
-        <autodoc>RefreshAll()</autodoc>
+        <autodoc>RefreshAll(self)</autodoc>
       </method>
       <method name="GetLineCount" type="size_t" overloaded="no">
       </method>
       <method name="GetLineCount" type="size_t" overloaded="no">
-        <autodoc>GetLineCount() -&gt; size_t</autodoc>
+        <autodoc>GetLineCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetFirstVisibleLine" type="size_t" overloaded="no">
       </method>
       <method name="GetFirstVisibleLine" type="size_t" overloaded="no">
-        <autodoc>GetFirstVisibleLine() -&gt; size_t</autodoc>
+        <autodoc>GetFirstVisibleLine(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetLastVisibleLine" type="size_t" overloaded="no">
       </method>
       <method name="GetLastVisibleLine" type="size_t" overloaded="no">
-        <autodoc>GetLastVisibleLine() -&gt; size_t</autodoc>
+        <autodoc>GetLastVisibleLine(self) -&gt; size_t</autodoc>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
-        <autodoc>IsVisible(size_t line) -&gt; bool</autodoc>
+        <autodoc>IsVisible(self, size_t line) -&gt; bool</autodoc>
         <paramlist>
           <param name="line" type="size_t" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="line" type="size_t" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="VListBox" oldname="wxPyVListBox" module="windows">
+    <class name="VListBox" oldname="wxPyVListBox" module="_windows">
       <baseclass name="VScrolledWindow"/>
       <constructor name="wxPyVListBox" overloaded="no">
       <baseclass name="VScrolledWindow"/>
       <constructor name="wxPyVListBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; VListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; VListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -12377,14 +14189,14 @@ already on top/bottom and nothing was done.</docstring>
         <autodoc>PreVListBox() -&gt; VListBox</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <autodoc>PreVListBox() -&gt; VListBox</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -12396,112 +14208,109 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="GetItemCount" type="size_t" overloaded="no">
         </paramlist>
       </method>
       <method name="GetItemCount" type="size_t" overloaded="no">
-        <autodoc>GetItemCount() -&gt; size_t</autodoc>
+        <autodoc>GetItemCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="HasMultipleSelection" type="bool" overloaded="no">
       </method>
       <method name="HasMultipleSelection" type="bool" overloaded="no">
-        <autodoc>HasMultipleSelection() -&gt; bool</autodoc>
+        <autodoc>HasMultipleSelection(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
       </method>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
       </method>
       <method name="IsCurrent" type="bool" overloaded="no">
       </method>
       <method name="IsCurrent" type="bool" overloaded="no">
-        <autodoc>IsCurrent(size_t item) -&gt; bool</autodoc>
+        <autodoc>IsCurrent(self, size_t item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
-        <autodoc>IsSelected(size_t item) -&gt; bool</autodoc>
+        <autodoc>IsSelected(self, size_t item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="item" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedCount" type="size_t" overloaded="no">
-        <autodoc>GetSelectedCount() -&gt; size_t</autodoc>
+        <autodoc>GetSelectedCount(self) -&gt; size_t</autodoc>
       </method>
       </method>
-      <method name="GetFirstSelected" type="int" overloaded="no">
-        <autodoc>GetFirstSelected(unsigned long cookie) -&gt; int</autodoc>
-        <paramlist>
-          <param name="cookie" type="unsigned long" default=""/>
-        </paramlist>
+      <method name="GetFirstSelected" type="PyObject" overloaded="no">
+        <autodoc>GetFirstSelected(self) -&gt; PyObject</autodoc>
       </method>
       </method>
-      <method name="GetNextSelected" type="int" overloaded="no">
-        <autodoc>GetNextSelected(unsigned long cookie) -&gt; int</autodoc>
+      <method name="GetNextSelected" type="PyObject" overloaded="no">
+        <autodoc>GetNextSelected(self, unsigned long cookie) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="cookie" type="unsigned long" default=""/>
         </paramlist>
       </method>
       <method name="GetMargins" type="Point" overloaded="no">
         <paramlist>
           <param name="cookie" type="unsigned long" default=""/>
         </paramlist>
       </method>
       <method name="GetMargins" type="Point" overloaded="no">
-        <autodoc>GetMargins() -&gt; Point</autodoc>
+        <autodoc>GetMargins(self) -&gt; Point</autodoc>
       </method>
       <method name="GetSelectionBackground" type="Colour" overloaded="no">
       </method>
       <method name="GetSelectionBackground" type="Colour" overloaded="no">
-        <autodoc>GetSelectionBackground() -&gt; Colour</autodoc>
+        <autodoc>GetSelectionBackground(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetItemCount" type="" overloaded="no">
       </method>
       <method name="SetItemCount" type="" overloaded="no">
-        <autodoc>SetItemCount(size_t count)</autodoc>
+        <autodoc>SetItemCount(self, size_t count)</autodoc>
         <paramlist>
           <param name="count" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         <paramlist>
           <param name="count" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="SetSelection" type="" overloaded="no">
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int selection)</autodoc>
+        <autodoc>SetSelection(self, int selection)</autodoc>
         <paramlist>
           <param name="selection" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Select" type="bool" overloaded="no">
         <paramlist>
           <param name="selection" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Select" type="bool" overloaded="no">
-        <autodoc>Select(size_t item, bool select=True) -&gt; bool</autodoc>
+        <autodoc>Select(self, size_t item, bool select=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="size_t" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SelectRange" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="size_t" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SelectRange" type="bool" overloaded="no">
-        <autodoc>SelectRange(size_t from, size_t to) -&gt; bool</autodoc>
+        <autodoc>SelectRange(self, size_t from, size_t to) -&gt; bool</autodoc>
         <paramlist>
           <param name="from" type="size_t" default=""/>
           <param name="to" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
         <paramlist>
           <param name="from" type="size_t" default=""/>
           <param name="to" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
-        <autodoc>Toggle(size_t item)</autodoc>
+        <autodoc>Toggle(self, size_t item)</autodoc>
         <paramlist>
           <param name="item" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="bool" overloaded="no">
-        <autodoc>SelectAll() -&gt; bool</autodoc>
+        <autodoc>SelectAll(self) -&gt; bool</autodoc>
       </method>
       <method name="DeselectAll" type="bool" overloaded="no">
       </method>
       <method name="DeselectAll" type="bool" overloaded="no">
-        <autodoc>DeselectAll() -&gt; bool</autodoc>
+        <autodoc>DeselectAll(self) -&gt; bool</autodoc>
       </method>
       <method name="SetMargins" type="" overloaded="no">
       </method>
       <method name="SetMargins" type="" overloaded="no">
-        <autodoc>SetMargins(Point pt)</autodoc>
+        <autodoc>SetMargins(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginsXY" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginsXY" type="" overloaded="no">
-        <autodoc>SetMarginsXY(int x, int y)</autodoc>
+        <autodoc>SetMarginsXY(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionBackground" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionBackground" type="" overloaded="no">
-        <autodoc>SetSelectionBackground(Colour col)</autodoc>
+        <autodoc>SetSelectionBackground(self, Colour col)</autodoc>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="windows">
+    <class name="HtmlListBox" oldname="wxPyHtmlListBox" module="_windows">
       <baseclass name="VListBox"/>
       <constructor name="wxPyHtmlListBox" overloaded="no">
       <baseclass name="VListBox"/>
       <constructor name="wxPyHtmlListBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; HtmlListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; HtmlListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -12516,14 +14325,14 @@ already on top/bottom and nothing was done.</docstring>
         <autodoc>PreHtmlListBox() -&gt; HtmlListBox</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <autodoc>PreHtmlListBox() -&gt; HtmlListBox</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -12535,53 +14344,60 @@ already on top/bottom and nothing was done.</docstring>
         </paramlist>
       </method>
       <method name="RefreshAll" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="RefreshAll" type="" overloaded="no">
-        <autodoc>RefreshAll()</autodoc>
+        <autodoc>RefreshAll(self)</autodoc>
       </method>
       <method name="SetItemCount" type="" overloaded="no">
       </method>
       <method name="SetItemCount" type="" overloaded="no">
-        <autodoc>SetItemCount(size_t count)</autodoc>
+        <autodoc>SetItemCount(self, size_t count)</autodoc>
         <paramlist>
           <param name="count" type="size_t" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="count" type="size_t" default=""/>
         </paramlist>
       </method>
+      <method name="GetFileSystem" type="FileSystem" overloaded="no">
+        <autodoc>GetFileSystem(self) -&gt; FileSystem</autodoc>
+      </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="windows">
+    <class name="TaskBarIcon" oldname="wxTaskBarIcon" module="_windows">
       <baseclass name="EvtHandler"/>
       <constructor name="TaskBarIcon" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="TaskBarIcon" overloaded="no">
-        <autodoc>__init__() -&gt; TaskBarIcon</autodoc>
+        <autodoc>__init__(self) -&gt; TaskBarIcon</autodoc>
       </constructor>
       <destructor name="~wxTaskBarIcon" overloaded="no">
       </constructor>
       <destructor name="~wxTaskBarIcon" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       </destructor>
+      <method name="Destroy" type="" overloaded="no">
+        <autodoc>Destroy(self)</autodoc>
+        <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
+      </method>
       <method name="IsOk" type="bool" overloaded="no">
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="IsIconInstalled" type="bool" overloaded="no">
       </method>
       <method name="IsIconInstalled" type="bool" overloaded="no">
-        <autodoc>IsIconInstalled() -&gt; bool</autodoc>
+        <autodoc>IsIconInstalled(self) -&gt; bool</autodoc>
       </method>
       <method name="SetIcon" type="bool" overloaded="no">
       </method>
       <method name="SetIcon" type="bool" overloaded="no">
-        <autodoc>SetIcon(Icon icon, String tooltip=EmptyString) -&gt; bool</autodoc>
+        <autodoc>SetIcon(self, Icon icon, String tooltip=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
           <param name="tooltip" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="RemoveIcon" type="bool" overloaded="no">
         <paramlist>
           <param name="icon" type="Icon" default=""/>
           <param name="tooltip" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="RemoveIcon" type="bool" overloaded="no">
-        <autodoc>RemoveIcon() -&gt; bool</autodoc>
+        <autodoc>RemoveIcon(self) -&gt; bool</autodoc>
       </method>
       <method name="PopupMenu" type="bool" overloaded="no">
       </method>
       <method name="PopupMenu" type="bool" overloaded="no">
-        <autodoc>PopupMenu(Menu menu) -&gt; bool</autodoc>
+        <autodoc>PopupMenu(self, Menu menu) -&gt; bool</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="windows">
+    <class name="TaskBarIconEvent" oldname="wxTaskBarIconEvent" module="_windows">
       <baseclass name="Event"/>
       <constructor name="TaskBarIconEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="TaskBarIconEvent" overloaded="no">
-        <autodoc>__init__(wxEventType evtType, TaskBarIcon tbIcon) -&gt; TaskBarIconEvent</autodoc>
+        <autodoc>__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -&gt; TaskBarIconEvent</autodoc>
         <paramlist>
           <param name="evtType" type="wxEventType" default=""/>
           <param name="tbIcon" type="TaskBarIcon" default=""/>
         <paramlist>
           <param name="evtType" type="wxEventType" default=""/>
           <param name="tbIcon" type="TaskBarIcon" default=""/>
@@ -12600,98 +14416,102 @@ EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ColourData" oldname="wxColourData" module="windows">
-      <docstring>This class holds a variety of information related to colour dialogs.</docstring>
+    <class name="ColourData" oldname="wxColourData" module="_windows">
+      <docstring>This class holds a variety of information related to the colour
+chooser dialog, used to transfer settings and results to and from the
+`wx.ColourDialog`.</docstring>
       <baseclass name="Object"/>
       <constructor name="ColourData" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="ColourData" overloaded="no">
-        <autodoc>__init__() -&gt; ColourData</autodoc>
+        <autodoc>__init__(self) -&gt; ColourData</autodoc>
         <docstring>Constructor, sets default values.</docstring>
       </constructor>
       <destructor name="~wxColourData" overloaded="no">
         <docstring>Constructor, sets default values.</docstring>
       </constructor>
       <destructor name="~wxColourData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetChooseFull" type="bool" overloaded="no">
       </destructor>
       <method name="GetChooseFull" type="bool" overloaded="no">
-        <autodoc>GetChooseFull() -&gt; bool</autodoc>
-        <docstring>Under Windows, determines whether the Windows colour dialog will display
-the full dialog with custom colour selection controls. Has no meaning
-under other platforms.  The default value is true.</docstring>
+        <autodoc>GetChooseFull(self) -&gt; bool</autodoc>
+        <docstring>Under Windows, determines whether the Windows colour dialog will
+display the full dialog with custom colour selection controls. Has no
+meaning under other platforms.  The default value is true.</docstring>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
-        <autodoc>GetColour() -&gt; Colour</autodoc>
+        <autodoc>GetColour(self) -&gt; Colour</autodoc>
         <docstring>Gets the colour (pre)selected by the dialog.</docstring>
       </method>
       <method name="GetCustomColour" type="Colour" overloaded="no">
         <docstring>Gets the colour (pre)selected by the dialog.</docstring>
       </method>
       <method name="GetCustomColour" type="Colour" overloaded="no">
-        <autodoc>GetCustomColour(int i) -&gt; Colour</autodoc>
-        <docstring>Gets the i'th custom colour associated with the colour dialog. i should
-be an integer between 0 and 15. The default custom colours are all white.</docstring>
+        <autodoc>GetCustomColour(self, int i) -&gt; Colour</autodoc>
+        <docstring>Gets the i'th custom colour associated with the colour dialog. i
+should be an integer between 0 and 15. The default custom colours are
+all invalid colours.</docstring>
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetChooseFull" type="" overloaded="no">
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetChooseFull" type="" overloaded="no">
-        <autodoc>SetChooseFull(int flag)</autodoc>
-        <docstring>Under Windows, tells the Windows colour dialog to display the full dialog
-with custom colour selection controls. Under other platforms, has no effect.
-The default value is true.</docstring>
+        <autodoc>SetChooseFull(self, int flag)</autodoc>
+        <docstring>Under Windows, tells the Windows colour dialog to display the full
+dialog with custom colour selection controls. Under other platforms,
+has no effect.  The default value is true.</docstring>
         <paramlist>
           <param name="flag" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(Colour colour)</autodoc>
-        <docstring>Sets the default colour for the colour dialog.  The default colour is black.</docstring>
+        <autodoc>SetColour(self, Colour colour)</autodoc>
+        <docstring>Sets the default colour for the colour dialog.  The default colour is
+black.</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCustomColour" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCustomColour" type="" overloaded="no">
-        <autodoc>SetCustomColour(int i, Colour colour)</autodoc>
-        <docstring>Sets the i'th custom colour for the colour dialog. i should be an integer
-between 0 and 15. The default custom colours are all white.</docstring>
+        <autodoc>SetCustomColour(self, int i, Colour colour)</autodoc>
+        <docstring>Sets the i'th custom colour for the colour dialog. i should be an
+integer between 0 and 15. The default custom colours are all invalid colours.</docstring>
         <paramlist>
           <param name="i" type="int" default=""/>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="i" type="int" default=""/>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="ColourDialog" oldname="wxColourDialog" module="windows">
+    <class name="ColourDialog" oldname="wxColourDialog" module="_windows">
       <docstring>This class represents the colour chooser dialog.</docstring>
       <baseclass name="Dialog"/>
       <constructor name="ColourDialog" overloaded="no">
       <docstring>This class represents the colour chooser dialog.</docstring>
       <baseclass name="Dialog"/>
       <constructor name="ColourDialog" overloaded="no">
-        <autodoc>__init__(Window parent, ColourData data=None) -&gt; ColourDialog</autodoc>
-        <docstring>Constructor. Pass a parent window, and optionally a ColourData, which
-will be copied to the colour dialog's internal ColourData instance.</docstring>
+        <autodoc>__init__(self, Window parent, ColourData data=None) -&gt; ColourDialog</autodoc>
+        <docstring>Constructor. Pass a parent window, and optionally a `wx.ColourData`,
+which will be copied to the colour dialog's internal ColourData
+instance.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="ColourData" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetColourData" type="ColourData" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="ColourData" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetColourData" type="ColourData" overloaded="no">
-        <autodoc>GetColourData() -&gt; ColourData</autodoc>
-        <docstring>Returns a reference to the ColourData used by the dialog.</docstring>
-      </method>
-    </class>
-    <class name="DirDialog" oldname="wxDirDialog" module="windows">
-      <docstring>This class represents the directory chooser dialog.</docstring>
-      <refdoc>
- Styles
-    wxDD_NEW_DIR_BUTTON     Add "Create new directory" button and allow
-                            directory names to be editable. On Windows the new
-                            directory button is only available with recent
-                            versions of the common dialogs.</refdoc>
+        <autodoc>GetColourData(self) -&gt; ColourData</autodoc>
+        <docstring>Returns a reference to the `wx.ColourData` used by the dialog.</docstring>
+      </method>
+    </class>
+    <class name="DirDialog" oldname="wxDirDialog" module="_windows">
+      <docstring>wx.DirDialog allows the user to select a directory by browising the
+file system.
+
+Window  Styles
+--------------
+    ====================  ==========================================
+    wx.DD_NEW_DIR_BUTTON  Add 'Create new directory' button and allow
+                          directory names to be editable. On Windows
+                          the new directory button is only available
+                          with recent versions of the common dialogs.
+    ====================  ==========================================
+</docstring>
       <baseclass name="Dialog"/>
       <constructor name="DirDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="DirDialog" overloaded="no">
-        <autodoc>__init__(Window parent, String message=DirSelectorPromptStr, 
+        <autodoc>__init__(self, Window parent, String message=DirSelectorPromptStr, 
     String defaultPath=EmptyString, long style=0, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     String name=DirDialogNameStr) -&gt; DirDialog</autodoc>
         <docstring>Constructor.  Use ShowModal method to show the dialog.</docstring>
     String defaultPath=EmptyString, long style=0, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     String name=DirDialogNameStr) -&gt; DirDialog</autodoc>
         <docstring>Constructor.  Use ShowModal method to show the dialog.</docstring>
-        <refdoc>
- Styles
-    wxDD_NEW_DIR_BUTTON     Add "Create new directory" button and allow
-                            directory names to be editable. On Windows the new
-                            directory button is only available with recent
-                            versions of the common dialogs.</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="message" type="String" default="wxPyDirSelectorPromptStr"/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="message" type="String" default="wxPyDirSelectorPromptStr"/>
@@ -12703,107 +14523,81 @@ will be copied to the colour dialog's internal ColourData instance.</docstring>
         </paramlist>
       </constructor>
       <method name="GetPath" type="String" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetPath" type="String" overloaded="no">
-        <autodoc>GetPath() -&gt; String</autodoc>
+        <autodoc>GetPath(self) -&gt; String</autodoc>
         <docstring>Returns the default or user-selected path.</docstring>
       </method>
       <method name="GetMessage" type="String" overloaded="no">
         <docstring>Returns the default or user-selected path.</docstring>
       </method>
       <method name="GetMessage" type="String" overloaded="no">
-        <autodoc>GetMessage() -&gt; String</autodoc>
+        <autodoc>GetMessage(self) -&gt; String</autodoc>
         <docstring>Returns the message that will be displayed on the dialog.</docstring>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
         <docstring>Returns the message that will be displayed on the dialog.</docstring>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
-        <autodoc>GetStyle() -&gt; long</autodoc>
+        <autodoc>GetStyle(self) -&gt; long</autodoc>
         <docstring>Returns the dialog style.</docstring>
       </method>
       <method name="SetMessage" type="" overloaded="no">
         <docstring>Returns the dialog style.</docstring>
       </method>
       <method name="SetMessage" type="" overloaded="no">
-        <autodoc>SetMessage(String message)</autodoc>
+        <autodoc>SetMessage(self, String message)</autodoc>
         <docstring>Sets the message that will be displayed on the dialog.</docstring>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPath" type="" overloaded="no">
         <docstring>Sets the message that will be displayed on the dialog.</docstring>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPath" type="" overloaded="no">
-        <autodoc>SetPath(String path)</autodoc>
+        <autodoc>SetPath(self, String path)</autodoc>
         <docstring>Sets the default path.</docstring>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <docstring>Sets the default path.</docstring>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FileDialog" oldname="wxFileDialog" module="windows">
-      <docstring>This class represents the file chooser dialog.</docstring>
-      <refdoc>
-In Windows, this is the common file selector dialog. In X, this is a file
-selector box with somewhat less functionality. The path and filename are
-distinct elements of a full file pathname. If path is "", the current
-directory will be used. If filename is "", no default filename will be
-supplied. The wildcard determines what files are displayed in the file
-selector, and file extension supplies a type extension for the required
-filename.
+    <class name="FileDialog" oldname="wxFileDialog" module="_windows">
+      <docstring>wx.FileDialog allows the user to select one or more files from the
+filesystem.
 
 
-Both the X and Windows versions implement a wildcard filter. Typing a filename
-containing wildcards (*, ?) in the filename text item, and clicking on Ok,
-will result in only those files matching the pattern being displayed. The
-wildcard may be a specification for multiple types of file with a description
-for each, such as:
+In Windows, this is the common file selector dialog. On X based
+platforms a generic alternative is used.  The path and filename are
+distinct elements of a full file pathname. If path is "", the
+current directory will be used. If filename is "", no default
+filename will be supplied. The wildcard determines what files are
+displayed in the file selector, and file extension supplies a type
+extension for the required filename.
+
+Both the X and Windows versions implement a wildcard filter. Typing a
+filename containing wildcards (\\*, ?) in the filename text item, and
+clicking on Ok, will result in only those files matching the pattern
+being displayed. The wildcard may be a specification for multiple
+types of file with a description for each, such as::
 
    "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
 
 
    "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
 
- Styles
-    wx.OPEN              This is an open dialog.
 
 
-    wx.SAVE              This is a save dialog.
+Window  Styles
+--------------
+    ===================   ==========================================
+    wx.OPEN               This is an open dialog.
+
+    wx.SAVE               This is a save dialog.
 
 
-    wx.HIDE_READONLY     For open dialog only: hide the checkbox allowing to
-                         open the file in read-only mode.
+    wx.HIDE_READONLY      For open dialog only: hide the checkbox
+                          allowing to open the file in read-only mode.
 
 
-    wx.OVERWRITE_PROMPT  For save dialog only: prompt for a confirmation if a
-                         file will be overwritten.
+    wx.OVERWRITE_PROMPT   For save dialog only: prompt for a confirmation
+                          if a file will be overwritten.
 
 
-    wx.MULTIPLE          For open dialog only: allows selecting multiple files.
+    wx.MULTIPLE           For open dialog only: allows selecting multiple
+                          files.
 
 
-    wx.CHANGE_DIR        Change the current working directory to the directory
-                         where the file(s) chosen by the user are.
-</refdoc>
+    wx.CHANGE_DIR         Change the current working directory to the
+                          directory  where the file(s) chosen by the user
+                          are.
+    ===================   ==========================================
+</docstring>
       <baseclass name="Dialog"/>
       <constructor name="FileDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="FileDialog" overloaded="no">
-        <autodoc>__init__(Window parent, String message=FileSelectorPromptStr, 
+        <autodoc>__init__(self, Window parent, String message=FileSelectorPromptStr, 
     String defaultDir=EmptyString, String defaultFile=EmptyString, 
     String wildcard=FileSelectorDefaultWildcardStr, 
     long style=0, Point pos=DefaultPosition) -&gt; FileDialog</autodoc>
         <docstring>Constructor.  Use ShowModal method to show the dialog.</docstring>
     String defaultDir=EmptyString, String defaultFile=EmptyString, 
     String wildcard=FileSelectorDefaultWildcardStr, 
     long style=0, Point pos=DefaultPosition) -&gt; FileDialog</autodoc>
         <docstring>Constructor.  Use ShowModal method to show the dialog.</docstring>
-        <refdoc>
-In Windows, this is the common file selector dialog. In X, this is a file
-selector box with somewhat less functionality. The path and filename are
-distinct elements of a full file pathname. If path is "", the current
-directory will be used. If filename is "", no default filename will be
-supplied. The wildcard determines what files are displayed in the file
-selector, and file extension supplies a type extension for the required
-filename.
-
-Both the X and Windows versions implement a wildcard filter. Typing a filename
-containing wildcards (*, ?) in the filename text item, and clicking on Ok,
-will result in only those files matching the pattern being displayed. The
-wildcard may be a specification for multiple types of file with a description
-for each, such as:
-
-   "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
-
- Styles
-    wx.OPEN              This is an open dialog.
-
-    wx.SAVE              This is a save dialog.
-
-    wx.HIDE_READONLY     For open dialog only: hide the checkbox allowing to
-                         open the file in read-only mode.
-
-    wx.OVERWRITE_PROMPT  For save dialog only: prompt for a confirmation if a
-                         file will be overwritten.
-
-    wx.MULTIPLE          For open dialog only: allows selecting multiple files.
-
-    wx.CHANGE_DIR        Change the current working directory to the directory
-                         where the file(s) chosen by the user are.
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="message" type="String" default="wxPyFileSelectorPromptStr"/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="message" type="String" default="wxPyFileSelectorPromptStr"/>
@@ -12815,101 +14609,104 @@ for each, such as:
         </paramlist>
       </constructor>
       <method name="SetMessage" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetMessage" type="" overloaded="no">
-        <autodoc>SetMessage(String message)</autodoc>
+        <autodoc>SetMessage(self, String message)</autodoc>
         <docstring>Sets the message that will be displayed on the dialog.</docstring>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPath" type="" overloaded="no">
         <docstring>Sets the message that will be displayed on the dialog.</docstring>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPath" type="" overloaded="no">
-        <autodoc>SetPath(String path)</autodoc>
-        <docstring>Sets the path (the combined directory and filename that will
-be returned when the dialog is dismissed).</docstring>
+        <autodoc>SetPath(self, String path)</autodoc>
+        <docstring>Sets the path (the combined directory and filename that will be
+returned when the dialog is dismissed).</docstring>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetDirectory" type="" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetDirectory" type="" overloaded="no">
-        <autodoc>SetDirectory(String dir)</autodoc>
+        <autodoc>SetDirectory(self, String dir)</autodoc>
         <docstring>Sets the default directory.</docstring>
         <paramlist>
           <param name="dir" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFilename" type="" overloaded="no">
         <docstring>Sets the default directory.</docstring>
         <paramlist>
           <param name="dir" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFilename" type="" overloaded="no">
-        <autodoc>SetFilename(String name)</autodoc>
+        <autodoc>SetFilename(self, String name)</autodoc>
         <docstring>Sets the default filename.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetWildcard" type="" overloaded="no">
         <docstring>Sets the default filename.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetWildcard" type="" overloaded="no">
-        <autodoc>SetWildcard(String wildCard)</autodoc>
-        <docstring>Sets the wildcard, which can contain multiple file types, for example:
-    "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"</docstring>
+        <autodoc>SetWildcard(self, String wildCard)</autodoc>
+        <docstring>Sets the wildcard, which can contain multiple file types, for
+example::
+
+    "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
+</docstring>
         <paramlist>
           <param name="wildCard" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
         <paramlist>
           <param name="wildCard" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(long style)</autodoc>
+        <autodoc>SetStyle(self, long style)</autodoc>
         <docstring>Sets the dialog style.</docstring>
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetFilterIndex" type="" overloaded="no">
         <docstring>Sets the dialog style.</docstring>
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetFilterIndex" type="" overloaded="no">
-        <autodoc>SetFilterIndex(int filterIndex)</autodoc>
+        <autodoc>SetFilterIndex(self, int filterIndex)</autodoc>
         <docstring>Sets the default filter index, starting from zero.</docstring>
         <paramlist>
           <param name="filterIndex" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMessage" type="String" overloaded="no">
         <docstring>Sets the default filter index, starting from zero.</docstring>
         <paramlist>
           <param name="filterIndex" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMessage" type="String" overloaded="no">
-        <autodoc>GetMessage() -&gt; String</autodoc>
+        <autodoc>GetMessage(self) -&gt; String</autodoc>
         <docstring>Returns the message that will be displayed on the dialog.</docstring>
       </method>
       <method name="GetPath" type="String" overloaded="no">
         <docstring>Returns the message that will be displayed on the dialog.</docstring>
       </method>
       <method name="GetPath" type="String" overloaded="no">
-        <autodoc>GetPath() -&gt; String</autodoc>
+        <autodoc>GetPath(self) -&gt; String</autodoc>
         <docstring>Returns the full path (directory and filename) of the selected file.</docstring>
       </method>
       <method name="GetDirectory" type="String" overloaded="no">
         <docstring>Returns the full path (directory and filename) of the selected file.</docstring>
       </method>
       <method name="GetDirectory" type="String" overloaded="no">
-        <autodoc>GetDirectory() -&gt; String</autodoc>
+        <autodoc>GetDirectory(self) -&gt; String</autodoc>
         <docstring>Returns the default directory.</docstring>
       </method>
       <method name="GetFilename" type="String" overloaded="no">
         <docstring>Returns the default directory.</docstring>
       </method>
       <method name="GetFilename" type="String" overloaded="no">
-        <autodoc>GetFilename() -&gt; String</autodoc>
+        <autodoc>GetFilename(self) -&gt; String</autodoc>
         <docstring>Returns the default filename.</docstring>
       </method>
       <method name="GetWildcard" type="String" overloaded="no">
         <docstring>Returns the default filename.</docstring>
       </method>
       <method name="GetWildcard" type="String" overloaded="no">
-        <autodoc>GetWildcard() -&gt; String</autodoc>
+        <autodoc>GetWildcard(self) -&gt; String</autodoc>
         <docstring>Returns the file dialog wildcard.</docstring>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
         <docstring>Returns the file dialog wildcard.</docstring>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
-        <autodoc>GetStyle() -&gt; long</autodoc>
+        <autodoc>GetStyle(self) -&gt; long</autodoc>
         <docstring>Returns the dialog style.</docstring>
       </method>
       <method name="GetFilterIndex" type="int" overloaded="no">
         <docstring>Returns the dialog style.</docstring>
       </method>
       <method name="GetFilterIndex" type="int" overloaded="no">
-        <autodoc>GetFilterIndex() -&gt; int</autodoc>
+        <autodoc>GetFilterIndex(self) -&gt; int</autodoc>
         <docstring>Returns the index into the list of filters supplied, optionally, in
 the wildcard parameter. Before the dialog is shown, this is the index
         <docstring>Returns the index into the list of filters supplied, optionally, in
 the wildcard parameter. Before the dialog is shown, this is the index
-which will be used when the dialog is first displayed. After the dialog
-is shown, this is the index selected by the user.</docstring>
+which will be used when the dialog is first displayed. After the
+dialog is shown, this is the index selected by the user.</docstring>
       </method>
       <method name="GetFilenames" type="PyObject" overloaded="no">
       </method>
       <method name="GetFilenames" type="PyObject" overloaded="no">
-        <autodoc>GetFilenames() -&gt; PyObject</autodoc>
-        <docstring>Returns a list of filenames chosen in the dialog.  This function should
-only be used with the dialogs which have wx.MULTIPLE style, use
+        <autodoc>GetFilenames(self) -&gt; PyObject</autodoc>
+        <docstring>Returns a list of filenames chosen in the dialog.  This function
+should only be used with the dialogs which have wx.MULTIPLE style, use
 GetFilename for the others.</docstring>
       </method>
       <method name="GetPaths" type="PyObject" overloaded="no">
 GetFilename for the others.</docstring>
       </method>
       <method name="GetPaths" type="PyObject" overloaded="no">
-        <autodoc>GetPaths() -&gt; PyObject</autodoc>
+        <autodoc>GetPaths(self) -&gt; PyObject</autodoc>
         <docstring>Fills the array paths with the full paths of the files chosen. This
         <docstring>Fills the array paths with the full paths of the files chosen. This
-function should only be used with the dialogs which have wx.MULTIPLE style,
-use GetPath for the others.</docstring>
+function should only be used with the dialogs which have wx.MULTIPLE
+style, use GetPath for the others.</docstring>
       </method>
     </class>
       </method>
     </class>
-    <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="windows">
+    <class name="MultiChoiceDialog" oldname="wxMultiChoiceDialog" module="_windows">
       <docstring>A simple dialog with a multi selection listbox.</docstring>
       <baseclass name="Dialog"/>
       <constructor name="MultiChoiceDialog" overloaded="no">
       <docstring>A simple dialog with a multi selection listbox.</docstring>
       <baseclass name="Dialog"/>
       <constructor name="MultiChoiceDialog" overloaded="no">
@@ -12922,14 +14719,15 @@ use GetPath for the others.</docstring>
           <param name="message" type="String" default=""/>
           <param name="caption" type="String" default=""/>
           <param name="choices" type="int" default="0"/>
           <param name="message" type="String" default=""/>
           <param name="caption" type="String" default=""/>
           <param name="choices" type="int" default="0"/>
-          <param name="choices_array" type="String" default=""/>
+          <param name="choices_array" type="String" default="NULL"/>
           <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
         </paramlist>
       </constructor>
       <method name="SetSelections" type="" overloaded="no">
         <autodoc>SetSelections(List selections)</autodoc>
           <param name="style" type="long" default="wxCHOICEDLG_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
         </paramlist>
       </constructor>
       <method name="SetSelections" type="" overloaded="no">
         <autodoc>SetSelections(List selections)</autodoc>
-        <docstring>Specify the items in the list that shoudl be selected, using a list of integers.</docstring>
+        <docstring>Specify the items in the list that should be selected, using a list of
+integers.</docstring>
         <paramlist>
           <param name="selections" type="wxArrayInt" default=""/>
         </paramlist>
         <paramlist>
           <param name="selections" type="wxArrayInt" default=""/>
         </paramlist>
@@ -12939,7 +14737,7 @@ use GetPath for the others.</docstring>
         <docstring>Returns a list of integers representing the items that are selected.</docstring>
       </method>
     </class>
         <docstring>Returns a list of integers representing the items that are selected.</docstring>
       </method>
     </class>
-    <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="windows">
+    <class name="SingleChoiceDialog" oldname="wxSingleChoiceDialog" module="_windows">
       <docstring>A simple dialog with a single selection listbox.</docstring>
       <baseclass name="Dialog"/>
       <constructor name="SingleChoiceDialog" overloaded="no">
       <docstring>A simple dialog with a single selection listbox.</docstring>
       <baseclass name="Dialog"/>
       <constructor name="SingleChoiceDialog" overloaded="no">
@@ -12958,26 +14756,26 @@ use GetPath for the others.</docstring>
         </paramlist>
       </constructor>
       <method name="GetSelection" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
         <docstring>Get the index of teh currently selected item.</docstring>
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
         <docstring>Get the index of teh currently selected item.</docstring>
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
-        <autodoc>GetStringSelection() -&gt; String</autodoc>
+        <autodoc>GetStringSelection(self) -&gt; String</autodoc>
         <docstring>Returns the string value of the currently selected item</docstring>
       </method>
       <method name="SetSelection" type="" overloaded="no">
         <docstring>Returns the string value of the currently selected item</docstring>
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int sel)</autodoc>
+        <autodoc>SetSelection(self, int sel)</autodoc>
         <docstring>Set the current selected item to sel</docstring>
         <paramlist>
           <param name="sel" type="int" default=""/>
         </paramlist>
       </method>
     </class>
         <docstring>Set the current selected item to sel</docstring>
         <paramlist>
           <param name="sel" type="int" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="windows">
+    <class name="TextEntryDialog" oldname="wxTextEntryDialog" module="_windows">
       <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring>
       <baseclass name="Dialog"/>
       <constructor name="TextEntryDialog" overloaded="no">
       <docstring>A dialog with text control, [ok] and [cancel] buttons</docstring>
       <baseclass name="Dialog"/>
       <constructor name="TextEntryDialog" overloaded="no">
-        <autodoc>__init__(Window parent, String message, String caption=GetTextFromUserPromptStr, 
+        <autodoc>__init__(self, Window parent, String message, String caption=GetTextFromUserPromptStr, 
     String defaultValue=EmptyString, 
     long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -&gt; TextEntryDialog</autodoc>
         <docstring>Constructor.  Use ShowModal method to show the dialog.</docstring>
     String defaultValue=EmptyString, 
     long style=wxOK|wxCANCEL|wxCENTRE, Point pos=DefaultPosition) -&gt; TextEntryDialog</autodoc>
         <docstring>Constructor.  Use ShowModal method to show the dialog.</docstring>
@@ -12991,187 +14789,169 @@ use GetPath for the others.</docstring>
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
         <docstring>Returns the text that the user has entered if the user has pressed OK,
 or the original value if the user has pressed Cancel.</docstring>
       </method>
       <method name="SetValue" type="" overloaded="no">
         <docstring>Returns the text that the user has entered if the user has pressed OK,
 or the original value if the user has pressed Cancel.</docstring>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(String value)</autodoc>
+        <autodoc>SetValue(self, String value)</autodoc>
         <docstring>Sets the default text value.</docstring>
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <docstring>Sets the default text value.</docstring>
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FontData" oldname="wxFontData" module="windows">
-      <docstring>This class holds a variety of information related to font dialogs.</docstring>
+    <class name="FontData" oldname="wxFontData" module="_windows">
+      <docstring>This class holds a variety of information related to font dialogs and
+is used to transfer settings to and results from a `wx.FontDialog`.</docstring>
       <baseclass name="Object"/>
       <constructor name="FontData" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="FontData" overloaded="no">
-        <autodoc>__init__() -&gt; FontData</autodoc>
-        <docstring>This class holds a variety of information related to font dialogs.</docstring>
+        <autodoc>__init__(self) -&gt; FontData</autodoc>
+        <docstring>This class holds a variety of information related to font dialogs and
+is used to transfer settings to and results from a `wx.FontDialog`.</docstring>
       </constructor>
       <destructor name="~wxFontData" overloaded="no">
       </constructor>
       <destructor name="~wxFontData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="EnableEffects" type="" overloaded="no">
       </destructor>
       <method name="EnableEffects" type="" overloaded="no">
-        <autodoc>EnableEffects(bool enable)</autodoc>
-        <docstring>Enables or disables 'effects' under MS Windows only. This refers
-to the controls for manipulating colour, strikeout and underline
+        <autodoc>EnableEffects(self, bool enable)</autodoc>
+        <docstring>Enables or disables 'effects' under MS Windows only. This refers to
+the controls for manipulating colour, strikeout and underline
 properties.  The default value is true.</docstring>
         <paramlist>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetAllowSymbols" type="bool" overloaded="no">
 properties.  The default value is true.</docstring>
         <paramlist>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetAllowSymbols" type="bool" overloaded="no">
-        <autodoc>GetAllowSymbols() -&gt; bool</autodoc>
-        <docstring>Under MS Windows, returns a flag determining whether symbol fonts can be
-selected. Has no effect on other platforms. The default value is true.</docstring>
+        <autodoc>GetAllowSymbols(self) -&gt; bool</autodoc>
+        <docstring>Under MS Windows, returns a flag determining whether symbol fonts can
+be selected. Has no effect on other platforms. The default value is
+true.</docstring>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
-        <autodoc>GetColour() -&gt; Colour</autodoc>
-        <docstring>Gets the colour associated with the font dialog. The default value is black.</docstring>
+        <autodoc>GetColour(self) -&gt; Colour</autodoc>
+        <docstring>Gets the colour associated with the font dialog. The default value is
+black.</docstring>
       </method>
       <method name="GetChosenFont" type="Font" overloaded="no">
       </method>
       <method name="GetChosenFont" type="Font" overloaded="no">
-        <autodoc>GetChosenFont() -&gt; Font</autodoc>
+        <autodoc>GetChosenFont(self) -&gt; Font</autodoc>
         <docstring>Gets the font chosen by the user.</docstring>
       </method>
       <method name="GetEnableEffects" type="bool" overloaded="no">
         <docstring>Gets the font chosen by the user.</docstring>
       </method>
       <method name="GetEnableEffects" type="bool" overloaded="no">
-        <autodoc>GetEnableEffects() -&gt; bool</autodoc>
+        <autodoc>GetEnableEffects(self) -&gt; bool</autodoc>
         <docstring>Determines whether 'effects' are enabled under Windows.</docstring>
       </method>
       <method name="GetInitialFont" type="Font" overloaded="no">
         <docstring>Determines whether 'effects' are enabled under Windows.</docstring>
       </method>
       <method name="GetInitialFont" type="Font" overloaded="no">
-        <autodoc>GetInitialFont() -&gt; Font</autodoc>
-        <docstring>Gets the font that will be initially used by the font dialog. This should have
-previously been set by the application.</docstring>
+        <autodoc>GetInitialFont(self) -&gt; Font</autodoc>
+        <docstring>Gets the font that will be initially used by the font dialog. This
+should have previously been set by the application.</docstring>
       </method>
       <method name="GetShowHelp" type="bool" overloaded="no">
       </method>
       <method name="GetShowHelp" type="bool" overloaded="no">
-        <autodoc>GetShowHelp() -&gt; bool</autodoc>
-        <docstring>Returns true if the Help button will be shown (Windows only).  The default
-value is false.</docstring>
+        <autodoc>GetShowHelp(self) -&gt; bool</autodoc>
+        <docstring>Returns true if the Help button will be shown (Windows only).  The
+default value is false.</docstring>
       </method>
       <method name="SetAllowSymbols" type="" overloaded="no">
       </method>
       <method name="SetAllowSymbols" type="" overloaded="no">
-        <autodoc>SetAllowSymbols(bool allowSymbols)</autodoc>
-        <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has no
-effect on other platforms.  The default value is true.</docstring>
+        <autodoc>SetAllowSymbols(self, bool allowSymbols)</autodoc>
+        <docstring>Under MS Windows, determines whether symbol fonts can be selected. Has
+no effect on other platforms.  The default value is true.</docstring>
         <paramlist>
           <param name="allowSymbols" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetChosenFont" type="" overloaded="no">
         <paramlist>
           <param name="allowSymbols" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetChosenFont" type="" overloaded="no">
-        <autodoc>SetChosenFont(Font font)</autodoc>
-        <docstring>Sets the font that will be returned to the user (for internal use only).</docstring>
+        <autodoc>SetChosenFont(self, Font font)</autodoc>
+        <docstring>Sets the font that will be returned to the user (normally for internal
+use only).</docstring>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(Colour colour)</autodoc>
-        <docstring>Sets the colour that will be used for the font foreground colour.  The default
-colour is black.</docstring>
+        <autodoc>SetColour(self, Colour colour)</autodoc>
+        <docstring>Sets the colour that will be used for the font foreground colour.  The
+default colour is black.</docstring>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetInitialFont" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetInitialFont" type="" overloaded="no">
-        <autodoc>SetInitialFont(Font font)</autodoc>
+        <autodoc>SetInitialFont(self, Font font)</autodoc>
         <docstring>Sets the font that will be initially used by the font dialog.</docstring>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
         <docstring>Sets the font that will be initially used by the font dialog.</docstring>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
-        <autodoc>SetRange(int min, int max)</autodoc>
-        <docstring>Sets the valid range for the font point size (Windows only).  The default is
-0, 0 (unrestricted range).</docstring>
+        <autodoc>SetRange(self, int min, int max)</autodoc>
+        <docstring>Sets the valid range for the font point size (Windows only).  The
+default is 0, 0 (unrestricted range).</docstring>
         <paramlist>
           <param name="min" type="int" default=""/>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetShowHelp" type="" overloaded="no">
         <paramlist>
           <param name="min" type="int" default=""/>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetShowHelp" type="" overloaded="no">
-        <autodoc>SetShowHelp(bool showHelp)</autodoc>
-        <docstring>Determines whether the Help button will be displayed in the font dialog
-(Windows only).  The default value is false.</docstring>
+        <autodoc>SetShowHelp(self, bool showHelp)</autodoc>
+        <docstring>Determines whether the Help button will be displayed in the font
+dialog (Windows only).  The default value is false.</docstring>
         <paramlist>
           <param name="showHelp" type="bool" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="showHelp" type="bool" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FontDialog" oldname="wxFontDialog" module="windows">
-      <docstring>This class represents the font chooser dialog.</docstring>
+    <class name="FontDialog" oldname="wxFontDialog" module="_windows">
+      <docstring>wx.FontDialog allows the user to select a system font and its attributes.
+
+:see: `wx.FontData`
+</docstring>
       <baseclass name="Dialog"/>
       <constructor name="FontDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="FontDialog" overloaded="no">
-        <autodoc>__init__(Window parent, FontData data) -&gt; FontDialog</autodoc>
-        <docstring>Constructor. Pass a parent window and the FontData object to be
-used to initialize the dialog controls.</docstring>
+        <autodoc>__init__(self, Window parent, FontData data) -&gt; FontDialog</autodoc>
+        <docstring>Constructor. Pass a parent window and the `wx.FontData` object to be
+used to initialize the dialog controls.  Call `ShowModal` to display
+the dialog.  If ShowModal returns ``wx.ID_OK`` then you can fetch the
+results with via the `wx.FontData` returned by `GetFontData`.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="FontData" default=""/>
         </paramlist>
       </constructor>
       <method name="GetFontData" type="FontData" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="FontData" default=""/>
         </paramlist>
       </constructor>
       <method name="GetFontData" type="FontData" overloaded="no">
-        <autodoc>GetFontData() -&gt; FontData</autodoc>
-        <docstring>Returns a reference to the internal FontData used by the FontDialog.</docstring>
-      </method>
-    </class>
-    <class name="MessageDialog" oldname="wxMessageDialog" module="windows">
-      <docstring>This class provides a dialog that shows a single or multi-line message, with
-a choice of OK, Yes, No and Cancel buttons.</docstring>
-      <refdoc>
-  Styles
-    wx.OK:                Show an OK button.
-
-    wx.CANCEL:            Show a Cancel button.
-
-    wx.YES_NO:            Show Yes and No buttons.
-
-    wx.YES_DEFAULT:       Used with wxYES_NO, makes Yes button the default - which is the default behaviour.
-
-    wx.NO_DEFAULT:        Used with wxYES_NO, makes No button the default.
-
-    wx.ICON_EXCLAMATION:  Shows an exclamation mark icon.
-
-    wx.ICON_HAND:         Shows an error icon.
-
-    wx.ICON_ERROR:        Shows an error icon - the same as wxICON_HAND.
-
-    wx.ICON_QUESTION:     Shows a question mark icon.
-
-    wx.ICON_INFORMATION:  Shows an information (i) icon.
-
-    wx.STAY_ON_TOP:       The message box stays on top of all other window, even those of the other applications (Windows only).
-</refdoc>
+        <autodoc>GetFontData(self) -&gt; FontData</autodoc>
+        <docstring>Returns a reference to the internal `wx.FontData` used by the
+wx.FontDialog.</docstring>
+      </method>
+    </class>
+    <class name="MessageDialog" oldname="wxMessageDialog" module="_windows">
+      <docstring>This class provides a simple dialog that shows a single or multi-line
+message, with a choice of OK, Yes, No and/or Cancel buttons.
+
+Window Styles
+--------------
+    ===================    =============================================
+    wx.OK                  Show an OK button.
+    wx.CANCEL              Show a Cancel button.
+    wx.YES_NO              Show Yes and No buttons.
+    wx.YES_DEFAULT         Used with wxYES_NO, makes Yes button the
+                           default - which is the default behaviour.
+    wx.NO_DEFAULT          Used with wxYES_NO, makes No button the default.
+    wx.ICON_EXCLAMATION    Shows an exclamation mark icon.
+    wx.ICON_HAND           Shows an error icon.
+    wx.ICON_ERROR          Shows an error icon - the same as wxICON_HAND.
+    wx.ICON_QUESTION       Shows a question mark icon.
+    wx.ICON_INFORMATION    Shows an information (i) icon.
+    wx.STAY_ON_TOP         The message box stays on top of all other
+                           window, even those of the other applications
+                           (Windows only).
+    ===================    =============================================
+</docstring>
       <baseclass name="Dialog"/>
       <constructor name="MessageDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="MessageDialog" overloaded="no">
-        <autodoc>__init__(Window parent, String message, String caption=MessageBoxCaptionStr, 
+        <autodoc>__init__(self, Window parent, String message, String caption=MessageBoxCaptionStr, 
     long style=wxOK|wxCANCEL|wxCENTRE, 
     Point pos=DefaultPosition) -&gt; MessageDialog</autodoc>
     long style=wxOK|wxCANCEL|wxCENTRE, 
     Point pos=DefaultPosition) -&gt; MessageDialog</autodoc>
-        <docstring>This class provides a dialog that shows a single or multi-line message, with
-a choice of OK, Yes, No and Cancel buttons.</docstring>
-        <refdoc>
-  Styles
-    wx.OK:                Show an OK button.
-
-    wx.CANCEL:            Show a Cancel button.
-
-    wx.YES_NO:            Show Yes and No buttons.
-
-    wx.YES_DEFAULT:       Used with wxYES_NO, makes Yes button the default - which is the default behaviour.
-
-    wx.NO_DEFAULT:        Used with wxYES_NO, makes No button the default.
-
-    wx.ICON_EXCLAMATION:  Shows an exclamation mark icon.
-
-    wx.ICON_HAND:         Shows an error icon.
-
-    wx.ICON_ERROR:        Shows an error icon - the same as wxICON_HAND.
-
-    wx.ICON_QUESTION:     Shows a question mark icon.
-
-    wx.ICON_INFORMATION:  Shows an information (i) icon.
-
-    wx.STAY_ON_TOP:       The message box stays on top of all other window, even those of the other applications (Windows only).
-</refdoc>
+        <docstring>Constructor, use `ShowModal` to display the dialog.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="message" type="String" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="message" type="String" default=""/>
@@ -13181,67 +14961,44 @@ a choice of OK, Yes, No and Cancel buttons.</docstring>
         </paramlist>
       </constructor>
     </class>
         </paramlist>
       </constructor>
     </class>
-    <class name="ProgressDialog" oldname="wxProgressDialog" module="windows">
-      <docstring>A dialog that shows a short message and a progress bar. Optionally, it can
-display an ABORT button.</docstring>
-      <refdoc>
-  Styles
+    <class name="ProgressDialog" oldname="wxProgressDialog" module="_windows">
+      <docstring>A dialog that shows a short message and a progress bar. Optionally, it
+can display an ABORT button.
 
 
-    wx.PD_APP_MODAL:            Make the progress dialog modal. If this flag is
-                                not given, it is only "locally" modal - that is
-                                the input to the parent window is disabled,
-                                but not to the other ones.
+Window Styles
+--------------
+    ====================     =============================================
+    wx.PD_APP_MODAL          Make the progress dialog modal. If this flag is
+                             not given, it is only "locally" modal -
+                             that is the input to the parent window is
+                             disabled, but not to the other ones.
 
 
-    wx.PD_AUTO_HIDE:            Causes the progress dialog to disappear from screen 
-                                as soon as the maximum value of the progress
-                                meter has been reached.
+    wx.PD_AUTO_HIDE          Causes the progress dialog to disappear from
+                             screen as soon as the maximum value of the
+                             progress meter has been reached.
 
 
-    wx.PD_CAN_ABORT:            This flag tells the dialog that it should have
-                                a "Cancel" button which the user may press. If
-                                this happens, the next call to Update() will
-                                return false.
+    wx.PD_CAN_ABORT          This flag tells the dialog that it should have
+                             a "Cancel" button which the user may press. If
+                             this happens, the next call to Update() will
+                             return false.
 
 
-    wx.PD_ELAPSED_TIME:         This flag tells the dialog that it should show
-                                elapsed time (since creating the dialog).
+    wx.PD_ELAPSED_TIME       This flag tells the dialog that it should show
+                             elapsed time (since creating the dialog).
 
 
-    wx.PD_ESTIMATED_TIME:  This flag tells the dialog that it should show
-                                estimated time.
+    wx.PD_ESTIMATED_TIME     This flag tells the dialog that it should show
+                             estimated time.
 
 
-    wx.PD_REMAINING_TIME:  This flag tells the dialog that it should show
-                                remaining time.
-</refdoc>
+    wx.PD_REMAINING_TIME     This flag tells the dialog that it should show
+                             remaining time.
+    ====================     =============================================
+</docstring>
       <baseclass name="Frame"/>
       <constructor name="ProgressDialog" overloaded="no">
       <baseclass name="Frame"/>
       <constructor name="ProgressDialog" overloaded="no">
-        <autodoc>__init__(String title, String message, int maximum=100, Window parent=None, 
+        <autodoc>__init__(self, String title, String message, int maximum=100, Window parent=None, 
     int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -&gt; ProgressDialog</autodoc>
     int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL) -&gt; ProgressDialog</autodoc>
-        <docstring>Constructor. Creates the dialog, displays it and disables user input for other
-windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.</docstring>
-        <refdoc>
-  Styles
-
-    wx.PD_APP_MODAL:            Make the progress dialog modal. If this flag is
-                                not given, it is only "locally" modal - that is
-                                the input to the parent window is disabled,
-                                but not to the other ones.
-
-    wx.PD_AUTO_HIDE:            Causes the progress dialog to disappear from screen 
-                                as soon as the maximum value of the progress
-                                meter has been reached.
-
-    wx.PD_CAN_ABORT:            This flag tells the dialog that it should have
-                                a "Cancel" button which the user may press. If
-                                this happens, the next call to Update() will
-                                return false.
-
-    wx.PD_ELAPSED_TIME:         This flag tells the dialog that it should show
-                                elapsed time (since creating the dialog).
-
-    wx.PD_ESTIMATED_TIME:  This flag tells the dialog that it should show
-                                estimated time.
-
-    wx.PD_REMAINING_TIME:  This flag tells the dialog that it should show
-                                remaining time.
-</refdoc>
+        <docstring>Constructor. Creates the dialog, displays it and disables user input
+for other windows, or, if wx.PD_APP_MODAL flag is not given, for its
+parent window only.</docstring>
         <paramlist>
           <param name="title" type="String" default=""/>
           <param name="message" type="String" default=""/>
         <paramlist>
           <param name="title" type="String" default=""/>
           <param name="message" type="String" default=""/>
@@ -13251,22 +15008,25 @@ windows, or, if wxPD_APP_MODAL flag is not given, for its parent window only.</d
         </paramlist>
       </constructor>
       <method name="Update" type="bool" overloaded="no">
         </paramlist>
       </constructor>
       <method name="Update" type="bool" overloaded="no">
-        <autodoc>Update(int value, String newmsg=EmptyString) -&gt; bool</autodoc>
-        <docstring>Updates the dialog, setting the progress bar to the new value and, if given
-changes the message above it. Returns true unless the Cancel button has been
-pressed.
+        <autodoc>Update(self, int value, String newmsg=EmptyString) -&gt; bool</autodoc>
+        <docstring>Updates the dialog, setting the progress bar to the new value and, if
+given changes the message above it. The value given should be less
+than or equal to the maximum value given to the constructor and the
+dialog is closed if it is equal to the maximum.  Returns true unless
+the Cancel button has been pressed.
 
 
-If false is returned, the application can either immediately destroy the
-dialog or ask the user for the confirmation and if the abort is not confirmed
-the dialog may be resumed with Resume function.</docstring>
+If false is returned, the application can either immediately destroy
+the dialog or ask the user for the confirmation and if the abort is
+not confirmed the dialog may be resumed with Resume function.</docstring>
         <paramlist>
           <param name="value" type="int" default=""/>
           <param name="newmsg" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="Resume" type="" overloaded="no">
         <paramlist>
           <param name="value" type="int" default=""/>
           <param name="newmsg" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="Resume" type="" overloaded="no">
-        <autodoc>Resume()</autodoc>
-        <docstring>Can be used to continue with the dialog, after the user had chosen to abort.</docstring>
+        <autodoc>Resume(self)</autodoc>
+        <docstring>Can be used to continue with the dialog, after the user had chosen to
+abort.</docstring>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -13283,11 +15043,11 @@ EVT_COMMAND_FIND_REPLACE     = EVT_FIND_REPLACE
 EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
 EVT_COMMAND_FIND_CLOSE       = EVT_FIND_CLOSE        
 </pythoncode>
 EVT_COMMAND_FIND_REPLACE_ALL = EVT_FIND_REPLACE_ALL
 EVT_COMMAND_FIND_CLOSE       = EVT_FIND_CLOSE        
 </pythoncode>
-    <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="windows">
+    <class name="FindDialogEvent" oldname="wxFindDialogEvent" module="_windows">
       <docstring>Events for the FindReplaceDialog</docstring>
       <baseclass name="CommandEvent"/>
       <constructor name="FindDialogEvent" overloaded="no">
       <docstring>Events for the FindReplaceDialog</docstring>
       <baseclass name="CommandEvent"/>
       <constructor name="FindDialogEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -&gt; FindDialogEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; FindDialogEvent</autodoc>
         <docstring>Events for the FindReplaceDialog</docstring>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
         <docstring>Events for the FindReplaceDialog</docstring>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
@@ -13295,139 +15055,138 @@ EVT_COMMAND_FIND_CLOSE       = EVT_FIND_CLOSE
         </paramlist>
       </constructor>
       <method name="GetFlags" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetFlags" type="int" overloaded="no">
-        <autodoc>GetFlags() -&gt; int</autodoc>
+        <autodoc>GetFlags(self) -&gt; int</autodoc>
         <docstring>Get the currently selected flags: this is the combination of
 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring>
       </method>
       <method name="GetFindString" type="String" overloaded="no">
         <docstring>Get the currently selected flags: this is the combination of
 wx.FR_DOWN, wx.FR_WHOLEWORD and wx.FR_MATCHCASE flags.</docstring>
       </method>
       <method name="GetFindString" type="String" overloaded="no">
-        <autodoc>GetFindString() -&gt; String</autodoc>
+        <autodoc>GetFindString(self) -&gt; String</autodoc>
         <docstring>Return the string to find (never empty).</docstring>
       </method>
       <method name="GetReplaceString" type="String" overloaded="no">
         <docstring>Return the string to find (never empty).</docstring>
       </method>
       <method name="GetReplaceString" type="String" overloaded="no">
-        <autodoc>GetReplaceString() -&gt; String</autodoc>
-        <docstring>Return the string to replace the search string with (only
-for replace and replace all events).</docstring>
+        <autodoc>GetReplaceString(self) -&gt; String</autodoc>
+        <docstring>Return the string to replace the search string with (only for replace
+and replace all events).</docstring>
       </method>
       <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no">
       </method>
       <method name="GetDialog" type="wxFindReplaceDialog" overloaded="no">
-        <autodoc>GetDialog() -&gt; FindReplaceDialog</autodoc>
+        <autodoc>GetDialog(self) -&gt; FindReplaceDialog</autodoc>
         <docstring>Return the pointer to the dialog which generated this event.</docstring>
       </method>
       <method name="SetFlags" type="" overloaded="no">
         <docstring>Return the pointer to the dialog which generated this event.</docstring>
       </method>
       <method name="SetFlags" type="" overloaded="no">
-        <autodoc>SetFlags(int flags)</autodoc>
+        <autodoc>SetFlags(self, int flags)</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFindString" type="" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFindString" type="" overloaded="no">
-        <autodoc>SetFindString(String str)</autodoc>
+        <autodoc>SetFindString(self, String str)</autodoc>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetReplaceString" type="" overloaded="no">
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetReplaceString" type="" overloaded="no">
-        <autodoc>SetReplaceString(String str)</autodoc>
+        <autodoc>SetReplaceString(self, String str)</autodoc>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FindReplaceData" oldname="wxFindReplaceData" module="windows">
-      <docstring>FindReplaceData holds the data for FindReplaceDialog. It is used to initialize
-the dialog with the default values and will keep the last values from the
-dialog when it is closed. It is also updated each time a wxFindDialogEvent is
-generated so instead of using the wxFindDialogEvent methods you can also
-directly query this object.
+    <class name="FindReplaceData" oldname="wxFindReplaceData" module="_windows">
+      <docstring>wx.FindReplaceData holds the data for wx.FindReplaceDialog. It is used
+to initialize the dialog with the default values and will keep the
+last values from the dialog when it is closed. It is also updated each
+time a `wx.FindDialogEvent` is generated so instead of using the
+`wx.FindDialogEvent` methods you can also directly query this object.
 
 
-Note that all SetXXX() methods may only be called before showing the dialog
-and calling them has no effect later.
+Note that all SetXXX() methods may only be called before showing the
+dialog and calling them has no effect later.
 
 
- Flags
-    wxFR_DOWN:          downward search/replace selected (otherwise, upwards)
+Flags
+-----
+    ================   ===============================================  
+    wx.FR_DOWN         Downward search/replace selected (otherwise,
+                       upwards)
 
 
-    wxFR_WHOLEWORD:     whole word search/replace selected
+    wx.FR_WHOLEWORD    Whole word search/replace selected
 
 
-    wxFR_MATCHCASE:     case sensitive search/replace selected (otherwise,
-                        case insensitive)
+    wx.FR_MATCHCASE    Case sensitive search/replace selected
+                       (otherwise, case insensitive)
+    ================   ===============================================  
 </docstring>
       <baseclass name="Object"/>
       <constructor name="FindReplaceData" overloaded="no">
 </docstring>
       <baseclass name="Object"/>
       <constructor name="FindReplaceData" overloaded="no">
-        <autodoc>__init__(int flags=0) -&gt; FindReplaceData</autodoc>
+        <autodoc>__init__(self, int flags=0) -&gt; FindReplaceData</autodoc>
         <docstring>Constuctor initializes the flags to default value (0).</docstring>
         <paramlist>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxFindReplaceData" overloaded="no">
         <docstring>Constuctor initializes the flags to default value (0).</docstring>
         <paramlist>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxFindReplaceData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetFindString" type="String" overloaded="no">
       </destructor>
       <method name="GetFindString" type="String" overloaded="no">
-        <autodoc>GetFindString() -&gt; String</autodoc>
+        <autodoc>GetFindString(self) -&gt; String</autodoc>
         <docstring>Get the string to find.</docstring>
       </method>
       <method name="GetReplaceString" type="String" overloaded="no">
         <docstring>Get the string to find.</docstring>
       </method>
       <method name="GetReplaceString" type="String" overloaded="no">
-        <autodoc>GetReplaceString() -&gt; String</autodoc>
+        <autodoc>GetReplaceString(self) -&gt; String</autodoc>
         <docstring>Get the replacement string.</docstring>
       </method>
       <method name="GetFlags" type="int" overloaded="no">
         <docstring>Get the replacement string.</docstring>
       </method>
       <method name="GetFlags" type="int" overloaded="no">
-        <autodoc>GetFlags() -&gt; int</autodoc>
+        <autodoc>GetFlags(self) -&gt; int</autodoc>
         <docstring>Get the combination of flag values.</docstring>
       </method>
       <method name="SetFlags" type="" overloaded="no">
         <docstring>Get the combination of flag values.</docstring>
       </method>
       <method name="SetFlags" type="" overloaded="no">
-        <autodoc>SetFlags(int flags)</autodoc>
+        <autodoc>SetFlags(self, int flags)</autodoc>
         <docstring>Set the flags to use to initialize the controls of the dialog.</docstring>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFindString" type="" overloaded="no">
         <docstring>Set the flags to use to initialize the controls of the dialog.</docstring>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFindString" type="" overloaded="no">
-        <autodoc>SetFindString(String str)</autodoc>
+        <autodoc>SetFindString(self, String str)</autodoc>
         <docstring>Set the string to find (used as initial value by the dialog).</docstring>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetReplaceString" type="" overloaded="no">
         <docstring>Set the string to find (used as initial value by the dialog).</docstring>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetReplaceString" type="" overloaded="no">
-        <autodoc>SetReplaceString(String str)</autodoc>
+        <autodoc>SetReplaceString(self, String str)</autodoc>
         <docstring>Set the replacement string (used as initial value by the dialog).</docstring>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <docstring>Set the replacement string (used as initial value by the dialog).</docstring>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="windows">
-      <docstring>FindReplaceDialog is a standard modeless dialog which is used to allow the
-user to search for some text (and possibly replace it with something
-else). The actual searching is supposed to be done in the owner window which
-is the parent of this dialog. Note that it means that unlike for the other
-standard dialogs this one must have a parent window. Also note that there is
-no way to use this dialog in a modal way; it is always, by design and
-implementation, modeless.</docstring>
-      <refdoc>
- Styles
-    wx.FR_REPLACEDIALOG:        replace dialog (otherwise find dialog)
+    <class name="FindReplaceDialog" oldname="wxFindReplaceDialog" module="_windows">
+      <docstring>wx.FindReplaceDialog is a standard modeless dialog which is used to
+allow the user to search for some text (and possibly replace it with
+something else). The actual searching is supposed to be done in the
+owner window which is the parent of this dialog. Note that it means
+that unlike for the other standard dialogs this one must have a parent
+window. Also note that there is no way to use this dialog in a modal
+way; it is always, by design and implementation, modeless.
+
+
+Window Styles
+-------------
 
 
-    wx.FR_NOUPDOWN:             don't allow changing the search direction
+    =====================  =========================================
+    wx.FR_REPLACEDIALOG    replace dialog (otherwise find dialog)
 
 
-    wx.FR_NOMATCHCASE:          don't allow case sensitive searching
+    wx.FR_NOUPDOWN         don't allow changing the search direction
 
 
-    wx.FR_NOWHOLEWORD:          don't allow whole word searching
-</refdoc>
+    wx.FR_NOMATCHCASE      don't allow case sensitive searching
+
+    wx.FR_NOWHOLEWORD      don't allow whole word searching
+    =====================  =========================================
+</docstring>
       <baseclass name="Dialog"/>
       <constructor name="FindReplaceDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="FindReplaceDialog" overloaded="no">
-        <autodoc>__init__(Window parent, FindReplaceData data, String title, 
+        <autodoc>__init__(self, Window parent, FindReplaceData data, String title, 
     int style=0) -&gt; FindReplaceDialog</autodoc>
         <docstring>Create a FindReplaceDialog.  The parent and data parameters must be
 non-None.  Use Show to display the dialog.</docstring>
     int style=0) -&gt; FindReplaceDialog</autodoc>
         <docstring>Create a FindReplaceDialog.  The parent and data parameters must be
 non-None.  Use Show to display the dialog.</docstring>
-        <refdoc>
- Styles
-    wx.FR_REPLACEDIALOG:        replace dialog (otherwise find dialog)
-
-    wx.FR_NOUPDOWN:             don't allow changing the search direction
-
-    wx.FR_NOMATCHCASE:          don't allow case sensitive searching
-
-    wx.FR_NOWHOLEWORD:          don't allow whole word searching
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="FindReplaceData" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="FindReplaceData" default=""/>
@@ -13438,19 +15197,9 @@ non-None.  Use Show to display the dialog.</docstring>
       <constructor name="PreFindReplaceDialog" overloaded="no">
         <autodoc>PreFindReplaceDialog() -&gt; FindReplaceDialog</autodoc>
         <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring>
       <constructor name="PreFindReplaceDialog" overloaded="no">
         <autodoc>PreFindReplaceDialog() -&gt; FindReplaceDialog</autodoc>
         <docstring>Precreate a FindReplaceDialog for 2-phase creation</docstring>
-        <refdoc>
- Styles
-    wx.FR_REPLACEDIALOG:        replace dialog (otherwise find dialog)
-
-    wx.FR_NOUPDOWN:             don't allow changing the search direction
-
-    wx.FR_NOMATCHCASE:          don't allow case sensitive searching
-
-    wx.FR_NOWHOLEWORD:          don't allow whole word searching
-</refdoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, FindReplaceData data, String title, 
+        <autodoc>Create(self, Window parent, FindReplaceData data, String title, 
     int style=0) -&gt; bool</autodoc>
         <docstring>Create the dialog, for 2-phase create.</docstring>
         <paramlist>
     int style=0) -&gt; bool</autodoc>
         <docstring>Create the dialog, for 2-phase create.</docstring>
         <paramlist>
@@ -13461,11 +15210,11 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="GetData" type="FindReplaceData" overloaded="no">
         </paramlist>
       </method>
       <method name="GetData" type="FindReplaceData" overloaded="no">
-        <autodoc>GetData() -&gt; FindReplaceData</autodoc>
+        <autodoc>GetData(self) -&gt; FindReplaceData</autodoc>
         <docstring>Get the FindReplaceData object used by this dialog.</docstring>
       </method>
       <method name="SetData" type="" overloaded="no">
         <docstring>Get the FindReplaceData object used by this dialog.</docstring>
       </method>
       <method name="SetData" type="" overloaded="no">
-        <autodoc>SetData(FindReplaceData data)</autodoc>
+        <autodoc>SetData(self, FindReplaceData data)</autodoc>
         <docstring>Set the FindReplaceData object used by this dialog.</docstring>
         <paramlist>
           <param name="data" type="FindReplaceData" default=""/>
         <docstring>Set the FindReplaceData object used by this dialog.</docstring>
         <paramlist>
           <param name="data" type="FindReplaceData" default=""/>
@@ -13475,16 +15224,17 @@ non-None.  Use Show to display the dialog.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="windows">
+    <class name="MDIParentFrame" oldname="wxMDIParentFrame" module="_windows">
       <baseclass name="Frame"/>
       <constructor name="MDIParentFrame" overloaded="no">
       <baseclass name="Frame"/>
       <constructor name="MDIParentFrame" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String title, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, 
+        <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, 
     String name=FrameNameStr) -&gt; MDIParentFrame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=FrameNameStr) -&gt; MDIParentFrame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
@@ -13495,13 +15245,14 @@ non-None.  Use Show to display the dialog.</docstring>
         <autodoc>PreMDIParentFrame() -&gt; MDIParentFrame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreMDIParentFrame() -&gt; MDIParentFrame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String title, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, 
+        <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL, 
     String name=FrameNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=FrameNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL"/>
@@ -13509,40 +15260,41 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="ActivateNext" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="ActivateNext" type="" overloaded="no">
-        <autodoc>ActivateNext()</autodoc>
+        <autodoc>ActivateNext(self)</autodoc>
       </method>
       <method name="ActivatePrevious" type="" overloaded="no">
       </method>
       <method name="ActivatePrevious" type="" overloaded="no">
-        <autodoc>ActivatePrevious()</autodoc>
+        <autodoc>ActivatePrevious(self)</autodoc>
       </method>
       <method name="ArrangeIcons" type="" overloaded="no">
       </method>
       <method name="ArrangeIcons" type="" overloaded="no">
-        <autodoc>ArrangeIcons()</autodoc>
+        <autodoc>ArrangeIcons(self)</autodoc>
       </method>
       <method name="Cascade" type="" overloaded="no">
       </method>
       <method name="Cascade" type="" overloaded="no">
-        <autodoc>Cascade()</autodoc>
+        <autodoc>Cascade(self)</autodoc>
       </method>
       <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no">
       </method>
       <method name="GetActiveChild" type="wxMDIChildFrame" overloaded="no">
-        <autodoc>GetActiveChild() -&gt; MDIChildFrame</autodoc>
+        <autodoc>GetActiveChild(self) -&gt; MDIChildFrame</autodoc>
       </method>
       <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no">
       </method>
       <method name="GetClientWindow" type="wxMDIClientWindow" overloaded="no">
-        <autodoc>GetClientWindow() -&gt; MDIClientWindow</autodoc>
+        <autodoc>GetClientWindow(self) -&gt; MDIClientWindow</autodoc>
       </method>
       <method name="GetToolBar" type="Window" overloaded="no">
       </method>
       <method name="GetToolBar" type="Window" overloaded="no">
-        <autodoc>GetToolBar() -&gt; Window</autodoc>
+        <autodoc>GetToolBar(self) -&gt; Window</autodoc>
       </method>
       <method name="Tile" type="" overloaded="no">
       </method>
       <method name="Tile" type="" overloaded="no">
-        <autodoc>Tile()</autodoc>
+        <autodoc>Tile(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="windows">
+    <class name="MDIChildFrame" oldname="wxMDIChildFrame" module="_windows">
       <baseclass name="Frame"/>
       <constructor name="MDIChildFrame" overloaded="no">
       <baseclass name="Frame"/>
       <constructor name="MDIChildFrame" overloaded="no">
-        <autodoc>__init__(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, 
+        <autodoc>__init__(self, MDIParentFrame parent, int id=-1, String title=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=DEFAULT_FRAME_STYLE, 
     String name=FrameNameStr) -&gt; MDIChildFrame</autodoc>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
     String name=FrameNameStr) -&gt; MDIChildFrame</autodoc>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
@@ -13553,13 +15305,14 @@ non-None.  Use Show to display the dialog.</docstring>
         <autodoc>PreMDIChildFrame() -&gt; MDIChildFrame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreMDIChildFrame() -&gt; MDIChildFrame</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(MDIParentFrame parent, int id, String title, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=DEFAULT_FRAME_STYLE, 
+        <autodoc>Create(self, MDIParentFrame parent, int id=-1, String title=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=DEFAULT_FRAME_STYLE, 
     String name=FrameNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
     String name=FrameNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="title" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="title" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxDEFAULT_FRAME_STYLE"/>
@@ -13567,22 +15320,22 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="Activate" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Activate" type="" overloaded="no">
-        <autodoc>Activate()</autodoc>
+        <autodoc>Activate(self)</autodoc>
       </method>
       <method name="Maximize" type="" overloaded="no">
       </method>
       <method name="Maximize" type="" overloaded="no">
-        <autodoc>Maximize(bool maximize)</autodoc>
+        <autodoc>Maximize(self, bool maximize)</autodoc>
         <paramlist>
           <param name="maximize" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Restore" type="" overloaded="no">
         <paramlist>
           <param name="maximize" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Restore" type="" overloaded="no">
-        <autodoc>Restore()</autodoc>
+        <autodoc>Restore(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="windows">
+    <class name="MDIClientWindow" oldname="wxMDIClientWindow" module="_windows">
       <baseclass name="Window"/>
       <constructor name="MDIClientWindow" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="MDIClientWindow" overloaded="no">
-        <autodoc>__init__(MDIParentFrame parent, long style=0) -&gt; MDIClientWindow</autodoc>
+        <autodoc>__init__(self, MDIParentFrame parent, long style=0) -&gt; MDIClientWindow</autodoc>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
           <param name="style" type="long" default="0"/>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
           <param name="style" type="long" default="0"/>
@@ -13592,7 +15345,7 @@ non-None.  Use Show to display the dialog.</docstring>
         <autodoc>PreMDIClientWindow() -&gt; MDIClientWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreMDIClientWindow() -&gt; MDIClientWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(MDIParentFrame parent, long style=0) -&gt; bool</autodoc>
+        <autodoc>Create(self, MDIParentFrame parent, long style=0) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
           <param name="style" type="long" default="0"/>
         <paramlist>
           <param name="parent" type="MDIParentFrame" default=""/>
           <param name="style" type="long" default="0"/>
@@ -13602,29 +15355,38 @@ non-None.  Use Show to display the dialog.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PyWindow" oldname="wxPyWindow" module="windows">
+    <class name="PyWindow" oldname="wxPyWindow" module="_windows">
       <baseclass name="Window"/>
       <constructor name="PyWindow" overloaded="no">
       <baseclass name="Window"/>
       <constructor name="PyWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=PanelNameStr) -&gt; PyWindow</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; PyWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyPanelNameStr"/>
         </paramlist>
       </constructor>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyPanelNameStr"/>
         </paramlist>
       </constructor>
+      <constructor name="PrePyWindow" overloaded="no">
+        <autodoc>PrePyWindow() -&gt; PyWindow</autodoc>
+      </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
+      <method name="SetBestSize" type="" overloaded="no">
+        <autodoc>SetBestSize(self, Size size)</autodoc>
+        <paramlist>
+          <param name="size" type="Size" default=""/>
+        </paramlist>
+      </method>
       <method name="base_DoMoveWindow" type="" overloaded="no">
       <method name="base_DoMoveWindow" type="" overloaded="no">
-        <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
+        <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -13633,7 +15395,7 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
-        <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+        <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -13643,14 +15405,14 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
-        <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
+        <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
-        <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
+        <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -13678,68 +15440,225 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetVirtualSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetBestSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
-        <autodoc>base_InitDialog()</autodoc>
+        <autodoc>base_InitDialog(self)</autodoc>
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataToWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataFromWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
-        <autodoc>base_Validate() -&gt; bool</autodoc>
+        <autodoc>base_Validate(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocus() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocusFromKeyboard() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
-        <autodoc>base_GetMaxSize() -&gt; Size</autodoc>
+        <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_AddChild" type="" overloaded="no">
       </method>
       <method name="base_AddChild" type="" overloaded="no">
-        <autodoc>base_AddChild(Window child)</autodoc>
+        <autodoc>base_AddChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
-        <autodoc>base_RemoveChild(Window child)</autodoc>
+        <autodoc>base_RemoveChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
+      <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+        <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+        <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+        <paramlist>
+          <param name="c" type="Colour" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
+      </method>
     </class>
     </class>
-    <class name="PyPanel" oldname="wxPyPanel" module="windows">
+    <class name="PyPanel" oldname="wxPyPanel" module="_windows">
       <baseclass name="Panel"/>
       <constructor name="PyPanel" overloaded="no">
       <baseclass name="Panel"/>
       <constructor name="PyPanel" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=PanelNameStr) -&gt; PyPanel</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; PyPanel</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="pos" type="Point" default="wxDefaultPosition"/>
+          <param name="size" type="Size" default="wxDefaultSize"/>
+          <param name="style" type="long" default="0"/>
+          <param name="name" type="String" default="wxPyPanelNameStr"/>
+        </paramlist>
+      </constructor>
+      <constructor name="PrePyPanel" overloaded="no">
+        <autodoc>PrePyPanel() -&gt; PyPanel</autodoc>
+      </constructor>
+      <method name="_setCallbackInfo" type="" overloaded="no">
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
+        <paramlist>
+          <param name="self" type="PyObject" default=""/>
+          <param name="_class" type="PyObject" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetBestSize" type="" overloaded="no">
+        <autodoc>SetBestSize(self, Size size)</autodoc>
+        <paramlist>
+          <param name="size" type="Size" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoMoveWindow" type="" overloaded="no">
+        <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
+        <paramlist>
+          <param name="x" type="int" default=""/>
+          <param name="y" type="int" default=""/>
+          <param name="width" type="int" default=""/>
+          <param name="height" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoSetSize" type="" overloaded="no">
+        <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+        <paramlist>
+          <param name="x" type="int" default=""/>
+          <param name="y" type="int" default=""/>
+          <param name="width" type="int" default=""/>
+          <param name="height" type="int" default=""/>
+          <param name="sizeFlags" type="int" default="wxSIZE_AUTO"/>
+        </paramlist>
+      </method>
+      <method name="base_DoSetClientSize" type="" overloaded="no">
+        <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
+        <paramlist>
+          <param name="width" type="int" default=""/>
+          <param name="height" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoSetVirtualSize" type="" overloaded="no">
+        <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
+        <paramlist>
+          <param name="x" type="int" default=""/>
+          <param name="y" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoGetSize" type="" overloaded="no">
+        <autodoc>base_DoGetSize() -&gt; (width, height)</autodoc>
+        <paramlist>
+          <param name="OUTPUT" type="int" default=""/>
+          <param name="OUTPUT" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoGetClientSize" type="" overloaded="no">
+        <autodoc>base_DoGetClientSize() -&gt; (width, height)</autodoc>
+        <paramlist>
+          <param name="OUTPUT" type="int" default=""/>
+          <param name="OUTPUT" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoGetPosition" type="" overloaded="no">
+        <autodoc>base_DoGetPosition() -&gt; (x,y)</autodoc>
+        <paramlist>
+          <param name="OUTPUT" type="int" default=""/>
+          <param name="OUTPUT" type="int" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
+        <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
+      </method>
+      <method name="base_DoGetBestSize" type="Size" overloaded="no">
+        <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
+      </method>
+      <method name="base_InitDialog" type="" overloaded="no">
+        <autodoc>base_InitDialog(self)</autodoc>
+      </method>
+      <method name="base_TransferDataToWindow" type="bool" overloaded="no">
+        <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
+        <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_Validate" type="bool" overloaded="no">
+        <autodoc>base_Validate(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_AcceptsFocus" type="bool" overloaded="no">
+        <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
+        <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_GetMaxSize" type="Size" overloaded="no">
+        <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
+      </method>
+      <method name="base_AddChild" type="" overloaded="no">
+        <autodoc>base_AddChild(self, Window child)</autodoc>
+        <paramlist>
+          <param name="child" type="Window" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_RemoveChild" type="" overloaded="no">
+        <autodoc>base_RemoveChild(self, Window child)</autodoc>
+        <paramlist>
+          <param name="child" type="Window" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+        <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+        <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+        <paramlist>
+          <param name="c" type="Colour" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
+      </method>
+    </class>
+    <class name="PyScrolledWindow" oldname="wxPyScrolledWindow" module="_windows">
+      <baseclass name="ScrolledWindow"/>
+      <constructor name="PyScrolledWindow" overloaded="no">
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
+    Size size=DefaultSize, long style=0, String name=PanelNameStr) -&gt; PyScrolledWindow</autodoc>
+        <paramlist>
+          <param name="parent" type="Window" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyPanelNameStr"/>
         </paramlist>
       </constructor>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyPanelNameStr"/>
         </paramlist>
       </constructor>
+      <constructor name="PrePyScrolledWindow" overloaded="no">
+        <autodoc>PrePyScrolledWindow() -&gt; PyScrolledWindow</autodoc>
+      </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
+      <method name="SetBestSize" type="" overloaded="no">
+        <autodoc>SetBestSize(self, Size size)</autodoc>
+        <paramlist>
+          <param name="size" type="Size" default=""/>
+        </paramlist>
+      </method>
       <method name="base_DoMoveWindow" type="" overloaded="no">
       <method name="base_DoMoveWindow" type="" overloaded="no">
-        <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
+        <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -13748,7 +15667,7 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
-        <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+        <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -13758,14 +15677,14 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
-        <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
+        <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
-        <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
+        <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -13793,602 +15712,624 @@ non-None.  Use Show to display the dialog.</docstring>
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetVirtualSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetBestSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
-        <autodoc>base_InitDialog()</autodoc>
+        <autodoc>base_InitDialog(self)</autodoc>
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataToWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataFromWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
-        <autodoc>base_Validate() -&gt; bool</autodoc>
+        <autodoc>base_Validate(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocus() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocusFromKeyboard() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
-        <autodoc>base_GetMaxSize() -&gt; Size</autodoc>
+        <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_AddChild" type="" overloaded="no">
       </method>
       <method name="base_AddChild" type="" overloaded="no">
-        <autodoc>base_AddChild(Window child)</autodoc>
+        <autodoc>base_AddChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
-        <autodoc>base_RemoveChild(Window child)</autodoc>
+        <autodoc>base_RemoveChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
+      <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+        <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+        <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+        <paramlist>
+          <param name="c" type="Colour" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
+      </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PrintData" oldname="wxPrintData" module="windows">
+    <class name="PrintData" oldname="wxPrintData" module="_windows">
       <baseclass name="Object"/>
       <baseclass name="Object"/>
-      <constructor name="PrintData" overloaded="no">
-        <autodoc>__init__() -&gt; PrintData</autodoc>
+      <constructor name="PrintData" overloaded="yes"/>
+      <constructor name="PrintData" overloaded="yes">
+        <autodoc>__init__(self) -&gt; PrintData
+__init__(self, PrintData data) -&gt; PrintData</autodoc>
+        <paramlist>
+          <param name="data" type="PrintData" default=""/>
+        </paramlist>
       </constructor>
       <destructor name="~wxPrintData" overloaded="no">
       </constructor>
       <destructor name="~wxPrintData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetNoCopies" type="int" overloaded="no">
       </destructor>
       <method name="GetNoCopies" type="int" overloaded="no">
-        <autodoc>GetNoCopies() -&gt; int</autodoc>
+        <autodoc>GetNoCopies(self) -&gt; int</autodoc>
       </method>
       <method name="GetCollate" type="bool" overloaded="no">
       </method>
       <method name="GetCollate" type="bool" overloaded="no">
-        <autodoc>GetCollate() -&gt; bool</autodoc>
+        <autodoc>GetCollate(self) -&gt; bool</autodoc>
       </method>
       <method name="GetOrientation" type="int" overloaded="no">
       </method>
       <method name="GetOrientation" type="int" overloaded="no">
-        <autodoc>GetOrientation() -&gt; int</autodoc>
+        <autodoc>GetOrientation(self) -&gt; int</autodoc>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="GetPrinterName" type="String" overloaded="no">
       </method>
       <method name="GetPrinterName" type="String" overloaded="no">
-        <autodoc>GetPrinterName() -&gt; String</autodoc>
+        <autodoc>GetPrinterName(self) -&gt; String</autodoc>
       </method>
       <method name="GetColour" type="bool" overloaded="no">
       </method>
       <method name="GetColour" type="bool" overloaded="no">
-        <autodoc>GetColour() -&gt; bool</autodoc>
+        <autodoc>GetColour(self) -&gt; bool</autodoc>
       </method>
       <method name="GetDuplex" type="wxDuplexMode" overloaded="no">
       </method>
       <method name="GetDuplex" type="wxDuplexMode" overloaded="no">
-        <autodoc>GetDuplex() -&gt; int</autodoc>
+        <autodoc>GetDuplex(self) -&gt; int</autodoc>
       </method>
       <method name="GetPaperId" type="wxPaperSize" overloaded="no">
       </method>
       <method name="GetPaperId" type="wxPaperSize" overloaded="no">
-        <autodoc>GetPaperId() -&gt; int</autodoc>
+        <autodoc>GetPaperId(self) -&gt; int</autodoc>
       </method>
       <method name="GetPaperSize" type="Size" overloaded="no">
       </method>
       <method name="GetPaperSize" type="Size" overloaded="no">
-        <autodoc>GetPaperSize() -&gt; Size</autodoc>
+        <autodoc>GetPaperSize(self) -&gt; Size</autodoc>
       </method>
       <method name="GetQuality" type="int" overloaded="no">
       </method>
       <method name="GetQuality" type="int" overloaded="no">
-        <autodoc>GetQuality() -&gt; int</autodoc>
+        <autodoc>GetQuality(self) -&gt; int</autodoc>
       </method>
       <method name="SetNoCopies" type="" overloaded="no">
       </method>
       <method name="SetNoCopies" type="" overloaded="no">
-        <autodoc>SetNoCopies(int v)</autodoc>
+        <autodoc>SetNoCopies(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCollate" type="" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCollate" type="" overloaded="no">
-        <autodoc>SetCollate(bool flag)</autodoc>
+        <autodoc>SetCollate(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetOrientation" type="" overloaded="no">
-        <autodoc>SetOrientation(int orient)</autodoc>
+        <autodoc>SetOrientation(self, int orient)</autodoc>
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterName" type="" overloaded="no">
         <paramlist>
           <param name="orient" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterName" type="" overloaded="no">
-        <autodoc>SetPrinterName(String name)</autodoc>
+        <autodoc>SetPrinterName(self, String name)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(bool colour)</autodoc>
+        <autodoc>SetColour(self, bool colour)</autodoc>
         <paramlist>
           <param name="colour" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetDuplex" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetDuplex" type="" overloaded="no">
-        <autodoc>SetDuplex(int duplex)</autodoc>
+        <autodoc>SetDuplex(self, int duplex)</autodoc>
         <paramlist>
           <param name="duplex" type="wxDuplexMode" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperId" type="" overloaded="no">
         <paramlist>
           <param name="duplex" type="wxDuplexMode" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperId" type="" overloaded="no">
-        <autodoc>SetPaperId(int sizeId)</autodoc>
+        <autodoc>SetPaperId(self, int sizeId)</autodoc>
         <paramlist>
           <param name="sizeId" type="wxPaperSize" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperSize" type="" overloaded="no">
         <paramlist>
           <param name="sizeId" type="wxPaperSize" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperSize" type="" overloaded="no">
-        <autodoc>SetPaperSize(Size sz)</autodoc>
+        <autodoc>SetPaperSize(self, Size sz)</autodoc>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetQuality" type="" overloaded="no">
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetQuality" type="" overloaded="no">
-        <autodoc>SetQuality(int quality)</autodoc>
+        <autodoc>SetQuality(self, int quality)</autodoc>
         <paramlist>
           <param name="quality" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrinterCommand" type="String" overloaded="no">
         <paramlist>
           <param name="quality" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrinterCommand" type="String" overloaded="no">
-        <autodoc>GetPrinterCommand() -&gt; String</autodoc>
+        <autodoc>GetPrinterCommand(self) -&gt; String</autodoc>
       </method>
       <method name="GetPrinterOptions" type="String" overloaded="no">
       </method>
       <method name="GetPrinterOptions" type="String" overloaded="no">
-        <autodoc>GetPrinterOptions() -&gt; String</autodoc>
+        <autodoc>GetPrinterOptions(self) -&gt; String</autodoc>
       </method>
       <method name="GetPreviewCommand" type="String" overloaded="no">
       </method>
       <method name="GetPreviewCommand" type="String" overloaded="no">
-        <autodoc>GetPreviewCommand() -&gt; String</autodoc>
+        <autodoc>GetPreviewCommand(self) -&gt; String</autodoc>
       </method>
       <method name="GetFilename" type="String" overloaded="no">
       </method>
       <method name="GetFilename" type="String" overloaded="no">
-        <autodoc>GetFilename() -&gt; String</autodoc>
+        <autodoc>GetFilename(self) -&gt; String</autodoc>
       </method>
       <method name="GetFontMetricPath" type="String" overloaded="no">
       </method>
       <method name="GetFontMetricPath" type="String" overloaded="no">
-        <autodoc>GetFontMetricPath() -&gt; String</autodoc>
+        <autodoc>GetFontMetricPath(self) -&gt; String</autodoc>
       </method>
       <method name="GetPrinterScaleX" type="double" overloaded="no">
       </method>
       <method name="GetPrinterScaleX" type="double" overloaded="no">
-        <autodoc>GetPrinterScaleX() -&gt; double</autodoc>
+        <autodoc>GetPrinterScaleX(self) -&gt; double</autodoc>
       </method>
       <method name="GetPrinterScaleY" type="double" overloaded="no">
       </method>
       <method name="GetPrinterScaleY" type="double" overloaded="no">
-        <autodoc>GetPrinterScaleY() -&gt; double</autodoc>
+        <autodoc>GetPrinterScaleY(self) -&gt; double</autodoc>
       </method>
       <method name="GetPrinterTranslateX" type="long" overloaded="no">
       </method>
       <method name="GetPrinterTranslateX" type="long" overloaded="no">
-        <autodoc>GetPrinterTranslateX() -&gt; long</autodoc>
+        <autodoc>GetPrinterTranslateX(self) -&gt; long</autodoc>
       </method>
       <method name="GetPrinterTranslateY" type="long" overloaded="no">
       </method>
       <method name="GetPrinterTranslateY" type="long" overloaded="no">
-        <autodoc>GetPrinterTranslateY() -&gt; long</autodoc>
+        <autodoc>GetPrinterTranslateY(self) -&gt; long</autodoc>
       </method>
       <method name="GetPrintMode" type="wxPrintMode" overloaded="no">
       </method>
       <method name="GetPrintMode" type="wxPrintMode" overloaded="no">
-        <autodoc>GetPrintMode() -&gt; int</autodoc>
+        <autodoc>GetPrintMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetPrinterCommand" type="" overloaded="no">
       </method>
       <method name="SetPrinterCommand" type="" overloaded="no">
-        <autodoc>SetPrinterCommand(String command)</autodoc>
+        <autodoc>SetPrinterCommand(self, String command)</autodoc>
         <paramlist>
           <param name="command" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterOptions" type="" overloaded="no">
         <paramlist>
           <param name="command" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterOptions" type="" overloaded="no">
-        <autodoc>SetPrinterOptions(String options)</autodoc>
+        <autodoc>SetPrinterOptions(self, String options)</autodoc>
         <paramlist>
           <param name="options" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPreviewCommand" type="" overloaded="no">
         <paramlist>
           <param name="options" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPreviewCommand" type="" overloaded="no">
-        <autodoc>SetPreviewCommand(String command)</autodoc>
+        <autodoc>SetPreviewCommand(self, String command)</autodoc>
         <paramlist>
           <param name="command" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFilename" type="" overloaded="no">
         <paramlist>
           <param name="command" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFilename" type="" overloaded="no">
-        <autodoc>SetFilename(String filename)</autodoc>
+        <autodoc>SetFilename(self, String filename)</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFontMetricPath" type="" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFontMetricPath" type="" overloaded="no">
-        <autodoc>SetFontMetricPath(String path)</autodoc>
+        <autodoc>SetFontMetricPath(self, String path)</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterScaleX" type="" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterScaleX" type="" overloaded="no">
-        <autodoc>SetPrinterScaleX(double x)</autodoc>
+        <autodoc>SetPrinterScaleX(self, double x)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterScaleY" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterScaleY" type="" overloaded="no">
-        <autodoc>SetPrinterScaleY(double y)</autodoc>
+        <autodoc>SetPrinterScaleY(self, double y)</autodoc>
         <paramlist>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterScaling" type="" overloaded="no">
         <paramlist>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterScaling" type="" overloaded="no">
-        <autodoc>SetPrinterScaling(double x, double y)</autodoc>
+        <autodoc>SetPrinterScaling(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterTranslateX" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterTranslateX" type="" overloaded="no">
-        <autodoc>SetPrinterTranslateX(long x)</autodoc>
+        <autodoc>SetPrinterTranslateX(self, long x)</autodoc>
         <paramlist>
           <param name="x" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterTranslateY" type="" overloaded="no">
         <paramlist>
           <param name="x" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterTranslateY" type="" overloaded="no">
-        <autodoc>SetPrinterTranslateY(long y)</autodoc>
+        <autodoc>SetPrinterTranslateY(self, long y)</autodoc>
         <paramlist>
           <param name="y" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterTranslation" type="" overloaded="no">
         <paramlist>
           <param name="y" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetPrinterTranslation" type="" overloaded="no">
-        <autodoc>SetPrinterTranslation(long x, long y)</autodoc>
+        <autodoc>SetPrinterTranslation(self, long x, long y)</autodoc>
         <paramlist>
           <param name="x" type="long" default=""/>
           <param name="y" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintMode" type="" overloaded="no">
         <paramlist>
           <param name="x" type="long" default=""/>
           <param name="y" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintMode" type="" overloaded="no">
-        <autodoc>SetPrintMode(int printMode)</autodoc>
+        <autodoc>SetPrintMode(self, int printMode)</autodoc>
         <paramlist>
           <param name="printMode" type="wxPrintMode" default=""/>
         </paramlist>
       </method>
       <method name="GetOutputStream" type="OutputStream" overloaded="no">
         <paramlist>
           <param name="printMode" type="wxPrintMode" default=""/>
         </paramlist>
       </method>
       <method name="GetOutputStream" type="OutputStream" overloaded="no">
-        <autodoc>GetOutputStream() -&gt; OutputStream</autodoc>
+        <autodoc>GetOutputStream(self) -&gt; OutputStream</autodoc>
       </method>
       <method name="SetOutputStream" type="" overloaded="no">
       </method>
       <method name="SetOutputStream" type="" overloaded="no">
-        <autodoc>SetOutputStream(OutputStream outputstream)</autodoc>
+        <autodoc>SetOutputStream(self, OutputStream outputstream)</autodoc>
         <paramlist>
           <param name="outputstream" type="OutputStream" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="outputstream" type="OutputStream" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="windows">
+    <class name="PageSetupDialogData" oldname="wxPageSetupDialogData" module="_windows">
       <baseclass name="Object"/>
       <baseclass name="Object"/>
-      <constructor name="PageSetupDialogData" overloaded="no">
-        <autodoc>__init__() -&gt; PageSetupDialogData</autodoc>
+      <constructor name="PageSetupDialogData" overloaded="yes"/>
+      <constructor name="PageSetupDialogData" overloaded="yes">
+        <autodoc>__init__(self) -&gt; PageSetupDialogData
+__init__(self, PageSetupDialogData data) -&gt; PageSetupDialogData</autodoc>
+        <paramlist>
+          <param name="data" type="PageSetupDialogData" default=""/>
+        </paramlist>
       </constructor>
       <destructor name="~wxPageSetupDialogData" overloaded="no">
       </constructor>
       <destructor name="~wxPageSetupDialogData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="EnableHelp" type="" overloaded="no">
       </destructor>
       <method name="EnableHelp" type="" overloaded="no">
-        <autodoc>EnableHelp(bool flag)</autodoc>
+        <autodoc>EnableHelp(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableMargins" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableMargins" type="" overloaded="no">
-        <autodoc>EnableMargins(bool flag)</autodoc>
+        <autodoc>EnableMargins(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableOrientation" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableOrientation" type="" overloaded="no">
-        <autodoc>EnableOrientation(bool flag)</autodoc>
+        <autodoc>EnableOrientation(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePaper" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePaper" type="" overloaded="no">
-        <autodoc>EnablePaper(bool flag)</autodoc>
+        <autodoc>EnablePaper(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePrinter" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePrinter" type="" overloaded="no">
-        <autodoc>EnablePrinter(bool flag)</autodoc>
+        <autodoc>EnablePrinter(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultMinMargins" type="bool" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultMinMargins" type="bool" overloaded="no">
-        <autodoc>GetDefaultMinMargins() -&gt; bool</autodoc>
+        <autodoc>GetDefaultMinMargins(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnableMargins" type="bool" overloaded="no">
       </method>
       <method name="GetEnableMargins" type="bool" overloaded="no">
-        <autodoc>GetEnableMargins() -&gt; bool</autodoc>
+        <autodoc>GetEnableMargins(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnableOrientation" type="bool" overloaded="no">
       </method>
       <method name="GetEnableOrientation" type="bool" overloaded="no">
-        <autodoc>GetEnableOrientation() -&gt; bool</autodoc>
+        <autodoc>GetEnableOrientation(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnablePaper" type="bool" overloaded="no">
       </method>
       <method name="GetEnablePaper" type="bool" overloaded="no">
-        <autodoc>GetEnablePaper() -&gt; bool</autodoc>
+        <autodoc>GetEnablePaper(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnablePrinter" type="bool" overloaded="no">
       </method>
       <method name="GetEnablePrinter" type="bool" overloaded="no">
-        <autodoc>GetEnablePrinter() -&gt; bool</autodoc>
+        <autodoc>GetEnablePrinter(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnableHelp" type="bool" overloaded="no">
       </method>
       <method name="GetEnableHelp" type="bool" overloaded="no">
-        <autodoc>GetEnableHelp() -&gt; bool</autodoc>
+        <autodoc>GetEnableHelp(self) -&gt; bool</autodoc>
       </method>
       <method name="GetDefaultInfo" type="bool" overloaded="no">
       </method>
       <method name="GetDefaultInfo" type="bool" overloaded="no">
-        <autodoc>GetDefaultInfo() -&gt; bool</autodoc>
+        <autodoc>GetDefaultInfo(self) -&gt; bool</autodoc>
       </method>
       <method name="GetMarginTopLeft" type="Point" overloaded="no">
       </method>
       <method name="GetMarginTopLeft" type="Point" overloaded="no">
-        <autodoc>GetMarginTopLeft() -&gt; Point</autodoc>
+        <autodoc>GetMarginTopLeft(self) -&gt; Point</autodoc>
       </method>
       <method name="GetMarginBottomRight" type="Point" overloaded="no">
       </method>
       <method name="GetMarginBottomRight" type="Point" overloaded="no">
-        <autodoc>GetMarginBottomRight() -&gt; Point</autodoc>
+        <autodoc>GetMarginBottomRight(self) -&gt; Point</autodoc>
       </method>
       <method name="GetMinMarginTopLeft" type="Point" overloaded="no">
       </method>
       <method name="GetMinMarginTopLeft" type="Point" overloaded="no">
-        <autodoc>GetMinMarginTopLeft() -&gt; Point</autodoc>
+        <autodoc>GetMinMarginTopLeft(self) -&gt; Point</autodoc>
       </method>
       <method name="GetMinMarginBottomRight" type="Point" overloaded="no">
       </method>
       <method name="GetMinMarginBottomRight" type="Point" overloaded="no">
-        <autodoc>GetMinMarginBottomRight() -&gt; Point</autodoc>
+        <autodoc>GetMinMarginBottomRight(self) -&gt; Point</autodoc>
       </method>
       <method name="GetPaperId" type="wxPaperSize" overloaded="no">
       </method>
       <method name="GetPaperId" type="wxPaperSize" overloaded="no">
-        <autodoc>GetPaperId() -&gt; int</autodoc>
+        <autodoc>GetPaperId(self) -&gt; int</autodoc>
       </method>
       <method name="GetPaperSize" type="Size" overloaded="no">
       </method>
       <method name="GetPaperSize" type="Size" overloaded="no">
-        <autodoc>GetPaperSize() -&gt; Size</autodoc>
+        <autodoc>GetPaperSize(self) -&gt; Size</autodoc>
       </method>
       <method name="GetPrintData" type="PrintData" overloaded="no">
       </method>
       <method name="GetPrintData" type="PrintData" overloaded="no">
-        <autodoc>GetPrintData() -&gt; PrintData</autodoc>
+        <autodoc>GetPrintData(self) -&gt; PrintData</autodoc>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="SetDefaultInfo" type="" overloaded="no">
       </method>
       <method name="SetDefaultInfo" type="" overloaded="no">
-        <autodoc>SetDefaultInfo(bool flag)</autodoc>
+        <autodoc>SetDefaultInfo(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultMinMargins" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultMinMargins" type="" overloaded="no">
-        <autodoc>SetDefaultMinMargins(bool flag)</autodoc>
+        <autodoc>SetDefaultMinMargins(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginTopLeft" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginTopLeft" type="" overloaded="no">
-        <autodoc>SetMarginTopLeft(Point pt)</autodoc>
+        <autodoc>SetMarginTopLeft(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginBottomRight" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginBottomRight" type="" overloaded="no">
-        <autodoc>SetMarginBottomRight(Point pt)</autodoc>
+        <autodoc>SetMarginBottomRight(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMinMarginTopLeft" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMinMarginTopLeft" type="" overloaded="no">
-        <autodoc>SetMinMarginTopLeft(Point pt)</autodoc>
+        <autodoc>SetMinMarginTopLeft(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMinMarginBottomRight" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetMinMarginBottomRight" type="" overloaded="no">
-        <autodoc>SetMinMarginBottomRight(Point pt)</autodoc>
+        <autodoc>SetMinMarginBottomRight(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperId" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperId" type="" overloaded="no">
-        <autodoc>SetPaperId(int id)</autodoc>
+        <autodoc>SetPaperId(self, int id)</autodoc>
         <paramlist>
           <param name="id" type="wxPaperSize" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperSize" type="" overloaded="no">
         <paramlist>
           <param name="id" type="wxPaperSize" default=""/>
         </paramlist>
       </method>
       <method name="SetPaperSize" type="" overloaded="no">
-        <autodoc>SetPaperSize(Size size)</autodoc>
+        <autodoc>SetPaperSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintData" type="" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintData" type="" overloaded="no">
-        <autodoc>SetPrintData(PrintData printData)</autodoc>
+        <autodoc>SetPrintData(self, PrintData printData)</autodoc>
         <paramlist>
           <param name="printData" type="PrintData" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="printData" type="PrintData" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="windows">
+    <class name="PageSetupDialog" oldname="wxPageSetupDialog" module="_windows">
       <baseclass name="Dialog"/>
       <constructor name="PageSetupDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="PageSetupDialog" overloaded="no">
-        <autodoc>__init__(Window parent, PageSetupDialogData data=None) -&gt; PageSetupDialog</autodoc>
+        <autodoc>__init__(self, Window parent, PageSetupDialogData data=None) -&gt; PageSetupDialog</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="PageSetupDialogData" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="PageSetupDialogData" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
-        <autodoc>GetPageSetupData() -&gt; PageSetupDialogData</autodoc>
+        <autodoc>GetPageSetupData(self) -&gt; PageSetupDialogData</autodoc>
       </method>
       <method name="ShowModal" type="int" overloaded="no">
       </method>
       <method name="ShowModal" type="int" overloaded="no">
-        <autodoc>ShowModal() -&gt; int</autodoc>
+        <autodoc>ShowModal(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PrintDialogData" oldname="wxPrintDialogData" module="windows">
+    <class name="PrintDialogData" oldname="wxPrintDialogData" module="_windows">
       <baseclass name="Object"/>
       <constructor name="PrintDialogData" overloaded="yes"/>
       <constructor name="PrintDialogData" overloaded="yes">
       <baseclass name="Object"/>
       <constructor name="PrintDialogData" overloaded="yes"/>
       <constructor name="PrintDialogData" overloaded="yes">
-        <autodoc>__init__() -&gt; PrintDialogData
-__init__(PrintData printData) -&gt; PrintDialogData</autodoc>
+        <autodoc>__init__(self) -&gt; PrintDialogData
+__init__(self, PrintData printData) -&gt; PrintDialogData</autodoc>
         <paramlist>
           <param name="printData" type="PrintData" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxPrintDialogData" overloaded="no">
         <paramlist>
           <param name="printData" type="PrintData" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxPrintDialogData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetFromPage" type="int" overloaded="no">
       </destructor>
       <method name="GetFromPage" type="int" overloaded="no">
-        <autodoc>GetFromPage() -&gt; int</autodoc>
+        <autodoc>GetFromPage(self) -&gt; int</autodoc>
       </method>
       <method name="GetToPage" type="int" overloaded="no">
       </method>
       <method name="GetToPage" type="int" overloaded="no">
-        <autodoc>GetToPage() -&gt; int</autodoc>
+        <autodoc>GetToPage(self) -&gt; int</autodoc>
       </method>
       <method name="GetMinPage" type="int" overloaded="no">
       </method>
       <method name="GetMinPage" type="int" overloaded="no">
-        <autodoc>GetMinPage() -&gt; int</autodoc>
+        <autodoc>GetMinPage(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxPage" type="int" overloaded="no">
       </method>
       <method name="GetMaxPage" type="int" overloaded="no">
-        <autodoc>GetMaxPage() -&gt; int</autodoc>
+        <autodoc>GetMaxPage(self) -&gt; int</autodoc>
       </method>
       <method name="GetNoCopies" type="int" overloaded="no">
       </method>
       <method name="GetNoCopies" type="int" overloaded="no">
-        <autodoc>GetNoCopies() -&gt; int</autodoc>
+        <autodoc>GetNoCopies(self) -&gt; int</autodoc>
       </method>
       <method name="GetAllPages" type="bool" overloaded="no">
       </method>
       <method name="GetAllPages" type="bool" overloaded="no">
-        <autodoc>GetAllPages() -&gt; bool</autodoc>
+        <autodoc>GetAllPages(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSelection" type="bool" overloaded="no">
       </method>
       <method name="GetSelection" type="bool" overloaded="no">
-        <autodoc>GetSelection() -&gt; bool</autodoc>
+        <autodoc>GetSelection(self) -&gt; bool</autodoc>
       </method>
       <method name="GetCollate" type="bool" overloaded="no">
       </method>
       <method name="GetCollate" type="bool" overloaded="no">
-        <autodoc>GetCollate() -&gt; bool</autodoc>
+        <autodoc>GetCollate(self) -&gt; bool</autodoc>
       </method>
       <method name="GetPrintToFile" type="bool" overloaded="no">
       </method>
       <method name="GetPrintToFile" type="bool" overloaded="no">
-        <autodoc>GetPrintToFile() -&gt; bool</autodoc>
+        <autodoc>GetPrintToFile(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSetupDialog" type="bool" overloaded="no">
       </method>
       <method name="GetSetupDialog" type="bool" overloaded="no">
-        <autodoc>GetSetupDialog() -&gt; bool</autodoc>
+        <autodoc>GetSetupDialog(self) -&gt; bool</autodoc>
       </method>
       <method name="SetFromPage" type="" overloaded="no">
       </method>
       <method name="SetFromPage" type="" overloaded="no">
-        <autodoc>SetFromPage(int v)</autodoc>
+        <autodoc>SetFromPage(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToPage" type="" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToPage" type="" overloaded="no">
-        <autodoc>SetToPage(int v)</autodoc>
+        <autodoc>SetToPage(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinPage" type="" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinPage" type="" overloaded="no">
-        <autodoc>SetMinPage(int v)</autodoc>
+        <autodoc>SetMinPage(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMaxPage" type="" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMaxPage" type="" overloaded="no">
-        <autodoc>SetMaxPage(int v)</autodoc>
+        <autodoc>SetMaxPage(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetNoCopies" type="" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetNoCopies" type="" overloaded="no">
-        <autodoc>SetNoCopies(int v)</autodoc>
+        <autodoc>SetNoCopies(self, int v)</autodoc>
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAllPages" type="" overloaded="no">
         <paramlist>
           <param name="v" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAllPages" type="" overloaded="no">
-        <autodoc>SetAllPages(bool flag)</autodoc>
+        <autodoc>SetAllPages(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(bool flag)</autodoc>
+        <autodoc>SetSelection(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetCollate" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetCollate" type="" overloaded="no">
-        <autodoc>SetCollate(bool flag)</autodoc>
+        <autodoc>SetCollate(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintToFile" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintToFile" type="" overloaded="no">
-        <autodoc>SetPrintToFile(bool flag)</autodoc>
+        <autodoc>SetPrintToFile(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSetupDialog" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSetupDialog" type="" overloaded="no">
-        <autodoc>SetSetupDialog(bool flag)</autodoc>
+        <autodoc>SetSetupDialog(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePrintToFile" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePrintToFile" type="" overloaded="no">
-        <autodoc>EnablePrintToFile(bool flag)</autodoc>
+        <autodoc>EnablePrintToFile(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableSelection" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableSelection" type="" overloaded="no">
-        <autodoc>EnableSelection(bool flag)</autodoc>
+        <autodoc>EnableSelection(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePageNumbers" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnablePageNumbers" type="" overloaded="no">
-        <autodoc>EnablePageNumbers(bool flag)</autodoc>
+        <autodoc>EnablePageNumbers(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableHelp" type="" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableHelp" type="" overloaded="no">
-        <autodoc>EnableHelp(bool flag)</autodoc>
+        <autodoc>EnableHelp(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetEnablePrintToFile" type="bool" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetEnablePrintToFile" type="bool" overloaded="no">
-        <autodoc>GetEnablePrintToFile() -&gt; bool</autodoc>
+        <autodoc>GetEnablePrintToFile(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnableSelection" type="bool" overloaded="no">
       </method>
       <method name="GetEnableSelection" type="bool" overloaded="no">
-        <autodoc>GetEnableSelection() -&gt; bool</autodoc>
+        <autodoc>GetEnableSelection(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnablePageNumbers" type="bool" overloaded="no">
       </method>
       <method name="GetEnablePageNumbers" type="bool" overloaded="no">
-        <autodoc>GetEnablePageNumbers() -&gt; bool</autodoc>
+        <autodoc>GetEnablePageNumbers(self) -&gt; bool</autodoc>
       </method>
       <method name="GetEnableHelp" type="bool" overloaded="no">
       </method>
       <method name="GetEnableHelp" type="bool" overloaded="no">
-        <autodoc>GetEnableHelp() -&gt; bool</autodoc>
+        <autodoc>GetEnableHelp(self) -&gt; bool</autodoc>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="GetPrintData" type="PrintData" overloaded="no">
       </method>
       <method name="GetPrintData" type="PrintData" overloaded="no">
-        <autodoc>GetPrintData() -&gt; PrintData</autodoc>
+        <autodoc>GetPrintData(self) -&gt; PrintData</autodoc>
       </method>
       <method name="SetPrintData" type="" overloaded="no">
       </method>
       <method name="SetPrintData" type="" overloaded="no">
-        <autodoc>SetPrintData(PrintData printData)</autodoc>
+        <autodoc>SetPrintData(self, PrintData printData)</autodoc>
         <paramlist>
           <param name="printData" type="PrintData" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="printData" type="PrintData" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PrintDialog" oldname="wxPrintDialog" module="windows">
+    <class name="PrintDialog" oldname="wxPrintDialog" module="_windows">
       <baseclass name="Dialog"/>
       <constructor name="PrintDialog" overloaded="no">
       <baseclass name="Dialog"/>
       <constructor name="PrintDialog" overloaded="no">
-        <autodoc>__init__(Window parent, PrintDialogData data=None) -&gt; PrintDialog</autodoc>
+        <autodoc>__init__(self, Window parent, PrintDialogData data=None) -&gt; PrintDialog</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="PrintDialogData" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="data" type="PrintDialogData" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
-        <autodoc>GetPrintDialogData() -&gt; PrintDialogData</autodoc>
+        <autodoc>GetPrintDialogData(self) -&gt; PrintDialogData</autodoc>
       </method>
       <method name="GetPrintDC" type="DC" overloaded="no">
       </method>
       <method name="GetPrintDC" type="DC" overloaded="no">
-        <autodoc>GetPrintDC() -&gt; DC</autodoc>
+        <autodoc>GetPrintDC(self) -&gt; DC</autodoc>
       </method>
       <method name="ShowModal" type="int" overloaded="no">
       </method>
       <method name="ShowModal" type="int" overloaded="no">
-        <autodoc>ShowModal() -&gt; int</autodoc>
+        <autodoc>ShowModal(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="Printer" oldname="wxPrinter" module="windows">
+    <class name="Printer" oldname="wxPrinter" module="_windows">
       <baseclass name="Object"/>
       <constructor name="Printer" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="Printer" overloaded="no">
-        <autodoc>__init__(PrintDialogData data=None) -&gt; Printer</autodoc>
+        <autodoc>__init__(self, PrintDialogData data=None) -&gt; Printer</autodoc>
         <paramlist>
           <param name="data" type="PrintDialogData" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPrinter" overloaded="no">
         <paramlist>
           <param name="data" type="PrintDialogData" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPrinter" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="CreateAbortWindow" type="" overloaded="no">
       </destructor>
       <method name="CreateAbortWindow" type="" overloaded="no">
-        <autodoc>CreateAbortWindow(Window parent, Printout printout)</autodoc>
+        <autodoc>CreateAbortWindow(self, Window parent, Printout printout)</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="printout" type="wxPyPrintout" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="printout" type="wxPyPrintout" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
-        <autodoc>GetPrintDialogData() -&gt; PrintDialogData</autodoc>
+        <autodoc>GetPrintDialogData(self) -&gt; PrintDialogData</autodoc>
       </method>
       <method name="Print" type="bool" overloaded="no">
       </method>
       <method name="Print" type="bool" overloaded="no">
-        <autodoc>Print(Window parent, Printout printout, int prompt=True) -&gt; bool</autodoc>
+        <autodoc>Print(self, Window parent, Printout printout, int prompt=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="printout" type="wxPyPrintout" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="printout" type="wxPyPrintout" default=""/>
@@ -14396,13 +16337,13 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
       <method name="PrintDialog" type="DC" overloaded="no">
         </paramlist>
       </method>
       <method name="PrintDialog" type="DC" overloaded="no">
-        <autodoc>PrintDialog(Window parent) -&gt; DC</autodoc>
+        <autodoc>PrintDialog(self, Window parent) -&gt; DC</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="ReportError" type="" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="ReportError" type="" overloaded="no">
-        <autodoc>ReportError(Window parent, Printout printout, String message)</autodoc>
+        <autodoc>ReportError(self, Window parent, Printout printout, String message)</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="printout" type="wxPyPrintout" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="printout" type="wxPyPrintout" default=""/>
@@ -14410,47 +16351,47 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
       <method name="Setup" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Setup" type="bool" overloaded="no">
-        <autodoc>Setup(Window parent) -&gt; bool</autodoc>
+        <autodoc>Setup(self, Window parent) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetAbort" type="bool" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetAbort" type="bool" overloaded="no">
-        <autodoc>GetAbort() -&gt; bool</autodoc>
+        <autodoc>GetAbort(self) -&gt; bool</autodoc>
       </method>
       <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no">
         <autodoc>GetLastError() -&gt; int</autodoc>
       </staticmethod>
     </class>
       </method>
       <staticmethod name="GetLastError" type="wxPrinterError" overloaded="no">
         <autodoc>GetLastError() -&gt; int</autodoc>
       </staticmethod>
     </class>
-    <class name="Printout" oldname="wxPyPrintout" module="windows">
+    <class name="Printout" oldname="wxPyPrintout" module="_windows">
       <baseclass name="Object"/>
       <constructor name="wxPyPrintout" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="wxPyPrintout" overloaded="no">
-        <autodoc>__init__(String title=PrintoutTitleStr) -&gt; Printout</autodoc>
+        <autodoc>__init__(self, String title=PrintoutTitleStr) -&gt; Printout</autodoc>
         <paramlist>
           <param name="title" type="String" default="wxPyPrintoutTitleStr"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="title" type="String" default="wxPyPrintoutTitleStr"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
-        <autodoc>GetTitle() -&gt; String</autodoc>
+        <autodoc>GetTitle(self) -&gt; String</autodoc>
       </method>
       <method name="GetDC" type="DC" overloaded="no">
       </method>
       <method name="GetDC" type="DC" overloaded="no">
-        <autodoc>GetDC() -&gt; DC</autodoc>
+        <autodoc>GetDC(self) -&gt; DC</autodoc>
       </method>
       <method name="SetDC" type="" overloaded="no">
       </method>
       <method name="SetDC" type="" overloaded="no">
-        <autodoc>SetDC(DC dc)</autodoc>
+        <autodoc>SetDC(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="SetPageSizePixels" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="SetPageSizePixels" type="" overloaded="no">
-        <autodoc>SetPageSizePixels(int w, int h)</autodoc>
+        <autodoc>SetPageSizePixels(self, int w, int h)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
           <param name="h" type="int" default=""/>
         <paramlist>
           <param name="w" type="int" default=""/>
           <param name="h" type="int" default=""/>
@@ -14464,7 +16405,7 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
       <method name="SetPageSizeMM" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetPageSizeMM" type="" overloaded="no">
-        <autodoc>SetPageSizeMM(int w, int h)</autodoc>
+        <autodoc>SetPageSizeMM(self, int w, int h)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
           <param name="h" type="int" default=""/>
         <paramlist>
           <param name="w" type="int" default=""/>
           <param name="h" type="int" default=""/>
@@ -14478,7 +16419,7 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
       <method name="SetPPIScreen" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetPPIScreen" type="" overloaded="no">
-        <autodoc>SetPPIScreen(int x, int y)</autodoc>
+        <autodoc>SetPPIScreen(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -14492,7 +16433,7 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
       <method name="SetPPIPrinter" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetPPIPrinter" type="" overloaded="no">
-        <autodoc>SetPPIPrinter(int x, int y)</autodoc>
+        <autodoc>SetPPIPrinter(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -14506,35 +16447,35 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
       <method name="IsPreview" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsPreview" type="bool" overloaded="no">
-        <autodoc>IsPreview() -&gt; bool</autodoc>
+        <autodoc>IsPreview(self) -&gt; bool</autodoc>
       </method>
       <method name="SetIsPreview" type="" overloaded="no">
       </method>
       <method name="SetIsPreview" type="" overloaded="no">
-        <autodoc>SetIsPreview(bool p)</autodoc>
+        <autodoc>SetIsPreview(self, bool p)</autodoc>
         <paramlist>
           <param name="p" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="base_OnBeginDocument" type="bool" overloaded="no">
         <paramlist>
           <param name="p" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="base_OnBeginDocument" type="bool" overloaded="no">
-        <autodoc>base_OnBeginDocument(int startPage, int endPage) -&gt; bool</autodoc>
+        <autodoc>base_OnBeginDocument(self, int startPage, int endPage) -&gt; bool</autodoc>
         <paramlist>
           <param name="startPage" type="int" default=""/>
           <param name="endPage" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndDocument" type="" overloaded="no">
         <paramlist>
           <param name="startPage" type="int" default=""/>
           <param name="endPage" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndDocument" type="" overloaded="no">
-        <autodoc>base_OnEndDocument()</autodoc>
+        <autodoc>base_OnEndDocument(self)</autodoc>
       </method>
       <method name="base_OnBeginPrinting" type="" overloaded="no">
       </method>
       <method name="base_OnBeginPrinting" type="" overloaded="no">
-        <autodoc>base_OnBeginPrinting()</autodoc>
+        <autodoc>base_OnBeginPrinting(self)</autodoc>
       </method>
       <method name="base_OnEndPrinting" type="" overloaded="no">
       </method>
       <method name="base_OnEndPrinting" type="" overloaded="no">
-        <autodoc>base_OnEndPrinting()</autodoc>
+        <autodoc>base_OnEndPrinting(self)</autodoc>
       </method>
       <method name="base_OnPreparePrinting" type="" overloaded="no">
       </method>
       <method name="base_OnPreparePrinting" type="" overloaded="no">
-        <autodoc>base_OnPreparePrinting()</autodoc>
+        <autodoc>base_OnPreparePrinting(self)</autodoc>
       </method>
       <method name="base_HasPage" type="bool" overloaded="no">
       </method>
       <method name="base_HasPage" type="bool" overloaded="no">
-        <autodoc>base_HasPage(int page) -&gt; bool</autodoc>
+        <autodoc>base_HasPage(self, int page) -&gt; bool</autodoc>
         <paramlist>
           <param name="page" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="page" type="int" default=""/>
         </paramlist>
@@ -14549,10 +16490,10 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="windows">
+    <class name="PreviewCanvas" oldname="wxPreviewCanvas" module="_windows">
       <baseclass name="ScrolledWindow"/>
       <constructor name="PreviewCanvas" overloaded="no">
       <baseclass name="ScrolledWindow"/>
       <constructor name="PreviewCanvas" overloaded="no">
-        <autodoc>__init__(PrintPreview preview, Window parent, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, PrintPreview preview, Window parent, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, 
     String name=PreviewCanvasNameStr) -&gt; PreviewCanvas</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=0, 
     String name=PreviewCanvasNameStr) -&gt; PreviewCanvas</autodoc>
         <paramlist>
@@ -14565,10 +16506,10 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </constructor>
     </class>
         </paramlist>
       </constructor>
     </class>
-    <class name="PreviewFrame" oldname="wxPreviewFrame" module="windows">
+    <class name="PreviewFrame" oldname="wxPreviewFrame" module="_windows">
       <baseclass name="Frame"/>
       <constructor name="PreviewFrame" overloaded="no">
       <baseclass name="Frame"/>
       <constructor name="PreviewFrame" overloaded="no">
-        <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, 
     Size size=DefaultSize, 
     long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; PreviewFrame</autodoc>
         <paramlist>
     Size size=DefaultSize, 
     long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; PreviewFrame</autodoc>
         <paramlist>
@@ -14582,22 +16523,22 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </constructor>
       <method name="Initialize" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="Initialize" type="" overloaded="no">
-        <autodoc>Initialize()</autodoc>
+        <autodoc>Initialize(self)</autodoc>
       </method>
       <method name="CreateControlBar" type="" overloaded="no">
       </method>
       <method name="CreateControlBar" type="" overloaded="no">
-        <autodoc>CreateControlBar()</autodoc>
+        <autodoc>CreateControlBar(self)</autodoc>
       </method>
       <method name="CreateCanvas" type="" overloaded="no">
       </method>
       <method name="CreateCanvas" type="" overloaded="no">
-        <autodoc>CreateCanvas()</autodoc>
+        <autodoc>CreateCanvas(self)</autodoc>
       </method>
       <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no">
       </method>
       <method name="GetControlBar" type="wxPreviewControlBar" overloaded="no">
-        <autodoc>GetControlBar() -&gt; PreviewControlBar</autodoc>
+        <autodoc>GetControlBar(self) -&gt; PreviewControlBar</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="windows">
+    <class name="PreviewControlBar" oldname="wxPreviewControlBar" module="_windows">
       <baseclass name="Panel"/>
       <constructor name="PreviewControlBar" overloaded="no">
       <baseclass name="Panel"/>
       <constructor name="PreviewControlBar" overloaded="no">
-        <autodoc>__init__(PrintPreview preview, long buttons, Window parent, 
+        <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=TAB_TRAVERSAL, String name=PanelNameStr) -&gt; PreviewControlBar</autodoc>
         <paramlist>
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=TAB_TRAVERSAL, String name=PanelNameStr) -&gt; PreviewControlBar</autodoc>
         <paramlist>
@@ -14611,34 +16552,34 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </constructor>
       <method name="GetZoomControl" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetZoomControl" type="int" overloaded="no">
-        <autodoc>GetZoomControl() -&gt; int</autodoc>
+        <autodoc>GetZoomControl(self) -&gt; int</autodoc>
       </method>
       <method name="SetZoomControl" type="" overloaded="no">
       </method>
       <method name="SetZoomControl" type="" overloaded="no">
-        <autodoc>SetZoomControl(int zoom)</autodoc>
+        <autodoc>SetZoomControl(self, int zoom)</autodoc>
         <paramlist>
           <param name="zoom" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no">
         <paramlist>
           <param name="zoom" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintPreview" type="wxPrintPreview" overloaded="no">
-        <autodoc>GetPrintPreview() -&gt; PrintPreview</autodoc>
+        <autodoc>GetPrintPreview(self) -&gt; PrintPreview</autodoc>
       </method>
       <method name="OnNext" type="" overloaded="no">
       </method>
       <method name="OnNext" type="" overloaded="no">
-        <autodoc>OnNext()</autodoc>
+        <autodoc>OnNext(self)</autodoc>
       </method>
       <method name="OnPrevious" type="" overloaded="no">
       </method>
       <method name="OnPrevious" type="" overloaded="no">
-        <autodoc>OnPrevious()</autodoc>
+        <autodoc>OnPrevious(self)</autodoc>
       </method>
       <method name="OnFirst" type="" overloaded="no">
       </method>
       <method name="OnFirst" type="" overloaded="no">
-        <autodoc>OnFirst()</autodoc>
+        <autodoc>OnFirst(self)</autodoc>
       </method>
       <method name="OnLast" type="" overloaded="no">
       </method>
       <method name="OnLast" type="" overloaded="no">
-        <autodoc>OnLast()</autodoc>
+        <autodoc>OnLast(self)</autodoc>
       </method>
       <method name="OnGoto" type="" overloaded="no">
       </method>
       <method name="OnGoto" type="" overloaded="no">
-        <autodoc>OnGoto()</autodoc>
+        <autodoc>OnGoto(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PrintPreview" oldname="wxPrintPreview" module="windows">
+    <class name="PrintPreview" oldname="wxPrintPreview" module="_windows">
       <baseclass name="Object"/>
       <constructor name="PrintPreview" overloaded="yes">
         <paramlist>
       <baseclass name="Object"/>
       <constructor name="PrintPreview" overloaded="yes">
         <paramlist>
@@ -14648,8 +16589,8 @@ __init__(PrintData printData) -&gt; PrintDialogData</autodoc>
         </paramlist>
       </constructor>
       <constructor name="PrintPreview" overloaded="yes">
         </paramlist>
       </constructor>
       <constructor name="PrintPreview" overloaded="yes">
-        <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -&gt; PrintPreview
-__init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt; PrintPreview</autodoc>
+        <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -&gt; PrintPreview
+__init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -&gt; PrintPreview</autodoc>
         <paramlist>
           <param name="printout" type="Printout" default=""/>
           <param name="printoutForPrinting" type="Printout" default=""/>
         <paramlist>
           <param name="printout" type="Printout" default=""/>
           <param name="printoutForPrinting" type="Printout" default=""/>
@@ -14657,108 +16598,108 @@ __init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt;
         </paramlist>
       </constructor>
       <method name="SetCurrentPage" type="bool" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetCurrentPage" type="bool" overloaded="no">
-        <autodoc>SetCurrentPage(int pageNum) -&gt; bool</autodoc>
+        <autodoc>SetCurrentPage(self, int pageNum) -&gt; bool</autodoc>
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentPage" type="int" overloaded="no">
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentPage" type="int" overloaded="no">
-        <autodoc>GetCurrentPage() -&gt; int</autodoc>
+        <autodoc>GetCurrentPage(self) -&gt; int</autodoc>
       </method>
       <method name="SetPrintout" type="" overloaded="no">
       </method>
       <method name="SetPrintout" type="" overloaded="no">
-        <autodoc>SetPrintout(Printout printout)</autodoc>
+        <autodoc>SetPrintout(self, Printout printout)</autodoc>
         <paramlist>
           <param name="printout" type="Printout" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintout" type="Printout" overloaded="no">
         <paramlist>
           <param name="printout" type="Printout" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintout" type="Printout" overloaded="no">
-        <autodoc>GetPrintout() -&gt; Printout</autodoc>
+        <autodoc>GetPrintout(self) -&gt; Printout</autodoc>
       </method>
       <method name="GetPrintoutForPrinting" type="Printout" overloaded="no">
       </method>
       <method name="GetPrintoutForPrinting" type="Printout" overloaded="no">
-        <autodoc>GetPrintoutForPrinting() -&gt; Printout</autodoc>
+        <autodoc>GetPrintoutForPrinting(self) -&gt; Printout</autodoc>
       </method>
       <method name="SetFrame" type="" overloaded="no">
       </method>
       <method name="SetFrame" type="" overloaded="no">
-        <autodoc>SetFrame(Frame frame)</autodoc>
+        <autodoc>SetFrame(self, Frame frame)</autodoc>
         <paramlist>
           <param name="frame" type="Frame" default=""/>
         </paramlist>
       </method>
       <method name="SetCanvas" type="" overloaded="no">
         <paramlist>
           <param name="frame" type="Frame" default=""/>
         </paramlist>
       </method>
       <method name="SetCanvas" type="" overloaded="no">
-        <autodoc>SetCanvas(PreviewCanvas canvas)</autodoc>
+        <autodoc>SetCanvas(self, PreviewCanvas canvas)</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
         </paramlist>
       </method>
       <method name="GetFrame" type="Frame" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
         </paramlist>
       </method>
       <method name="GetFrame" type="Frame" overloaded="no">
-        <autodoc>GetFrame() -&gt; Frame</autodoc>
+        <autodoc>GetFrame(self) -&gt; Frame</autodoc>
       </method>
       <method name="GetCanvas" type="PreviewCanvas" overloaded="no">
       </method>
       <method name="GetCanvas" type="PreviewCanvas" overloaded="no">
-        <autodoc>GetCanvas() -&gt; PreviewCanvas</autodoc>
+        <autodoc>GetCanvas(self) -&gt; PreviewCanvas</autodoc>
       </method>
       <method name="PaintPage" type="bool" overloaded="no">
       </method>
       <method name="PaintPage" type="bool" overloaded="no">
-        <autodoc>PaintPage(PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
+        <autodoc>PaintPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DrawBlankPage" type="bool" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DrawBlankPage" type="bool" overloaded="no">
-        <autodoc>DrawBlankPage(PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
+        <autodoc>DrawBlankPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="RenderPage" type="bool" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="RenderPage" type="bool" overloaded="no">
-        <autodoc>RenderPage(int pageNum) -&gt; bool</autodoc>
+        <autodoc>RenderPage(self, int pageNum) -&gt; bool</autodoc>
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AdjustScrollbars" type="" overloaded="no">
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AdjustScrollbars" type="" overloaded="no">
-        <autodoc>AdjustScrollbars(PreviewCanvas canvas)</autodoc>
+        <autodoc>AdjustScrollbars(self, PreviewCanvas canvas)</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintDialogData" type="PrintDialogData" overloaded="no">
-        <autodoc>GetPrintDialogData() -&gt; PrintDialogData</autodoc>
+        <autodoc>GetPrintDialogData(self) -&gt; PrintDialogData</autodoc>
       </method>
       <method name="SetZoom" type="" overloaded="no">
       </method>
       <method name="SetZoom" type="" overloaded="no">
-        <autodoc>SetZoom(int percent)</autodoc>
+        <autodoc>SetZoom(self, int percent)</autodoc>
         <paramlist>
           <param name="percent" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetZoom" type="int" overloaded="no">
         <paramlist>
           <param name="percent" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetZoom" type="int" overloaded="no">
-        <autodoc>GetZoom() -&gt; int</autodoc>
+        <autodoc>GetZoom(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxPage" type="int" overloaded="no">
       </method>
       <method name="GetMaxPage" type="int" overloaded="no">
-        <autodoc>GetMaxPage() -&gt; int</autodoc>
+        <autodoc>GetMaxPage(self) -&gt; int</autodoc>
       </method>
       <method name="GetMinPage" type="int" overloaded="no">
       </method>
       <method name="GetMinPage" type="int" overloaded="no">
-        <autodoc>GetMinPage() -&gt; int</autodoc>
+        <autodoc>GetMinPage(self) -&gt; int</autodoc>
       </method>
       <method name="Ok" type="bool" overloaded="no">
       </method>
       <method name="Ok" type="bool" overloaded="no">
-        <autodoc>Ok() -&gt; bool</autodoc>
+        <autodoc>Ok(self) -&gt; bool</autodoc>
       </method>
       <method name="SetOk" type="" overloaded="no">
       </method>
       <method name="SetOk" type="" overloaded="no">
-        <autodoc>SetOk(bool ok)</autodoc>
+        <autodoc>SetOk(self, bool ok)</autodoc>
         <paramlist>
           <param name="ok" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Print" type="bool" overloaded="no">
         <paramlist>
           <param name="ok" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Print" type="bool" overloaded="no">
-        <autodoc>Print(bool interactive) -&gt; bool</autodoc>
+        <autodoc>Print(self, bool interactive) -&gt; bool</autodoc>
         <paramlist>
           <param name="interactive" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="DetermineScaling" type="" overloaded="no">
         <paramlist>
           <param name="interactive" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="DetermineScaling" type="" overloaded="no">
-        <autodoc>DetermineScaling()</autodoc>
+        <autodoc>DetermineScaling(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="windows">
+    <class name="PyPrintPreview" oldname="wxPyPrintPreview" module="_windows">
       <baseclass name="PrintPreview"/>
       <constructor name="PyPrintPreview" overloaded="yes">
         <paramlist>
       <baseclass name="PrintPreview"/>
       <constructor name="PyPrintPreview" overloaded="yes">
         <paramlist>
@@ -14768,8 +16709,8 @@ __init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt;
         </paramlist>
       </constructor>
       <constructor name="PyPrintPreview" overloaded="yes">
         </paramlist>
       </constructor>
       <constructor name="PyPrintPreview" overloaded="yes">
-        <autodoc>__init__(Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -&gt; PyPrintPreview
-__init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt; PyPrintPreview</autodoc>
+        <autodoc>__init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -&gt; PyPrintPreview
+__init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -&gt; PyPrintPreview</autodoc>
         <paramlist>
           <param name="printout" type="Printout" default=""/>
           <param name="printoutForPrinting" type="Printout" default=""/>
         <paramlist>
           <param name="printout" type="Printout" default=""/>
           <param name="printoutForPrinting" type="Printout" default=""/>
@@ -14777,58 +16718,58 @@ __init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt;
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_SetCurrentPage" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_SetCurrentPage" type="bool" overloaded="no">
-        <autodoc>base_SetCurrentPage(int pageNum) -&gt; bool</autodoc>
+        <autodoc>base_SetCurrentPage(self, int pageNum) -&gt; bool</autodoc>
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_PaintPage" type="bool" overloaded="no">
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_PaintPage" type="bool" overloaded="no">
-        <autodoc>base_PaintPage(PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
+        <autodoc>base_PaintPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_DrawBlankPage" type="bool" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_DrawBlankPage" type="bool" overloaded="no">
-        <autodoc>base_DrawBlankPage(PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
+        <autodoc>base_DrawBlankPage(self, PreviewCanvas canvas, DC dc) -&gt; bool</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_RenderPage" type="bool" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_RenderPage" type="bool" overloaded="no">
-        <autodoc>base_RenderPage(int pageNum) -&gt; bool</autodoc>
+        <autodoc>base_RenderPage(self, int pageNum) -&gt; bool</autodoc>
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetZoom" type="" overloaded="no">
         <paramlist>
           <param name="pageNum" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetZoom" type="" overloaded="no">
-        <autodoc>base_SetZoom(int percent)</autodoc>
+        <autodoc>base_SetZoom(self, int percent)</autodoc>
         <paramlist>
           <param name="percent" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_Print" type="bool" overloaded="no">
         <paramlist>
           <param name="percent" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_Print" type="bool" overloaded="no">
-        <autodoc>base_Print(bool interactive) -&gt; bool</autodoc>
+        <autodoc>base_Print(self, bool interactive) -&gt; bool</autodoc>
         <paramlist>
           <param name="interactive" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="base_DetermineScaling" type="" overloaded="no">
         <paramlist>
           <param name="interactive" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="base_DetermineScaling" type="" overloaded="no">
-        <autodoc>base_DetermineScaling()</autodoc>
+        <autodoc>base_DetermineScaling(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="windows">
+    <class name="PyPreviewFrame" oldname="wxPyPreviewFrame" module="_windows">
       <baseclass name="PreviewFrame"/>
       <constructor name="PyPreviewFrame" overloaded="no">
       <baseclass name="PreviewFrame"/>
       <constructor name="PyPreviewFrame" overloaded="no">
-        <autodoc>__init__(PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, PrintPreview preview, Frame parent, String title, Point pos=DefaultPosition, 
     Size size=DefaultSize, 
     long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; PyPreviewFrame</autodoc>
         <paramlist>
     Size size=DefaultSize, 
     long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -&gt; PyPreviewFrame</autodoc>
         <paramlist>
@@ -14842,38 +16783,38 @@ __init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt;
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetPreviewCanvas" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetPreviewCanvas" type="" overloaded="no">
-        <autodoc>SetPreviewCanvas(PreviewCanvas canvas)</autodoc>
+        <autodoc>SetPreviewCanvas(self, PreviewCanvas canvas)</autodoc>
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
         </paramlist>
       </method>
       <method name="SetControlBar" type="" overloaded="no">
         <paramlist>
           <param name="canvas" type="PreviewCanvas" default=""/>
         </paramlist>
       </method>
       <method name="SetControlBar" type="" overloaded="no">
-        <autodoc>SetControlBar(PreviewControlBar bar)</autodoc>
+        <autodoc>SetControlBar(self, PreviewControlBar bar)</autodoc>
         <paramlist>
           <param name="bar" type="PreviewControlBar" default=""/>
         </paramlist>
       </method>
       <method name="base_Initialize" type="" overloaded="no">
         <paramlist>
           <param name="bar" type="PreviewControlBar" default=""/>
         </paramlist>
       </method>
       <method name="base_Initialize" type="" overloaded="no">
-        <autodoc>base_Initialize()</autodoc>
+        <autodoc>base_Initialize(self)</autodoc>
       </method>
       <method name="base_CreateCanvas" type="" overloaded="no">
       </method>
       <method name="base_CreateCanvas" type="" overloaded="no">
-        <autodoc>base_CreateCanvas()</autodoc>
+        <autodoc>base_CreateCanvas(self)</autodoc>
       </method>
       <method name="base_CreateControlBar" type="" overloaded="no">
       </method>
       <method name="base_CreateControlBar" type="" overloaded="no">
-        <autodoc>base_CreateControlBar()</autodoc>
+        <autodoc>base_CreateControlBar(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="windows">
+    <class name="PyPreviewControlBar" oldname="wxPyPreviewControlBar" module="_windows">
       <baseclass name="PreviewControlBar"/>
       <constructor name="PyPreviewControlBar" overloaded="no">
       <baseclass name="PreviewControlBar"/>
       <constructor name="PyPreviewControlBar" overloaded="no">
-        <autodoc>__init__(PrintPreview preview, long buttons, Window parent, 
+        <autodoc>__init__(self, PrintPreview preview, long buttons, Window parent, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=0, String name=PanelNameStr) -&gt; PyPreviewControlBar</autodoc>
         <paramlist>
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=0, String name=PanelNameStr) -&gt; PyPreviewControlBar</autodoc>
         <paramlist>
@@ -14887,61 +16828,133 @@ __init__(Printout printout, Printout printoutForPrinting, PrintData data) -&gt;
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintPreview" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintPreview" type="" overloaded="no">
-        <autodoc>SetPrintPreview(PrintPreview preview)</autodoc>
+        <autodoc>SetPrintPreview(self, PrintPreview preview)</autodoc>
         <paramlist>
           <param name="preview" type="PrintPreview" default=""/>
         </paramlist>
       </method>
       <method name="base_CreateButtons" type="" overloaded="no">
         <paramlist>
           <param name="preview" type="PrintPreview" default=""/>
         </paramlist>
       </method>
       <method name="base_CreateButtons" type="" overloaded="no">
-        <autodoc>base_CreateButtons()</autodoc>
+        <autodoc>base_CreateButtons(self)</autodoc>
       </method>
       <method name="base_SetZoomControl" type="" overloaded="no">
       </method>
       <method name="base_SetZoomControl" type="" overloaded="no">
-        <autodoc>base_SetZoomControl(int zoom)</autodoc>
+        <autodoc>base_SetZoomControl(self, int zoom)</autodoc>
         <paramlist>
           <param name="zoom" type="int" default=""/>
         </paramlist>
       </method>
     </class>
   </module>
         <paramlist>
           <param name="zoom" type="int" default=""/>
         </paramlist>
       </method>
     </class>
   </module>
-  <module name="controls">
-    <import name="core"/>
-    <pythoncode> wx = core </pythoncode>
+  <module name="_controls">
+    <import name="_core"/>
+    <pythoncode> wx = _core </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Button" oldname="wxButton" module="controls">
+    <class name="Button" oldname="wxButton" module="_controls">
       <docstring>A button is a control that contains a text string, and is one of the most
 common elements of a GUI.  It may be placed on a dialog box or panel, or
       <docstring>A button is a control that contains a text string, and is one of the most
 common elements of a GUI.  It may be placed on a dialog box or panel, or
-indeed almost any other window.</docstring>
-      <refdoc>
- Styles
-    wx.BU_LEFT:     Left-justifies the label. WIN32 only.
-    wx.BU_TOP:      Aligns the label to the top of the button. WIN32 only.
-    wx.BU_RIGHT:    Right-justifies the bitmap label. WIN32 only.
-    wx.BU_BOTTOM:   Aligns the label to the bottom of the button. WIN32 only.
-    wx.BU_EXACTFIT: Creates the button as small as possible instead of making
-                    it of the standard size (which is the default behaviour.)
-
- Events
-     EVT_BUTTON:    Sent when the button is clicked.
-</refdoc>
+indeed almost any other window.
+
+Window Styles
+-------------
+    ==============   ==========================================
+    wx.BU_LEFT       Left-justifies the label. Windows and GTK+ only.
+    wx.BU_TOP        Aligns the label to the top of the button.
+                     Windows and GTK+ only.
+    wx.BU_RIGHT      Right-justifies the bitmap label. Windows and GTK+ only.
+    wx.BU_BOTTOM     Aligns the label to the bottom of the button.
+                     Windows and GTK+ only.
+    wx.BU_EXACTFIT   Creates the button as small as possible
+                     instead of making it of the standard size
+                     (which is the default behaviour.)
+    ==============   ==========================================
+
+Events
+------
+    ============     ==========================================
+    EVT_BUTTON       Sent when the button is clicked.
+    ============     ==========================================
+
+:see: `wx.BitmapButton`
+</docstring>
       <baseclass name="Control"/>
       <constructor name="Button" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="Button" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=ButtonNameStr) -&gt; Button</autodoc>
-        <docstring>Create and show a button.</docstring>
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=ButtonNameStr) -&gt; Button</autodoc>
+        <docstring>Create and show a button.  The preferred way to create standard
+buttons is to use a standard ID and an empty label.  In this case
+wxWigets will automatically use a stock label that coresponds to the
+ID given.  In additon, the button will be decorated with stock icons
+under GTK+ 2.
+
+The stock IDs and coresponding labels are
+
+    ==================      ====================
+    wx.ID_ADD               'Add'
+    wx.ID_APPLY             '\\&amp;Apply'
+    wx.ID_BOLD              '\\&amp;Bold'
+    wx.ID_CANCEL            '\\&amp;Cancel'
+    wx.ID_CLEAR             '\\&amp;Clear'
+    wx.ID_CLOSE             '\\&amp;Close'
+    wx.ID_COPY              '\\&amp;Copy'
+    wx.ID_CUT               'Cu\\&amp;t'
+    wx.ID_DELETE            '\\&amp;Delete'
+    wx.ID_FIND              '\\&amp;Find'
+    wx.ID_REPLACE           'Find and rep\\&amp;lace'
+    wx.ID_BACKWARD          '\\&amp;Back'
+    wx.ID_DOWN              '\\&amp;Down'
+    wx.ID_FORWARD           '\\&amp;Forward'
+    wx.ID_UP                '\\&amp;Up'
+    wx.ID_HELP              '\\&amp;Help'
+    wx.ID_HOME              '\\&amp;Home'
+    wx.ID_INDENT            'Indent'
+    wx.ID_INDEX             '\\&amp;Index'
+    wx.ID_ITALIC            '\\&amp;Italic'
+    wx.ID_JUSTIFY_CENTER    'Centered'
+    wx.ID_JUSTIFY_FILL      'Justified'
+    wx.ID_JUSTIFY_LEFT      'Align Left'
+    wx.ID_JUSTIFY_RIGHT     'Align Right'
+    wx.ID_NEW               '\\&amp;New'
+    wx.ID_NO                '\\&amp;No'
+    wx.ID_OK                '\\&amp;OK'
+    wx.ID_OPEN              '\\&amp;Open'
+    wx.ID_PASTE             '\\&amp;Paste'
+    wx.ID_PREFERENCES       '\\&amp;Preferences'
+    wx.ID_PRINT             '\\&amp;Print'
+    wx.ID_PREVIEW           'Print previe\\&amp;w'
+    wx.ID_PROPERTIES        '\\&amp;Properties'
+    wx.ID_EXIT              '\\&amp;Quit'
+    wx.ID_REDO              '\\&amp;Redo'
+    wx.ID_REFRESH           'Refresh'
+    wx.ID_REMOVE            'Remove'
+    wx.ID_REVERT_TO_SAVED   'Revert to Saved'
+    wx.ID_SAVE              '\\&amp;Save'
+    wx.ID_SAVEAS            'Save \\&amp;As...'
+    wx.ID_STOP              '\\&amp;Stop'
+    wx.ID_UNDELETE          'Undelete'
+    wx.ID_UNDERLINE         '\\&amp;Underline'
+    wx.ID_UNDO              '\\&amp;Undo'
+    wx.ID_UNINDENT          '\\&amp;Unindent'
+    wx.ID_YES               '\\&amp;Yes'
+    wx.ID_ZOOM_100          '\\&amp;Actual Size'
+    wx.ID_ZOOM_FIT          'Zoom to \\&amp;Fit'
+    wx.ID_ZOOM_IN           'Zoom \\&amp;In'
+    wx.ID_ZOOM_OUT          'Zoom \\&amp;Out'
+    ==================      ====================
+</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -14954,14 +16967,15 @@ indeed almost any other window.</docstring>
         <docstring>Precreate a Button for 2-phase creation.</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <docstring>Precreate a Button for 2-phase creation.</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=ButtonNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=ButtonNameStr) -&gt; bool</autodoc>
         <docstring>Acutally create the GUI Button for 2-phase creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <docstring>Acutally create the GUI Button for 2-phase creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -14970,30 +16984,75 @@ indeed almost any other window.</docstring>
         </paramlist>
       </method>
       <method name="SetDefault" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefault" type="" overloaded="no">
-        <autodoc>SetDefault()</autodoc>
+        <autodoc>SetDefault(self)</autodoc>
         <docstring>This sets the button to be the default item for the panel or dialog box.</docstring>
       </method>
       <staticmethod name="GetDefaultSize" type="Size" overloaded="no">
         <autodoc>GetDefaultSize() -&gt; Size</autodoc>
         <docstring>This sets the button to be the default item for the panel or dialog box.</docstring>
       </method>
       <staticmethod name="GetDefaultSize" type="Size" overloaded="no">
         <autodoc>GetDefaultSize() -&gt; Size</autodoc>
+        <docstring>Returns the default button size for this platform.</docstring>
+      </staticmethod>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
       </staticmethod>
     </class>
       </staticmethod>
     </class>
-    <class name="BitmapButton" oldname="wxBitmapButton" module="controls">
+    <class name="BitmapButton" oldname="wxBitmapButton" module="_controls">
       <docstring>A Button that contains a bitmap.  A bitmap button can be supplied with a
       <docstring>A Button that contains a bitmap.  A bitmap button can be supplied with a
-single bitmap, and wxWindows will draw all button states using this bitmap. If
+single bitmap, and wxWidgets will draw all button states using this bitmap. If
 the application needs more control, additional bitmaps for the selected state,
 the application needs more control, additional bitmaps for the selected state,
-unpressed focused state, and greyed-out state may be supplied.
+unpressed focused state, and greyed-out state may be supplied.       
+
+Window Styles
+-------------
+    ==============  =============================================
+    wx.BU_AUTODRAW  If this is specified, the button will be drawn
+                    automatically using the label bitmap only,
+                    providing a 3D-look border. If this style is
+                    not specified, the button will be drawn
+                    without borders and using all provided
+                    bitmaps. WIN32 only.
+    wx.BU_LEFT      Left-justifies the label. WIN32 only.
+    wx.BU_TOP       Aligns the label to the top of the button. WIN32
+                    only.
+    wx.BU_RIGHT     Right-justifies the bitmap label. WIN32 only.
+    wx.BU_BOTTOM    Aligns the label to the bottom of the
+                    button. WIN32 only.
+    wx.BU_EXACTFIT  Creates the button as small as possible
+                    instead of making it of the standard size
+                    (which is the default behaviour.)
+    ==============  =============================================
+
+Events
+------
+     ===========   ==================================
+     EVT_BUTTON    Sent when the button is clicked.
+     ===========   ==================================
+
+:see: `wx.Button`, `wx.Bitmap`
 </docstring>
       <baseclass name="Button"/>
       <constructor name="BitmapButton" overloaded="no">
 </docstring>
       <baseclass name="Button"/>
       <constructor name="BitmapButton" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=BU_AUTODRAW
-    Validator validator=DefaultValidator, 
+        <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=BU_AUTODRAW, Validator validator=DefaultValidator, 
     String name=ButtonNameStr) -&gt; BitmapButton</autodoc>
         <docstring>Create and show a button with a bitmap for the label.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=ButtonNameStr) -&gt; BitmapButton</autodoc>
         <docstring>Create and show a button with a bitmap for the label.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="bitmap" type="Bitmap" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxBU_AUTODRAW"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxBU_AUTODRAW"/>
@@ -15006,15 +17065,15 @@ unpressed focused state, and greyed-out state may be supplied.
         <docstring>Precreate a BitmapButton for 2-phase creation.</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <docstring>Precreate a BitmapButton for 2-phase creation.</docstring>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=BU_AUTODRAW
-    Validator validator=DefaultValidator, 
+        <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=BU_AUTODRAW, Validator validator=DefaultValidator, 
     String name=ButtonNameStr) -&gt; bool</autodoc>
         <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=ButtonNameStr) -&gt; bool</autodoc>
         <docstring>Acutally create the GUI BitmapButton for 2-phase creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="bitmap" type="Bitmap" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxBU_AUTODRAW"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxBU_AUTODRAW"/>
@@ -15023,44 +17082,44 @@ unpressed focused state, and greyed-out state may be supplied.
         </paramlist>
       </method>
       <method name="GetBitmapLabel" type="Bitmap" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBitmapLabel" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmapLabel() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmapLabel(self) -&gt; Bitmap</autodoc>
         <docstring>Returns the label bitmap (the one passed to the constructor).</docstring>
       </method>
       <method name="GetBitmapDisabled" type="Bitmap" overloaded="no">
         <docstring>Returns the label bitmap (the one passed to the constructor).</docstring>
       </method>
       <method name="GetBitmapDisabled" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmapDisabled() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmapDisabled(self) -&gt; Bitmap</autodoc>
         <docstring>Returns the bitmap for the disabled state.</docstring>
       </method>
       <method name="GetBitmapFocus" type="Bitmap" overloaded="no">
         <docstring>Returns the bitmap for the disabled state.</docstring>
       </method>
       <method name="GetBitmapFocus" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmapFocus() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmapFocus(self) -&gt; Bitmap</autodoc>
         <docstring>Returns the bitmap for the focused state.</docstring>
       </method>
       <method name="GetBitmapSelected" type="Bitmap" overloaded="no">
         <docstring>Returns the bitmap for the focused state.</docstring>
       </method>
       <method name="GetBitmapSelected" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmapSelected() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmapSelected(self) -&gt; Bitmap</autodoc>
         <docstring>Returns the bitmap for the selected state.</docstring>
       </method>
       <method name="SetBitmapDisabled" type="" overloaded="no">
         <docstring>Returns the bitmap for the selected state.</docstring>
       </method>
       <method name="SetBitmapDisabled" type="" overloaded="no">
-        <autodoc>SetBitmapDisabled(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmapDisabled(self, Bitmap bitmap)</autodoc>
         <docstring>Sets the bitmap for the disabled button appearance.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetBitmapFocus" type="" overloaded="no">
         <docstring>Sets the bitmap for the disabled button appearance.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetBitmapFocus" type="" overloaded="no">
-        <autodoc>SetBitmapFocus(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmapFocus(self, Bitmap bitmap)</autodoc>
         <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetBitmapSelected" type="" overloaded="no">
         <docstring>Sets the bitmap for the button appearance when it has the keyboard focus.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetBitmapSelected" type="" overloaded="no">
-        <autodoc>SetBitmapSelected(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmapSelected(self, Bitmap bitmap)</autodoc>
         <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetBitmapLabel" type="" overloaded="no">
         <docstring>Sets the bitmap for the selected (depressed) button appearance.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetBitmapLabel" type="" overloaded="no">
-        <autodoc>SetBitmapLabel(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmapLabel(self, Bitmap bitmap)</autodoc>
         <docstring>Sets the bitmap label for the button.  This is the bitmap used for the
 unselected state, and for all other states if no other bitmaps are provided.</docstring>
         <paramlist>
         <docstring>Sets the bitmap label for the button.  This is the bitmap used for the
 unselected state, and for all other states if no other bitmaps are provided.</docstring>
         <paramlist>
@@ -15068,65 +17127,64 @@ unselected state, and for all other states if no other bitmaps are provided.</do
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
-        <autodoc>SetMargins(int x, int y)</autodoc>
+        <autodoc>SetMargins(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginX" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginX" type="int" overloaded="no">
-        <autodoc>GetMarginX() -&gt; int</autodoc>
+        <autodoc>GetMarginX(self) -&gt; int</autodoc>
       </method>
       <method name="GetMarginY" type="int" overloaded="no">
       </method>
       <method name="GetMarginY" type="int" overloaded="no">
-        <autodoc>GetMarginY() -&gt; int</autodoc>
+        <autodoc>GetMarginY(self) -&gt; int</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="CheckBox" oldname="wxCheckBox" module="controls">
-      <docstring>A checkbox is a labelled box which by default is either on (checkmark is
-visible) or off (no checkmark). Optionally (When the wxCHK_3STATE style flag
-is set) it can have a third state, called the mixed or undetermined
-state. Often this is used as a "Does Not Apply" state.</docstring>
-      <refdoc>
- Styles
-    wx.CHK_2STATE:  Create a 2-state checkbox. This is the default.
-    wx.CHK_3STATE:  Create a 3-state checkbox.
-    wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state
-                                     checkbox to the third state. It can only
-                                     be done from code. Using this flags
-                                     allows the user to set the checkbox to
-                                     the third state by clicking.
-    wx.ALIGN_RIGHT:  Makes the text appear on the left of the checkbox.
-
- Events
-    EVT_CHECKBOX:       Sent when checkbox is clicked.
-</refdoc>
+    <class name="CheckBox" oldname="wxCheckBox" module="_controls">
+      <docstring>A checkbox is a labelled box which by default is either on (the
+checkmark is visible) or off (no checkmark). Optionally (When the
+wx.CHK_3STATE style flag is set) it can have a third state, called the
+mixed or undetermined state. Often this is used as a "Does Not
+Apply" state.
+
+Window Styles
+-------------
+    =================================  ===============================
+    wx.CHK_2STATE                      Create a 2-state checkbox. 
+                                       This is the default.
+    wx.CHK_3STATE                      Create a 3-state checkbox.
+    wx.CHK_ALLOW_3RD_STATE_FOR_USER    By default a user can't set a
+                                       3-state checkbox to the
+                                       third state. It can only be
+                                       done from code. Using this
+                                       flags allows the user to set
+                                       the checkbox to the third
+                                       state by clicking.
+                                       wx.ALIGN_RIGHT Makes the
+                                       text appear on the left of
+                                       the checkbox.
+    =================================  ===============================
+
+Events
+------
+    ===============================  ===============================
+    EVT_CHECKBOX                     Sent when checkbox is clicked.
+    ===============================  ===============================
+</docstring>
       <baseclass name="Control"/>
       <constructor name="CheckBox" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="CheckBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=CheckBoxNameStr) -&gt; CheckBox</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=CheckBoxNameStr) -&gt; CheckBox</autodoc>
         <docstring>Creates and shows a CheckBox control</docstring>
         <docstring>Creates and shows a CheckBox control</docstring>
-        <refdoc>
- Styles
-    wx.CHK_2STATE:  Create a 2-state checkbox. This is the default.
-    wx.CHK_3STATE:  Create a 3-state checkbox.
-    wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state
-                                     checkbox to the third state. It can only
-                                     be done from code. Using this flags
-                                     allows the user to set the checkbox to
-                                     the third state by clicking.
-    wx.ALIGN_RIGHT:  Makes the text appear on the left of the checkbox.
-
- Events
-    EVT_CHECKBOX:       Sent when checkbox is clicked.
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -15137,30 +17195,17 @@ state. Often this is used as a "Does Not Apply" state.</docstring>
       <constructor name="PreCheckBox" overloaded="no">
         <autodoc>PreCheckBox() -&gt; CheckBox</autodoc>
         <docstring>Precreate a CheckBox for 2-phase creation.</docstring>
       <constructor name="PreCheckBox" overloaded="no">
         <autodoc>PreCheckBox() -&gt; CheckBox</autodoc>
         <docstring>Precreate a CheckBox for 2-phase creation.</docstring>
-        <refdoc>
- Styles
-    wx.CHK_2STATE:  Create a 2-state checkbox. This is the default.
-    wx.CHK_3STATE:  Create a 3-state checkbox.
-    wx.CHK_ALLOW_3RD_STATE_FOR_USER: By default a user can't set a 3-state
-                                     checkbox to the third state. It can only
-                                     be done from code. Using this flags
-                                     allows the user to set the checkbox to
-                                     the third state by clicking.
-    wx.ALIGN_RIGHT:  Makes the text appear on the left of the checkbox.
-
- Events
-    EVT_CHECKBOX:       Sent when checkbox is clicked.
-</refdoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=CheckBoxNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=CheckBoxNameStr) -&gt; bool</autodoc>
         <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <docstring>Actually create the GUI CheckBox for 2-phase creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -15169,71 +17214,90 @@ state. Often this is used as a "Does Not Apply" state.</docstring>
         </paramlist>
       </method>
       <method name="GetValue" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="bool" overloaded="no">
-        <autodoc>GetValue() -&gt; bool</autodoc>
+        <autodoc>GetValue(self) -&gt; bool</autodoc>
         <docstring>Gets the state of a 2-state CheckBox.  Returns True if it is checked,
 False otherwise.</docstring>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
         <docstring>Gets the state of a 2-state CheckBox.  Returns True if it is checked,
 False otherwise.</docstring>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
-        <autodoc>IsChecked() -&gt; bool</autodoc>
-        <docstring>Similar to GetValue, but raises an exception if it is not a 2-state CheckBox.</docstring>
+        <autodoc>IsChecked(self) -&gt; bool</autodoc>
+        <docstring>Similar to GetValue, but raises an exception if it is not a 2-state
+CheckBox.</docstring>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(bool state)</autodoc>
-        <docstring>Set the state of a 2-state CheckBox.  Pass True for checked,
-False for unchecked.</docstring>
+        <autodoc>SetValue(self, bool state)</autodoc>
+        <docstring>Set the state of a 2-state CheckBox.  Pass True for checked, False for
+unchecked.</docstring>
         <paramlist>
           <param name="state" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no">
         <paramlist>
           <param name="state" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Get3StateValue" type="wxCheckBoxState" overloaded="no">
-        <autodoc>Get3StateValue() -&gt; int</autodoc>
-        <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked, wx.CHK_CHECKED when
-it is checked and wx.CHK_UNDETERMINED when it's in the undetermined state.
-Raises an exceptiion when the function is used with a 2-state CheckBox.</docstring>
+        <autodoc>Get3StateValue(self) -&gt; int</autodoc>
+        <docstring>Returns wx.CHK_UNCHECKED when the CheckBox is unchecked,
+wx.CHK_CHECKED when it is checked and wx.CHK_UNDETERMINED when it's in
+the undetermined state.  Raises an exceptiion when the function is
+used with a 2-state CheckBox.</docstring>
       </method>
       <method name="Set3StateValue" type="" overloaded="no">
       </method>
       <method name="Set3StateValue" type="" overloaded="no">
-        <autodoc>Set3StateValue(int state)</autodoc>
-        <docstring>Sets the CheckBox to the given state.  The state parameter can be
-one of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED
-(Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an
-exception  when the CheckBox is a 2-state checkbox and setting the state
-to wx.CHK_UNDETERMINED.</docstring>
+        <autodoc>Set3StateValue(self, int state)</autodoc>
+        <docstring>Sets the CheckBox to the given state.  The state parameter can be one
+of the following: wx.CHK_UNCHECKED (Check is off), wx.CHK_CHECKED (the
+Check is on) or wx.CHK_UNDETERMINED (Check is mixed). Raises an
+exception when the CheckBox is a 2-state checkbox and setting the
+state to wx.CHK_UNDETERMINED.</docstring>
         <paramlist>
           <param name="state" type="wxCheckBoxState" default=""/>
         </paramlist>
       </method>
       <method name="Is3State" type="bool" overloaded="no">
         <paramlist>
           <param name="state" type="wxCheckBoxState" default=""/>
         </paramlist>
       </method>
       <method name="Is3State" type="bool" overloaded="no">
-        <autodoc>Is3State() -&gt; bool</autodoc>
+        <autodoc>Is3State(self) -&gt; bool</autodoc>
         <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring>
       </method>
       <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no">
         <docstring>Returns whether or not the CheckBox is a 3-state CheckBox.</docstring>
       </method>
       <method name="Is3rdStateAllowedForUser" type="bool" overloaded="no">
-        <autodoc>Is3rdStateAllowedForUser() -&gt; bool</autodoc>
-        <docstring>Returns whether or not the user can set the CheckBox to the third state.</docstring>
+        <autodoc>Is3rdStateAllowedForUser(self) -&gt; bool</autodoc>
+        <docstring>Returns whether or not the user can set the CheckBox to the third
+state.</docstring>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Choice" oldname="wxChoice" module="controls">
-      <docstring>A Choice control is used to select one of a list of strings. Unlike a ListBox,
-only the selection is visible until the user pulls down the menu of choices.</docstring>
-      <refdoc>
- Events
-    EVT_CHOICE:         Sent when an item in the list is selected.
-</refdoc>
+    <class name="Choice" oldname="wxChoice" module="_controls">
+      <docstring>A Choice control is used to select one of a list of strings.
+Unlike a `wx.ListBox`, only the selection is visible until the
+user pulls down the menu of choices.
+
+Events
+------
+    ================    ==========================================
+    EVT_CHOICE          Sent when an item in the list is selected.
+    ================    ==========================================
+</docstring>
       <baseclass name="ControlWithItems"/>
       <constructor name="Choice" overloaded="no">
         <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
     List choices=[], long style=0, Validator validator=DefaultValidator,
     String name=ChoiceNameStr) -&gt; Choice</autodoc>
         <docstring>Create and show a Choice control</docstring>
       <baseclass name="ControlWithItems"/>
       <constructor name="Choice" overloaded="no">
         <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
     List choices=[], long style=0, Validator validator=DefaultValidator,
     String name=ChoiceNameStr) -&gt; Choice</autodoc>
         <docstring>Create and show a Choice control</docstring>
-        <refdoc>
- Events
-    EVT_CHOICE:         Sent when an item in the list is selected.
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -15245,10 +17309,6 @@ only the selection is visible until the user pulls down the menu of choices.</do
       <constructor name="PreChoice" overloaded="no">
         <autodoc>PreChoice() -&gt; Choice</autodoc>
         <docstring>Precreate a Choice control for 2-phase creation.</docstring>
       <constructor name="PreChoice" overloaded="no">
         <autodoc>PreChoice() -&gt; Choice</autodoc>
         <docstring>Precreate a Choice control for 2-phase creation.</docstring>
-        <refdoc>
- Events
-    EVT_CHOICE:         Sent when an item in the list is selected.
-</refdoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
@@ -15257,7 +17317,7 @@ only the selection is visible until the user pulls down the menu of choices.</do
         <docstring>Actually create the GUI Choice control for 2-phase creation</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <docstring>Actually create the GUI Choice control for 2-phase creation</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -15267,84 +17327,90 @@ only the selection is visible until the user pulls down the menu of choices.</do
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int n)</autodoc>
+        <autodoc>SetSelection(self, int n)</autodoc>
         <docstring>Select the n'th item (zero based) in the list.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
         <docstring>Select the n'th item (zero based) in the list.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
-      <method name="SetStringSelection" type="" overloaded="no">
-        <autodoc>SetStringSelection(String string)</autodoc>
+      <method name="SetStringSelection" type="bool" overloaded="no">
+        <autodoc>SetStringSelection(self, String string) -&gt; bool</autodoc>
         <docstring>Select the item with the specifed string</docstring>
         <paramlist>
           <param name="string" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetString" type="" overloaded="no">
         <docstring>Select the item with the specifed string</docstring>
         <paramlist>
           <param name="string" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetString" type="" overloaded="no">
-        <autodoc>SetString(int n, String string)</autodoc>
+        <autodoc>SetString(self, int n, String string)</autodoc>
         <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="string" type="String" default=""/>
         </paramlist>
       </method>
         <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="string" type="String" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ComboBox" oldname="wxComboBox" module="controls">
-      <docstring>A combobox is like a combination of an edit control and a listbox. It can be
-displayed as static list with editable or read-only text field; or a drop-down
-list with text field.</docstring>
-      <refdoc>
- Styles
-    wx.CB_SIMPLE:  Creates a combobox with a permanently displayed list.
-                        Windows only.
-
-    wx.CB_DROPDOWN:  Creates a combobox with a drop-down list.
-
-    wx.CB_READONLY:  Same as wxCB_DROPDOWN but only the strings specified as
-                        the combobox choices can be selected, it is impossible
-                        to select (even from a program) a string which is not in
-                        the choices list.
-
-    wx.CB_SORT:  Sorts the entries in the list alphabetically.
-
- Events
-
-    EVT_COMBOBOX:  Sent when an item on the list is selected.
-    EVT_TEXT:          Sent when the combobox text changes.
-</refdoc>
+    <class name="ComboBox" oldname="wxComboBox" module="_controls">
+      <docstring>A combobox is like a combination of an edit control and a
+listbox. It can be displayed as static list with editable or
+read-only text field; or a drop-down list with text field.
+
+A combobox permits a single selection only. Combobox items are
+numbered from zero.
+
+Styles
+------
+    ================    ===============================================
+    wx.CB_SIMPLE        Creates a combobox with a permanently
+                        displayed list.  Windows only.
+
+    wx.CB_DROPDOWN      Creates a combobox with a drop-down list.
+
+    wx.CB_READONLY      Same as wxCB_DROPDOWN but only the strings
+                        specified as the combobox choices can be
+                        selected, it is impossible to select
+                        (even from a program) a string which is
+                        not in the choices list.
+
+    wx.CB_SORT          Sorts the entries in the list alphabetically.
+    ================    ===============================================
+
+Events
+-------
+    ================    ===============================================
+    EVT_COMBOBOX        Sent when an item on the list is selected.
+    EVT_TEXT            Sent when the combobox text changes.
+    ================    ===============================================
+</docstring>
       <baseclass name="Control"/>
       <baseclass name="ItemContainer"/>
       <constructor name="ComboBox" overloaded="no">
         <autodoc>__init__(Window parent, int id, String value=EmptyString,
     Point pos=DefaultPosition, Size size=DefaultSize,
       <baseclass name="Control"/>
       <baseclass name="ItemContainer"/>
       <constructor name="ComboBox" overloaded="no">
         <autodoc>__init__(Window parent, int id, String value=EmptyString,
     Point pos=DefaultPosition, Size size=DefaultSize,
-     List choices=[], long style=0, Validator validator=DefaultValidator,
-     String name=ComboBoxNameStr) -&gt; ComboBox</autodoc>
+    List choices=[], long style=0, Validator validator=DefaultValidator,
+    String name=ComboBoxNameStr) -&gt; ComboBox</autodoc>
         <docstring>Constructor, creates and shows a ComboBox control.</docstring>
         <docstring>Constructor, creates and shows a ComboBox control.</docstring>
-        <refdoc>
- Styles
-    wx.CB_SIMPLE:  Creates a combobox with a permanently displayed list.
-                        Windows only.
-
-    wx.CB_DROPDOWN:  Creates a combobox with a drop-down list.
-
-    wx.CB_READONLY:  Same as wxCB_DROPDOWN but only the strings specified as
-                        the combobox choices can be selected, it is impossible
-                        to select (even from a program) a string which is not in
-                        the choices list.
-
-    wx.CB_SORT:  Sorts the entries in the list alphabetically.
-
- Events
-
-    EVT_COMBOBOX:  Sent when an item on the list is selected.
-    EVT_TEXT:          Sent when the combobox text changes.
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
@@ -15357,25 +17423,6 @@ list with text field.</docstring>
       <constructor name="PreComboBox" overloaded="no">
         <autodoc>PreComboBox() -&gt; ComboBox</autodoc>
         <docstring>Precreate a ComboBox control for 2-phase creation.</docstring>
       <constructor name="PreComboBox" overloaded="no">
         <autodoc>PreComboBox() -&gt; ComboBox</autodoc>
         <docstring>Precreate a ComboBox control for 2-phase creation.</docstring>
-        <refdoc>
- Styles
-    wx.CB_SIMPLE:  Creates a combobox with a permanently displayed list.
-                        Windows only.
-
-    wx.CB_DROPDOWN:  Creates a combobox with a drop-down list.
-
-    wx.CB_READONLY:  Same as wxCB_DROPDOWN but only the strings specified as
-                        the combobox choices can be selected, it is impossible
-                        to select (even from a program) a string which is not in
-                        the choices list.
-
-    wx.CB_SORT:  Sorts the entries in the list alphabetically.
-
- Events
-
-    EVT_COMBOBOX:  Sent when an item on the list is selected.
-    EVT_TEXT:          Sent when the combobox text changes.
-</refdoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>Create(Window parent, int id, String value=EmptyString,
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>Create(Window parent, int id, String value=EmptyString,
@@ -15385,7 +17432,7 @@ list with text field.</docstring>
         <docstring>Actually create the GUI wxComboBox control for 2-phase creation</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <docstring>Actually create the GUI wxComboBox control for 2-phase creation</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
@@ -15396,44 +17443,44 @@ list with text field.</docstring>
         </paramlist>
       </method>
       <method name="GetValue" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
         <docstring>Returns the current value in the combobox text field.</docstring>
       </method>
       <method name="SetValue" type="" overloaded="no">
         <docstring>Returns the current value in the combobox text field.</docstring>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(String value)</autodoc>
+        <autodoc>SetValue(self, String value)</autodoc>
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Copy" type="" overloaded="no">
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Copy" type="" overloaded="no">
-        <autodoc>Copy()</autodoc>
+        <autodoc>Copy(self)</autodoc>
         <docstring>Copies the selected text to the clipboard.</docstring>
       </method>
       <method name="Cut" type="" overloaded="no">
         <docstring>Copies the selected text to the clipboard.</docstring>
       </method>
       <method name="Cut" type="" overloaded="no">
-        <autodoc>Cut()</autodoc>
+        <autodoc>Cut(self)</autodoc>
         <docstring>Copies the selected text to the clipboard and removes the selection.</docstring>
       </method>
       <method name="Paste" type="" overloaded="no">
         <docstring>Copies the selected text to the clipboard and removes the selection.</docstring>
       </method>
       <method name="Paste" type="" overloaded="no">
-        <autodoc>Paste()</autodoc>
+        <autodoc>Paste(self)</autodoc>
         <docstring>Pastes text from the clipboard to the text field.</docstring>
       </method>
       <method name="SetInsertionPoint" type="" overloaded="no">
         <docstring>Pastes text from the clipboard to the text field.</docstring>
       </method>
       <method name="SetInsertionPoint" type="" overloaded="no">
-        <autodoc>SetInsertionPoint(long pos)</autodoc>
+        <autodoc>SetInsertionPoint(self, long pos)</autodoc>
         <docstring>Sets the insertion point in the combobox text field.</docstring>
         <paramlist>
           <param name="pos" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetInsertionPoint" type="long" overloaded="no">
         <docstring>Sets the insertion point in the combobox text field.</docstring>
         <paramlist>
           <param name="pos" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetInsertionPoint" type="long" overloaded="no">
-        <autodoc>GetInsertionPoint() -&gt; long</autodoc>
+        <autodoc>GetInsertionPoint(self) -&gt; long</autodoc>
         <docstring>Returns the insertion point for the combobox's text field.</docstring>
       </method>
       <method name="GetLastPosition" type="long" overloaded="no">
         <docstring>Returns the insertion point for the combobox's text field.</docstring>
       </method>
       <method name="GetLastPosition" type="long" overloaded="no">
-        <autodoc>GetLastPosition() -&gt; long</autodoc>
+        <autodoc>GetLastPosition(self) -&gt; long</autodoc>
         <docstring>Returns the last position in the combobox text field.</docstring>
       </method>
       <method name="Replace" type="" overloaded="no">
         <docstring>Returns the last position in the combobox text field.</docstring>
       </method>
       <method name="Replace" type="" overloaded="no">
-        <autodoc>Replace(long from, long to, String value)</autodoc>
+        <autodoc>Replace(self, long from, long to, String value)</autodoc>
         <docstring>Replaces the text between two positions with the given text, in the
 combobox text field.</docstring>
         <paramlist>
         <docstring>Replaces the text between two positions with the given text, in the
 combobox text field.</docstring>
         <paramlist>
@@ -15443,52 +17490,84 @@ combobox text field.</docstring>
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int n)</autodoc>
-        <docstring>Selects the text between the two positions, in the combobox text field.</docstring>
+        <autodoc>SetSelection(self, int n)</autodoc>
+        <docstring>Sets the item at index 'n' to be the selected item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMark" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMark" type="" overloaded="no">
-        <autodoc>SetMark(long from, long to)</autodoc>
+        <autodoc>SetMark(self, long from, long to)</autodoc>
+        <docstring>Selects the text between the two positions in the combobox text field.</docstring>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
+      <method name="SetStringSelection" type="bool" overloaded="no">
+        <autodoc>SetStringSelection(self, String string) -&gt; bool</autodoc>
+        <docstring>Select the item with the specifed string</docstring>
+        <paramlist>
+          <param name="string" type="String" default=""/>
+        </paramlist>
+      </method>
+      <method name="SetString" type="" overloaded="no">
+        <autodoc>SetString(self, int n, String string)</autodoc>
+        <docstring>Set the label for the n'th item (zero based) in the list.</docstring>
+        <paramlist>
+          <param name="n" type="int" default=""/>
+          <param name="string" type="String" default=""/>
+        </paramlist>
+      </method>
       <method name="SetEditable" type="" overloaded="no">
       <method name="SetEditable" type="" overloaded="no">
-        <autodoc>SetEditable(bool editable)</autodoc>
+        <autodoc>SetEditable(self, bool editable)</autodoc>
         <paramlist>
           <param name="editable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetInsertionPointEnd" type="" overloaded="no">
         <paramlist>
           <param name="editable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetInsertionPointEnd" type="" overloaded="no">
-        <autodoc>SetInsertionPointEnd()</autodoc>
+        <autodoc>SetInsertionPointEnd(self)</autodoc>
         <docstring>Sets the insertion point at the end of the combobox text field.</docstring>
       </method>
       <method name="Remove" type="" overloaded="no">
         <docstring>Sets the insertion point at the end of the combobox text field.</docstring>
       </method>
       <method name="Remove" type="" overloaded="no">
-        <autodoc>Remove(long from, long to)</autodoc>
+        <autodoc>Remove(self, long from, long to)</autodoc>
         <docstring>Removes the text between the two positions in the combobox text field.</docstring>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
         <docstring>Removes the text between the two positions in the combobox text field.</docstring>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Gauge" oldname="wxGauge" module="controls">
+    <class name="Gauge" oldname="wxGauge" module="_controls">
       <baseclass name="Control"/>
       <constructor name="Gauge" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="Gauge" overloaded="no">
-        <autodoc>__init__(Window parent, int id, int range, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=GA_HORIZONTAL, 
     Validator validator=DefaultValidator, 
     String name=GaugeNameStr) -&gt; Gauge</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=GA_HORIZONTAL, 
     Validator validator=DefaultValidator, 
     String name=GaugeNameStr) -&gt; Gauge</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="range" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="range" type="int" default="100"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxGA_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxGA_HORIZONTAL"/>
@@ -15500,14 +17579,14 @@ combobox text field.</docstring>
         <autodoc>PreGauge() -&gt; Gauge</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreGauge() -&gt; Gauge</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, int range, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, int range=100, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=GA_HORIZONTAL, 
     Validator validator=DefaultValidator, 
     String name=GaugeNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=GA_HORIZONTAL, 
     Validator validator=DefaultValidator, 
     String name=GaugeNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="range" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="range" type="int" default="100"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxGA_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxGA_HORIZONTAL"/>
@@ -15516,58 +17595,74 @@ combobox text field.</docstring>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
-        <autodoc>SetRange(int range)</autodoc>
+        <autodoc>SetRange(self, int range)</autodoc>
         <paramlist>
           <param name="range" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRange" type="int" overloaded="no">
         <paramlist>
           <param name="range" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRange" type="int" overloaded="no">
-        <autodoc>GetRange() -&gt; int</autodoc>
+        <autodoc>GetRange(self) -&gt; int</autodoc>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(int pos)</autodoc>
+        <autodoc>SetValue(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
-        <autodoc>GetValue() -&gt; int</autodoc>
+        <autodoc>GetValue(self) -&gt; int</autodoc>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
-        <autodoc>IsVertical() -&gt; bool</autodoc>
+        <autodoc>IsVertical(self) -&gt; bool</autodoc>
       </method>
       <method name="SetShadowWidth" type="" overloaded="no">
       </method>
       <method name="SetShadowWidth" type="" overloaded="no">
-        <autodoc>SetShadowWidth(int w)</autodoc>
+        <autodoc>SetShadowWidth(self, int w)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetShadowWidth" type="int" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetShadowWidth" type="int" overloaded="no">
-        <autodoc>GetShadowWidth() -&gt; int</autodoc>
+        <autodoc>GetShadowWidth(self) -&gt; int</autodoc>
       </method>
       <method name="SetBezelFace" type="" overloaded="no">
       </method>
       <method name="SetBezelFace" type="" overloaded="no">
-        <autodoc>SetBezelFace(int w)</autodoc>
+        <autodoc>SetBezelFace(self, int w)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBezelFace" type="int" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBezelFace" type="int" overloaded="no">
-        <autodoc>GetBezelFace() -&gt; int</autodoc>
+        <autodoc>GetBezelFace(self) -&gt; int</autodoc>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="StaticBox" oldname="wxStaticBox" module="controls">
+    <class name="StaticBox" oldname="wxStaticBox" module="_controls">
       <baseclass name="Control"/>
       <constructor name="StaticBox" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="StaticBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=0
-    String name=StaticBoxNameStr) -&gt; StaticBox</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=0, String name=StaticBoxNameStr) -&gt; StaticBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -15578,32 +17673,48 @@ combobox text field.</docstring>
         <autodoc>PreStaticBox() -&gt; StaticBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreStaticBox() -&gt; StaticBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=0
-    String name=StaticBoxNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=0, String name=StaticBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyStaticBoxNameStr"/>
         </paramlist>
       </method>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyStaticBoxNameStr"/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="StaticLine" oldname="wxStaticLine" module="controls">
+    <class name="StaticLine" oldname="wxStaticLine" module="_controls">
       <baseclass name="Control"/>
       <constructor name="StaticLine" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="StaticLine" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=LI_HORIZONTAL, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=LI_HORIZONTAL, 
     String name=StaticTextNameStr) -&gt; StaticLine</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=StaticTextNameStr) -&gt; StaticLine</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxLI_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxLI_HORIZONTAL"/>
@@ -15614,12 +17725,12 @@ combobox text field.</docstring>
         <autodoc>PreStaticLine() -&gt; StaticLine</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreStaticLine() -&gt; StaticLine</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=LI_HORIZONTAL, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=LI_HORIZONTAL, 
     String name=StaticTextNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=StaticTextNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxLI_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxLI_HORIZONTAL"/>
@@ -15627,25 +17738,41 @@ combobox text field.</docstring>
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
-        <autodoc>IsVertical() -&gt; bool</autodoc>
+        <autodoc>IsVertical(self) -&gt; bool</autodoc>
       </method>
       <staticmethod name="GetDefaultSize" type="int" overloaded="no">
         <autodoc>GetDefaultSize() -&gt; int</autodoc>
       </staticmethod>
       </method>
       <staticmethod name="GetDefaultSize" type="int" overloaded="no">
         <autodoc>GetDefaultSize() -&gt; int</autodoc>
       </staticmethod>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="StaticText" oldname="wxStaticText" module="controls">
+    <class name="StaticText" oldname="wxStaticText" module="_controls">
       <baseclass name="Control"/>
       <constructor name="StaticText" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="StaticText" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=0
-    String name=StaticTextNameStr) -&gt; StaticText</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=0, String name=StaticTextNameStr) -&gt; StaticText</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -15656,33 +17783,49 @@ combobox text field.</docstring>
         <autodoc>PreStaticText() -&gt; StaticText</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreStaticText() -&gt; StaticText</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=0
-    String name=StaticTextNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=0, String name=StaticTextNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyStaticTextNameStr"/>
         </paramlist>
       </method>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="name" type="String" default="wxPyStaticTextNameStr"/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="StaticBitmap" oldname="wxStaticBitmap" module="controls">
+    <class name="StaticBitmap" oldname="wxStaticBitmap" module="_controls">
       <baseclass name="Control"/>
       <constructor name="StaticBitmap" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="StaticBitmap" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=0
-    String name=StaticBitmapNameStr) -&gt; StaticBitmap</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=0, String name=StaticBitmapNameStr) -&gt; StaticBitmap</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="bitmap" type="Bitmap" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -15693,13 +17836,13 @@ combobox text field.</docstring>
         <autodoc>PreStaticBitmap() -&gt; StaticBitmap</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreStaticBitmap() -&gt; StaticBitmap</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Bitmap bitmap, Point pos=DefaultPosition
-    Size size=DefaultSize, long style=0
-    String name=StaticBitmapNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, Bitmap bitmap=wxNullBitmap
+    Point pos=DefaultPosition, Size size=DefaultSize
+    long style=0, String name=StaticBitmapNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="bitmap" type="Bitmap" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -15707,34 +17850,50 @@ combobox text field.</docstring>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="SetBitmap" type="" overloaded="no">
       </method>
       <method name="SetBitmap" type="" overloaded="no">
-        <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetIcon" type="" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetIcon" type="" overloaded="no">
-        <autodoc>SetIcon(Icon icon)</autodoc>
+        <autodoc>SetIcon(self, Icon icon)</autodoc>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="icon" type="Icon" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ListBox" oldname="wxListBox" module="controls">
+    <class name="ListBox" oldname="wxListBox" module="_controls">
       <baseclass name="ControlWithItems"/>
       <constructor name="ListBox" overloaded="no">
       <baseclass name="ControlWithItems"/>
       <constructor name="ListBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    wxArrayString choices=wxPyEmptyStringArray, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, 
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; ListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; ListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -15747,13 +17906,13 @@ combobox text field.</docstring>
         <autodoc>PreListBox() -&gt; ListBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreListBox() -&gt; ListBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    wxArrayString choices=wxPyEmptyStringArray, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, 
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -15763,8 +17922,8 @@ combobox text field.</docstring>
         </paramlist>
       </method>
       <method name="Insert" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Insert" type="" overloaded="no">
-        <autodoc>Insert(String item, int pos, PyObject clientData=None)</autodoc>
-        <docstring>Insert an item into the control before the item at the pos index,
+        <autodoc>Insert(self, String item, int pos, PyObject clientData=None)</autodoc>
+        <docstring>Insert an item into the control before the item at the ``pos`` index,
 optionally associating some data object with the item.</docstring>
         <paramlist>
           <param name="item" type="String" default=""/>
 optionally associating some data object with the item.</docstring>
         <paramlist>
           <param name="item" type="String" default=""/>
@@ -15773,122 +17932,138 @@ optionally associating some data object with the item.</docstring>
         </paramlist>
       </method>
       <method name="InsertItems" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertItems" type="" overloaded="no">
-        <autodoc>InsertItems(wxArrayString items, int pos)</autodoc>
+        <autodoc>InsertItems(self, wxArrayString items, int pos)</autodoc>
         <paramlist>
           <param name="items" type="wxArrayString" default=""/>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <paramlist>
           <param name="items" type="wxArrayString" default=""/>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(wxArrayString items)</autodoc>
+        <autodoc>Set(self, wxArrayString items)</autodoc>
         <paramlist>
           <param name="items" type="wxArrayString" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
         <paramlist>
           <param name="items" type="wxArrayString" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
-        <autodoc>IsSelected(int n) -&gt; bool</autodoc>
+        <autodoc>IsSelected(self, int n) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int n, bool select=True)</autodoc>
+        <autodoc>SetSelection(self, int n, bool select=True)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Select" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Select" type="" overloaded="no">
-        <autodoc>Select(int n)</autodoc>
+        <autodoc>Select(self, int n)</autodoc>
         <docstring>Sets the item at index 'n' to be the selected item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Deselect" type="" overloaded="no">
         <docstring>Sets the item at index 'n' to be the selected item.</docstring>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Deselect" type="" overloaded="no">
-        <autodoc>Deselect(int n)</autodoc>
+        <autodoc>Deselect(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeselectAll" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeselectAll" type="" overloaded="no">
-        <autodoc>DeselectAll(int itemToLeaveSelected=-1)</autodoc>
+        <autodoc>DeselectAll(self, int itemToLeaveSelected=-1)</autodoc>
         <paramlist>
           <param name="itemToLeaveSelected" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="SetStringSelection" type="bool" overloaded="no">
         <paramlist>
           <param name="itemToLeaveSelected" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="SetStringSelection" type="bool" overloaded="no">
-        <autodoc>SetStringSelection(String s, bool select=True) -&gt; bool</autodoc>
+        <autodoc>SetStringSelection(self, String s, bool select=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetSelections" type="PyObject" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetSelections" type="PyObject" overloaded="no">
-        <autodoc>GetSelections() -&gt; PyObject</autodoc>
+        <autodoc>GetSelections(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetFirstItem" type="" overloaded="no">
       </method>
       <method name="SetFirstItem" type="" overloaded="no">
-        <autodoc>SetFirstItem(int n)</autodoc>
+        <autodoc>SetFirstItem(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFirstItemStr" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFirstItemStr" type="" overloaded="no">
-        <autodoc>SetFirstItemStr(String s)</autodoc>
+        <autodoc>SetFirstItemStr(self, String s)</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="" overloaded="no">
-        <autodoc>EnsureVisible(int n)</autodoc>
+        <autodoc>EnsureVisible(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AppendAndEnsureVisible" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AppendAndEnsureVisible" type="" overloaded="no">
-        <autodoc>AppendAndEnsureVisible(String s)</autodoc>
+        <autodoc>AppendAndEnsureVisible(self, String s)</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IsSorted" type="bool" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IsSorted" type="bool" overloaded="no">
-        <autodoc>IsSorted() -&gt; bool</autodoc>
+        <autodoc>IsSorted(self) -&gt; bool</autodoc>
       </method>
       <method name="SetItemForegroundColour" type="" overloaded="no">
       </method>
       <method name="SetItemForegroundColour" type="" overloaded="no">
-        <autodoc>SetItemForegroundColour(int item, Colour c)</autodoc>
+        <autodoc>SetItemForegroundColour(self, int item, Colour c)</autodoc>
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
-        <autodoc>SetItemBackgroundColour(int item, Colour c)</autodoc>
+        <autodoc>SetItemBackgroundColour(self, int item, Colour c)</autodoc>
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemFont" type="" overloaded="no">
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemFont" type="" overloaded="no">
-        <autodoc>SetItemFont(int item, Font f)</autodoc>
+        <autodoc>SetItemFont(self, int item, Font f)</autodoc>
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="f" type="Font" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="f" type="Font" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="CheckListBox" oldname="wxCheckListBox" module="controls">
+    <class name="CheckListBox" oldname="wxCheckListBox" module="_controls">
       <baseclass name="ListBox"/>
       <constructor name="CheckListBox" overloaded="no">
       <baseclass name="ListBox"/>
       <constructor name="CheckListBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    wxArrayString choices=wxPyEmptyStringArray, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, 
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; CheckListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; CheckListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -15901,13 +18076,13 @@ optionally associating some data object with the item.</docstring>
         <autodoc>PreCheckListBox() -&gt; CheckListBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreCheckListBox() -&gt; CheckListBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    wxArrayString choices=wxPyEmptyStringArray, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, 
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=0, Validator validator=DefaultValidator, 
     String name=ListBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -15917,30 +18092,30 @@ optionally associating some data object with the item.</docstring>
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsChecked" type="bool" overloaded="no">
-        <autodoc>IsChecked(int index) -&gt; bool</autodoc>
+        <autodoc>IsChecked(self, int index) -&gt; bool</autodoc>
         <paramlist>
           <param name="index" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Check" type="" overloaded="no">
         <paramlist>
           <param name="index" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Check" type="" overloaded="no">
-        <autodoc>Check(int index, int check=True)</autodoc>
+        <autodoc>Check(self, int index, int check=True)</autodoc>
         <paramlist>
           <param name="index" type="int" default=""/>
           <param name="check" type="int" default="True"/>
         </paramlist>
       </method>
       <method name="GetItemHeight" type="int" overloaded="no">
         <paramlist>
           <param name="index" type="int" default=""/>
           <param name="check" type="int" default="True"/>
         </paramlist>
       </method>
       <method name="GetItemHeight" type="int" overloaded="no">
-        <autodoc>GetItemHeight() -&gt; int</autodoc>
+        <autodoc>GetItemHeight(self) -&gt; int</autodoc>
       </method>
       <method name="HitTest" type="int" overloaded="no">
       </method>
       <method name="HitTest" type="int" overloaded="no">
-        <autodoc>HitTest(Point pt) -&gt; int</autodoc>
+        <autodoc>HitTest(self, Point pt) -&gt; int</autodoc>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="HitTestXY" type="int" overloaded="no">
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="HitTestXY" type="int" overloaded="no">
-        <autodoc>HitTestXY(int x, int y) -&gt; int</autodoc>
+        <autodoc>HitTestXY(self, int x, int y) -&gt; int</autodoc>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
         <docstring>Test where the given (in client coords) point lies</docstring>
         <paramlist>
           <param name="x" type="int" default=""/>
@@ -15951,127 +18126,129 @@ optionally associating some data object with the item.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TextAttr" oldname="wxTextAttr" module="controls">
-      <constructor name="TextAttr" overloaded="yes"/>
-      <constructor name="TextAttr" overloaded="yes">
-        <autodoc>__init__() -&gt; TextAttr
-__init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont, 
-    int alignment=TEXT_ALIGNMENT_DEFAULT) -&gt; TextAttr</autodoc>
+    <class name="TextAttr" oldname="wxTextAttr" module="_controls">
+      <constructor name="TextAttr" overloaded="no">
+        <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour, 
+    Font font=wxNullFont, int alignment=TEXT_ALIGNMENT_DEFAULT) -&gt; TextAttr</autodoc>
         <paramlist>
         <paramlist>
-          <param name="colText" type="Colour" default=""/>
+          <param name="colText" type="Colour" default="wxNullColour"/>
           <param name="colBack" type="Colour" default="wxNullColour"/>
           <param name="font" type="Font" default="wxNullFont"/>
           <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/>
         </paramlist>
       </constructor>
       <destructor name="~wxTextAttr" overloaded="no">
           <param name="colBack" type="Colour" default="wxNullColour"/>
           <param name="font" type="Font" default="wxNullFont"/>
           <param name="alignment" type="wxTextAttrAlignment" default="wxTEXT_ALIGNMENT_DEFAULT"/>
         </paramlist>
       </constructor>
       <destructor name="~wxTextAttr" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Init" type="" overloaded="no">
       </destructor>
       <method name="Init" type="" overloaded="no">
-        <autodoc>Init()</autodoc>
+        <autodoc>Init(self)</autodoc>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
       </method>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour colText)</autodoc>
+        <autodoc>SetTextColour(self, Colour colText)</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font, long flags=TEXT_ATTR_FONT)</autodoc>
+        <autodoc>SetFont(self, Font font, long flags=TEXT_ATTR_FONT)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
           <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/>
         </paramlist>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
           <param name="flags" type="long" default="wxTEXT_ATTR_FONT"/>
         </paramlist>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
-        <autodoc>SetAlignment(int alignment)</autodoc>
+        <autodoc>SetAlignment(self, int alignment)</autodoc>
         <paramlist>
           <param name="alignment" type="wxTextAttrAlignment" default=""/>
         </paramlist>
       </method>
       <method name="SetTabs" type="" overloaded="no">
         <paramlist>
           <param name="alignment" type="wxTextAttrAlignment" default=""/>
         </paramlist>
       </method>
       <method name="SetTabs" type="" overloaded="no">
-        <autodoc>SetTabs(wxArrayInt tabs)</autodoc>
+        <autodoc>SetTabs(self, wxArrayInt tabs)</autodoc>
         <paramlist>
           <param name="tabs" type="wxArrayInt" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftIndent" type="" overloaded="no">
         <paramlist>
           <param name="tabs" type="wxArrayInt" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftIndent" type="" overloaded="no">
-        <autodoc>SetLeftIndent(int indent)</autodoc>
+        <autodoc>SetLeftIndent(self, int indent, int subIndent=0)</autodoc>
         <paramlist>
           <param name="indent" type="int" default=""/>
         <paramlist>
           <param name="indent" type="int" default=""/>
+          <param name="subIndent" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetRightIndent" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRightIndent" type="" overloaded="no">
-        <autodoc>SetRightIndent(int indent)</autodoc>
+        <autodoc>SetRightIndent(self, int indent)</autodoc>
         <paramlist>
           <param name="indent" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFlags" type="" overloaded="no">
         <paramlist>
           <param name="indent" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFlags" type="" overloaded="no">
-        <autodoc>SetFlags(long flags)</autodoc>
+        <autodoc>SetFlags(self, long flags)</autodoc>
         <paramlist>
           <param name="flags" type="long" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
         <paramlist>
           <param name="flags" type="long" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
-        <autodoc>HasTextColour() -&gt; bool</autodoc>
+        <autodoc>HasTextColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
-        <autodoc>HasBackgroundColour() -&gt; bool</autodoc>
+        <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasFont" type="bool" overloaded="no">
       </method>
       <method name="HasFont" type="bool" overloaded="no">
-        <autodoc>HasFont() -&gt; bool</autodoc>
+        <autodoc>HasFont(self) -&gt; bool</autodoc>
       </method>
       <method name="HasAlignment" type="bool" overloaded="no">
       </method>
       <method name="HasAlignment" type="bool" overloaded="no">
-        <autodoc>HasAlignment() -&gt; bool</autodoc>
+        <autodoc>HasAlignment(self) -&gt; bool</autodoc>
       </method>
       <method name="HasTabs" type="bool" overloaded="no">
       </method>
       <method name="HasTabs" type="bool" overloaded="no">
-        <autodoc>HasTabs() -&gt; bool</autodoc>
+        <autodoc>HasTabs(self) -&gt; bool</autodoc>
       </method>
       <method name="HasLeftIndent" type="bool" overloaded="no">
       </method>
       <method name="HasLeftIndent" type="bool" overloaded="no">
-        <autodoc>HasLeftIndent() -&gt; bool</autodoc>
+        <autodoc>HasLeftIndent(self) -&gt; bool</autodoc>
       </method>
       <method name="HasRightIndent" type="bool" overloaded="no">
       </method>
       <method name="HasRightIndent" type="bool" overloaded="no">
-        <autodoc>HasRightIndent() -&gt; bool</autodoc>
+        <autodoc>HasRightIndent(self) -&gt; bool</autodoc>
       </method>
       <method name="HasFlag" type="bool" overloaded="no">
       </method>
       <method name="HasFlag" type="bool" overloaded="no">
-        <autodoc>HasFlag(long flag) -&gt; bool</autodoc>
+        <autodoc>HasFlag(self, long flag) -&gt; bool</autodoc>
         <paramlist>
           <param name="flag" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="flag" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
-        <autodoc>GetTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no">
       </method>
       <method name="GetAlignment" type="wxTextAttrAlignment" overloaded="no">
-        <autodoc>GetAlignment() -&gt; int</autodoc>
+        <autodoc>GetAlignment(self) -&gt; int</autodoc>
       </method>
       <method name="GetTabs" type="wxArrayInt" overloaded="no">
       </method>
       <method name="GetTabs" type="wxArrayInt" overloaded="no">
-        <autodoc>GetTabs() -&gt; wxArrayInt</autodoc>
+        <autodoc>GetTabs(self) -&gt; wxArrayInt</autodoc>
       </method>
       <method name="GetLeftIndent" type="long" overloaded="no">
       </method>
       <method name="GetLeftIndent" type="long" overloaded="no">
-        <autodoc>GetLeftIndent() -&gt; long</autodoc>
+        <autodoc>GetLeftIndent(self) -&gt; long</autodoc>
+      </method>
+      <method name="GetLeftSubIndent" type="long" overloaded="no">
+        <autodoc>GetLeftSubIndent(self) -&gt; long</autodoc>
       </method>
       <method name="GetRightIndent" type="long" overloaded="no">
       </method>
       <method name="GetRightIndent" type="long" overloaded="no">
-        <autodoc>GetRightIndent() -&gt; long</autodoc>
+        <autodoc>GetRightIndent(self) -&gt; long</autodoc>
       </method>
       <method name="GetFlags" type="long" overloaded="no">
       </method>
       <method name="GetFlags" type="long" overloaded="no">
-        <autodoc>GetFlags() -&gt; long</autodoc>
+        <autodoc>GetFlags(self) -&gt; long</autodoc>
       </method>
       <method name="IsDefault" type="bool" overloaded="no">
       </method>
       <method name="IsDefault" type="bool" overloaded="no">
-        <autodoc>IsDefault() -&gt; bool</autodoc>
+        <autodoc>IsDefault(self) -&gt; bool</autodoc>
       </method>
       <staticmethod name="Combine" type="TextAttr" overloaded="no">
         <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -&gt; TextAttr</autodoc>
       </method>
       <staticmethod name="Combine" type="TextAttr" overloaded="no">
         <autodoc>Combine(TextAttr attr, TextAttr attrDef, TextCtrl text) -&gt; TextAttr</autodoc>
@@ -16082,16 +18259,16 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         </paramlist>
       </staticmethod>
     </class>
         </paramlist>
       </staticmethod>
     </class>
-    <class name="TextCtrl" oldname="wxTextCtrl" module="controls">
+    <class name="TextCtrl" oldname="wxTextCtrl" module="_controls">
       <baseclass name="Control"/>
       <constructor name="TextCtrl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="TextCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition
-    Size size=DefaultSize, 
+        <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=0, Validator validator=DefaultValidator, 
     String name=TextCtrlNameStr) -&gt; TextCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=0, Validator validator=DefaultValidator, 
     String name=TextCtrlNameStr) -&gt; TextCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
@@ -16104,13 +18281,13 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         <autodoc>PreTextCtrl() -&gt; TextCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreTextCtrl() -&gt; TextCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String value=EmptyString, Point pos=DefaultPosition
-    Size size=DefaultSize, 
+        <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString
+    Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=0, Validator validator=DefaultValidator, 
     String name=TextCtrlNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=0, Validator validator=DefaultValidator, 
     String name=TextCtrlNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="value" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
@@ -16120,47 +18297,47 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         </paramlist>
       </method>
       <method name="GetValue" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(String value)</autodoc>
+        <autodoc>SetValue(self, String value)</autodoc>
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetRange" type="String" overloaded="no">
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetRange" type="String" overloaded="no">
-        <autodoc>GetRange(long from, long to) -&gt; String</autodoc>
+        <autodoc>GetRange(self, long from, long to) -&gt; String</autodoc>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetLineLength" type="int" overloaded="no">
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetLineLength" type="int" overloaded="no">
-        <autodoc>GetLineLength(long lineNo) -&gt; int</autodoc>
+        <autodoc>GetLineLength(self, long lineNo) -&gt; int</autodoc>
         <paramlist>
           <param name="lineNo" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetLineText" type="String" overloaded="no">
         <paramlist>
           <param name="lineNo" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetLineText" type="String" overloaded="no">
-        <autodoc>GetLineText(long lineNo) -&gt; String</autodoc>
+        <autodoc>GetLineText(self, long lineNo) -&gt; String</autodoc>
         <paramlist>
           <param name="lineNo" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetNumberOfLines" type="int" overloaded="no">
         <paramlist>
           <param name="lineNo" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetNumberOfLines" type="int" overloaded="no">
-        <autodoc>GetNumberOfLines() -&gt; int</autodoc>
+        <autodoc>GetNumberOfLines(self) -&gt; int</autodoc>
       </method>
       <method name="IsModified" type="bool" overloaded="no">
       </method>
       <method name="IsModified" type="bool" overloaded="no">
-        <autodoc>IsModified() -&gt; bool</autodoc>
+        <autodoc>IsModified(self) -&gt; bool</autodoc>
       </method>
       <method name="IsEditable" type="bool" overloaded="no">
       </method>
       <method name="IsEditable" type="bool" overloaded="no">
-        <autodoc>IsEditable() -&gt; bool</autodoc>
+        <autodoc>IsEditable(self) -&gt; bool</autodoc>
       </method>
       <method name="IsSingleLine" type="bool" overloaded="no">
       </method>
       <method name="IsSingleLine" type="bool" overloaded="no">
-        <autodoc>IsSingleLine() -&gt; bool</autodoc>
+        <autodoc>IsSingleLine(self) -&gt; bool</autodoc>
       </method>
       <method name="IsMultiLine" type="bool" overloaded="no">
       </method>
       <method name="IsMultiLine" type="bool" overloaded="no">
-        <autodoc>IsMultiLine() -&gt; bool</autodoc>
+        <autodoc>IsMultiLine(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSelection" type="" overloaded="no">
         <autodoc>GetSelection() -&gt; (from, to)</autodoc>
       </method>
       <method name="GetSelection" type="" overloaded="no">
         <autodoc>GetSelection() -&gt; (from, to)</autodoc>
@@ -16171,13 +18348,13 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         </paramlist>
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
-        <autodoc>GetStringSelection() -&gt; String</autodoc>
+        <autodoc>GetStringSelection(self) -&gt; String</autodoc>
       </method>
       <method name="Clear" type="" overloaded="no">
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="Replace" type="" overloaded="no">
       </method>
       <method name="Replace" type="" overloaded="no">
-        <autodoc>Replace(long from, long to, String value)</autodoc>
+        <autodoc>Replace(self, long from, long to, String value)</autodoc>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
@@ -16185,56 +18362,56 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         </paramlist>
       </method>
       <method name="Remove" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Remove" type="" overloaded="no">
-        <autodoc>Remove(long from, long to)</autodoc>
+        <autodoc>Remove(self, long from, long to)</autodoc>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
-        <autodoc>LoadFile(String file) -&gt; bool</autodoc>
+        <autodoc>LoadFile(self, String file) -&gt; bool</autodoc>
         <paramlist>
           <param name="file" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
         <paramlist>
           <param name="file" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
-        <autodoc>SaveFile(String file=EmptyString) -&gt; bool</autodoc>
+        <autodoc>SaveFile(self, String file=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="file" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="MarkDirty" type="" overloaded="no">
         <paramlist>
           <param name="file" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="MarkDirty" type="" overloaded="no">
-        <autodoc>MarkDirty()</autodoc>
+        <autodoc>MarkDirty(self)</autodoc>
       </method>
       <method name="DiscardEdits" type="" overloaded="no">
       </method>
       <method name="DiscardEdits" type="" overloaded="no">
-        <autodoc>DiscardEdits()</autodoc>
+        <autodoc>DiscardEdits(self)</autodoc>
       </method>
       <method name="SetMaxLength" type="" overloaded="no">
       </method>
       <method name="SetMaxLength" type="" overloaded="no">
-        <autodoc>SetMaxLength(unsigned long len)</autodoc>
+        <autodoc>SetMaxLength(self, unsigned long len)</autodoc>
         <paramlist>
           <param name="len" type="unsigned long" default=""/>
         </paramlist>
       </method>
       <method name="WriteText" type="" overloaded="no">
         <paramlist>
           <param name="len" type="unsigned long" default=""/>
         </paramlist>
       </method>
       <method name="WriteText" type="" overloaded="no">
-        <autodoc>WriteText(String text)</autodoc>
+        <autodoc>WriteText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AppendText" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AppendText" type="" overloaded="no">
-        <autodoc>AppendText(String text)</autodoc>
+        <autodoc>AppendText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EmulateKeyPress" type="bool" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EmulateKeyPress" type="bool" overloaded="no">
-        <autodoc>EmulateKeyPress(KeyEvent event) -&gt; bool</autodoc>
+        <autodoc>EmulateKeyPress(self, KeyEvent event) -&gt; bool</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="bool" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="bool" overloaded="no">
-        <autodoc>SetStyle(long start, long end, TextAttr style) -&gt; bool</autodoc>
+        <autodoc>SetStyle(self, long start, long end, TextAttr style) -&gt; bool</autodoc>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="end" type="long" default=""/>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="end" type="long" default=""/>
@@ -16242,23 +18419,23 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         </paramlist>
       </method>
       <method name="GetStyle" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetStyle" type="bool" overloaded="no">
-        <autodoc>GetStyle(long position, TextAttr style) -&gt; bool</autodoc>
+        <autodoc>GetStyle(self, long position, TextAttr style) -&gt; bool</autodoc>
         <paramlist>
           <param name="position" type="long" default=""/>
           <param name="style" type="TextAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultStyle" type="bool" overloaded="no">
         <paramlist>
           <param name="position" type="long" default=""/>
           <param name="style" type="TextAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultStyle" type="bool" overloaded="no">
-        <autodoc>SetDefaultStyle(TextAttr style) -&gt; bool</autodoc>
+        <autodoc>SetDefaultStyle(self, TextAttr style) -&gt; bool</autodoc>
         <paramlist>
           <param name="style" type="TextAttr" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultStyle" type="TextAttr" overloaded="no">
         <paramlist>
           <param name="style" type="TextAttr" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultStyle" type="TextAttr" overloaded="no">
-        <autodoc>GetDefaultStyle() -&gt; TextAttr</autodoc>
+        <autodoc>GetDefaultStyle(self) -&gt; TextAttr</autodoc>
       </method>
       <method name="XYToPosition" type="long" overloaded="no">
       </method>
       <method name="XYToPosition" type="long" overloaded="no">
-        <autodoc>XYToPosition(long x, long y) -&gt; long</autodoc>
+        <autodoc>XYToPosition(self, long x, long y) -&gt; long</autodoc>
         <paramlist>
           <param name="x" type="long" default=""/>
           <param name="y" type="long" default=""/>
         <paramlist>
           <param name="x" type="long" default=""/>
           <param name="y" type="long" default=""/>
@@ -16273,101 +18450,127 @@ __init__(Colour colText, Colour colBack=wxNullColour, Font font=wxNullFont,
         </paramlist>
       </method>
       <method name="ShowPosition" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="ShowPosition" type="" overloaded="no">
-        <autodoc>ShowPosition(long pos)</autodoc>
+        <autodoc>ShowPosition(self, long pos)</autodoc>
         <paramlist>
           <param name="pos" type="long" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no">
         <autodoc>HitTest(Point pt) -&gt; (result, row, col)</autodoc>
         <paramlist>
           <param name="pos" type="long" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="wxTextCtrlHitTestResult" overloaded="no">
         <autodoc>HitTest(Point pt) -&gt; (result, row, col)</autodoc>
-        <docstring>Find the character at position given in pixels.
-NB: pt is in device coords (not adjusted for the client area
-origin nor scrolling)</docstring>
+        <docstring>Find the row, col coresponding to the character at the point given in
+pixels. NB: pt is in device coords but is not adjusted for the client
+area origin nor scrolling.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="OUTPUT" type="long" default=""/>
           <param name="OUTPUT" type="long" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="OUTPUT" type="long" default=""/>
           <param name="OUTPUT" type="long" default=""/>
         </paramlist>
       </method>
+      <method name="HitTestPos" type="wxTextCtrlHitTestResult" overloaded="no">
+        <autodoc>HitTestPos(Point pt) -&gt; (result, position)</autodoc>
+        <docstring>Find the character position in the text coresponding to the point
+given in pixels. NB: pt is in device coords but is not adjusted for
+the client area origin nor scrolling. </docstring>
+        <paramlist>
+          <param name="pt" type="Point" default=""/>
+          <param name="OUTPUT" type="long" default=""/>
+        </paramlist>
+      </method>
       <method name="Copy" type="" overloaded="no">
       <method name="Copy" type="" overloaded="no">
-        <autodoc>Copy()</autodoc>
+        <autodoc>Copy(self)</autodoc>
       </method>
       <method name="Cut" type="" overloaded="no">
       </method>
       <method name="Cut" type="" overloaded="no">
-        <autodoc>Cut()</autodoc>
+        <autodoc>Cut(self)</autodoc>
       </method>
       <method name="Paste" type="" overloaded="no">
       </method>
       <method name="Paste" type="" overloaded="no">
-        <autodoc>Paste()</autodoc>
+        <autodoc>Paste(self)</autodoc>
       </method>
       <method name="CanCopy" type="bool" overloaded="no">
       </method>
       <method name="CanCopy" type="bool" overloaded="no">
-        <autodoc>CanCopy() -&gt; bool</autodoc>
+        <autodoc>CanCopy(self) -&gt; bool</autodoc>
       </method>
       <method name="CanCut" type="bool" overloaded="no">
       </method>
       <method name="CanCut" type="bool" overloaded="no">
-        <autodoc>CanCut() -&gt; bool</autodoc>
+        <autodoc>CanCut(self) -&gt; bool</autodoc>
       </method>
       <method name="CanPaste" type="bool" overloaded="no">
       </method>
       <method name="CanPaste" type="bool" overloaded="no">
-        <autodoc>CanPaste() -&gt; bool</autodoc>
+        <autodoc>CanPaste(self) -&gt; bool</autodoc>
       </method>
       <method name="Undo" type="" overloaded="no">
       </method>
       <method name="Undo" type="" overloaded="no">
-        <autodoc>Undo()</autodoc>
+        <autodoc>Undo(self)</autodoc>
       </method>
       <method name="Redo" type="" overloaded="no">
       </method>
       <method name="Redo" type="" overloaded="no">
-        <autodoc>Redo()</autodoc>
+        <autodoc>Redo(self)</autodoc>
       </method>
       <method name="CanUndo" type="bool" overloaded="no">
       </method>
       <method name="CanUndo" type="bool" overloaded="no">
-        <autodoc>CanUndo() -&gt; bool</autodoc>
+        <autodoc>CanUndo(self) -&gt; bool</autodoc>
       </method>
       <method name="CanRedo" type="bool" overloaded="no">
       </method>
       <method name="CanRedo" type="bool" overloaded="no">
-        <autodoc>CanRedo() -&gt; bool</autodoc>
+        <autodoc>CanRedo(self) -&gt; bool</autodoc>
       </method>
       <method name="SetInsertionPoint" type="" overloaded="no">
       </method>
       <method name="SetInsertionPoint" type="" overloaded="no">
-        <autodoc>SetInsertionPoint(long pos)</autodoc>
+        <autodoc>SetInsertionPoint(self, long pos)</autodoc>
         <paramlist>
           <param name="pos" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetInsertionPointEnd" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetInsertionPointEnd" type="" overloaded="no">
-        <autodoc>SetInsertionPointEnd()</autodoc>
+        <autodoc>SetInsertionPointEnd(self)</autodoc>
       </method>
       <method name="GetInsertionPoint" type="long" overloaded="no">
       </method>
       <method name="GetInsertionPoint" type="long" overloaded="no">
-        <autodoc>GetInsertionPoint() -&gt; long</autodoc>
+        <autodoc>GetInsertionPoint(self) -&gt; long</autodoc>
       </method>
       <method name="GetLastPosition" type="long" overloaded="no">
       </method>
       <method name="GetLastPosition" type="long" overloaded="no">
-        <autodoc>GetLastPosition() -&gt; long</autodoc>
+        <autodoc>GetLastPosition(self) -&gt; long</autodoc>
       </method>
       <method name="SetSelection" type="" overloaded="no">
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(long from, long to)</autodoc>
+        <autodoc>SetSelection(self, long from, long to)</autodoc>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
-        <autodoc>SelectAll()</autodoc>
+        <autodoc>SelectAll(self)</autodoc>
       </method>
       <method name="SetEditable" type="" overloaded="no">
       </method>
       <method name="SetEditable" type="" overloaded="no">
-        <autodoc>SetEditable(bool editable)</autodoc>
+        <autodoc>SetEditable(self, bool editable)</autodoc>
         <paramlist>
           <param name="editable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="write" type="" overloaded="no">
         <paramlist>
           <param name="editable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="write" type="" overloaded="no">
-        <autodoc>write(String text)</autodoc>
+        <autodoc>write(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetString" type="String" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetString" type="String" overloaded="no">
-        <autodoc>GetString(long from, long to) -&gt; String</autodoc>
+        <autodoc>GetString(self, long from, long to) -&gt; String</autodoc>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     </class>
-    <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="controls">
+    <class name="TextUrlEvent" oldname="wxTextUrlEvent" module="_controls">
       <baseclass name="CommandEvent"/>
       <constructor name="TextUrlEvent" overloaded="no">
       <baseclass name="CommandEvent"/>
       <constructor name="TextUrlEvent" overloaded="no">
-        <autodoc>__init__(int winid, MouseEvent evtMouse, long start, long end) -&gt; TextUrlEvent</autodoc>
+        <autodoc>__init__(self, int winid, MouseEvent evtMouse, long start, long end) -&gt; TextUrlEvent</autodoc>
         <paramlist>
           <param name="winid" type="int" default=""/>
           <param name="evtMouse" type="MouseEvent" default=""/>
         <paramlist>
           <param name="winid" type="int" default=""/>
           <param name="evtMouse" type="MouseEvent" default=""/>
@@ -16376,13 +18579,13 @@ origin nor scrolling)</docstring>
         </paramlist>
       </constructor>
       <method name="GetMouseEvent" type="MouseEvent" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetMouseEvent" type="MouseEvent" overloaded="no">
-        <autodoc>GetMouseEvent() -&gt; MouseEvent</autodoc>
+        <autodoc>GetMouseEvent(self) -&gt; MouseEvent</autodoc>
       </method>
       <method name="GetURLStart" type="long" overloaded="no">
       </method>
       <method name="GetURLStart" type="long" overloaded="no">
-        <autodoc>GetURLStart() -&gt; long</autodoc>
+        <autodoc>GetURLStart(self) -&gt; long</autodoc>
       </method>
       <method name="GetURLEnd" type="long" overloaded="no">
       </method>
       <method name="GetURLEnd" type="long" overloaded="no">
-        <autodoc>GetURLEnd() -&gt; long</autodoc>
+        <autodoc>GetURLEnd(self) -&gt; long</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -16394,10 +18597,10 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ScrollBar" oldname="wxScrollBar" module="controls">
+    <class name="ScrollBar" oldname="wxScrollBar" module="_controls">
       <baseclass name="Control"/>
       <constructor name="ScrollBar" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="ScrollBar" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=SB_HORIZONTAL, 
     Validator validator=DefaultValidator, String name=ScrollBarNameStr) -&gt; ScrollBar</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=SB_HORIZONTAL, 
     Validator validator=DefaultValidator, String name=ScrollBarNameStr) -&gt; ScrollBar</autodoc>
         <paramlist>
@@ -16414,7 +18617,7 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
         <autodoc>PreScrollBar() -&gt; ScrollBar</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreScrollBar() -&gt; ScrollBar</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=SB_HORIZONTAL, 
     Validator validator=DefaultValidator, String name=ScrollBarNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
     Size size=DefaultSize, long style=SB_HORIZONTAL, 
     Validator validator=DefaultValidator, String name=ScrollBarNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
@@ -16429,42 +18632,42 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
         </paramlist>
       </method>
       <method name="GetThumbPosition" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetThumbPosition" type="int" overloaded="no">
-        <autodoc>GetThumbPosition() -&gt; int</autodoc>
+        <autodoc>GetThumbPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetThumbSize" type="int" overloaded="no">
       </method>
       <method name="GetThumbSize" type="int" overloaded="no">
-        <autodoc>GetThumbSize() -&gt; int</autodoc>
+        <autodoc>GetThumbSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetPageSize" type="int" overloaded="no">
       </method>
       <method name="GetPageSize" type="int" overloaded="no">
-        <autodoc>GetPageSize() -&gt; int</autodoc>
+        <autodoc>GetPageSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetRange" type="int" overloaded="no">
       </method>
       <method name="GetRange" type="int" overloaded="no">
-        <autodoc>GetRange() -&gt; int</autodoc>
+        <autodoc>GetRange(self) -&gt; int</autodoc>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
-        <autodoc>IsVertical() -&gt; bool</autodoc>
+        <autodoc>IsVertical(self) -&gt; bool</autodoc>
       </method>
       <method name="SetThumbPosition" type="" overloaded="no">
       </method>
       <method name="SetThumbPosition" type="" overloaded="no">
-        <autodoc>SetThumbPosition(int viewStart)</autodoc>
+        <autodoc>SetThumbPosition(self, int viewStart)</autodoc>
         <paramlist>
           <param name="viewStart" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollbar" type="" overloaded="no">
         <paramlist>
           <param name="viewStart" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetScrollbar" type="" overloaded="no">
-        <autodoc>SetScrollbar(int position, int thumbSize, int range, int pageSize, 
+        <autodoc>SetScrollbar(self, int position, int thumbSize, int range, int pageSize, 
     bool refresh=True)</autodoc>
         <docstring>Sets the scrollbar properties of a built-in scrollbar.
     bool refresh=True)</autodoc>
         <docstring>Sets the scrollbar properties of a built-in scrollbar.
+    :param orientation: Determines the scrollbar whose page size is to
+                 be set. May be wx.HORIZONTAL or wx.VERTICAL.
 
 
-    orientation: Determines the scrollbar whose page size is to be
-                 set. May be wx.HORIZONTAL or wx.VERTICAL.
-
-    position:    The position of the scrollbar in scroll units.
+    :param position: The position of the scrollbar in scroll units.
 
 
-    thumbSize:   The size of the thumb, or visible portion of the
+    :param thumbSize: The size of the thumb, or visible portion of the
                  scrollbar, in scroll units.
 
                  scrollbar, in scroll units.
 
-    range:       The maximum position of the scrollbar.
+    :param range: The maximum position of the scrollbar.
 
 
-    refresh:     True to redraw the scrollbar, false otherwise.</docstring>
+    :param refresh: True to redraw the scrollbar, false otherwise.
+</docstring>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="thumbSize" type="int" default=""/>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="thumbSize" type="int" default=""/>
@@ -16473,14 +18676,30 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
           <param name="refresh" type="bool" default="True"/>
         </paramlist>
       </method>
           <param name="refresh" type="bool" default="True"/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SpinButton" oldname="wxSpinButton" module="controls">
+    <class name="SpinButton" oldname="wxSpinButton" module="_controls">
       <baseclass name="Control"/>
       <constructor name="SpinButton" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="SpinButton" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=SP_HORIZONTAL, 
     String name=SPIN_BUTTON_NAME) -&gt; SpinButton</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=SP_HORIZONTAL, 
     String name=SPIN_BUTTON_NAME) -&gt; SpinButton</autodoc>
         <paramlist>
@@ -16496,7 +18715,7 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
         <autodoc>PreSpinButton() -&gt; SpinButton</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreSpinButton() -&gt; SpinButton</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=SP_HORIZONTAL, 
     String name=SPIN_BUTTON_NAME) -&gt; bool</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=SP_HORIZONTAL, 
     String name=SPIN_BUTTON_NAME) -&gt; bool</autodoc>
         <paramlist>
@@ -16509,47 +18728,63 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
-        <autodoc>GetValue() -&gt; int</autodoc>
+        <autodoc>GetValue(self) -&gt; int</autodoc>
       </method>
       <method name="GetMin" type="int" overloaded="no">
       </method>
       <method name="GetMin" type="int" overloaded="no">
-        <autodoc>GetMin() -&gt; int</autodoc>
+        <autodoc>GetMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetMax" type="int" overloaded="no">
       </method>
       <method name="GetMax" type="int" overloaded="no">
-        <autodoc>GetMax() -&gt; int</autodoc>
+        <autodoc>GetMax(self) -&gt; int</autodoc>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(int val)</autodoc>
+        <autodoc>SetValue(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMin" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMin" type="" overloaded="no">
-        <autodoc>SetMin(int minVal)</autodoc>
+        <autodoc>SetMin(self, int minVal)</autodoc>
         <paramlist>
           <param name="minVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMax" type="" overloaded="no">
         <paramlist>
           <param name="minVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMax" type="" overloaded="no">
-        <autodoc>SetMax(int maxVal)</autodoc>
+        <autodoc>SetMax(self, int maxVal)</autodoc>
         <paramlist>
           <param name="maxVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
         <paramlist>
           <param name="maxVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
-        <autodoc>SetRange(int minVal, int maxVal)</autodoc>
+        <autodoc>SetRange(self, int minVal, int maxVal)</autodoc>
         <paramlist>
           <param name="minVal" type="int" default=""/>
           <param name="maxVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
         <paramlist>
           <param name="minVal" type="int" default=""/>
           <param name="maxVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
-        <autodoc>IsVertical() -&gt; bool</autodoc>
+        <autodoc>IsVertical(self) -&gt; bool</autodoc>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     </class>
-    <class name="SpinCtrl" oldname="wxSpinCtrl" module="controls">
+    <class name="SpinCtrl" oldname="wxSpinCtrl" module="_controls">
       <baseclass name="Control"/>
       <constructor name="SpinCtrl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="SpinCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, String value=EmptyString, 
+        <autodoc>__init__(self, Window parent, int id=-1, String value=EmptyString, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=SP_ARROW_KEYS, int min=0, int max=100, 
     int initial=0, String name=SpinCtrlNameStr) -&gt; SpinCtrl</autodoc>
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=SP_ARROW_KEYS, int min=0, int max=100, 
     int initial=0, String name=SpinCtrlNameStr) -&gt; SpinCtrl</autodoc>
@@ -16570,7 +18805,7 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
         <autodoc>PreSpinCtrl() -&gt; SpinCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreSpinCtrl() -&gt; SpinCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, String value=EmptyString, 
+        <autodoc>Create(self, Window parent, int id=-1, String value=EmptyString, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=SP_ARROW_KEYS, int min=0, int max=100, 
     int initial=0, String name=SpinCtrlNameStr) -&gt; bool</autodoc>
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=SP_ARROW_KEYS, int min=0, int max=100, 
     int initial=0, String name=SpinCtrlNameStr) -&gt; bool</autodoc>
@@ -16588,55 +18823,71 @@ EVT_TEXT_MAXLEN = wx.PyEventBinder( wxEVT_COMMAND_TEXT_MAXLEN, 1)
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
-        <autodoc>GetValue() -&gt; int</autodoc>
+        <autodoc>GetValue(self) -&gt; int</autodoc>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(int value)</autodoc>
+        <autodoc>SetValue(self, int value)</autodoc>
         <paramlist>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetValueString" type="" overloaded="no">
         <paramlist>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetValueString" type="" overloaded="no">
-        <autodoc>SetValueString(String text)</autodoc>
+        <autodoc>SetValueString(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
-        <autodoc>SetRange(int minVal, int maxVal)</autodoc>
+        <autodoc>SetRange(self, int minVal, int maxVal)</autodoc>
         <paramlist>
           <param name="minVal" type="int" default=""/>
           <param name="maxVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMin" type="int" overloaded="no">
         <paramlist>
           <param name="minVal" type="int" default=""/>
           <param name="maxVal" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMin" type="int" overloaded="no">
-        <autodoc>GetMin() -&gt; int</autodoc>
+        <autodoc>GetMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetMax" type="int" overloaded="no">
       </method>
       <method name="GetMax" type="int" overloaded="no">
-        <autodoc>GetMax() -&gt; int</autodoc>
+        <autodoc>GetMax(self) -&gt; int</autodoc>
       </method>
       <method name="SetSelection" type="" overloaded="no">
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(long from, long to)</autodoc>
+        <autodoc>SetSelection(self, long from, long to)</autodoc>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="from" type="long" default=""/>
           <param name="to" type="long" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     </class>
-    <class name="SpinEvent" oldname="wxSpinEvent" module="controls">
+    <class name="SpinEvent" oldname="wxSpinEvent" module="_controls">
       <baseclass name="NotifyEvent"/>
       <constructor name="SpinEvent" overloaded="no">
       <baseclass name="NotifyEvent"/>
       <constructor name="SpinEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; SpinEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -&gt; SpinEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetPosition" type="int" overloaded="no">
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetPosition" type="int" overloaded="no">
-        <autodoc>GetPosition() -&gt; int</autodoc>
+        <autodoc>GetPosition(self) -&gt; int</autodoc>
       </method>
       <method name="SetPosition" type="" overloaded="no">
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(int pos)</autodoc>
+        <autodoc>SetPosition(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
@@ -16651,18 +18902,19 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="RadioBox" oldname="wxRadioBox" module="controls">
+    <class name="RadioBox" oldname="wxRadioBox" module="_controls">
       <baseclass name="Control"/>
       <constructor name="RadioBox" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="RadioBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, 
-    int majorDimension=0, 
-    long style=RA_HORIZONTAL, Validator validator=DefaultValidator, 
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    wxArrayString choices=wxPyEmptyStringArray, 
+    int majorDimension=0, long style=RA_HORIZONTAL, 
+    Validator validator=DefaultValidator, 
     String name=RadioBoxNameStr) -&gt; RadioBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=RadioBoxNameStr) -&gt; RadioBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -16676,15 +18928,16 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         <autodoc>PreRadioBox() -&gt; RadioBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreRadioBox() -&gt; RadioBox</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray, 
-    int majorDimension=0, 
-    long style=RA_HORIZONTAL, Validator validator=DefaultValidator, 
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    wxArrayString choices=wxPyEmptyStringArray, 
+    int majorDimension=0, long style=RA_HORIZONTAL, 
+    Validator validator=DefaultValidator, 
     String name=RadioBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=RadioBoxNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="choices" type="wxArrayString" default="wxPyEmptyStringArray"/>
@@ -16695,87 +18948,104 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int n)</autodoc>
+        <autodoc>SetSelection(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
       </method>
       <method name="GetStringSelection" type="String" overloaded="no">
-        <autodoc>GetStringSelection() -&gt; String</autodoc>
+        <autodoc>GetStringSelection(self) -&gt; String</autodoc>
       </method>
       <method name="SetStringSelection" type="bool" overloaded="no">
       </method>
       <method name="SetStringSelection" type="bool" overloaded="no">
-        <autodoc>SetStringSelection(String s) -&gt; bool</autodoc>
+        <autodoc>SetStringSelection(self, String s) -&gt; bool</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
       </method>
       <method name="FindString" type="int" overloaded="no">
       </method>
       <method name="FindString" type="int" overloaded="no">
-        <autodoc>FindString(String s) -&gt; int</autodoc>
+        <autodoc>FindString(self, String s) -&gt; int</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetString" type="String" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetString" type="String" overloaded="no">
-        <autodoc>GetString(int n) -&gt; String</autodoc>
+        <autodoc>GetString(self, int n) -&gt; String</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetString" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetString" type="" overloaded="no">
-        <autodoc>SetString(int n, String label)</autodoc>
+        <autodoc>SetString(self, int n, String label)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnableItem" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnableItem" type="" overloaded="no">
-        <autodoc>EnableItem(int n, bool enable=True)</autodoc>
+        <autodoc>EnableItem(self, int n, bool enable=True)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="ShowItem" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="ShowItem" type="" overloaded="no">
-        <autodoc>ShowItem(int n, bool show=True)</autodoc>
+        <autodoc>ShowItem(self, int n, bool show=True)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="show" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetColumnCount" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="show" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetColumnCount" type="int" overloaded="no">
-        <autodoc>GetColumnCount() -&gt; int</autodoc>
+        <autodoc>GetColumnCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetRowCount" type="int" overloaded="no">
       </method>
       <method name="GetRowCount" type="int" overloaded="no">
-        <autodoc>GetRowCount() -&gt; int</autodoc>
+        <autodoc>GetRowCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetNextItem" type="int" overloaded="no">
       </method>
       <method name="GetNextItem" type="int" overloaded="no">
-        <autodoc>GetNextItem(int item, int dir, long style) -&gt; int</autodoc>
+        <autodoc>GetNextItem(self, int item, int dir, long style) -&gt; int</autodoc>
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="dir" type="wxDirection" default=""/>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="int" default=""/>
           <param name="dir" type="wxDirection" default=""/>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="RadioButton" oldname="wxRadioButton" module="controls">
+    <class name="RadioButton" oldname="wxRadioButton" module="_controls">
       <baseclass name="Control"/>
       <constructor name="RadioButton" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="RadioButton" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=RadioButtonNameStr) -&gt; RadioButton</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=RadioButtonNameStr) -&gt; RadioButton</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -16787,13 +19057,14 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         <autodoc>PreRadioButton() -&gt; RadioButton</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreRadioButton() -&gt; RadioButton</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=RadioButtonNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=RadioButtonNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -16802,31 +19073,48 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="GetValue" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="bool" overloaded="no">
-        <autodoc>GetValue() -&gt; bool</autodoc>
+        <autodoc>GetValue(self) -&gt; bool</autodoc>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(bool value)</autodoc>
+        <autodoc>SetValue(self, bool value)</autodoc>
         <paramlist>
           <param name="value" type="bool" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="value" type="bool" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Slider" oldname="wxSlider" module="controls">
+    <class name="Slider" oldname="wxSlider" module="_controls">
       <baseclass name="Control"/>
       <constructor name="Slider" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="Slider" overloaded="no">
-        <autodoc>__init__(Window parent, int id, int value, int minValue, int maxValue, 
-    Point pos=DefaultPosition, Size size=DefaultSize, 
-    long style=SL_HORIZONTAL, Validator validator=DefaultValidator, 
+        <autodoc>__init__(self, Window parent, int id=-1, int value=0, int minValue=0, 
+    int maxValue=100, Point pos=DefaultPosition, 
+    Size size=DefaultSize, long style=SL_HORIZONTAL, 
+    Validator validator=DefaultValidator, 
     String name=SliderNameStr) -&gt; Slider</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=SliderNameStr) -&gt; Slider</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="value" type="int" default=""/>
-          <param name="minValue" type="int" default=""/>
-          <param name="maxValue" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="value" type="int" default="0"/>
+          <param name="minValue" type="int" default="0"/>
+          <param name="maxValue" type="int" default="100"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSL_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSL_HORIZONTAL"/>
@@ -16838,16 +19126,17 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         <autodoc>PreSlider() -&gt; Slider</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreSlider() -&gt; Slider</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, int value, int minValue, int maxValue, 
-    Point pos=DefaultPosition, Size size=DefaultSize, 
-    long style=SL_HORIZONTAL, Validator validator=DefaultValidator, 
+        <autodoc>Create(self, Window parent, int id=-1, int value=0, int minValue=0, 
+    int maxValue=100, Point pos=DefaultPosition, 
+    Size size=DefaultSize, long style=SL_HORIZONTAL, 
+    Validator validator=DefaultValidator, 
     String name=SliderNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=SliderNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="value" type="int" default=""/>
-          <param name="minValue" type="int" default=""/>
-          <param name="maxValue" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="value" type="int" default="0"/>
+          <param name="minValue" type="int" default="0"/>
+          <param name="maxValue" type="int" default="100"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSL_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxSL_HORIZONTAL"/>
@@ -16856,101 +19145,117 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValue" type="int" overloaded="no">
-        <autodoc>GetValue() -&gt; int</autodoc>
+        <autodoc>GetValue(self) -&gt; int</autodoc>
       </method>
       <method name="SetValue" type="" overloaded="no">
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(int value)</autodoc>
+        <autodoc>SetValue(self, int value)</autodoc>
         <paramlist>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
         <paramlist>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRange" type="" overloaded="no">
-        <autodoc>SetRange(int minValue, int maxValue)</autodoc>
+        <autodoc>SetRange(self, int minValue, int maxValue)</autodoc>
         <paramlist>
           <param name="minValue" type="int" default=""/>
           <param name="maxValue" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMin" type="int" overloaded="no">
         <paramlist>
           <param name="minValue" type="int" default=""/>
           <param name="maxValue" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMin" type="int" overloaded="no">
-        <autodoc>GetMin() -&gt; int</autodoc>
+        <autodoc>GetMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetMax" type="int" overloaded="no">
       </method>
       <method name="GetMax" type="int" overloaded="no">
-        <autodoc>GetMax() -&gt; int</autodoc>
+        <autodoc>GetMax(self) -&gt; int</autodoc>
       </method>
       <method name="SetMin" type="" overloaded="no">
       </method>
       <method name="SetMin" type="" overloaded="no">
-        <autodoc>SetMin(int minValue)</autodoc>
+        <autodoc>SetMin(self, int minValue)</autodoc>
         <paramlist>
           <param name="minValue" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMax" type="" overloaded="no">
         <paramlist>
           <param name="minValue" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMax" type="" overloaded="no">
-        <autodoc>SetMax(int maxValue)</autodoc>
+        <autodoc>SetMax(self, int maxValue)</autodoc>
         <paramlist>
           <param name="maxValue" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLineSize" type="" overloaded="no">
         <paramlist>
           <param name="maxValue" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLineSize" type="" overloaded="no">
-        <autodoc>SetLineSize(int lineSize)</autodoc>
+        <autodoc>SetLineSize(self, int lineSize)</autodoc>
         <paramlist>
           <param name="lineSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPageSize" type="" overloaded="no">
         <paramlist>
           <param name="lineSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPageSize" type="" overloaded="no">
-        <autodoc>SetPageSize(int pageSize)</autodoc>
+        <autodoc>SetPageSize(self, int pageSize)</autodoc>
         <paramlist>
           <param name="pageSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineSize" type="int" overloaded="no">
         <paramlist>
           <param name="pageSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineSize" type="int" overloaded="no">
-        <autodoc>GetLineSize() -&gt; int</autodoc>
+        <autodoc>GetLineSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetPageSize" type="int" overloaded="no">
       </method>
       <method name="GetPageSize" type="int" overloaded="no">
-        <autodoc>GetPageSize() -&gt; int</autodoc>
+        <autodoc>GetPageSize(self) -&gt; int</autodoc>
       </method>
       <method name="SetThumbLength" type="" overloaded="no">
       </method>
       <method name="SetThumbLength" type="" overloaded="no">
-        <autodoc>SetThumbLength(int lenPixels)</autodoc>
+        <autodoc>SetThumbLength(self, int lenPixels)</autodoc>
         <paramlist>
           <param name="lenPixels" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetThumbLength" type="int" overloaded="no">
         <paramlist>
           <param name="lenPixels" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetThumbLength" type="int" overloaded="no">
-        <autodoc>GetThumbLength() -&gt; int</autodoc>
+        <autodoc>GetThumbLength(self) -&gt; int</autodoc>
       </method>
       <method name="SetTickFreq" type="" overloaded="no">
       </method>
       <method name="SetTickFreq" type="" overloaded="no">
-        <autodoc>SetTickFreq(int n, int pos=1)</autodoc>
+        <autodoc>SetTickFreq(self, int n, int pos=1)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="pos" type="int" default="1"/>
         </paramlist>
       </method>
       <method name="GetTickFreq" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
           <param name="pos" type="int" default="1"/>
         </paramlist>
       </method>
       <method name="GetTickFreq" type="int" overloaded="no">
-        <autodoc>GetTickFreq() -&gt; int</autodoc>
+        <autodoc>GetTickFreq(self) -&gt; int</autodoc>
       </method>
       <method name="ClearTicks" type="" overloaded="no">
       </method>
       <method name="ClearTicks" type="" overloaded="no">
-        <autodoc>ClearTicks()</autodoc>
+        <autodoc>ClearTicks(self)</autodoc>
       </method>
       <method name="SetTick" type="" overloaded="no">
       </method>
       <method name="SetTick" type="" overloaded="no">
-        <autodoc>SetTick(int tickPos)</autodoc>
+        <autodoc>SetTick(self, int tickPos)</autodoc>
         <paramlist>
           <param name="tickPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ClearSel" type="" overloaded="no">
         <paramlist>
           <param name="tickPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ClearSel" type="" overloaded="no">
-        <autodoc>ClearSel()</autodoc>
+        <autodoc>ClearSel(self)</autodoc>
       </method>
       <method name="GetSelEnd" type="int" overloaded="no">
       </method>
       <method name="GetSelEnd" type="int" overloaded="no">
-        <autodoc>GetSelEnd() -&gt; int</autodoc>
+        <autodoc>GetSelEnd(self) -&gt; int</autodoc>
       </method>
       <method name="GetSelStart" type="int" overloaded="no">
       </method>
       <method name="GetSelStart" type="int" overloaded="no">
-        <autodoc>GetSelStart() -&gt; int</autodoc>
+        <autodoc>GetSelStart(self) -&gt; int</autodoc>
       </method>
       <method name="SetSelection" type="" overloaded="no">
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int min, int max)</autodoc>
+        <autodoc>SetSelection(self, int min, int max)</autodoc>
         <paramlist>
           <param name="min" type="int" default=""/>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="min" type="int" default=""/>
           <param name="max" type="int" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
@@ -16958,16 +19263,17 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
     <pythoncode>
     EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
 </pythoncode>
     <pythoncode>
     EVT_TOGGLEBUTTON = wx.PyEventBinder( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 1)
 </pythoncode>
-    <class name="ToggleButton" oldname="wxToggleButton" module="controls">
+    <class name="ToggleButton" oldname="wxToggleButton" module="_controls">
       <baseclass name="Control"/>
       <constructor name="ToggleButton" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="ToggleButton" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -&gt; ToggleButton</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=ToggleButtonNameStr) -&gt; ToggleButton</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -16979,13 +19285,14 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         <autodoc>PreToggleButton() -&gt; ToggleButton</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreToggleButton() -&gt; ToggleButton</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=0, 
-    Validator validator=DefaultValidator, String name=ToggleButtonNameStr) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=0, Validator validator=DefaultValidator, 
+    String name=ToggleButtonNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -16994,109 +19301,125 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(bool value)</autodoc>
+        <autodoc>SetValue(self, bool value)</autodoc>
         <paramlist>
           <param name="value" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="bool" overloaded="no">
         <paramlist>
           <param name="value" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="bool" overloaded="no">
-        <autodoc>GetValue() -&gt; bool</autodoc>
+        <autodoc>GetValue(self) -&gt; bool</autodoc>
       </method>
       <method name="SetLabel" type="" overloaded="no">
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(String label)</autodoc>
+        <autodoc>SetLabel(self, String label)</autodoc>
         <docstring>Sets the item's text.</docstring>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
         <docstring>Sets the item's text.</docstring>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="BookCtrl" oldname="wxBookCtrl" module="controls">
+    <class name="BookCtrl" oldname="wxBookCtrl" module="_controls">
       <baseclass name="Control"/>
       <method name="GetPageCount" type="size_t" overloaded="no">
       <baseclass name="Control"/>
       <method name="GetPageCount" type="size_t" overloaded="no">
-        <autodoc>GetPageCount() -&gt; size_t</autodoc>
+        <autodoc>GetPageCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetPage" type="Window" overloaded="no">
       </method>
       <method name="GetPage" type="Window" overloaded="no">
-        <autodoc>GetPage(size_t n) -&gt; Window</autodoc>
+        <autodoc>GetPage(self, size_t n) -&gt; Window</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
       </method>
       <method name="SetPageText" type="bool" overloaded="no">
       </method>
       <method name="SetPageText" type="bool" overloaded="no">
-        <autodoc>SetPageText(size_t n, String strText) -&gt; bool</autodoc>
+        <autodoc>SetPageText(self, size_t n, String strText) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
           <param name="strText" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPageText" type="String" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
           <param name="strText" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPageText" type="String" overloaded="no">
-        <autodoc>GetPageText(size_t n) -&gt; String</autodoc>
+        <autodoc>GetPageText(self, size_t n) -&gt; String</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetImageList" type="" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetImageList" type="" overloaded="no">
-        <autodoc>SetImageList(ImageList imageList)</autodoc>
+        <autodoc>SetImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
-        <autodoc>AssignImageList(ImageList imageList)</autodoc>
+        <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
-        <autodoc>GetImageList() -&gt; ImageList</autodoc>
+        <autodoc>GetImageList(self) -&gt; ImageList</autodoc>
       </method>
       <method name="GetPageImage" type="int" overloaded="no">
       </method>
       <method name="GetPageImage" type="int" overloaded="no">
-        <autodoc>GetPageImage(size_t n) -&gt; int</autodoc>
+        <autodoc>GetPageImage(self, size_t n) -&gt; int</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetPageImage" type="bool" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetPageImage" type="bool" overloaded="no">
-        <autodoc>SetPageImage(size_t n, int imageId) -&gt; bool</autodoc>
+        <autodoc>SetPageImage(self, size_t n, int imageId) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
           <param name="imageId" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPageSize" type="" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
           <param name="imageId" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPageSize" type="" overloaded="no">
-        <autodoc>SetPageSize(Size size)</autodoc>
+        <autodoc>SetPageSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="CalcSizeFromPage" type="Size" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="CalcSizeFromPage" type="Size" overloaded="no">
-        <autodoc>CalcSizeFromPage(Size sizePage) -&gt; Size</autodoc>
+        <autodoc>CalcSizeFromPage(self, Size sizePage) -&gt; Size</autodoc>
         <paramlist>
           <param name="sizePage" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="DeletePage" type="bool" overloaded="no">
         <paramlist>
           <param name="sizePage" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="DeletePage" type="bool" overloaded="no">
-        <autodoc>DeletePage(size_t n) -&gt; bool</autodoc>
+        <autodoc>DeletePage(self, size_t n) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="RemovePage" type="bool" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="RemovePage" type="bool" overloaded="no">
-        <autodoc>RemovePage(size_t n) -&gt; bool</autodoc>
+        <autodoc>RemovePage(self, size_t n) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllPages" type="bool" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllPages" type="bool" overloaded="no">
-        <autodoc>DeleteAllPages() -&gt; bool</autodoc>
+        <autodoc>DeleteAllPages(self) -&gt; bool</autodoc>
       </method>
       <method name="AddPage" type="bool" overloaded="no">
       </method>
       <method name="AddPage" type="bool" overloaded="no">
-        <autodoc>AddPage(Window page, String text, bool select=False, int imageId=-1) -&gt; bool</autodoc>
+        <autodoc>AddPage(self, Window page, String text, bool select=False, int imageId=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="page" type="Window" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="page" type="Window" default=""/>
           <param name="text" type="String" default=""/>
@@ -17105,7 +19428,7 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="InsertPage" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertPage" type="bool" overloaded="no">
-        <autodoc>InsertPage(size_t n, Window page, String text, bool select=False, 
+        <autodoc>InsertPage(self, size_t n, Window page, String text, bool select=False, 
     int imageId=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
     int imageId=-1) -&gt; bool</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
@@ -17116,22 +19439,38 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="SetSelection" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSelection" type="int" overloaded="no">
-        <autodoc>SetSelection(size_t n) -&gt; int</autodoc>
+        <autodoc>SetSelection(self, size_t n) -&gt; int</autodoc>
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="AdvanceSelection" type="" overloaded="no">
         <paramlist>
           <param name="n" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="AdvanceSelection" type="" overloaded="no">
-        <autodoc>AdvanceSelection(bool forward=True)</autodoc>
+        <autodoc>AdvanceSelection(self, bool forward=True)</autodoc>
+        <paramlist>
+          <param name="forward" type="bool" default="True"/>
+        </paramlist>
+      </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
         <paramlist>
         <paramlist>
-          <param name="forward" type="bool" default="True"/>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
         </paramlist>
         </paramlist>
-      </method>
+      </staticmethod>
     </class>
     </class>
-    <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="controls">
+    <class name="BookCtrlEvent" oldname="wxBookCtrlEvent" module="_controls">
       <baseclass name="NotifyEvent"/>
       <constructor name="BookCtrlEvent" overloaded="no">
       <baseclass name="NotifyEvent"/>
       <constructor name="BookCtrlEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, 
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, 
     int nOldSel=-1) -&gt; BookCtrlEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
     int nOldSel=-1) -&gt; BookCtrlEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
@@ -17141,19 +19480,19 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </constructor>
       <method name="GetSelection" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetSelection" type="int" overloaded="no">
-        <autodoc>GetSelection() -&gt; int</autodoc>
+        <autodoc>GetSelection(self) -&gt; int</autodoc>
       </method>
       <method name="SetSelection" type="" overloaded="no">
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int nSel)</autodoc>
+        <autodoc>SetSelection(self, int nSel)</autodoc>
         <paramlist>
           <param name="nSel" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetOldSelection" type="int" overloaded="no">
         <paramlist>
           <param name="nSel" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetOldSelection" type="int" overloaded="no">
-        <autodoc>GetOldSelection() -&gt; int</autodoc>
+        <autodoc>GetOldSelection(self) -&gt; int</autodoc>
       </method>
       <method name="SetOldSelection" type="" overloaded="no">
       </method>
       <method name="SetOldSelection" type="" overloaded="no">
-        <autodoc>SetOldSelection(int nOldSel)</autodoc>
+        <autodoc>SetOldSelection(self, int nOldSel)</autodoc>
         <paramlist>
           <param name="nOldSel" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="nOldSel" type="int" default=""/>
         </paramlist>
@@ -17162,14 +19501,14 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Notebook" oldname="wxNotebook" module="controls">
+    <class name="Notebook" oldname="wxNotebook" module="_controls">
       <baseclass name="BookCtrl"/>
       <constructor name="Notebook" overloaded="no">
       <baseclass name="BookCtrl"/>
       <constructor name="Notebook" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=NOTEBOOK_NAME) -&gt; Notebook</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -&gt; Notebook</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -17180,11 +19519,11 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         <autodoc>PreNotebook() -&gt; Notebook</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreNotebook() -&gt; Notebook</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=NOTEBOOK_NAME) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=NOTEBOOK_NAME) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -17192,39 +19531,56 @@ EVT_SPINCTRL  = wx.PyEventBinder( wxEVT_COMMAND_SPINCTRL_UPDATED, 1)
         </paramlist>
       </method>
       <method name="GetRowCount" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetRowCount" type="int" overloaded="no">
-        <autodoc>GetRowCount() -&gt; int</autodoc>
+        <autodoc>GetRowCount(self) -&gt; int</autodoc>
       </method>
       <method name="SetPadding" type="" overloaded="no">
       </method>
       <method name="SetPadding" type="" overloaded="no">
-        <autodoc>SetPadding(Size padding)</autodoc>
+        <autodoc>SetPadding(self, Size padding)</autodoc>
         <paramlist>
           <param name="padding" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetTabSize" type="" overloaded="no">
         <paramlist>
           <param name="padding" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetTabSize" type="" overloaded="no">
-        <autodoc>SetTabSize(Size sz)</autodoc>
+        <autodoc>SetTabSize(self, Size sz)</autodoc>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="int" overloaded="no">
         <autodoc>HitTest(Point pt) -&gt; (tab, where)</autodoc>
         <paramlist>
           <param name="sz" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="int" overloaded="no">
         <autodoc>HitTest(Point pt) -&gt; (tab, where)</autodoc>
-        <docstring>Returns the tab which is hit, and flags indicating where using wx.NB_HITTEST_ flags.</docstring>
+        <docstring>Returns the tab which is hit, and flags indicating where using
+wx.NB_HITTEST flags.</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="OUTPUT" type="long" default=""/>
         </paramlist>
       </method>
       <method name="CalcSizeFromPage" type="Size" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
           <param name="OUTPUT" type="long" default=""/>
         </paramlist>
       </method>
       <method name="CalcSizeFromPage" type="Size" overloaded="no">
-        <autodoc>CalcSizeFromPage(Size sizePage) -&gt; Size</autodoc>
+        <autodoc>CalcSizeFromPage(self, Size sizePage) -&gt; Size</autodoc>
         <paramlist>
           <param name="sizePage" type="Size" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="sizePage" type="Size" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     </class>
-    <class name="NotebookEvent" oldname="wxNotebookEvent" module="controls">
+    <class name="NotebookEvent" oldname="wxNotebookEvent" module="_controls">
       <baseclass name="BookCtrlEvent"/>
       <constructor name="NotebookEvent" overloaded="no">
       <baseclass name="BookCtrlEvent"/>
       <constructor name="NotebookEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, 
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, 
     int nOldSel=-1) -&gt; NotebookEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
     int nOldSel=-1) -&gt; NotebookEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
@@ -17273,14 +19629,14 @@ class NotebookPage(wx.Panel):
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Listbook" oldname="wxListbook" module="controls">
+    <class name="Listbook" oldname="wxListbook" module="_controls">
       <baseclass name="BookCtrl"/>
       <constructor name="Listbook" overloaded="no">
       <baseclass name="BookCtrl"/>
       <constructor name="Listbook" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=EmptyString) -&gt; Listbook</autodoc>
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=EmptyString) -&gt; Listbook</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -17291,11 +19647,11 @@ class NotebookPage(wx.Panel):
         <autodoc>PreListbook() -&gt; Listbook</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreListbook() -&gt; Listbook</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=EmptyString) -&gt; bool</autodoc>
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -17303,13 +19659,13 @@ class NotebookPage(wx.Panel):
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
-        <autodoc>IsVertical() -&gt; bool</autodoc>
+        <autodoc>IsVertical(self) -&gt; bool</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="ListbookEvent" oldname="wxListbookEvent" module="controls">
+    <class name="ListbookEvent" oldname="wxListbookEvent" module="_controls">
       <baseclass name="BookCtrlEvent"/>
       <constructor name="ListbookEvent" overloaded="no">
       <baseclass name="BookCtrlEvent"/>
       <constructor name="ListbookEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, 
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0, int nSel=-1, 
     int nOldSel=-1) -&gt; ListbookEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
     int nOldSel=-1) -&gt; ListbookEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
@@ -17326,166 +19682,178 @@ class NotebookPage(wx.Panel):
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="controls">
+    <class name="BookCtrlSizer" oldname="wxBookCtrlSizer" module="_controls">
       <baseclass name="Sizer"/>
       <constructor name="BookCtrlSizer" overloaded="no">
       <baseclass name="Sizer"/>
       <constructor name="BookCtrlSizer" overloaded="no">
-        <autodoc>__init__(BookCtrl nb) -&gt; BookCtrlSizer</autodoc>
+        <autodoc>__init__(self, BookCtrl nb) -&gt; BookCtrlSizer</autodoc>
         <paramlist>
           <param name="nb" type="BookCtrl" default=""/>
         </paramlist>
       </constructor>
       <method name="RecalcSizes" type="" overloaded="no">
         <paramlist>
           <param name="nb" type="BookCtrl" default=""/>
         </paramlist>
       </constructor>
       <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
+        <autodoc>RecalcSizes(self)</autodoc>
+        <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
+items managed by this sizer.  You should not need to call this directly as
+it is called by `Layout`.</docstring>
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
+        <autodoc>CalcMin(self) -&gt; Size</autodoc>
+        <docstring>This method is where the sizer will do the actual calculation of its
+children's minimal sizes.  You should not need to call this directly as
+it is called by `Layout`.</docstring>
       </method>
       <method name="GetControl" type="BookCtrl" overloaded="no">
       </method>
       <method name="GetControl" type="BookCtrl" overloaded="no">
-        <autodoc>GetControl() -&gt; BookCtrl</autodoc>
+        <autodoc>GetControl(self) -&gt; BookCtrl</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="NotebookSizer" oldname="wxNotebookSizer" module="controls">
+    <class name="NotebookSizer" oldname="wxNotebookSizer" module="_controls">
       <baseclass name="Sizer"/>
       <constructor name="NotebookSizer" overloaded="no">
       <baseclass name="Sizer"/>
       <constructor name="NotebookSizer" overloaded="no">
-        <autodoc>__init__(Notebook nb) -&gt; NotebookSizer</autodoc>
+        <autodoc>__init__(self, Notebook nb) -&gt; NotebookSizer</autodoc>
         <paramlist>
           <param name="nb" type="Notebook" default=""/>
         </paramlist>
       </constructor>
       <method name="RecalcSizes" type="" overloaded="no">
         <paramlist>
           <param name="nb" type="Notebook" default=""/>
         </paramlist>
       </constructor>
       <method name="RecalcSizes" type="" overloaded="no">
-        <autodoc>RecalcSizes()</autodoc>
+        <autodoc>RecalcSizes(self)</autodoc>
+        <docstring>Using the sizes calculated by `CalcMin` reposition and resize all the
+items managed by this sizer.  You should not need to call this directly as
+it is called by `Layout`.</docstring>
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
       </method>
       <method name="CalcMin" type="Size" overloaded="no">
-        <autodoc>CalcMin() -&gt; Size</autodoc>
+        <autodoc>CalcMin(self) -&gt; Size</autodoc>
+        <docstring>This method is where the sizer will do the actual calculation of its
+children's minimal sizes.  You should not need to call this directly as
+it is called by `Layout`.</docstring>
       </method>
       <method name="GetNotebook" type="Notebook" overloaded="no">
       </method>
       <method name="GetNotebook" type="Notebook" overloaded="no">
-        <autodoc>GetNotebook() -&gt; Notebook</autodoc>
+        <autodoc>GetNotebook(self) -&gt; Notebook</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="controls">
+    <class name="ToolBarToolBase" oldname="wxToolBarToolBase" module="_controls">
       <baseclass name="Object"/>
       <method name="GetId" type="int" overloaded="no">
       <baseclass name="Object"/>
       <method name="GetId" type="int" overloaded="no">
-        <autodoc>GetId() -&gt; int</autodoc>
+        <autodoc>GetId(self) -&gt; int</autodoc>
       </method>
       <method name="GetControl" type="Control" overloaded="no">
       </method>
       <method name="GetControl" type="Control" overloaded="no">
-        <autodoc>GetControl() -&gt; Control</autodoc>
+        <autodoc>GetControl(self) -&gt; Control</autodoc>
       </method>
       <method name="GetToolBar" type="wxToolBarBase" overloaded="no">
       </method>
       <method name="GetToolBar" type="wxToolBarBase" overloaded="no">
-        <autodoc>GetToolBar() -&gt; ToolBarBase</autodoc>
+        <autodoc>GetToolBar(self) -&gt; ToolBarBase</autodoc>
       </method>
       <method name="IsButton" type="int" overloaded="no">
       </method>
       <method name="IsButton" type="int" overloaded="no">
-        <autodoc>IsButton() -&gt; int</autodoc>
+        <autodoc>IsButton(self) -&gt; int</autodoc>
       </method>
       <method name="IsControl" type="int" overloaded="no">
       </method>
       <method name="IsControl" type="int" overloaded="no">
-        <autodoc>IsControl() -&gt; int</autodoc>
+        <autodoc>IsControl(self) -&gt; int</autodoc>
       </method>
       <method name="IsSeparator" type="int" overloaded="no">
       </method>
       <method name="IsSeparator" type="int" overloaded="no">
-        <autodoc>IsSeparator() -&gt; int</autodoc>
+        <autodoc>IsSeparator(self) -&gt; int</autodoc>
       </method>
       <method name="GetStyle" type="int" overloaded="no">
       </method>
       <method name="GetStyle" type="int" overloaded="no">
-        <autodoc>GetStyle() -&gt; int</autodoc>
+        <autodoc>GetStyle(self) -&gt; int</autodoc>
       </method>
       <method name="GetKind" type="wxItemKind" overloaded="no">
       </method>
       <method name="GetKind" type="wxItemKind" overloaded="no">
-        <autodoc>GetKind() -&gt; int</autodoc>
+        <autodoc>GetKind(self) -&gt; int</autodoc>
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
       </method>
       <method name="IsEnabled" type="bool" overloaded="no">
-        <autodoc>IsEnabled() -&gt; bool</autodoc>
+        <autodoc>IsEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="IsToggled" type="bool" overloaded="no">
       </method>
       <method name="IsToggled" type="bool" overloaded="no">
-        <autodoc>IsToggled() -&gt; bool</autodoc>
+        <autodoc>IsToggled(self) -&gt; bool</autodoc>
       </method>
       <method name="CanBeToggled" type="bool" overloaded="no">
       </method>
       <method name="CanBeToggled" type="bool" overloaded="no">
-        <autodoc>CanBeToggled() -&gt; bool</autodoc>
+        <autodoc>CanBeToggled(self) -&gt; bool</autodoc>
       </method>
       <method name="GetNormalBitmap" type="Bitmap" overloaded="no">
       </method>
       <method name="GetNormalBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetNormalBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetNormalBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="GetDisabledBitmap" type="Bitmap" overloaded="no">
       </method>
       <method name="GetDisabledBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetDisabledBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetDisabledBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel() -&gt; String</autodoc>
+        <autodoc>GetLabel(self) -&gt; String</autodoc>
       </method>
       <method name="GetShortHelp" type="String" overloaded="no">
       </method>
       <method name="GetShortHelp" type="String" overloaded="no">
-        <autodoc>GetShortHelp() -&gt; String</autodoc>
+        <autodoc>GetShortHelp(self) -&gt; String</autodoc>
       </method>
       <method name="GetLongHelp" type="String" overloaded="no">
       </method>
       <method name="GetLongHelp" type="String" overloaded="no">
-        <autodoc>GetLongHelp() -&gt; String</autodoc>
+        <autodoc>GetLongHelp(self) -&gt; String</autodoc>
       </method>
       <method name="Enable" type="bool" overloaded="no">
       </method>
       <method name="Enable" type="bool" overloaded="no">
-        <autodoc>Enable(bool enable) -&gt; bool</autodoc>
+        <autodoc>Enable(self, bool enable) -&gt; bool</autodoc>
         <paramlist>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
-        <autodoc>Toggle()</autodoc>
+        <autodoc>Toggle(self)</autodoc>
       </method>
       <method name="SetToggle" type="bool" overloaded="no">
       </method>
       <method name="SetToggle" type="bool" overloaded="no">
-        <autodoc>SetToggle(bool toggle) -&gt; bool</autodoc>
+        <autodoc>SetToggle(self, bool toggle) -&gt; bool</autodoc>
         <paramlist>
           <param name="toggle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetShortHelp" type="bool" overloaded="no">
         <paramlist>
           <param name="toggle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetShortHelp" type="bool" overloaded="no">
-        <autodoc>SetShortHelp(String help) -&gt; bool</autodoc>
+        <autodoc>SetShortHelp(self, String help) -&gt; bool</autodoc>
         <paramlist>
           <param name="help" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLongHelp" type="bool" overloaded="no">
         <paramlist>
           <param name="help" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLongHelp" type="bool" overloaded="no">
-        <autodoc>SetLongHelp(String help) -&gt; bool</autodoc>
+        <autodoc>SetLongHelp(self, String help) -&gt; bool</autodoc>
         <paramlist>
           <param name="help" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetNormalBitmap" type="" overloaded="no">
         <paramlist>
           <param name="help" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetNormalBitmap" type="" overloaded="no">
-        <autodoc>SetNormalBitmap(Bitmap bmp)</autodoc>
+        <autodoc>SetNormalBitmap(self, Bitmap bmp)</autodoc>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetDisabledBitmap" type="" overloaded="no">
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetDisabledBitmap" type="" overloaded="no">
-        <autodoc>SetDisabledBitmap(Bitmap bmp)</autodoc>
+        <autodoc>SetDisabledBitmap(self, Bitmap bmp)</autodoc>
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetLabel" type="" overloaded="no">
         <paramlist>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(String label)</autodoc>
+        <autodoc>SetLabel(self, String label)</autodoc>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
-        <autodoc>Detach()</autodoc>
+        <autodoc>Detach(self)</autodoc>
       </method>
       <method name="Attach" type="" overloaded="no">
       </method>
       <method name="Attach" type="" overloaded="no">
-        <autodoc>Attach(ToolBarBase tbar)</autodoc>
+        <autodoc>Attach(self, ToolBarBase tbar)</autodoc>
         <paramlist>
           <param name="tbar" type="wxToolBarBase" default=""/>
         </paramlist>
       </method>
       <method name="GetClientData" type="PyObject" overloaded="no">
         <paramlist>
           <param name="tbar" type="wxToolBarBase" default=""/>
         </paramlist>
       </method>
       <method name="GetClientData" type="PyObject" overloaded="no">
-        <autodoc>GetClientData() -&gt; PyObject</autodoc>
+        <autodoc>GetClientData(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetClientData" type="" overloaded="no">
       </method>
       <method name="SetClientData" type="" overloaded="no">
-        <autodoc>SetClientData(PyObject clientData)</autodoc>
+        <autodoc>SetClientData(self, PyObject clientData)</autodoc>
         <paramlist>
           <param name="clientData" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="clientData" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="ToolBarBase" oldname="wxToolBarBase" module="controls">
+    <class name="ToolBarBase" oldname="wxToolBarBase" module="_controls">
       <baseclass name="Control"/>
       <method name="DoAddTool" type="ToolBarToolBase" overloaded="no">
       <baseclass name="Control"/>
       <method name="DoAddTool" type="ToolBarToolBase" overloaded="no">
-        <autodoc>DoAddTool(int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, 
+        <autodoc>DoAddTool(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, 
     int kind=ITEM_NORMAL, String shortHelp=EmptyString, 
     String longHelp=EmptyString, 
     PyObject clientData=None) -&gt; ToolBarToolBase</autodoc>
     int kind=ITEM_NORMAL, String shortHelp=EmptyString, 
     String longHelp=EmptyString, 
     PyObject clientData=None) -&gt; ToolBarToolBase</autodoc>
@@ -17501,7 +19869,7 @@ class NotebookPage(wx.Panel):
         </paramlist>
       </method>
       <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no">
         </paramlist>
       </method>
       <method name="DoInsertTool" type="ToolBarToolBase" overloaded="no">
-        <autodoc>DoInsertTool(size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, 
+        <autodoc>DoInsertTool(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, 
     int kind=ITEM_NORMAL, 
     String shortHelp=EmptyString, String longHelp=EmptyString, 
     PyObject clientData=None) -&gt; ToolBarToolBase</autodoc>
     int kind=ITEM_NORMAL, 
     String shortHelp=EmptyString, String longHelp=EmptyString, 
     PyObject clientData=None) -&gt; ToolBarToolBase</autodoc>
@@ -17518,242 +19886,242 @@ class NotebookPage(wx.Panel):
         </paramlist>
       </method>
       <method name="AddToolItem" type="ToolBarToolBase" overloaded="no">
         </paramlist>
       </method>
       <method name="AddToolItem" type="ToolBarToolBase" overloaded="no">
-        <autodoc>AddToolItem(ToolBarToolBase tool) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>AddToolItem(self, ToolBarToolBase tool) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="tool" type="ToolBarToolBase" default=""/>
         </paramlist>
       </method>
       <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no">
         <paramlist>
           <param name="tool" type="ToolBarToolBase" default=""/>
         </paramlist>
       </method>
       <method name="InsertToolItem" type="ToolBarToolBase" overloaded="no">
-        <autodoc>InsertToolItem(size_t pos, ToolBarToolBase tool) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>InsertToolItem(self, size_t pos, ToolBarToolBase tool) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="tool" type="ToolBarToolBase" default=""/>
         </paramlist>
       </method>
       <method name="AddControl" type="ToolBarToolBase" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="tool" type="ToolBarToolBase" default=""/>
         </paramlist>
       </method>
       <method name="AddControl" type="ToolBarToolBase" overloaded="no">
-        <autodoc>AddControl(Control control) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>AddControl(self, Control control) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="control" type="Control" default=""/>
         </paramlist>
       </method>
       <method name="InsertControl" type="ToolBarToolBase" overloaded="no">
         <paramlist>
           <param name="control" type="Control" default=""/>
         </paramlist>
       </method>
       <method name="InsertControl" type="ToolBarToolBase" overloaded="no">
-        <autodoc>InsertControl(size_t pos, Control control) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>InsertControl(self, size_t pos, Control control) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="control" type="Control" default=""/>
         </paramlist>
       </method>
       <method name="FindControl" type="Control" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="control" type="Control" default=""/>
         </paramlist>
       </method>
       <method name="FindControl" type="Control" overloaded="no">
-        <autodoc>FindControl(int id) -&gt; Control</autodoc>
+        <autodoc>FindControl(self, int id) -&gt; Control</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AddSeparator" type="ToolBarToolBase" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AddSeparator" type="ToolBarToolBase" overloaded="no">
-        <autodoc>AddSeparator() -&gt; ToolBarToolBase</autodoc>
+        <autodoc>AddSeparator(self) -&gt; ToolBarToolBase</autodoc>
       </method>
       <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no">
       </method>
       <method name="InsertSeparator" type="ToolBarToolBase" overloaded="no">
-        <autodoc>InsertSeparator(size_t pos) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>InsertSeparator(self, size_t pos) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="RemoveTool" type="ToolBarToolBase" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="RemoveTool" type="ToolBarToolBase" overloaded="no">
-        <autodoc>RemoveTool(int id) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>RemoveTool(self, int id) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeleteToolByPos" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeleteToolByPos" type="bool" overloaded="no">
-        <autodoc>DeleteToolByPos(size_t pos) -&gt; bool</autodoc>
+        <autodoc>DeleteToolByPos(self, size_t pos) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="DeleteTool" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="DeleteTool" type="bool" overloaded="no">
-        <autodoc>DeleteTool(int id) -&gt; bool</autodoc>
+        <autodoc>DeleteTool(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ClearTools" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ClearTools" type="" overloaded="no">
-        <autodoc>ClearTools()</autodoc>
+        <autodoc>ClearTools(self)</autodoc>
       </method>
       <method name="Realize" type="bool" overloaded="no">
       </method>
       <method name="Realize" type="bool" overloaded="no">
-        <autodoc>Realize() -&gt; bool</autodoc>
+        <autodoc>Realize(self) -&gt; bool</autodoc>
       </method>
       <method name="EnableTool" type="" overloaded="no">
       </method>
       <method name="EnableTool" type="" overloaded="no">
-        <autodoc>EnableTool(int id, bool enable)</autodoc>
+        <autodoc>EnableTool(self, int id, bool enable)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ToggleTool" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="enable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ToggleTool" type="" overloaded="no">
-        <autodoc>ToggleTool(int id, bool toggle)</autodoc>
+        <autodoc>ToggleTool(self, int id, bool toggle)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="toggle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetToggle" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="toggle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetToggle" type="" overloaded="no">
-        <autodoc>SetToggle(int id, bool toggle)</autodoc>
+        <autodoc>SetToggle(self, int id, bool toggle)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="toggle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetToolClientData" type="PyObject" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="toggle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetToolClientData" type="PyObject" overloaded="no">
-        <autodoc>GetToolClientData(int id) -&gt; PyObject</autodoc>
+        <autodoc>GetToolClientData(self, int id) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolClientData" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolClientData" type="" overloaded="no">
-        <autodoc>SetToolClientData(int id, PyObject clientData)</autodoc>
+        <autodoc>SetToolClientData(self, int id, PyObject clientData)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="clientData" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetToolPos" type="int" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="clientData" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetToolPos" type="int" overloaded="no">
-        <autodoc>GetToolPos(int id) -&gt; int</autodoc>
+        <autodoc>GetToolPos(self, int id) -&gt; int</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetToolState" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetToolState" type="bool" overloaded="no">
-        <autodoc>GetToolState(int id) -&gt; bool</autodoc>
+        <autodoc>GetToolState(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetToolEnabled" type="bool" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetToolEnabled" type="bool" overloaded="no">
-        <autodoc>GetToolEnabled(int id) -&gt; bool</autodoc>
+        <autodoc>GetToolEnabled(self, int id) -&gt; bool</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolShortHelp" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolShortHelp" type="" overloaded="no">
-        <autodoc>SetToolShortHelp(int id, String helpString)</autodoc>
+        <autodoc>SetToolShortHelp(self, int id, String helpString)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetToolShortHelp" type="String" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetToolShortHelp" type="String" overloaded="no">
-        <autodoc>GetToolShortHelp(int id) -&gt; String</autodoc>
+        <autodoc>GetToolShortHelp(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolLongHelp" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolLongHelp" type="" overloaded="no">
-        <autodoc>SetToolLongHelp(int id, String helpString)</autodoc>
+        <autodoc>SetToolLongHelp(self, int id, String helpString)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetToolLongHelp" type="String" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="helpString" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetToolLongHelp" type="String" overloaded="no">
-        <autodoc>GetToolLongHelp(int id) -&gt; String</autodoc>
+        <autodoc>GetToolLongHelp(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginsXY" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginsXY" type="" overloaded="no">
-        <autodoc>SetMarginsXY(int x, int y)</autodoc>
+        <autodoc>SetMarginsXY(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
-        <autodoc>SetMargins(Size size)</autodoc>
+        <autodoc>SetMargins(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetToolPacking" type="" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="SetToolPacking" type="" overloaded="no">
-        <autodoc>SetToolPacking(int packing)</autodoc>
+        <autodoc>SetToolPacking(self, int packing)</autodoc>
         <paramlist>
           <param name="packing" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolSeparation" type="" overloaded="no">
         <paramlist>
           <param name="packing" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToolSeparation" type="" overloaded="no">
-        <autodoc>SetToolSeparation(int separation)</autodoc>
+        <autodoc>SetToolSeparation(self, int separation)</autodoc>
         <paramlist>
           <param name="separation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetToolMargins" type="Size" overloaded="no">
         <paramlist>
           <param name="separation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetToolMargins" type="Size" overloaded="no">
-        <autodoc>GetToolMargins() -&gt; Size</autodoc>
+        <autodoc>GetToolMargins(self) -&gt; Size</autodoc>
       </method>
       <method name="GetMargins" type="Size" overloaded="no">
       </method>
       <method name="GetMargins" type="Size" overloaded="no">
-        <autodoc>GetMargins() -&gt; Size</autodoc>
+        <autodoc>GetMargins(self) -&gt; Size</autodoc>
       </method>
       <method name="GetToolPacking" type="int" overloaded="no">
       </method>
       <method name="GetToolPacking" type="int" overloaded="no">
-        <autodoc>GetToolPacking() -&gt; int</autodoc>
+        <autodoc>GetToolPacking(self) -&gt; int</autodoc>
       </method>
       <method name="GetToolSeparation" type="int" overloaded="no">
       </method>
       <method name="GetToolSeparation" type="int" overloaded="no">
-        <autodoc>GetToolSeparation() -&gt; int</autodoc>
+        <autodoc>GetToolSeparation(self) -&gt; int</autodoc>
       </method>
       <method name="SetRows" type="" overloaded="no">
       </method>
       <method name="SetRows" type="" overloaded="no">
-        <autodoc>SetRows(int nRows)</autodoc>
+        <autodoc>SetRows(self, int nRows)</autodoc>
         <paramlist>
           <param name="nRows" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMaxRowsCols" type="" overloaded="no">
         <paramlist>
           <param name="nRows" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMaxRowsCols" type="" overloaded="no">
-        <autodoc>SetMaxRowsCols(int rows, int cols)</autodoc>
+        <autodoc>SetMaxRowsCols(self, int rows, int cols)</autodoc>
         <paramlist>
           <param name="rows" type="int" default=""/>
           <param name="cols" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaxRows" type="int" overloaded="no">
         <paramlist>
           <param name="rows" type="int" default=""/>
           <param name="cols" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaxRows" type="int" overloaded="no">
-        <autodoc>GetMaxRows() -&gt; int</autodoc>
+        <autodoc>GetMaxRows(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxCols" type="int" overloaded="no">
       </method>
       <method name="GetMaxCols" type="int" overloaded="no">
-        <autodoc>GetMaxCols() -&gt; int</autodoc>
+        <autodoc>GetMaxCols(self) -&gt; int</autodoc>
       </method>
       <method name="SetToolBitmapSize" type="" overloaded="no">
       </method>
       <method name="SetToolBitmapSize" type="" overloaded="no">
-        <autodoc>SetToolBitmapSize(Size size)</autodoc>
+        <autodoc>SetToolBitmapSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetToolBitmapSize" type="Size" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetToolBitmapSize" type="Size" overloaded="no">
-        <autodoc>GetToolBitmapSize() -&gt; Size</autodoc>
+        <autodoc>GetToolBitmapSize(self) -&gt; Size</autodoc>
       </method>
       <method name="GetToolSize" type="Size" overloaded="no">
       </method>
       <method name="GetToolSize" type="Size" overloaded="no">
-        <autodoc>GetToolSize() -&gt; Size</autodoc>
+        <autodoc>GetToolSize(self) -&gt; Size</autodoc>
       </method>
       <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
       </method>
       <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
-        <autodoc>FindToolForPosition(int x, int y) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>FindToolForPosition(self, int x, int y) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindById" type="ToolBarToolBase" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindById" type="ToolBarToolBase" overloaded="no">
-        <autodoc>FindById(int toolid) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>FindById(self, int toolid) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="toolid" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
         <paramlist>
           <param name="toolid" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsVertical" type="bool" overloaded="no">
-        <autodoc>IsVertical() -&gt; bool</autodoc>
+        <autodoc>IsVertical(self) -&gt; bool</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="ToolBar" oldname="wxToolBar" module="controls">
+    <class name="ToolBar" oldname="wxToolBar" module="_controls">
       <baseclass name="ToolBarBase"/>
       <constructor name="ToolBar" overloaded="no">
       <baseclass name="ToolBarBase"/>
       <constructor name="ToolBar" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxNO_BORDER|wxTB_HORIZONTAL, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, 
     String name=wxPyToolBarNameStr) -&gt; ToolBar</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=wxPyToolBarNameStr) -&gt; ToolBar</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
@@ -17764,12 +20132,12 @@ class NotebookPage(wx.Panel):
         <autodoc>PreToolBar() -&gt; ToolBar</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreToolBar() -&gt; ToolBar</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxNO_BORDER|wxTB_HORIZONTAL, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, 
     String name=wxPyToolBarNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=wxPyToolBarNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxNO_BORDER|wxTB_HORIZONTAL"/>
@@ -17777,12 +20145,28 @@ class NotebookPage(wx.Panel):
         </paramlist>
       </method>
       <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
         </paramlist>
       </method>
       <method name="FindToolForPosition" type="ToolBarToolBase" overloaded="no">
-        <autodoc>FindToolForPosition(int x, int y) -&gt; ToolBarToolBase</autodoc>
+        <autodoc>FindToolForPosition(self, int x, int y) -&gt; ToolBarToolBase</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
@@ -17790,9 +20174,9 @@ class NotebookPage(wx.Panel):
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ListItemAttr" oldname="wxListItemAttr" module="controls">
+    <class name="ListItemAttr" oldname="wxListItemAttr" module="_controls">
       <constructor name="ListItemAttr" overloaded="no">
       <constructor name="ListItemAttr" overloaded="no">
-        <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, 
+        <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour, 
     Font font=wxNullFont) -&gt; ListItemAttr</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default="wxNullColour"/>
     Font font=wxNullFont) -&gt; ListItemAttr</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default="wxNullColour"/>
@@ -17801,181 +20185,181 @@ class NotebookPage(wx.Panel):
         </paramlist>
       </constructor>
       <method name="SetTextColour" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour colText)</autodoc>
+        <autodoc>SetTextColour(self, Colour colText)</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font)</autodoc>
+        <autodoc>SetFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
-        <autodoc>HasTextColour() -&gt; bool</autodoc>
+        <autodoc>HasTextColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
-        <autodoc>HasBackgroundColour() -&gt; bool</autodoc>
+        <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasFont" type="bool" overloaded="no">
       </method>
       <method name="HasFont" type="bool" overloaded="no">
-        <autodoc>HasFont() -&gt; bool</autodoc>
+        <autodoc>HasFont(self) -&gt; bool</autodoc>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
-        <autodoc>GetTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
       </method>
       <method name="Destroy" type="" overloaded="no">
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ListItem" oldname="wxListItem" module="controls">
+    <class name="ListItem" oldname="wxListItem" module="_controls">
       <baseclass name="Object"/>
       <constructor name="ListItem" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="ListItem" overloaded="no">
-        <autodoc>__init__() -&gt; ListItem</autodoc>
+        <autodoc>__init__(self) -&gt; ListItem</autodoc>
       </constructor>
       <destructor name="~wxListItem" overloaded="no">
       </constructor>
       <destructor name="~wxListItem" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Clear" type="" overloaded="no">
       </destructor>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="ClearAttributes" type="" overloaded="no">
       </method>
       <method name="ClearAttributes" type="" overloaded="no">
-        <autodoc>ClearAttributes()</autodoc>
+        <autodoc>ClearAttributes(self)</autodoc>
       </method>
       <method name="SetMask" type="" overloaded="no">
       </method>
       <method name="SetMask" type="" overloaded="no">
-        <autodoc>SetMask(long mask)</autodoc>
+        <autodoc>SetMask(self, long mask)</autodoc>
         <paramlist>
           <param name="mask" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetId" type="" overloaded="no">
         <paramlist>
           <param name="mask" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(long id)</autodoc>
+        <autodoc>SetId(self, long id)</autodoc>
         <paramlist>
           <param name="id" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetColumn" type="" overloaded="no">
         <paramlist>
           <param name="id" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetColumn" type="" overloaded="no">
-        <autodoc>SetColumn(int col)</autodoc>
+        <autodoc>SetColumn(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetState" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetState" type="" overloaded="no">
-        <autodoc>SetState(long state)</autodoc>
+        <autodoc>SetState(self, long state)</autodoc>
         <paramlist>
           <param name="state" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetStateMask" type="" overloaded="no">
         <paramlist>
           <param name="state" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetStateMask" type="" overloaded="no">
-        <autodoc>SetStateMask(long stateMask)</autodoc>
+        <autodoc>SetStateMask(self, long stateMask)</autodoc>
         <paramlist>
           <param name="stateMask" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
         <paramlist>
           <param name="stateMask" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String text)</autodoc>
+        <autodoc>SetText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetImage" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetImage" type="" overloaded="no">
-        <autodoc>SetImage(int image)</autodoc>
+        <autodoc>SetImage(self, int image)</autodoc>
         <paramlist>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetData" type="" overloaded="no">
         <paramlist>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetData" type="" overloaded="no">
-        <autodoc>SetData(long data)</autodoc>
+        <autodoc>SetData(self, long data)</autodoc>
         <paramlist>
           <param name="data" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
         <paramlist>
           <param name="data" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int width)</autodoc>
+        <autodoc>SetWidth(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAlign" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAlign" type="" overloaded="no">
-        <autodoc>SetAlign(int align)</autodoc>
+        <autodoc>SetAlign(self, int align)</autodoc>
         <paramlist>
           <param name="align" type="wxListColumnFormat" default=""/>
         </paramlist>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
         <paramlist>
           <param name="align" type="wxListColumnFormat" default=""/>
         </paramlist>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour colText)</autodoc>
+        <autodoc>SetTextColour(self, Colour colText)</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font)</autodoc>
+        <autodoc>SetFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetMask" type="long" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetMask" type="long" overloaded="no">
-        <autodoc>GetMask() -&gt; long</autodoc>
+        <autodoc>GetMask(self) -&gt; long</autodoc>
       </method>
       <method name="GetId" type="long" overloaded="no">
       </method>
       <method name="GetId" type="long" overloaded="no">
-        <autodoc>GetId() -&gt; long</autodoc>
+        <autodoc>GetId(self) -&gt; long</autodoc>
       </method>
       <method name="GetColumn" type="int" overloaded="no">
       </method>
       <method name="GetColumn" type="int" overloaded="no">
-        <autodoc>GetColumn() -&gt; int</autodoc>
+        <autodoc>GetColumn(self) -&gt; int</autodoc>
       </method>
       <method name="GetState" type="long" overloaded="no">
       </method>
       <method name="GetState" type="long" overloaded="no">
-        <autodoc>GetState() -&gt; long</autodoc>
+        <autodoc>GetState(self) -&gt; long</autodoc>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetImage" type="int" overloaded="no">
       </method>
       <method name="GetImage" type="int" overloaded="no">
-        <autodoc>GetImage() -&gt; int</autodoc>
+        <autodoc>GetImage(self) -&gt; int</autodoc>
       </method>
       <method name="GetData" type="long" overloaded="no">
       </method>
       <method name="GetData" type="long" overloaded="no">
-        <autodoc>GetData() -&gt; long</autodoc>
+        <autodoc>GetData(self) -&gt; long</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetAlign" type="wxListColumnFormat" overloaded="no">
       </method>
       <method name="GetAlign" type="wxListColumnFormat" overloaded="no">
-        <autodoc>GetAlign() -&gt; int</autodoc>
+        <autodoc>GetAlign(self) -&gt; int</autodoc>
       </method>
       <method name="GetAttributes" type="ListItemAttr" overloaded="no">
       </method>
       <method name="GetAttributes" type="ListItemAttr" overloaded="no">
-        <autodoc>GetAttributes() -&gt; ListItemAttr</autodoc>
+        <autodoc>GetAttributes(self) -&gt; ListItemAttr</autodoc>
       </method>
       <method name="HasAttributes" type="bool" overloaded="no">
       </method>
       <method name="HasAttributes" type="bool" overloaded="no">
-        <autodoc>HasAttributes() -&gt; bool</autodoc>
+        <autodoc>HasAttributes(self) -&gt; bool</autodoc>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
-        <autodoc>GetTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
       </method>
       <property name="m_mask" type="long" readonly="no"/>
       <property name="m_itemId" type="long" readonly="no"/>
       </method>
       <property name="m_mask" type="long" readonly="no"/>
       <property name="m_itemId" type="long" readonly="no"/>
@@ -17991,10 +20375,10 @@ class NotebookPage(wx.Panel):
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ListEvent" oldname="wxListEvent" module="controls">
+    <class name="ListEvent" oldname="wxListEvent" module="_controls">
       <baseclass name="NotifyEvent"/>
       <constructor name="ListEvent" overloaded="no">
       <baseclass name="NotifyEvent"/>
       <constructor name="ListEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -&gt; ListEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; ListEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="id" type="int" default="0"/>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="id" type="int" default="0"/>
@@ -18007,46 +20391,46 @@ class NotebookPage(wx.Panel):
       <property name="m_pointDrag" type="Point" readonly="no"/>
       <property name="m_item" type="ListItem" readonly="yes"/>
       <method name="GetKeyCode" type="int" overloaded="no">
       <property name="m_pointDrag" type="Point" readonly="no"/>
       <property name="m_item" type="ListItem" readonly="yes"/>
       <method name="GetKeyCode" type="int" overloaded="no">
-        <autodoc>GetKeyCode() -&gt; int</autodoc>
+        <autodoc>GetKeyCode(self) -&gt; int</autodoc>
       </method>
       <method name="GetIndex" type="long" overloaded="no">
       </method>
       <method name="GetIndex" type="long" overloaded="no">
-        <autodoc>GetIndex() -&gt; long</autodoc>
+        <autodoc>GetIndex(self) -&gt; long</autodoc>
       </method>
       <method name="GetColumn" type="int" overloaded="no">
       </method>
       <method name="GetColumn" type="int" overloaded="no">
-        <autodoc>GetColumn() -&gt; int</autodoc>
+        <autodoc>GetColumn(self) -&gt; int</autodoc>
       </method>
       <method name="GetPoint" type="Point" overloaded="no">
       </method>
       <method name="GetPoint" type="Point" overloaded="no">
-        <autodoc>GetPoint() -&gt; Point</autodoc>
+        <autodoc>GetPoint(self) -&gt; Point</autodoc>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel() -&gt; String</autodoc>
+        <autodoc>GetLabel(self) -&gt; String</autodoc>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetImage" type="int" overloaded="no">
       </method>
       <method name="GetImage" type="int" overloaded="no">
-        <autodoc>GetImage() -&gt; int</autodoc>
+        <autodoc>GetImage(self) -&gt; int</autodoc>
       </method>
       <method name="GetData" type="long" overloaded="no">
       </method>
       <method name="GetData" type="long" overloaded="no">
-        <autodoc>GetData() -&gt; long</autodoc>
+        <autodoc>GetData(self) -&gt; long</autodoc>
       </method>
       <method name="GetMask" type="long" overloaded="no">
       </method>
       <method name="GetMask" type="long" overloaded="no">
-        <autodoc>GetMask() -&gt; long</autodoc>
+        <autodoc>GetMask(self) -&gt; long</autodoc>
       </method>
       <method name="GetItem" type="ListItem" overloaded="no">
       </method>
       <method name="GetItem" type="ListItem" overloaded="no">
-        <autodoc>GetItem() -&gt; ListItem</autodoc>
+        <autodoc>GetItem(self) -&gt; ListItem</autodoc>
       </method>
       <method name="GetCacheFrom" type="long" overloaded="no">
       </method>
       <method name="GetCacheFrom" type="long" overloaded="no">
-        <autodoc>GetCacheFrom() -&gt; long</autodoc>
+        <autodoc>GetCacheFrom(self) -&gt; long</autodoc>
       </method>
       <method name="GetCacheTo" type="long" overloaded="no">
       </method>
       <method name="GetCacheTo" type="long" overloaded="no">
-        <autodoc>GetCacheTo() -&gt; long</autodoc>
+        <autodoc>GetCacheTo(self) -&gt; long</autodoc>
       </method>
       <method name="IsEditCancelled" type="bool" overloaded="no">
       </method>
       <method name="IsEditCancelled" type="bool" overloaded="no">
-        <autodoc>IsEditCancelled() -&gt; bool</autodoc>
+        <autodoc>IsEditCancelled(self) -&gt; bool</autodoc>
       </method>
       <method name="SetEditCanceled" type="" overloaded="no">
       </method>
       <method name="SetEditCanceled" type="" overloaded="no">
-        <autodoc>SetEditCanceled(bool editCancelled)</autodoc>
+        <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc>
         <paramlist>
           <param name="editCancelled" type="bool" default=""/>
         </paramlist>
         <paramlist>
           <param name="editCancelled" type="bool" default=""/>
         </paramlist>
@@ -18080,10 +20464,10 @@ EVT_LIST_ITEM_FOCUSED      = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ListCtrl" oldname="wxPyListCtrl" module="controls">
+    <class name="ListCtrl" oldname="wxPyListCtrl" module="_controls">
       <baseclass name="Control"/>
       <constructor name="wxPyListCtrl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="wxPyListCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=LC_ICON, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; ListCtrl</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=LC_ICON, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; ListCtrl</autodoc>
         <paramlist>
@@ -18100,7 +20484,7 @@ EVT_LIST_ITEM_FOCUSED      = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED
         <autodoc>PreListCtrl() -&gt; ListCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreListCtrl() -&gt; ListCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=LC_ICON, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
     Size size=DefaultSize, long style=LC_ICON, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
@@ -18115,88 +20499,71 @@ EVT_LIST_ITEM_FOCUSED      = wx.PyEventBinder(wxEVT_COMMAND_LIST_ITEM_FOCUSED
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetForegroundColour" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetForegroundColour" type="bool" overloaded="no">
-        <autodoc>SetForegroundColour(Colour col) -&gt; bool</autodoc>
-        <docstring>Sets the foreground colour of the window.  Returns True is the colour
-was changed.  The interpretation of foreground colour is dependent on
-the window class; it may be the text colour or other colour, or it may
-not be used at all.</docstring>
+        <autodoc>SetForegroundColour(self, Colour col) -&gt; bool</autodoc>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="bool" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour col) -&gt; bool</autodoc>
-        <docstring>Sets the background colour of the window.  Returns True if the colour
-was changed.  The background colour is usually painted by the default
-EVT_ERASE_BACKGROUND event handler function under Windows and
-automatically under GTK.
-
-Note that setting the background colour does not cause an immediate
-refresh, so you may wish to call ClearBackground or Refresh after
-calling this function.
-
-Use this function with care under GTK+ as the new appearance of the
-window might not look equally well when used with themes, i.e GTK+'s
-ability to change its look as the user wishes with run-time loadable
-modules.</docstring>
+        <autodoc>SetBackgroundColour(self, Colour col) -&gt; bool</autodoc>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetColumn" type="ListItem" overloaded="no">
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetColumn" type="ListItem" overloaded="no">
-        <autodoc>GetColumn(int col) -&gt; ListItem</autodoc>
+        <autodoc>GetColumn(self, int col) -&gt; ListItem</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColumn" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColumn" type="bool" overloaded="no">
-        <autodoc>SetColumn(int col, ListItem item) -&gt; bool</autodoc>
+        <autodoc>SetColumn(self, int col, ListItem item) -&gt; bool</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="item" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnWidth" type="int" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="item" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnWidth" type="int" overloaded="no">
-        <autodoc>GetColumnWidth(int col) -&gt; int</autodoc>
+        <autodoc>GetColumnWidth(self, int col) -&gt; int</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnWidth" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnWidth" type="bool" overloaded="no">
-        <autodoc>SetColumnWidth(int col, int width) -&gt; bool</autodoc>
+        <autodoc>SetColumnWidth(self, int col, int width) -&gt; bool</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCountPerPage" type="int" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCountPerPage" type="int" overloaded="no">
-        <autodoc>GetCountPerPage() -&gt; int</autodoc>
+        <autodoc>GetCountPerPage(self) -&gt; int</autodoc>
       </method>
       <method name="GetViewRect" type="Rect" overloaded="no">
       </method>
       <method name="GetViewRect" type="Rect" overloaded="no">
-        <autodoc>GetViewRect() -&gt; Rect</autodoc>
+        <autodoc>GetViewRect(self) -&gt; Rect</autodoc>
       </method>
       <method name="GetItem" type="ListItem" overloaded="no">
       </method>
       <method name="GetItem" type="ListItem" overloaded="no">
-        <autodoc>GetItem(long itemId, int col=0) -&gt; ListItem</autodoc>
+        <autodoc>GetItem(self, long itemId, int col=0) -&gt; ListItem</autodoc>
         <paramlist>
           <param name="itemId" type="long" default=""/>
           <param name="col" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetItem" type="bool" overloaded="no">
         <paramlist>
           <param name="itemId" type="long" default=""/>
           <param name="col" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetItem" type="bool" overloaded="no">
-        <autodoc>SetItem(ListItem info) -&gt; bool</autodoc>
+        <autodoc>SetItem(self, ListItem info) -&gt; bool</autodoc>
         <paramlist>
           <param name="info" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="SetStringItem" type="long" overloaded="no">
         <paramlist>
           <param name="info" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="SetStringItem" type="long" overloaded="no">
-        <autodoc>SetStringItem(long index, int col, String label, int imageId=-1) -&gt; long</autodoc>
+        <autodoc>SetStringItem(self, long index, int col, String label, int imageId=-1) -&gt; long</autodoc>
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="col" type="int" default=""/>
@@ -18205,14 +20572,14 @@ modules.</docstring>
         </paramlist>
       </method>
       <method name="GetItemState" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetItemState" type="int" overloaded="no">
-        <autodoc>GetItemState(long item, long stateMask) -&gt; int</autodoc>
+        <autodoc>GetItemState(self, long item, long stateMask) -&gt; int</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="stateMask" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemState" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="stateMask" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemState" type="bool" overloaded="no">
-        <autodoc>SetItemState(long item, long state, long stateMask) -&gt; bool</autodoc>
+        <autodoc>SetItemState(self, long item, long state, long stateMask) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="state" type="long" default=""/>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="state" type="long" default=""/>
@@ -18220,7 +20587,7 @@ modules.</docstring>
         </paramlist>
       </method>
       <method name="SetItemImage" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemImage" type="bool" overloaded="no">
-        <autodoc>SetItemImage(long item, int image, int selImage) -&gt; bool</autodoc>
+        <autodoc>SetItemImage(self, long item, int image, int selImage) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="image" type="int" default=""/>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="image" type="int" default=""/>
@@ -18228,100 +20595,101 @@ modules.</docstring>
         </paramlist>
       </method>
       <method name="GetItemText" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="GetItemText" type="String" overloaded="no">
-        <autodoc>GetItemText(long item) -&gt; String</autodoc>
+        <autodoc>GetItemText(self, long item) -&gt; String</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemText" type="" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemText" type="" overloaded="no">
-        <autodoc>SetItemText(long item, String str)</autodoc>
+        <autodoc>SetItemText(self, long item, String str)</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetItemData" type="long" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetItemData" type="long" overloaded="no">
-        <autodoc>GetItemData(long item) -&gt; long</autodoc>
+        <autodoc>GetItemData(self, long item) -&gt; long</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemData" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemData" type="bool" overloaded="no">
-        <autodoc>SetItemData(long item, long data) -&gt; bool</autodoc>
+        <autodoc>SetItemData(self, long item, long data) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="data" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="Point" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="data" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPosition" type="Point" overloaded="no">
-        <autodoc>GetItemPosition(long item) -&gt; Point</autodoc>
+        <autodoc>GetItemPosition(self, long item) -&gt; Point</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetItemRect" type="Rect" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetItemRect" type="Rect" overloaded="no">
-        <autodoc>GetItemRect(long item, int code=LIST_RECT_BOUNDS) -&gt; Rect</autodoc>
+        <autodoc>GetItemRect(self, long item, int code=LIST_RECT_BOUNDS) -&gt; Rect</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="code" type="int" default="wxLIST_RECT_BOUNDS"/>
         </paramlist>
       </method>
       <method name="SetItemPosition" type="bool" overloaded="no">
-        <autodoc>SetItemPosition(long item, Point pos) -&gt; bool</autodoc>
+        <autodoc>SetItemPosition(self, long item, Point pos) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetItemCount" type="int" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetItemCount" type="int" overloaded="no">
-        <autodoc>GetItemCount() -&gt; int</autodoc>
+        <autodoc>GetItemCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetColumnCount" type="int" overloaded="no">
       </method>
       <method name="GetColumnCount" type="int" overloaded="no">
-        <autodoc>GetColumnCount() -&gt; int</autodoc>
+        <autodoc>GetColumnCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetItemSpacing" type="Size" overloaded="no">
       </method>
       <method name="GetItemSpacing" type="Size" overloaded="no">
-        <autodoc>GetItemSpacing() -&gt; Size</autodoc>
+        <autodoc>GetItemSpacing(self) -&gt; Size</autodoc>
       </method>
       <method name="SetItemSpacing" type="" overloaded="no">
       </method>
       <method name="SetItemSpacing" type="" overloaded="no">
-        <autodoc>SetItemSpacing(int spacing, bool isSmall=False)</autodoc>
+        <autodoc>SetItemSpacing(self, int spacing, bool isSmall=False)</autodoc>
         <paramlist>
           <param name="spacing" type="int" default=""/>
           <param name="isSmall" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetSelectedItemCount" type="int" overloaded="no">
         <paramlist>
           <param name="spacing" type="int" default=""/>
           <param name="isSmall" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetSelectedItemCount" type="int" overloaded="no">
-        <autodoc>GetSelectedItemCount() -&gt; int</autodoc>
+        <autodoc>GetSelectedItemCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
-        <autodoc>GetTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
       </method>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour col)</autodoc>
+        <autodoc>SetTextColour(self, Colour col)</autodoc>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetTopItem" type="long" overloaded="no">
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetTopItem" type="long" overloaded="no">
-        <autodoc>GetTopItem() -&gt; long</autodoc>
+        <autodoc>GetTopItem(self) -&gt; long</autodoc>
       </method>
       <method name="SetSingleStyle" type="" overloaded="no">
       </method>
       <method name="SetSingleStyle" type="" overloaded="no">
-        <autodoc>SetSingleStyle(long style, bool add=True)</autodoc>
+        <autodoc>SetSingleStyle(self, long style, bool add=True)</autodoc>
         <paramlist>
           <param name="style" type="long" default=""/>
           <param name="add" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetWindowStyleFlag" type="" overloaded="no">
         <paramlist>
           <param name="style" type="long" default=""/>
           <param name="add" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetWindowStyleFlag" type="" overloaded="no">
-        <autodoc>SetWindowStyleFlag(long style)</autodoc>
+        <autodoc>SetWindowStyleFlag(self, long style)</autodoc>
         <docstring>Sets the style of the window. Please note that some styles cannot be
         <docstring>Sets the style of the window. Please note that some styles cannot be
-changed after the window creation and that Refresh() might be called
-after changing the others for the change to take place immediately.</docstring>
+changed after the window creation and that Refresh() might need to be
+called after changing the others for the change to take place
+immediately.</docstring>
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetNextItem" type="long" overloaded="no">
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetNextItem" type="long" overloaded="no">
-        <autodoc>GetNextItem(long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -&gt; long</autodoc>
+        <autodoc>GetNextItem(self, long item, int geometry=LIST_NEXT_ALL, int state=LIST_STATE_DONTCARE) -&gt; long</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="geometry" type="int" default="wxLIST_NEXT_ALL"/>
@@ -18329,85 +20697,85 @@ after changing the others for the change to take place immediately.</docstring>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
-        <autodoc>GetImageList(int which) -&gt; ImageList</autodoc>
+        <autodoc>GetImageList(self, int which) -&gt; ImageList</autodoc>
         <paramlist>
           <param name="which" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetImageList" type="" overloaded="no">
         <paramlist>
           <param name="which" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetImageList" type="" overloaded="no">
-        <autodoc>SetImageList(ImageList imageList, int which)</autodoc>
+        <autodoc>SetImageList(self, ImageList imageList, int which)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
           <param name="which" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
           <param name="which" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
-        <autodoc>AssignImageList(ImageList imageList, int which)</autodoc>
+        <autodoc>AssignImageList(self, ImageList imageList, int which)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
           <param name="which" type="int" default=""/>
         </paramlist>
       </method>
       <method name="InReportView" type="bool" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
           <param name="which" type="int" default=""/>
         </paramlist>
       </method>
       <method name="InReportView" type="bool" overloaded="no">
-        <autodoc>InReportView() -&gt; bool</autodoc>
+        <autodoc>InReportView(self) -&gt; bool</autodoc>
       </method>
       <method name="IsVirtual" type="bool" overloaded="no">
       </method>
       <method name="IsVirtual" type="bool" overloaded="no">
-        <autodoc>IsVirtual() -&gt; bool</autodoc>
+        <autodoc>IsVirtual(self) -&gt; bool</autodoc>
       </method>
       <method name="RefreshItem" type="" overloaded="no">
       </method>
       <method name="RefreshItem" type="" overloaded="no">
-        <autodoc>RefreshItem(long item)</autodoc>
+        <autodoc>RefreshItem(self, long item)</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="RefreshItems" type="" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="RefreshItems" type="" overloaded="no">
-        <autodoc>RefreshItems(long itemFrom, long itemTo)</autodoc>
+        <autodoc>RefreshItems(self, long itemFrom, long itemTo)</autodoc>
         <paramlist>
           <param name="itemFrom" type="long" default=""/>
           <param name="itemTo" type="long" default=""/>
         </paramlist>
       </method>
       <method name="Arrange" type="bool" overloaded="no">
         <paramlist>
           <param name="itemFrom" type="long" default=""/>
           <param name="itemTo" type="long" default=""/>
         </paramlist>
       </method>
       <method name="Arrange" type="bool" overloaded="no">
-        <autodoc>Arrange(int flag=LIST_ALIGN_DEFAULT) -&gt; bool</autodoc>
+        <autodoc>Arrange(self, int flag=LIST_ALIGN_DEFAULT) -&gt; bool</autodoc>
         <paramlist>
           <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/>
         </paramlist>
       </method>
       <method name="DeleteItem" type="bool" overloaded="no">
         <paramlist>
           <param name="flag" type="int" default="wxLIST_ALIGN_DEFAULT"/>
         </paramlist>
       </method>
       <method name="DeleteItem" type="bool" overloaded="no">
-        <autodoc>DeleteItem(long item) -&gt; bool</autodoc>
+        <autodoc>DeleteItem(self, long item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllItems" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllItems" type="bool" overloaded="no">
-        <autodoc>DeleteAllItems() -&gt; bool</autodoc>
+        <autodoc>DeleteAllItems(self) -&gt; bool</autodoc>
       </method>
       <method name="DeleteColumn" type="bool" overloaded="no">
       </method>
       <method name="DeleteColumn" type="bool" overloaded="no">
-        <autodoc>DeleteColumn(int col) -&gt; bool</autodoc>
+        <autodoc>DeleteColumn(self, int col) -&gt; bool</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllColumns" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllColumns" type="bool" overloaded="no">
-        <autodoc>DeleteAllColumns() -&gt; bool</autodoc>
+        <autodoc>DeleteAllColumns(self) -&gt; bool</autodoc>
       </method>
       <method name="ClearAll" type="" overloaded="no">
       </method>
       <method name="ClearAll" type="" overloaded="no">
-        <autodoc>ClearAll()</autodoc>
+        <autodoc>ClearAll(self)</autodoc>
       </method>
       <method name="EditLabel" type="" overloaded="no">
       </method>
       <method name="EditLabel" type="" overloaded="no">
-        <autodoc>EditLabel(long item)</autodoc>
+        <autodoc>EditLabel(self, long item)</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="bool" overloaded="no">
-        <autodoc>EnsureVisible(long item) -&gt; bool</autodoc>
+        <autodoc>EnsureVisible(self, long item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindItem" type="long" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindItem" type="long" overloaded="no">
-        <autodoc>FindItem(long start, String str, bool partial=False) -&gt; long</autodoc>
+        <autodoc>FindItem(self, long start, String str, bool partial=False) -&gt; long</autodoc>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="str" type="String" default=""/>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="str" type="String" default=""/>
@@ -18415,14 +20783,14 @@ after changing the others for the change to take place immediately.</docstring>
         </paramlist>
       </method>
       <method name="FindItemData" type="long" overloaded="no">
         </paramlist>
       </method>
       <method name="FindItemData" type="long" overloaded="no">
-        <autodoc>FindItemData(long start, long data) -&gt; long</autodoc>
+        <autodoc>FindItemData(self, long start, long data) -&gt; long</autodoc>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="data" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindItemAtPos" type="long" overloaded="no">
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="data" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindItemAtPos" type="long" overloaded="no">
-        <autodoc>FindItemAtPos(long start, Point pt, int direction) -&gt; long</autodoc>
+        <autodoc>FindItemAtPos(self, long start, Point pt, int direction) -&gt; long</autodoc>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="pt" type="Point" default=""/>
         <paramlist>
           <param name="start" type="long" default=""/>
           <param name="pt" type="Point" default=""/>
@@ -18431,35 +20799,35 @@ after changing the others for the change to take place immediately.</docstring>
       </method>
       <method name="HitTest" type="long" overloaded="no">
         <autodoc>HitTest(Point point) -&gt; (item, where)</autodoc>
       </method>
       <method name="HitTest" type="long" overloaded="no">
         <autodoc>HitTest(Point point) -&gt; (item, where)</autodoc>
-        <docstring>Determines which item (if any) is at the specified point,
-giving details in the second return value (see wxLIST_HITTEST_... flags.)</docstring>
+        <docstring>Determines which item (if any) is at the specified point, giving
+ in the second return value (see wxLIST_HITTEST_... flags.)</docstring>
         <paramlist>
           <param name="point" type="Point" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="InsertItem" type="long" overloaded="no">
         <paramlist>
           <param name="point" type="Point" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="InsertItem" type="long" overloaded="no">
-        <autodoc>InsertItem(ListItem info) -&gt; long</autodoc>
+        <autodoc>InsertItem(self, ListItem info) -&gt; long</autodoc>
         <paramlist>
           <param name="info" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="InsertStringItem" type="long" overloaded="no">
         <paramlist>
           <param name="info" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="InsertStringItem" type="long" overloaded="no">
-        <autodoc>InsertStringItem(long index, String label) -&gt; long</autodoc>
+        <autodoc>InsertStringItem(self, long index, String label) -&gt; long</autodoc>
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InsertImageItem" type="long" overloaded="no">
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InsertImageItem" type="long" overloaded="no">
-        <autodoc>InsertImageItem(long index, int imageIndex) -&gt; long</autodoc>
+        <autodoc>InsertImageItem(self, long index, int imageIndex) -&gt; long</autodoc>
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="imageIndex" type="int" default=""/>
         </paramlist>
       </method>
       <method name="InsertImageStringItem" type="long" overloaded="no">
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="imageIndex" type="int" default=""/>
         </paramlist>
       </method>
       <method name="InsertImageStringItem" type="long" overloaded="no">
-        <autodoc>InsertImageStringItem(long index, String label, int imageIndex) -&gt; long</autodoc>
+        <autodoc>InsertImageStringItem(self, long index, String label, int imageIndex) -&gt; long</autodoc>
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="label" type="String" default=""/>
         <paramlist>
           <param name="index" type="long" default=""/>
           <param name="label" type="String" default=""/>
@@ -18467,14 +20835,14 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)</docst
         </paramlist>
       </method>
       <method name="InsertColumnInfo" type="long" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertColumnInfo" type="long" overloaded="no">
-        <autodoc>InsertColumnInfo(long col, ListItem info) -&gt; long</autodoc>
+        <autodoc>InsertColumnInfo(self, long col, ListItem info) -&gt; long</autodoc>
         <paramlist>
           <param name="col" type="long" default=""/>
           <param name="info" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="InsertColumn" type="long" overloaded="no">
         <paramlist>
           <param name="col" type="long" default=""/>
           <param name="info" type="ListItem" default=""/>
         </paramlist>
       </method>
       <method name="InsertColumn" type="long" overloaded="no">
-        <autodoc>InsertColumn(long col, String heading, int format=LIST_FORMAT_LEFT, 
+        <autodoc>InsertColumn(self, long col, String heading, int format=LIST_FORMAT_LEFT, 
     int width=-1) -&gt; long</autodoc>
         <paramlist>
           <param name="col" type="long" default=""/>
     int width=-1) -&gt; long</autodoc>
         <paramlist>
           <param name="col" type="long" default=""/>
@@ -18484,61 +20852,77 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)</docst
         </paramlist>
       </method>
       <method name="SetItemCount" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemCount" type="" overloaded="no">
-        <autodoc>SetItemCount(long count)</autodoc>
+        <autodoc>SetItemCount(self, long count)</autodoc>
         <paramlist>
           <param name="count" type="long" default=""/>
         </paramlist>
       </method>
       <method name="ScrollList" type="bool" overloaded="no">
         <paramlist>
           <param name="count" type="long" default=""/>
         </paramlist>
       </method>
       <method name="ScrollList" type="bool" overloaded="no">
-        <autodoc>ScrollList(int dx, int dy) -&gt; bool</autodoc>
+        <autodoc>ScrollList(self, int dx, int dy) -&gt; bool</autodoc>
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetItemTextColour" type="" overloaded="no">
         <paramlist>
           <param name="dx" type="int" default=""/>
           <param name="dy" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetItemTextColour" type="" overloaded="no">
-        <autodoc>SetItemTextColour(long item, Colour col)</autodoc>
+        <autodoc>SetItemTextColour(self, long item, Colour col)</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetItemTextColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetItemTextColour" type="Colour" overloaded="no">
-        <autodoc>GetItemTextColour(long item) -&gt; Colour</autodoc>
+        <autodoc>GetItemTextColour(self, long item) -&gt; Colour</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
-        <autodoc>SetItemBackgroundColour(long item, Colour col)</autodoc>
+        <autodoc>SetItemBackgroundColour(self, long item, Colour col)</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetItemBackgroundColour(long item) -&gt; Colour</autodoc>
+        <autodoc>GetItemBackgroundColour(self, long item) -&gt; Colour</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SortItems" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SortItems" type="bool" overloaded="no">
-        <autodoc>SortItems(PyObject func) -&gt; bool</autodoc>
+        <autodoc>SortItems(self, PyObject func) -&gt; bool</autodoc>
         <paramlist>
           <param name="func" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetMainWindow" type="Window" overloaded="no">
         <paramlist>
           <param name="func" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetMainWindow" type="Window" overloaded="no">
-        <autodoc>GetMainWindow() -&gt; Window</autodoc>
+        <autodoc>GetMainWindow(self) -&gt; Window</autodoc>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ListView" oldname="wxListView" module="controls">
+    <class name="ListView" oldname="wxListView" module="_controls">
       <baseclass name="ListCtrl"/>
       <constructor name="ListView" overloaded="no">
       <baseclass name="ListCtrl"/>
       <constructor name="ListView" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=LC_REPORT, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; ListView</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=LC_REPORT, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; ListView</autodoc>
         <paramlist>
@@ -18555,7 +20939,7 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)</docst
         <autodoc>PreListView() -&gt; ListView</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreListView() -&gt; ListView</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=LC_REPORT, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
     Size size=DefaultSize, long style=LC_REPORT, 
     Validator validator=DefaultValidator, String name=ListCtrlNameStr) -&gt; bool</autodoc>
         <docstring>Do the 2nd phase and create the GUI control.</docstring>
@@ -18570,45 +20954,45 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)</docst
         </paramlist>
       </method>
       <method name="Select" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Select" type="" overloaded="no">
-        <autodoc>Select(long n, bool on=True)</autodoc>
+        <autodoc>Select(self, long n, bool on=True)</autodoc>
         <paramlist>
           <param name="n" type="long" default=""/>
           <param name="on" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Focus" type="" overloaded="no">
         <paramlist>
           <param name="n" type="long" default=""/>
           <param name="on" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Focus" type="" overloaded="no">
-        <autodoc>Focus(long index)</autodoc>
+        <autodoc>Focus(self, long index)</autodoc>
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetFocusedItem" type="long" overloaded="no">
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetFocusedItem" type="long" overloaded="no">
-        <autodoc>GetFocusedItem() -&gt; long</autodoc>
+        <autodoc>GetFocusedItem(self) -&gt; long</autodoc>
       </method>
       <method name="GetNextSelected" type="long" overloaded="no">
       </method>
       <method name="GetNextSelected" type="long" overloaded="no">
-        <autodoc>GetNextSelected(long item) -&gt; long</autodoc>
+        <autodoc>GetNextSelected(self, long item) -&gt; long</autodoc>
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstSelected" type="long" overloaded="no">
         <paramlist>
           <param name="item" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstSelected" type="long" overloaded="no">
-        <autodoc>GetFirstSelected() -&gt; long</autodoc>
+        <autodoc>GetFirstSelected(self) -&gt; long</autodoc>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
-        <autodoc>IsSelected(long index) -&gt; bool</autodoc>
+        <autodoc>IsSelected(self, long index) -&gt; bool</autodoc>
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnImage" type="" overloaded="no">
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnImage" type="" overloaded="no">
-        <autodoc>SetColumnImage(int col, int image)</autodoc>
+        <autodoc>SetColumnImage(self, int col, int image)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ClearColumnImage" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ClearColumnImage" type="" overloaded="no">
-        <autodoc>ClearColumnImage(int col)</autodoc>
+        <autodoc>ClearColumnImage(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
@@ -18620,57 +21004,57 @@ giving details in the second return value (see wxLIST_HITTEST_... flags.)</docst
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TreeItemId" oldname="wxTreeItemId" module="controls">
+    <class name="TreeItemId" oldname="wxTreeItemId" module="_controls">
       <constructor name="TreeItemId" overloaded="no">
       <constructor name="TreeItemId" overloaded="no">
-        <autodoc>__init__() -&gt; TreeItemId</autodoc>
+        <autodoc>__init__(self) -&gt; TreeItemId</autodoc>
       </constructor>
       <destructor name="~wxTreeItemId" overloaded="no">
       </constructor>
       <destructor name="~wxTreeItemId" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="IsOk" type="bool" overloaded="no">
       </destructor>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(TreeItemId other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, TreeItemId other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(TreeItemId other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, TreeItemId other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <property name="m_pItem" type="" readonly="no"/>
     </class>
         <paramlist>
           <param name="other" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <property name="m_pItem" type="" readonly="no"/>
     </class>
-    <class name="TreeItemData" oldname="wxPyTreeItemData" module="controls">
+    <class name="TreeItemData" oldname="wxPyTreeItemData" module="_controls">
       <constructor name="wxPyTreeItemData" overloaded="no">
       <constructor name="wxPyTreeItemData" overloaded="no">
-        <autodoc>__init__(PyObject obj=None) -&gt; TreeItemData</autodoc>
+        <autodoc>__init__(self, PyObject obj=None) -&gt; TreeItemData</autodoc>
         <paramlist>
           <param name="obj" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetData" type="PyObject" overloaded="no">
         <paramlist>
           <param name="obj" type="PyObject" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="GetData" type="PyObject" overloaded="no">
-        <autodoc>GetData() -&gt; PyObject</autodoc>
+        <autodoc>GetData(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetData" type="" overloaded="no">
       </method>
       <method name="SetData" type="" overloaded="no">
-        <autodoc>SetData(PyObject obj)</autodoc>
+        <autodoc>SetData(self, PyObject obj)</autodoc>
         <paramlist>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="TreeItemId" overloaded="no">
-        <autodoc>GetId() -&gt; TreeItemId</autodoc>
+        <autodoc>GetId(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(TreeItemId id)</autodoc>
+        <autodoc>SetId(self, TreeItemId id)</autodoc>
         <paramlist>
           <param name="id" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
         <paramlist>
           <param name="id" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -18699,74 +21083,74 @@ EVT_TREE_END_DRAG          = wx.PyEventBinder(wxEVT_COMMAND_TREE_END_DRAG
 EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1)
 EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP,   1)
 </pythoncode>
 EVT_TREE_STATE_IMAGE_CLICK = wx.PyEventBinder(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 1)
 EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP,   1)
 </pythoncode>
-    <class name="TreeEvent" oldname="wxTreeEvent" module="controls">
+    <class name="TreeEvent" oldname="wxTreeEvent" module="_controls">
       <baseclass name="NotifyEvent"/>
       <constructor name="TreeEvent" overloaded="no">
       <baseclass name="NotifyEvent"/>
       <constructor name="TreeEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=wxEVT_NULL, int id=0) -&gt; TreeEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -&gt; TreeEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetItem" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="commandType" type="wxEventType" default="wxEVT_NULL"/>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetItem" type="TreeItemId" overloaded="no">
-        <autodoc>GetItem() -&gt; TreeItemId</autodoc>
+        <autodoc>GetItem(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="SetItem" type="" overloaded="no">
       </method>
       <method name="SetItem" type="" overloaded="no">
-        <autodoc>SetItem(TreeItemId item)</autodoc>
+        <autodoc>SetItem(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetOldItem" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetOldItem" type="TreeItemId" overloaded="no">
-        <autodoc>GetOldItem() -&gt; TreeItemId</autodoc>
+        <autodoc>GetOldItem(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="SetOldItem" type="" overloaded="no">
       </method>
       <method name="SetOldItem" type="" overloaded="no">
-        <autodoc>SetOldItem(TreeItemId item)</autodoc>
+        <autodoc>SetOldItem(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPoint" type="Point" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPoint" type="Point" overloaded="no">
-        <autodoc>GetPoint() -&gt; Point</autodoc>
+        <autodoc>GetPoint(self) -&gt; Point</autodoc>
       </method>
       <method name="SetPoint" type="" overloaded="no">
       </method>
       <method name="SetPoint" type="" overloaded="no">
-        <autodoc>SetPoint(Point pt)</autodoc>
+        <autodoc>SetPoint(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetKeyEvent" type="KeyEvent" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetKeyEvent" type="KeyEvent" overloaded="no">
-        <autodoc>GetKeyEvent() -&gt; KeyEvent</autodoc>
+        <autodoc>GetKeyEvent(self) -&gt; KeyEvent</autodoc>
       </method>
       <method name="GetKeyCode" type="int" overloaded="no">
       </method>
       <method name="GetKeyCode" type="int" overloaded="no">
-        <autodoc>GetKeyCode() -&gt; int</autodoc>
+        <autodoc>GetKeyCode(self) -&gt; int</autodoc>
       </method>
       <method name="SetKeyEvent" type="" overloaded="no">
       </method>
       <method name="SetKeyEvent" type="" overloaded="no">
-        <autodoc>SetKeyEvent(KeyEvent evt)</autodoc>
+        <autodoc>SetKeyEvent(self, KeyEvent evt)</autodoc>
         <paramlist>
           <param name="evt" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
         <paramlist>
           <param name="evt" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="GetLabel" type="String" overloaded="no">
-        <autodoc>GetLabel() -&gt; String</autodoc>
+        <autodoc>GetLabel(self) -&gt; String</autodoc>
       </method>
       <method name="SetLabel" type="" overloaded="no">
       </method>
       <method name="SetLabel" type="" overloaded="no">
-        <autodoc>SetLabel(String label)</autodoc>
+        <autodoc>SetLabel(self, String label)</autodoc>
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IsEditCancelled" type="bool" overloaded="no">
         <paramlist>
           <param name="label" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IsEditCancelled" type="bool" overloaded="no">
-        <autodoc>IsEditCancelled() -&gt; bool</autodoc>
+        <autodoc>IsEditCancelled(self) -&gt; bool</autodoc>
       </method>
       <method name="SetEditCanceled" type="" overloaded="no">
       </method>
       <method name="SetEditCanceled" type="" overloaded="no">
-        <autodoc>SetEditCanceled(bool editCancelled)</autodoc>
+        <autodoc>SetEditCanceled(self, bool editCancelled)</autodoc>
         <paramlist>
           <param name="editCancelled" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetToolTip" type="" overloaded="no">
         <paramlist>
           <param name="editCancelled" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetToolTip" type="" overloaded="no">
-        <autodoc>SetToolTip(String toolTip)</autodoc>
+        <autodoc>SetToolTip(self, String toolTip)</autodoc>
         <paramlist>
           <param name="toolTip" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="toolTip" type="String" default=""/>
         </paramlist>
@@ -18775,10 +21159,10 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="controls">
+    <class name="TreeCtrl" oldname="wxPyTreeCtrl" module="_controls">
       <baseclass name="Control"/>
       <constructor name="wxPyTreeCtrl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="wxPyTreeCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeCtrlNameStr) -&gt; TreeCtrl</autodoc>
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeCtrlNameStr) -&gt; TreeCtrl</autodoc>
@@ -18796,7 +21180,7 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         <autodoc>PreTreeCtrl() -&gt; TreeCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreTreeCtrl() -&gt; TreeCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeCtrlNameStr) -&gt; bool</autodoc>
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeCtrlNameStr) -&gt; bool</autodoc>
@@ -18812,115 +21196,115 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="size_t" overloaded="no">
-        <autodoc>GetCount() -&gt; size_t</autodoc>
+        <autodoc>GetCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetIndent" type="unsigned int" overloaded="no">
       </method>
       <method name="GetIndent" type="unsigned int" overloaded="no">
-        <autodoc>GetIndent() -&gt; unsigned int</autodoc>
+        <autodoc>GetIndent(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="SetIndent" type="" overloaded="no">
       </method>
       <method name="SetIndent" type="" overloaded="no">
-        <autodoc>SetIndent(unsigned int indent)</autodoc>
+        <autodoc>SetIndent(self, unsigned int indent)</autodoc>
         <paramlist>
           <param name="indent" type="unsigned int" default=""/>
         </paramlist>
       </method>
       <method name="GetSpacing" type="unsigned int" overloaded="no">
         <paramlist>
           <param name="indent" type="unsigned int" default=""/>
         </paramlist>
       </method>
       <method name="GetSpacing" type="unsigned int" overloaded="no">
-        <autodoc>GetSpacing() -&gt; unsigned int</autodoc>
+        <autodoc>GetSpacing(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="SetSpacing" type="" overloaded="no">
       </method>
       <method name="SetSpacing" type="" overloaded="no">
-        <autodoc>SetSpacing(unsigned int spacing)</autodoc>
+        <autodoc>SetSpacing(self, unsigned int spacing)</autodoc>
         <paramlist>
           <param name="spacing" type="unsigned int" default=""/>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
         <paramlist>
           <param name="spacing" type="unsigned int" default=""/>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
-        <autodoc>GetImageList() -&gt; ImageList</autodoc>
+        <autodoc>GetImageList(self) -&gt; ImageList</autodoc>
       </method>
       <method name="GetStateImageList" type="ImageList" overloaded="no">
       </method>
       <method name="GetStateImageList" type="ImageList" overloaded="no">
-        <autodoc>GetStateImageList() -&gt; ImageList</autodoc>
+        <autodoc>GetStateImageList(self) -&gt; ImageList</autodoc>
       </method>
       <method name="SetImageList" type="" overloaded="no">
       </method>
       <method name="SetImageList" type="" overloaded="no">
-        <autodoc>SetImageList(ImageList imageList)</autodoc>
+        <autodoc>SetImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="SetStateImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="SetStateImageList" type="" overloaded="no">
-        <autodoc>SetStateImageList(ImageList imageList)</autodoc>
+        <autodoc>SetStateImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
-        <autodoc>AssignImageList(ImageList imageList)</autodoc>
+        <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignStateImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignStateImageList" type="" overloaded="no">
-        <autodoc>AssignStateImageList(ImageList imageList)</autodoc>
+        <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="GetItemText" type="String" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="GetItemText" type="String" overloaded="no">
-        <autodoc>GetItemText(TreeItemId item) -&gt; String</autodoc>
+        <autodoc>GetItemText(self, TreeItemId item) -&gt; String</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemImage" type="int" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemImage" type="int" overloaded="no">
-        <autodoc>GetItemImage(TreeItemId item, int which=TreeItemIcon_Normal) -&gt; int</autodoc>
+        <autodoc>GetItemImage(self, TreeItemId item, int which=TreeItemIcon_Normal) -&gt; int</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
         </paramlist>
       </method>
       <method name="GetItemData" type="TreeItemData" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="which" type="wxTreeItemIcon" default="wxTreeItemIcon_Normal"/>
         </paramlist>
       </method>
       <method name="GetItemData" type="TreeItemData" overloaded="no">
-        <autodoc>GetItemData(TreeItemId item) -&gt; TreeItemData</autodoc>
+        <autodoc>GetItemData(self, TreeItemId item) -&gt; TreeItemData</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPyData" type="PyObject" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPyData" type="PyObject" overloaded="no">
-        <autodoc>GetItemPyData(TreeItemId item) -&gt; PyObject</autodoc>
+        <autodoc>GetItemPyData(self, TreeItemId item) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemTextColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemTextColour" type="Colour" overloaded="no">
-        <autodoc>GetItemTextColour(TreeItemId item) -&gt; Colour</autodoc>
+        <autodoc>GetItemTextColour(self, TreeItemId item) -&gt; Colour</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetItemBackgroundColour(TreeItemId item) -&gt; Colour</autodoc>
+        <autodoc>GetItemBackgroundColour(self, TreeItemId item) -&gt; Colour</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemFont" type="Font" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemFont" type="Font" overloaded="no">
-        <autodoc>GetItemFont(TreeItemId item) -&gt; Font</autodoc>
+        <autodoc>GetItemFont(self, TreeItemId item) -&gt; Font</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SetItemText" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SetItemText" type="" overloaded="no">
-        <autodoc>SetItemText(TreeItemId item, String text)</autodoc>
+        <autodoc>SetItemText(self, TreeItemId item, String text)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetItemImage" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetItemImage" type="" overloaded="no">
-        <autodoc>SetItemImage(TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc>
+        <autodoc>SetItemImage(self, TreeItemId item, int image, int which=TreeItemIcon_Normal)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="image" type="int" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="image" type="int" default=""/>
@@ -18928,154 +21312,154 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="SetItemData" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemData" type="" overloaded="no">
-        <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc>
+        <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="data" type="TreeItemData" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPyData" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="data" type="TreeItemData" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPyData" type="" overloaded="no">
-        <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc>
+        <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetItemHasChildren" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetItemHasChildren" type="" overloaded="no">
-        <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc>
+        <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="has" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemBold" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="has" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemBold" type="" overloaded="no">
-        <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc>
+        <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="bold" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemTextColour" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="bold" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemTextColour" type="" overloaded="no">
-        <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc>
+        <autodoc>SetItemTextColour(self, TreeItemId item, Colour col)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
-        <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc>
+        <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour col)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemFont" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemFont" type="" overloaded="no">
-        <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc>
+        <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
-        <autodoc>IsVisible(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsVisible(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ItemHasChildren" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ItemHasChildren" type="bool" overloaded="no">
-        <autodoc>ItemHasChildren(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>ItemHasChildren(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsExpanded" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsExpanded" type="bool" overloaded="no">
-        <autodoc>IsExpanded(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsExpanded(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
-        <autodoc>IsSelected(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsSelected(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsBold" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsBold" type="bool" overloaded="no">
-        <autodoc>IsBold(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsBold(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetChildrenCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetChildrenCount" type="size_t" overloaded="no">
-        <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -&gt; size_t</autodoc>
+        <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -&gt; size_t</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="recursively" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetRootItem" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="recursively" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetRootItem" type="TreeItemId" overloaded="no">
-        <autodoc>GetRootItem() -&gt; TreeItemId</autodoc>
+        <autodoc>GetRootItem(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetSelection" type="TreeItemId" overloaded="no">
       </method>
       <method name="GetSelection" type="TreeItemId" overloaded="no">
-        <autodoc>GetSelection() -&gt; TreeItemId</autodoc>
+        <autodoc>GetSelection(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetSelections" type="PyObject" overloaded="no">
       </method>
       <method name="GetSelections" type="PyObject" overloaded="no">
-        <autodoc>GetSelections() -&gt; PyObject</autodoc>
+        <autodoc>GetSelections(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetItemParent" type="TreeItemId" overloaded="no">
       </method>
       <method name="GetItemParent" type="TreeItemId" overloaded="no">
-        <autodoc>GetItemParent(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetItemParent(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstChild" type="PyObject" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstChild" type="PyObject" overloaded="no">
-        <autodoc>GetFirstChild(TreeItemId item) -&gt; PyObject</autodoc>
+        <autodoc>GetFirstChild(self, TreeItemId item) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextChild" type="PyObject" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextChild" type="PyObject" overloaded="no">
-        <autodoc>GetNextChild(TreeItemId item, void cookie) -&gt; PyObject</autodoc>
+        <autodoc>GetNextChild(self, TreeItemId item, void cookie) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="cookie" type="" default=""/>
         </paramlist>
       </method>
       <method name="GetLastChild" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="cookie" type="" default=""/>
         </paramlist>
       </method>
       <method name="GetLastChild" type="TreeItemId" overloaded="no">
-        <autodoc>GetLastChild(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetLastChild(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextSibling" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextSibling" type="TreeItemId" overloaded="no">
-        <autodoc>GetNextSibling(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetNextSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
-        <autodoc>GetPrevSibling(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetPrevSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
-        <autodoc>GetFirstVisibleItem() -&gt; TreeItemId</autodoc>
+        <autodoc>GetFirstVisibleItem(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetNextVisible" type="TreeItemId" overloaded="no">
       </method>
       <method name="GetNextVisible" type="TreeItemId" overloaded="no">
-        <autodoc>GetNextVisible(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetNextVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
-        <autodoc>GetPrevVisible(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetPrevVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="AddRoot" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="AddRoot" type="TreeItemId" overloaded="no">
-        <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
+        <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="image" type="int" default="-1"/>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="image" type="int" default="-1"/>
@@ -19084,7 +21468,7 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="PrependItem" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="PrependItem" type="TreeItemId" overloaded="no">
-        <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
+        <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -19095,7 +21479,7 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="InsertItem" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertItem" type="TreeItemId" overloaded="no">
-        <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, 
+        <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text, 
     int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -19107,7 +21491,7 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
-        <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, 
+        <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1, 
     int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -19119,7 +21503,7 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="AppendItem" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendItem" type="TreeItemId" overloaded="no">
-        <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
+        <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -19130,102 +21514,101 @@ EVT_TREE_ITEM_GETTOOLTIP   = wx.PyEventBinder(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
         </paramlist>
       </method>
       <method name="Delete" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Delete" type="" overloaded="no">
-        <autodoc>Delete(TreeItemId item)</autodoc>
+        <autodoc>Delete(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteChildren" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteChildren" type="" overloaded="no">
-        <autodoc>DeleteChildren(TreeItemId item)</autodoc>
+        <autodoc>DeleteChildren(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllItems" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllItems" type="" overloaded="no">
-        <autodoc>DeleteAllItems()</autodoc>
+        <autodoc>DeleteAllItems(self)</autodoc>
       </method>
       <method name="Expand" type="" overloaded="no">
       </method>
       <method name="Expand" type="" overloaded="no">
-        <autodoc>Expand(TreeItemId item)</autodoc>
+        <autodoc>Expand(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Collapse" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Collapse" type="" overloaded="no">
-        <autodoc>Collapse(TreeItemId item)</autodoc>
+        <autodoc>Collapse(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="CollapseAndReset" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="CollapseAndReset" type="" overloaded="no">
-        <autodoc>CollapseAndReset(TreeItemId item)</autodoc>
+        <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
-        <autodoc>Toggle(TreeItemId item)</autodoc>
+        <autodoc>Toggle(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Unselect" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Unselect" type="" overloaded="no">
-        <autodoc>Unselect()</autodoc>
+        <autodoc>Unselect(self)</autodoc>
       </method>
       <method name="UnselectItem" type="" overloaded="no">
       </method>
       <method name="UnselectItem" type="" overloaded="no">
-        <autodoc>UnselectItem(TreeItemId item)</autodoc>
+        <autodoc>UnselectItem(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="UnselectAll" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="UnselectAll" type="" overloaded="no">
-        <autodoc>UnselectAll()</autodoc>
+        <autodoc>UnselectAll(self)</autodoc>
       </method>
       <method name="SelectItem" type="" overloaded="no">
       </method>
       <method name="SelectItem" type="" overloaded="no">
-        <autodoc>SelectItem(TreeItemId item, bool select=True)</autodoc>
+        <autodoc>SelectItem(self, TreeItemId item, bool select=True)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="ToggleItemSelection" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="select" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="ToggleItemSelection" type="" overloaded="no">
-        <autodoc>ToggleItemSelection(TreeItemId item)</autodoc>
+        <autodoc>ToggleItemSelection(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="" overloaded="no">
-        <autodoc>EnsureVisible(TreeItemId item)</autodoc>
+        <autodoc>EnsureVisible(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ScrollTo" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ScrollTo" type="" overloaded="no">
-        <autodoc>ScrollTo(TreeItemId item)</autodoc>
+        <autodoc>ScrollTo(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="EditLabel" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="EditLabel" type="" overloaded="no">
-        <autodoc>EditLabel(TreeItemId item)</autodoc>
+        <autodoc>EditLabel(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetEditControl" type="TextCtrl" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetEditControl" type="TextCtrl" overloaded="no">
-        <autodoc>GetEditControl() -&gt; TextCtrl</autodoc>
+        <autodoc>GetEditControl(self) -&gt; TextCtrl</autodoc>
       </method>
       <method name="SortChildren" type="" overloaded="no">
       </method>
       <method name="SortChildren" type="" overloaded="no">
-        <autodoc>SortChildren(TreeItemId item)</autodoc>
+        <autodoc>SortChildren(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="TreeItemId" overloaded="no">
         <autodoc>HitTest(Point point) -&gt; (item, where)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="TreeItemId" overloaded="no">
         <autodoc>HitTest(Point point) -&gt; (item, where)</autodoc>
-        <docstring>Determine which item (if any) belongs the given point.  The
-coordinates specified are relative to the client area of tree ctrl
-and the where return value is set to a bitmask of wxTREE_HITTEST_xxx
-constants.
+        <docstring>Determine which item (if any) belongs the given point.  The coordinates
+specified are relative to the client area of tree ctrl and the where return
+value is set to a bitmask of wxTREE_HITTEST_xxx constants.
 </docstring>
         <paramlist>
           <param name="point" type="Point" default=""/>
 </docstring>
         <paramlist>
           <param name="point" type="Point" default=""/>
@@ -19233,20 +21616,36 @@ constants.
         </paramlist>
       </method>
       <method name="GetBoundingRect" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBoundingRect" type="PyObject" overloaded="no">
-        <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -&gt; PyObject</autodoc>
+        <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="textOnly" type="bool" default="False"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="textOnly" type="bool" default="False"/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="controls">
+    <class name="GenericDirCtrl" oldname="wxGenericDirCtrl" module="_controls">
       <baseclass name="Control"/>
       <constructor name="GenericDirCtrl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="GenericDirCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, 
+        <autodoc>__init__(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, 
     String filter=EmptyString, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, 
     String filter=EmptyString, 
@@ -19267,7 +21666,7 @@ constants.
         <autodoc>PreGenericDirCtrl() -&gt; GenericDirCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreGenericDirCtrl() -&gt; GenericDirCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, 
+        <autodoc>Create(self, Window parent, int id=-1, String dir=DirDialogDefaultFolderStr, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, 
     String filter=EmptyString, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, 
     String filter=EmptyString, 
@@ -19285,73 +21684,74 @@ constants.
         </paramlist>
       </method>
       <method name="ExpandPath" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="ExpandPath" type="bool" overloaded="no">
-        <autodoc>ExpandPath(String path) -&gt; bool</autodoc>
+        <autodoc>ExpandPath(self, String path) -&gt; bool</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultPath" type="String" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultPath" type="String" overloaded="no">
-        <autodoc>GetDefaultPath() -&gt; String</autodoc>
+        <autodoc>GetDefaultPath(self) -&gt; String</autodoc>
       </method>
       <method name="SetDefaultPath" type="" overloaded="no">
       </method>
       <method name="SetDefaultPath" type="" overloaded="no">
-        <autodoc>SetDefaultPath(String path)</autodoc>
+        <autodoc>SetDefaultPath(self, String path)</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPath" type="String" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPath" type="String" overloaded="no">
-        <autodoc>GetPath() -&gt; String</autodoc>
+        <autodoc>GetPath(self) -&gt; String</autodoc>
       </method>
       <method name="GetFilePath" type="String" overloaded="no">
       </method>
       <method name="GetFilePath" type="String" overloaded="no">
-        <autodoc>GetFilePath() -&gt; String</autodoc>
+        <autodoc>GetFilePath(self) -&gt; String</autodoc>
       </method>
       <method name="SetPath" type="" overloaded="no">
       </method>
       <method name="SetPath" type="" overloaded="no">
-        <autodoc>SetPath(String path)</autodoc>
+        <autodoc>SetPath(self, String path)</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ShowHidden" type="" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ShowHidden" type="" overloaded="no">
-        <autodoc>ShowHidden(bool show)</autodoc>
+        <autodoc>ShowHidden(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetShowHidden" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetShowHidden" type="bool" overloaded="no">
-        <autodoc>GetShowHidden() -&gt; bool</autodoc>
+        <autodoc>GetShowHidden(self) -&gt; bool</autodoc>
       </method>
       <method name="GetFilter" type="String" overloaded="no">
       </method>
       <method name="GetFilter" type="String" overloaded="no">
-        <autodoc>GetFilter() -&gt; String</autodoc>
+        <autodoc>GetFilter(self) -&gt; String</autodoc>
       </method>
       <method name="SetFilter" type="" overloaded="no">
       </method>
       <method name="SetFilter" type="" overloaded="no">
-        <autodoc>SetFilter(String filter)</autodoc>
+        <autodoc>SetFilter(self, String filter)</autodoc>
         <paramlist>
           <param name="filter" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFilterIndex" type="int" overloaded="no">
         <paramlist>
           <param name="filter" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFilterIndex" type="int" overloaded="no">
-        <autodoc>GetFilterIndex() -&gt; int</autodoc>
+        <autodoc>GetFilterIndex(self) -&gt; int</autodoc>
       </method>
       <method name="SetFilterIndex" type="" overloaded="no">
       </method>
       <method name="SetFilterIndex" type="" overloaded="no">
-        <autodoc>SetFilterIndex(int n)</autodoc>
+        <autodoc>SetFilterIndex(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRootId" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRootId" type="TreeItemId" overloaded="no">
-        <autodoc>GetRootId() -&gt; TreeItemId</autodoc>
+        <autodoc>GetRootId(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no">
       </method>
       <method name="GetTreeCtrl" type="TreeCtrl" overloaded="no">
-        <autodoc>GetTreeCtrl() -&gt; TreeCtrl</autodoc>
+        <autodoc>GetTreeCtrl(self) -&gt; TreeCtrl</autodoc>
       </method>
       <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no">
       </method>
       <method name="GetFilterListCtrl" type="wxDirFilterListCtrl" overloaded="no">
-        <autodoc>GetFilterListCtrl() -&gt; DirFilterListCtrl</autodoc>
+        <autodoc>GetFilterListCtrl(self) -&gt; DirFilterListCtrl</autodoc>
       </method>
       <method name="FindChild" type="TreeItemId" overloaded="no">
         <autodoc>FindChild(wxTreeItemId parentId, wxString path) -&gt; (item, done)</autodoc>
       </method>
       <method name="FindChild" type="TreeItemId" overloaded="no">
         <autodoc>FindChild(wxTreeItemId parentId, wxString path) -&gt; (item, done)</autodoc>
-        <docstring>Find the child that matches the first part of 'path'.  E.g. if a child path is
-"/usr" and 'path' is "/usr/include" then the child for /usr is returned.
-If the path string has been used (we're at the leaf), done is set to True
+        <docstring>Find the child that matches the first part of 'path'.  E.g. if a child
+path is "/usr" and 'path' is "/usr/include" then the child for
+/usr is returned.  If the path string has been used (we're at the
+leaf), done is set to True.
 </docstring>
         <paramlist>
           <param name="parentId" type="TreeItemId" default=""/>
 </docstring>
         <paramlist>
           <param name="parentId" type="TreeItemId" default=""/>
@@ -19360,16 +21760,16 @@ If the path string has been used (we're at the leaf), done is set to True
         </paramlist>
       </method>
       <method name="DoResize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DoResize" type="" overloaded="no">
-        <autodoc>DoResize()</autodoc>
+        <autodoc>DoResize(self)</autodoc>
       </method>
       <method name="ReCreateTree" type="" overloaded="no">
       </method>
       <method name="ReCreateTree" type="" overloaded="no">
-        <autodoc>ReCreateTree()</autodoc>
+        <autodoc>ReCreateTree(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="controls">
+    <class name="DirFilterListCtrl" oldname="wxDirFilterListCtrl" module="_controls">
       <baseclass name="Choice"/>
       <constructor name="DirFilterListCtrl" overloaded="no">
       <baseclass name="Choice"/>
       <constructor name="DirFilterListCtrl" overloaded="no">
-        <autodoc>__init__(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0) -&gt; DirFilterListCtrl</autodoc>
         <paramlist>
           <param name="parent" type="GenericDirCtrl" default=""/>
     Size size=DefaultSize, long style=0) -&gt; DirFilterListCtrl</autodoc>
         <paramlist>
           <param name="parent" type="GenericDirCtrl" default=""/>
@@ -19383,7 +21783,7 @@ If the path string has been used (we're at the leaf), done is set to True
         <autodoc>PreDirFilterListCtrl() -&gt; DirFilterListCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreDirFilterListCtrl() -&gt; DirFilterListCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, GenericDirCtrl parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="GenericDirCtrl" default=""/>
     Size size=DefaultSize, long style=0) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="GenericDirCtrl" default=""/>
@@ -19394,7 +21794,7 @@ If the path string has been used (we're at the leaf), done is set to True
         </paramlist>
       </method>
       <method name="FillFilterList" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="FillFilterList" type="" overloaded="no">
-        <autodoc>FillFilterList(String filter, int defaultFilter)</autodoc>
+        <autodoc>FillFilterList(self, String filter, int defaultFilter)</autodoc>
         <paramlist>
           <param name="filter" type="String" default=""/>
           <param name="defaultFilter" type="int" default=""/>
         <paramlist>
           <param name="filter" type="String" default=""/>
           <param name="defaultFilter" type="int" default=""/>
@@ -19404,15 +21804,15 @@ If the path string has been used (we're at the leaf), done is set to True
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="PyControl" oldname="wxPyControl" module="controls">
+    <class name="PyControl" oldname="wxPyControl" module="_controls">
       <baseclass name="Control"/>
       <constructor name="PyControl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="PyControl" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, Validator validator=DefaultValidator, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, Validator validator=DefaultValidator, 
     String name=ControlNameStr) -&gt; PyControl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=ControlNameStr) -&gt; PyControl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -19420,15 +21820,24 @@ If the path string has been used (we're at the leaf), done is set to True
           <param name="name" type="String" default="wxPyControlNameStr"/>
         </paramlist>
       </constructor>
           <param name="name" type="String" default="wxPyControlNameStr"/>
         </paramlist>
       </constructor>
+      <constructor name="PrePyControl" overloaded="no">
+        <autodoc>PrePyControl() -&gt; PyControl</autodoc>
+      </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
+      <method name="SetBestSize" type="" overloaded="no">
+        <autodoc>SetBestSize(self, Size size)</autodoc>
+        <paramlist>
+          <param name="size" type="Size" default=""/>
+        </paramlist>
+      </method>
       <method name="base_DoMoveWindow" type="" overloaded="no">
       <method name="base_DoMoveWindow" type="" overloaded="no">
-        <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
+        <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -19437,7 +21846,7 @@ If the path string has been used (we're at the leaf), done is set to True
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
-        <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+        <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -19447,14 +21856,14 @@ If the path string has been used (we're at the leaf), done is set to True
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
-        <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
+        <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
-        <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
+        <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -19482,44 +21891,56 @@ If the path string has been used (we're at the leaf), done is set to True
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetVirtualSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetBestSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
-        <autodoc>base_InitDialog()</autodoc>
+        <autodoc>base_InitDialog(self)</autodoc>
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataToWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataFromWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
-        <autodoc>base_Validate() -&gt; bool</autodoc>
+        <autodoc>base_Validate(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocus() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocusFromKeyboard() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
-        <autodoc>base_GetMaxSize() -&gt; Size</autodoc>
+        <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_AddChild" type="" overloaded="no">
       </method>
       <method name="base_AddChild" type="" overloaded="no">
-        <autodoc>base_AddChild(Window child)</autodoc>
+        <autodoc>base_AddChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
-        <autodoc>base_RemoveChild(Window child)</autodoc>
+        <autodoc>base_RemoveChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
+      <method name="base_ShouldInheritColours" type="bool" overloaded="no">
+        <autodoc>base_ShouldInheritColours(self) -&gt; bool</autodoc>
+      </method>
+      <method name="base_ApplyParentThemeBackground" type="" overloaded="no">
+        <autodoc>base_ApplyParentThemeBackground(self, Colour c)</autodoc>
+        <paramlist>
+          <param name="c" type="Colour" default=""/>
+        </paramlist>
+      </method>
+      <method name="base_GetDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>base_GetDefaultAttributes(self) -&gt; VisualAttributes</autodoc>
+      </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
@@ -19530,33 +21951,36 @@ EVT_HELP_RANGE = wx.PyEventBinder(  wxEVT_HELP, 2)
 EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1)
 EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
 </pythoncode>
 EVT_DETAILED_HELP = wx.PyEventBinder( wxEVT_DETAILED_HELP, 1)
 EVT_DETAILED_HELP_RANGE = wx.PyEventBinder( wxEVT_DETAILED_HELP, 2)
 </pythoncode>
-    <class name="HelpEvent" oldname="wxHelpEvent" module="controls">
-      <docstring>A help event is sent when the user has requested
-context-sensitive help. This can either be caused by the
-application requesting context-sensitive help mode via
-wx.ContextHelp, or (on MS Windows) by the system generating a
-WM_HELP message when the user pressed F1 or clicked on the query
-button in a dialog caption.
-
-A help event is sent to the window that the user clicked on, and
-is propagated up the window hierarchy until the event is
-processed or there are no more event handlers. The application
-should call event.GetId to check the identity of the clicked-on
-window, and then either show some suitable help or call
-event.Skip if the identifier is unrecognised. Calling Skip is
-important because it allows wxWindows to generate further events
-for ancestors of the clicked-on window. Otherwise it would be
-impossible to show help for container windows, since processing
-would stop after the first window found.
-
- Events
+    <class name="HelpEvent" oldname="wxHelpEvent" module="_controls">
+      <docstring>A help event is sent when the user has requested context-sensitive
+help. This can either be caused by the application requesting
+context-sensitive help mode via wx.ContextHelp, or (on MS Windows) by
+the system generating a WM_HELP message when the user pressed F1 or
+clicked on the query button in a dialog caption.
+
+A help event is sent to the window that the user clicked on, and is
+propagated up the window hierarchy until the event is processed or
+there are no more event handlers. The application should call
+event.GetId to check the identity of the clicked-on window, and then
+either show some suitable help or call event.Skip if the identifier is
+unrecognised. Calling Skip is important because it allows wxWindows to
+generate further events for ancestors of the clicked-on
+window. Otherwise it would be impossible to show help for container
+windows, since processing would stop after the first window found.
+
+Events
+-------
+    ==============      =========================================
     EVT_HELP            Sent when the user has requested context-
                         sensitive help.
     EVT_HELP_RANGE      Allows to catch EVT_HELP for a range of IDs
     EVT_HELP            Sent when the user has requested context-
                         sensitive help.
     EVT_HELP_RANGE      Allows to catch EVT_HELP for a range of IDs
+    ==============      =========================================
+
+:see: `wx.ContextHelp`, `wx.ContextHelpButton`
 </docstring>
       <baseclass name="CommandEvent"/>
       <constructor name="HelpEvent" overloaded="no">
 </docstring>
       <baseclass name="CommandEvent"/>
       <constructor name="HelpEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -&gt; HelpEvent</autodoc>
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -&gt; HelpEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
           <param name="winid" type="int" default="0"/>
@@ -19564,67 +21988,68 @@ would stop after the first window found.
         </paramlist>
       </constructor>
       <method name="GetPosition" type="Point" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
         <docstring>Returns the left-click position of the mouse, in screen
 coordinates. This allows the application to position the help
 appropriately.</docstring>
       </method>
       <method name="SetPosition" type="" overloaded="no">
         <docstring>Returns the left-click position of the mouse, in screen
 coordinates. This allows the application to position the help
 appropriately.</docstring>
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(Point pos)</autodoc>
+        <autodoc>SetPosition(self, Point pos)</autodoc>
         <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetLink" type="String" overloaded="no">
         <docstring>Sets the left-click position of the mouse, in screen coordinates.</docstring>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetLink" type="String" overloaded="no">
-        <autodoc>GetLink() -&gt; String</autodoc>
+        <autodoc>GetLink(self) -&gt; String</autodoc>
         <docstring>Get an optional link to further help</docstring>
       </method>
       <method name="SetLink" type="" overloaded="no">
         <docstring>Get an optional link to further help</docstring>
       </method>
       <method name="SetLink" type="" overloaded="no">
-        <autodoc>SetLink(String link)</autodoc>
+        <autodoc>SetLink(self, String link)</autodoc>
         <docstring>Set an optional link to further help</docstring>
         <paramlist>
           <param name="link" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTarget" type="String" overloaded="no">
         <docstring>Set an optional link to further help</docstring>
         <paramlist>
           <param name="link" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTarget" type="String" overloaded="no">
-        <autodoc>GetTarget() -&gt; String</autodoc>
+        <autodoc>GetTarget(self) -&gt; String</autodoc>
         <docstring>Get an optional target to display help in. E.g. a window specification</docstring>
       </method>
       <method name="SetTarget" type="" overloaded="no">
         <docstring>Get an optional target to display help in. E.g. a window specification</docstring>
       </method>
       <method name="SetTarget" type="" overloaded="no">
-        <autodoc>SetTarget(String target)</autodoc>
+        <autodoc>SetTarget(self, String target)</autodoc>
         <docstring>Set an optional target to display help in. E.g. a window specification</docstring>
         <paramlist>
           <param name="target" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <docstring>Set an optional target to display help in. E.g. a window specification</docstring>
         <paramlist>
           <param name="target" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="ContextHelp" oldname="wxContextHelp" module="controls">
-      <docstring>This class changes the cursor to a query and puts the application
-into a 'context-sensitive help mode'. When the user left-clicks
-on a window within the specified window, a EVT_HELP event is sent
-to that control, and the application may respond to it by popping
-up some help.
+    <class name="ContextHelp" oldname="wxContextHelp" module="_controls">
+      <docstring>This class changes the cursor to a query and puts the application into
+a 'context-sensitive help mode'. When the user left-clicks on a window
+within the specified window, a ``EVT_HELP`` event is sent to that
+control, and the application may respond to it by popping up some
+help.
 
 There are a couple of ways to invoke this behaviour implicitly:
 
 
 There are a couple of ways to invoke this behaviour implicitly:
 
-    * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a
-      dialog (Windows only). This will put a question mark in the
-      titlebar, and Windows will put the application into
-      context-sensitive help mode automatically, with further
-      programming.
-
-    * Create a wx.ContextHelpButton, whose predefined behaviour
-      is to create a context help object. Normally you will write
-      your application so that this button is only added to a
-      dialog for non-Windows platforms (use
-      wx.DIALOG_EX_CONTEXTHELP on Windows).
+    * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a dialog
+      (Windows only). This will put a question mark in the titlebar,
+      and Windows will put the application into context-sensitive help
+      mode automatically, with further programming.
+
+    * Create a `wx.ContextHelpButton`, whose predefined behaviour is
+      to create a context help object. Normally you will write your
+      application so that this button is only added to a dialog for
+      non-Windows platforms (use ``wx.DIALOG_EX_CONTEXTHELP`` on
+      Windows).
+
+:see: `wx.ContextHelpButton`
 </docstring>
       <baseclass name="Object"/>
       <constructor name="ContextHelp" overloaded="no">
 </docstring>
       <baseclass name="Object"/>
       <constructor name="ContextHelp" overloaded="no">
-        <autodoc>__init__(Window window=None, bool doNow=True) -&gt; ContextHelp</autodoc>
-        <docstring>Constructs a context help object, calling BeginContextHelp if
-doNow is true (the default).
+        <autodoc>__init__(self, Window window=None, bool doNow=True) -&gt; ContextHelp</autodoc>
+        <docstring>Constructs a context help object, calling BeginContextHelp if doNow is
+true (the default).
 
 If window is None, the top window is used.</docstring>
         <paramlist>
 
 If window is None, the top window is used.</docstring>
         <paramlist>
@@ -19633,42 +22058,43 @@ If window is None, the top window is used.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxContextHelp" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxContextHelp" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="BeginContextHelp" type="bool" overloaded="no">
       </destructor>
       <method name="BeginContextHelp" type="bool" overloaded="no">
-        <autodoc>BeginContextHelp(Window window=None) -&gt; bool</autodoc>
-        <docstring>Puts the application into context-sensitive help mode. window is
-the window which will be used to catch events; if NULL, the top
-window will be used.
+        <autodoc>BeginContextHelp(self, Window window=None) -&gt; bool</autodoc>
+        <docstring>Puts the application into context-sensitive help mode. window is the
+window which will be used to catch events; if NULL, the top window
+will be used.
 
 Returns true if the application was successfully put into
 
 Returns true if the application was successfully put into
-context-sensitive help mode. This function only returns when the
-event loop has finished.</docstring>
+context-sensitive help mode. This function only returns when the event
+loop has finished.</docstring>
         <paramlist>
           <param name="window" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="EndContextHelp" type="bool" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default="NULL"/>
         </paramlist>
       </method>
       <method name="EndContextHelp" type="bool" overloaded="no">
-        <autodoc>EndContextHelp() -&gt; bool</autodoc>
+        <autodoc>EndContextHelp(self) -&gt; bool</autodoc>
         <docstring>Ends context-sensitive help mode. Not normally called by the
 application.</docstring>
       </method>
     </class>
         <docstring>Ends context-sensitive help mode. Not normally called by the
 application.</docstring>
       </method>
     </class>
-    <class name="ContextHelpButton" oldname="wxContextHelpButton" module="controls">
-      <docstring>Instances of this class may be used to add a question mark button
-that when pressed, puts the application into context-help
-mode. It does this by creating a wx.ContextHelp object which
-itself generates a EVT_HELP event when the user clicks on a
-window.
+    <class name="ContextHelpButton" oldname="wxContextHelpButton" module="_controls">
+      <docstring>Instances of this class may be used to add a question mark button that
+when pressed, puts the application into context-help mode. It does
+this by creating a wx.ContextHelp object which itself generates a
+``EVT_HELP`` event when the user clicks on a window.
 
 
-On Windows, you may add a question-mark icon to a dialog by use
-of the wx.DIALOG_EX_CONTEXTHELP extra style, but on other
-platforms you will have to add a button explicitly, usually next
-to OK, Cancel or similar buttons.
+On Windows, you may add a question-mark icon to a dialog by use of the
+``wx.DIALOG_EX_CONTEXTHELP`` extra style, but on other platforms you
+will have to add a button explicitly, usually next to OK, Cancel or
+similar buttons.
+
+:see: `wx.ContextHelp`, `wx.ContextHelpButton`
 </docstring>
       <baseclass name="BitmapButton"/>
       <constructor name="ContextHelpButton" overloaded="no">
 </docstring>
       <baseclass name="BitmapButton"/>
       <constructor name="ContextHelpButton" overloaded="no">
-        <autodoc>__init__(Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=ID_CONTEXT_HELP, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=BU_AUTODRAW) -&gt; ContextHelpButton</autodoc>
         <docstring>Constructor, creating and showing a context help button.</docstring>
         <paramlist>
     Size size=DefaultSize, long style=BU_AUTODRAW) -&gt; ContextHelpButton</autodoc>
         <docstring>Constructor, creating and showing a context help button.</docstring>
         <paramlist>
@@ -19680,7 +22106,7 @@ to OK, Cancel or similar buttons.
         </paramlist>
       </constructor>
     </class>
         </paramlist>
       </constructor>
     </class>
-    <class name="HelpProvider" oldname="wxHelpProvider" module="controls">
+    <class name="HelpProvider" oldname="wxHelpProvider" module="_controls">
       <docstring>wx.HelpProvider is an abstract class used by a program
 implementing context-sensitive help to show the help text for the
 given window.
       <docstring>wx.HelpProvider is an abstract class used by a program
 implementing context-sensitive help to show the help text for the
 given window.
@@ -19689,10 +22115,9 @@ The current help provider must be explicitly set by the
 application using wx.HelpProvider.Set().</docstring>
       <staticmethod name="Set" type="HelpProvider" overloaded="no">
         <autodoc>Set(HelpProvider helpProvider) -&gt; HelpProvider</autodoc>
 application using wx.HelpProvider.Set().</docstring>
       <staticmethod name="Set" type="HelpProvider" overloaded="no">
         <autodoc>Set(HelpProvider helpProvider) -&gt; HelpProvider</autodoc>
-        <docstring>Sset the current, application-wide help provider. Returns the
-previous one.  Unlike some other classes, the help provider is
-not created on demand. This must be explicitly done by the
-application.</docstring>
+        <docstring>Sset the current, application-wide help provider. Returns the previous
+one.  Unlike some other classes, the help provider is not created on
+demand. This must be explicitly done by the application.</docstring>
         <paramlist>
           <param name="helpProvider" type="HelpProvider" default=""/>
         </paramlist>
         <paramlist>
           <param name="helpProvider" type="HelpProvider" default=""/>
         </paramlist>
@@ -19702,27 +22127,25 @@ application.</docstring>
         <docstring>Return the current application-wide help provider.</docstring>
       </staticmethod>
       <method name="GetHelp" type="String" overloaded="no">
         <docstring>Return the current application-wide help provider.</docstring>
       </staticmethod>
       <method name="GetHelp" type="String" overloaded="no">
-        <autodoc>GetHelp(Window window) -&gt; String</autodoc>
-        <docstring>Gets the help string for this window. Its interpretation is
-dependent on the help provider except that empty string always
-means that no help is associated with the window.</docstring>
+        <autodoc>GetHelp(self, Window window) -&gt; String</autodoc>
+        <docstring>Gets the help string for this window. Its interpretation is dependent
+on the help provider except that empty string always means that no
+help is associated with the window.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="ShowHelp" type="bool" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="ShowHelp" type="bool" overloaded="no">
-        <autodoc>ShowHelp(Window window) -&gt; bool</autodoc>
+        <autodoc>ShowHelp(self, Window window) -&gt; bool</autodoc>
         <docstring>Shows help for the given window. Uses GetHelp internally if
         <docstring>Shows help for the given window. Uses GetHelp internally if
-applicable.
-
-Returns true if it was done, or false if no help was available
-for this window.</docstring>
+applicable. Returns True if it was done, or False if no help was
+available for this window.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="AddHelp" type="" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="AddHelp" type="" overloaded="no">
-        <autodoc>AddHelp(Window window, String text)</autodoc>
+        <autodoc>AddHelp(self, Window window, String text)</autodoc>
         <docstring>Associates the text with the given window.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         <docstring>Associates the text with the given window.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
@@ -19730,48 +22153,48 @@ for this window.</docstring>
         </paramlist>
       </method>
       <method name="AddHelpById" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="AddHelpById" type="" overloaded="no">
-        <autodoc>AddHelpById(int id, String text)</autodoc>
+        <autodoc>AddHelpById(self, int id, String text)</autodoc>
         <docstring>This version associates the given text with all windows with this
         <docstring>This version associates the given text with all windows with this
-id. May be used to set the same help string for all Cancel
-buttons in the application, for example.</docstring>
+id. May be used to set the same help string for all Cancel buttons in
+the application, for example.</docstring>
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="RemoveHelp" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="RemoveHelp" type="" overloaded="no">
-        <autodoc>RemoveHelp(Window window)</autodoc>
+        <autodoc>RemoveHelp(self, Window window)</autodoc>
         <docstring>Removes the association between the window pointer and the help
         <docstring>Removes the association between the window pointer and the help
-text. This is called by the wx.Window destructor. Without this,
-the table of help strings will fill up and when window pointers
-are reused, the wrong help string will be found.</docstring>
+text. This is called by the wx.Window destructor. Without this, the
+table of help strings will fill up and when window pointers are
+reused, the wrong help string will be found.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="controls">
-      <docstring>wx.SimpleHelpProvider is an implementation of wx.HelpProvider
-which supports only plain text help strings, and shows the string
-associated with the control (if any) in a tooltip.</docstring>
+    <class name="SimpleHelpProvider" oldname="wxSimpleHelpProvider" module="_controls">
+      <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which
+supports only plain text help strings, and shows the string associated
+with the control (if any) in a tooltip.</docstring>
       <baseclass name="HelpProvider"/>
       <constructor name="SimpleHelpProvider" overloaded="no">
       <baseclass name="HelpProvider"/>
       <constructor name="SimpleHelpProvider" overloaded="no">
-        <autodoc>__init__() -&gt; SimpleHelpProvider</autodoc>
-        <docstring>wx.SimpleHelpProvider is an implementation of wx.HelpProvider
-which supports only plain text help strings, and shows the string
-associated with the control (if any) in a tooltip.</docstring>
+        <autodoc>__init__(self) -&gt; SimpleHelpProvider</autodoc>
+        <docstring>wx.SimpleHelpProvider is an implementation of `wx.HelpProvider` which
+supports only plain text help strings, and shows the string associated
+with the control (if any) in a tooltip.</docstring>
       </constructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </constructor>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="DragImage" oldname="wxGenericDragImage" module="controls">
+    <class name="DragImage" oldname="wxGenericDragImage" module="_controls">
       <baseclass name="Object"/>
       <constructor name="wxGenericDragImage" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="wxGenericDragImage" overloaded="no">
-        <autodoc>__init__(Bitmap image, Cursor cursor=wxNullCursor) -&gt; DragImage</autodoc>
+        <autodoc>__init__(self, Bitmap image, Cursor cursor=wxNullCursor) -&gt; DragImage</autodoc>
         <paramlist>
           <param name="image" type="Bitmap" default=""/>
           <param name="cursor" type="Cursor" default="wxNullCursor"/>
         <paramlist>
           <param name="image" type="Bitmap" default=""/>
           <param name="cursor" type="Cursor" default="wxNullCursor"/>
@@ -19806,16 +22229,16 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxGenericDragImage" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxGenericDragImage" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetBackingBitmap" type="" overloaded="no">
       </destructor>
       <method name="SetBackingBitmap" type="" overloaded="no">
-        <autodoc>SetBackingBitmap(Bitmap bitmap)</autodoc>
+        <autodoc>SetBackingBitmap(self, Bitmap bitmap)</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="BeginDrag" type="bool" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="BeginDrag" type="bool" overloaded="no">
-        <autodoc>BeginDrag(Point hotspot, Window window, bool fullScreen=False, 
+        <autodoc>BeginDrag(self, Point hotspot, Window window, bool fullScreen=False, 
     Rect rect=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="hotspot" type="Point" default=""/>
     Rect rect=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="hotspot" type="Point" default=""/>
@@ -19825,7 +22248,7 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </method>
       <method name="BeginDragBounded" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="BeginDragBounded" type="bool" overloaded="no">
-        <autodoc>BeginDragBounded(Point hotspot, Window window, Window boundingWindow) -&gt; bool</autodoc>
+        <autodoc>BeginDragBounded(self, Point hotspot, Window window, Window boundingWindow) -&gt; bool</autodoc>
         <paramlist>
           <param name="hotspot" type="Point" default=""/>
           <param name="window" type="Window" default=""/>
         <paramlist>
           <param name="hotspot" type="Point" default=""/>
           <param name="window" type="Window" default=""/>
@@ -19833,35 +22256,35 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </method>
       <method name="EndDrag" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="EndDrag" type="bool" overloaded="no">
-        <autodoc>EndDrag() -&gt; bool</autodoc>
+        <autodoc>EndDrag(self) -&gt; bool</autodoc>
       </method>
       <method name="Move" type="bool" overloaded="no">
       </method>
       <method name="Move" type="bool" overloaded="no">
-        <autodoc>Move(Point pt) -&gt; bool</autodoc>
+        <autodoc>Move(self, Point pt) -&gt; bool</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="bool" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="bool" overloaded="no">
-        <autodoc>Show() -&gt; bool</autodoc>
+        <autodoc>Show(self) -&gt; bool</autodoc>
       </method>
       <method name="Hide" type="bool" overloaded="no">
       </method>
       <method name="Hide" type="bool" overloaded="no">
-        <autodoc>Hide() -&gt; bool</autodoc>
+        <autodoc>Hide(self) -&gt; bool</autodoc>
       </method>
       <method name="GetImageRect" type="Rect" overloaded="no">
       </method>
       <method name="GetImageRect" type="Rect" overloaded="no">
-        <autodoc>GetImageRect(Point pos) -&gt; Rect</autodoc>
+        <autodoc>GetImageRect(self, Point pos) -&gt; Rect</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DoDrawImage" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DoDrawImage" type="bool" overloaded="no">
-        <autodoc>DoDrawImage(DC dc, Point pos) -&gt; bool</autodoc>
+        <autodoc>DoDrawImage(self, DC dc, Point pos) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="UpdateBackingFromWindow" type="bool" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="UpdateBackingFromWindow" type="bool" overloaded="no">
-        <autodoc>UpdateBackingFromWindow(DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -&gt; bool</autodoc>
+        <autodoc>UpdateBackingFromWindow(self, DC windowDC, MemoryDC destDC, Rect sourceRect, Rect destRect) -&gt; bool</autodoc>
         <paramlist>
           <param name="windowDC" type="DC" default=""/>
           <param name="destDC" type="MemoryDC" default=""/>
         <paramlist>
           <param name="windowDC" type="DC" default=""/>
           <param name="destDC" type="MemoryDC" default=""/>
@@ -19870,7 +22293,7 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </method>
       <method name="RedrawImage" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="RedrawImage" type="bool" overloaded="no">
-        <autodoc>RedrawImage(Point oldPos, Point newPos, bool eraseOld, bool drawNew) -&gt; bool</autodoc>
+        <autodoc>RedrawImage(self, Point oldPos, Point newPos, bool eraseOld, bool drawNew) -&gt; bool</autodoc>
         <paramlist>
           <param name="oldPos" type="Point" default=""/>
           <param name="newPos" type="Point" default=""/>
         <paramlist>
           <param name="oldPos" type="Point" default=""/>
           <param name="newPos" type="Point" default=""/>
@@ -19880,13 +22303,13 @@ associated with the control (if any) in a tooltip.</docstring>
       </method>
     </class>
   </module>
       </method>
     </class>
   </module>
-  <module name="misc">
-    <import name="core"/>
-    <pythoncode> wx = core </pythoncode>
+  <module name="_misc">
+    <import name="_core"/>
+    <pythoncode> wx = _core </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="SystemSettings" oldname="wxSystemSettings" module="misc">
+    <class name="SystemSettings" oldname="wxSystemSettings" module="_misc">
       <staticmethod name="GetColour" type="Colour" overloaded="no">
         <autodoc>GetColour(int index) -&gt; Colour</autodoc>
         <paramlist>
       <staticmethod name="GetColour" type="Colour" overloaded="no">
         <autodoc>GetColour(int index) -&gt; Colour</autodoc>
         <paramlist>
@@ -19921,10 +22344,10 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </staticmethod>
     </class>
         </paramlist>
       </staticmethod>
     </class>
-    <class name="SystemOptions" oldname="wxSystemOptions" module="misc">
+    <class name="SystemOptions" oldname="wxSystemOptions" module="_misc">
       <baseclass name="Object"/>
       <constructor name="SystemOptions" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="SystemOptions" overloaded="no">
-        <autodoc>__init__() -&gt; SystemOptions</autodoc>
+        <autodoc>__init__(self) -&gt; SystemOptions</autodoc>
       </constructor>
       <staticmethod name="SetOption" type="" overloaded="no">
         <autodoc>SetOption(String name, String value)</autodoc>
       </constructor>
       <staticmethod name="SetOption" type="" overloaded="no">
         <autodoc>SetOption(String name, String value)</autodoc>
@@ -20033,12 +22456,19 @@ associated with the control (if any) in a tooltip.</docstring>
         <param name="secs" type="int" default=""/>
       </paramlist>
     </method>
         <param name="secs" type="int" default=""/>
       </paramlist>
     </method>
-    <method name="Usleep" oldname="wxUsleep" type="" overloaded="no">
-      <autodoc>Usleep(unsigned long milliseconds)</autodoc>
+    <method name="MilliSleep" oldname="wxMilliSleep" type="" overloaded="no">
+      <autodoc>MilliSleep(unsigned long milliseconds)</autodoc>
       <paramlist>
         <param name="milliseconds" type="unsigned long" default=""/>
       </paramlist>
     </method>
       <paramlist>
         <param name="milliseconds" type="unsigned long" default=""/>
       </paramlist>
     </method>
+    <method name="MicroSleep" oldname="wxMicroSleep" type="" overloaded="no">
+      <autodoc>MicroSleep(unsigned long microseconds)</autodoc>
+      <paramlist>
+        <param name="microseconds" type="unsigned long" default=""/>
+      </paramlist>
+    </method>
+    <pythoncode> Usleep = MilliSleep </pythoncode>
     <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no">
       <autodoc>EnableTopLevelWindows(bool enable)</autodoc>
       <paramlist>
     <method name="EnableTopLevelWindows" oldname="wxEnableTopLevelWindows" type="" overloaded="no">
       <autodoc>EnableTopLevelWindows(bool enable)</autodoc>
       <paramlist>
@@ -20294,6 +22724,10 @@ associated with the control (if any) in a tooltip.</docstring>
     </method>
     <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no">
       <autodoc>GetKeyState(int key) -&gt; bool</autodoc>
     </method>
     <method name="GetKeyState" oldname="wxGetKeyState" type="bool" overloaded="no">
       <autodoc>GetKeyState(int key) -&gt; bool</autodoc>
+      <docstring>Get the state of a key (true if pressed or toggled on, false if not.)
+This is generally most useful getting the state of the modifier or
+toggle keys.  On some platforms those may be the only keys that work.
+</docstring>
       <paramlist>
         <param name="key" type="wxKeyCode" default=""/>
       </paramlist>
       <paramlist>
         <param name="key" type="wxKeyCode" default=""/>
       </paramlist>
@@ -20307,12 +22741,12 @@ associated with the control (if any) in a tooltip.</docstring>
     <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no">
       <autodoc>MutexGuiLeave()</autodoc>
     </method>
     <method name="MutexGuiLeave" oldname="wxMutexGuiLeave" type="" overloaded="no">
       <autodoc>MutexGuiLeave()</autodoc>
     </method>
-    <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="misc">
+    <class name="MutexGuiLocker" oldname="wxMutexGuiLocker" module="_misc">
       <constructor name="MutexGuiLocker" overloaded="no">
       <constructor name="MutexGuiLocker" overloaded="no">
-        <autodoc>__init__() -&gt; MutexGuiLocker</autodoc>
+        <autodoc>__init__(self) -&gt; MutexGuiLocker</autodoc>
       </constructor>
       <destructor name="~wxMutexGuiLocker" overloaded="no">
       </constructor>
       <destructor name="~wxMutexGuiLocker" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
     <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no">
       </destructor>
     </class>
     <method name="Thread_IsMain" oldname="wxThread_IsMain" type="bool" overloaded="no">
@@ -20321,25 +22755,25 @@ associated with the control (if any) in a tooltip.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ToolTip" oldname="wxToolTip" module="misc">
+    <class name="ToolTip" oldname="wxToolTip" module="_misc">
       <baseclass name="Object"/>
       <constructor name="ToolTip" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="ToolTip" overloaded="no">
-        <autodoc>__init__(String tip) -&gt; ToolTip</autodoc>
+        <autodoc>__init__(self, String tip) -&gt; ToolTip</autodoc>
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </constructor>
       <method name="SetTip" type="" overloaded="no">
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </constructor>
       <method name="SetTip" type="" overloaded="no">
-        <autodoc>SetTip(String tip)</autodoc>
+        <autodoc>SetTip(self, String tip)</autodoc>
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTip" type="String" overloaded="no">
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTip" type="String" overloaded="no">
-        <autodoc>GetTip() -&gt; String</autodoc>
+        <autodoc>GetTip(self) -&gt; String</autodoc>
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
       <staticmethod name="Enable" type="" overloaded="no">
         <autodoc>Enable(bool flag)</autodoc>
       </method>
       <staticmethod name="Enable" type="" overloaded="no">
         <autodoc>Enable(bool flag)</autodoc>
@@ -20354,25 +22788,25 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </staticmethod>
     </class>
         </paramlist>
       </staticmethod>
     </class>
-    <class name="Caret" oldname="wxCaret" module="misc">
+    <class name="Caret" oldname="wxCaret" module="_misc">
       <constructor name="Caret" overloaded="no">
       <constructor name="Caret" overloaded="no">
-        <autodoc>__init__(Window window, Size size) -&gt; Caret</autodoc>
+        <autodoc>__init__(self, Window window, Size size) -&gt; Caret</autodoc>
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxCaret" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxCaret" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="IsOk" type="bool" overloaded="no">
       </destructor>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
-        <autodoc>IsVisible() -&gt; bool</autodoc>
+        <autodoc>IsVisible(self) -&gt; bool</autodoc>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
         <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
       </method>
       <method name="GetPositionTuple" type="" overloaded="no">
         <autodoc>GetPositionTuple() -&gt; (x,y)</autodoc>
@@ -20382,7 +22816,7 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize() -&gt; Size</autodoc>
+        <autodoc>GetSize(self) -&gt; Size</autodoc>
       </method>
       <method name="GetSizeTuple" type="" overloaded="no">
         <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
       </method>
       <method name="GetSizeTuple" type="" overloaded="no">
         <autodoc>GetSizeTuple() -&gt; (width, height)</autodoc>
@@ -20392,42 +22826,42 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
         </paramlist>
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="MoveXY" type="" overloaded="no">
       </method>
       <method name="MoveXY" type="" overloaded="no">
-        <autodoc>MoveXY(int x, int y)</autodoc>
+        <autodoc>MoveXY(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Move" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Move" type="" overloaded="no">
-        <autodoc>Move(Point pt)</autodoc>
+        <autodoc>Move(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetSizeWH" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetSizeWH" type="" overloaded="no">
-        <autodoc>SetSizeWH(int width, int height)</autodoc>
+        <autodoc>SetSizeWH(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(Size size)</autodoc>
+        <autodoc>SetSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
-        <autodoc>Show(int show=True)</autodoc>
+        <autodoc>Show(self, int show=True)</autodoc>
         <paramlist>
           <param name="show" type="int" default="True"/>
         </paramlist>
       </method>
       <method name="Hide" type="" overloaded="no">
         <paramlist>
           <param name="show" type="int" default="True"/>
         </paramlist>
       </method>
       <method name="Hide" type="" overloaded="no">
-        <autodoc>Hide()</autodoc>
+        <autodoc>Hide(self)</autodoc>
       </method>
     </class>
     <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no">
       </method>
     </class>
     <method name="Caret_GetBlinkTime" oldname="wxCaret_GetBlinkTime" type="int" overloaded="no">
@@ -20439,132 +22873,133 @@ associated with the control (if any) in a tooltip.</docstring>
         <param name="milliseconds" type="int" default=""/>
       </paramlist>
     </method>
         <param name="milliseconds" type="int" default=""/>
       </paramlist>
     </method>
-    <class name="BusyCursor" oldname="wxBusyCursor" module="misc">
+    <class name="BusyCursor" oldname="wxBusyCursor" module="_misc">
       <constructor name="BusyCursor" overloaded="no">
       <constructor name="BusyCursor" overloaded="no">
-        <autodoc>__init__(Cursor cursor=wxHOURGLASS_CURSOR) -&gt; BusyCursor</autodoc>
+        <autodoc>__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -&gt; BusyCursor</autodoc>
         <paramlist>
           <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/>
         </paramlist>
       </constructor>
       <destructor name="~wxBusyCursor" overloaded="no">
         <paramlist>
           <param name="cursor" type="Cursor" default="wxHOURGLASS_CURSOR"/>
         </paramlist>
       </constructor>
       <destructor name="~wxBusyCursor" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="WindowDisabler" oldname="wxWindowDisabler" module="misc">
+    <class name="WindowDisabler" oldname="wxWindowDisabler" module="_misc">
       <constructor name="WindowDisabler" overloaded="no">
       <constructor name="WindowDisabler" overloaded="no">
-        <autodoc>__init__(Window winToSkip=None) -&gt; WindowDisabler</autodoc>
+        <autodoc>__init__(self, Window winToSkip=None) -&gt; WindowDisabler</autodoc>
         <paramlist>
           <param name="winToSkip" type="Window" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxWindowDisabler" overloaded="no">
         <paramlist>
           <param name="winToSkip" type="Window" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxWindowDisabler" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="BusyInfo" oldname="wxBusyInfo" module="misc">
+    <class name="BusyInfo" oldname="wxBusyInfo" module="_misc">
       <baseclass name="Object"/>
       <constructor name="BusyInfo" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="BusyInfo" overloaded="no">
-        <autodoc>__init__(String message) -&gt; BusyInfo</autodoc>
+        <autodoc>__init__(self, String message) -&gt; BusyInfo</autodoc>
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxBusyInfo" overloaded="no">
         <paramlist>
           <param name="message" type="String" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxBusyInfo" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="StopWatch" oldname="wxStopWatch" module="misc">
+    <class name="StopWatch" oldname="wxStopWatch" module="_misc">
       <constructor name="StopWatch" overloaded="no">
       <constructor name="StopWatch" overloaded="no">
-        <autodoc>__init__() -&gt; StopWatch</autodoc>
+        <autodoc>__init__(self) -&gt; StopWatch</autodoc>
       </constructor>
       <method name="Start" type="" overloaded="no">
       </constructor>
       <method name="Start" type="" overloaded="no">
-        <autodoc>Start(long t0=0)</autodoc>
+        <autodoc>Start(self, long t0=0)</autodoc>
         <paramlist>
           <param name="t0" type="long" default="0"/>
         </paramlist>
       </method>
       <method name="Pause" type="" overloaded="no">
         <paramlist>
           <param name="t0" type="long" default="0"/>
         </paramlist>
       </method>
       <method name="Pause" type="" overloaded="no">
-        <autodoc>Pause()</autodoc>
+        <autodoc>Pause(self)</autodoc>
       </method>
       <method name="Resume" type="" overloaded="no">
       </method>
       <method name="Resume" type="" overloaded="no">
-        <autodoc>Resume()</autodoc>
+        <autodoc>Resume(self)</autodoc>
       </method>
       <method name="Time" type="long" overloaded="no">
       </method>
       <method name="Time" type="long" overloaded="no">
-        <autodoc>Time() -&gt; long</autodoc>
+        <autodoc>Time(self) -&gt; long</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="FileHistory" oldname="wxFileHistory" module="misc">
+    <class name="FileHistory" oldname="wxFileHistory" module="_misc">
       <baseclass name="Object"/>
       <constructor name="FileHistory" overloaded="no">
       <baseclass name="Object"/>
       <constructor name="FileHistory" overloaded="no">
-        <autodoc>__init__(int maxFiles=9) -&gt; FileHistory</autodoc>
+        <autodoc>__init__(self, int maxFiles=9, int idBase=ID_FILE1) -&gt; FileHistory</autodoc>
         <paramlist>
           <param name="maxFiles" type="int" default="9"/>
         <paramlist>
           <param name="maxFiles" type="int" default="9"/>
+          <param name="idBase" type="int" default="wxID_FILE1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxFileHistory" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxFileHistory" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="AddFileToHistory" type="" overloaded="no">
       </destructor>
       <method name="AddFileToHistory" type="" overloaded="no">
-        <autodoc>AddFileToHistory(String file)</autodoc>
+        <autodoc>AddFileToHistory(self, String file)</autodoc>
         <paramlist>
           <param name="file" type="String" default=""/>
         </paramlist>
       </method>
       <method name="RemoveFileFromHistory" type="" overloaded="no">
         <paramlist>
           <param name="file" type="String" default=""/>
         </paramlist>
       </method>
       <method name="RemoveFileFromHistory" type="" overloaded="no">
-        <autodoc>RemoveFileFromHistory(int i)</autodoc>
+        <autodoc>RemoveFileFromHistory(self, int i)</autodoc>
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaxFiles" type="int" overloaded="no">
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaxFiles" type="int" overloaded="no">
-        <autodoc>GetMaxFiles() -&gt; int</autodoc>
+        <autodoc>GetMaxFiles(self) -&gt; int</autodoc>
       </method>
       <method name="UseMenu" type="" overloaded="no">
       </method>
       <method name="UseMenu" type="" overloaded="no">
-        <autodoc>UseMenu(Menu menu)</autodoc>
+        <autodoc>UseMenu(self, Menu menu)</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="RemoveMenu" type="" overloaded="no">
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="RemoveMenu" type="" overloaded="no">
-        <autodoc>RemoveMenu(Menu menu)</autodoc>
+        <autodoc>RemoveMenu(self, Menu menu)</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="Load" type="" overloaded="no">
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="Load" type="" overloaded="no">
-        <autodoc>Load(ConfigBase config)</autodoc>
+        <autodoc>Load(self, ConfigBase config)</autodoc>
         <paramlist>
           <param name="config" type="wxConfigBase" default=""/>
         </paramlist>
       </method>
       <method name="Save" type="" overloaded="no">
         <paramlist>
           <param name="config" type="wxConfigBase" default=""/>
         </paramlist>
       </method>
       <method name="Save" type="" overloaded="no">
-        <autodoc>Save(ConfigBase config)</autodoc>
+        <autodoc>Save(self, ConfigBase config)</autodoc>
         <paramlist>
           <param name="config" type="wxConfigBase" default=""/>
         </paramlist>
       </method>
       <method name="AddFilesToMenu" type="" overloaded="no">
         <paramlist>
           <param name="config" type="wxConfigBase" default=""/>
         </paramlist>
       </method>
       <method name="AddFilesToMenu" type="" overloaded="no">
-        <autodoc>AddFilesToMenu()</autodoc>
+        <autodoc>AddFilesToMenu(self)</autodoc>
       </method>
       <method name="AddFilesToThisMenu" type="" overloaded="no">
       </method>
       <method name="AddFilesToThisMenu" type="" overloaded="no">
-        <autodoc>AddFilesToThisMenu(Menu menu)</autodoc>
+        <autodoc>AddFilesToThisMenu(self, Menu menu)</autodoc>
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="GetHistoryFile" type="String" overloaded="no">
         <paramlist>
           <param name="menu" type="Menu" default=""/>
         </paramlist>
       </method>
       <method name="GetHistoryFile" type="String" overloaded="no">
-        <autodoc>GetHistoryFile(int i) -&gt; String</autodoc>
+        <autodoc>GetHistoryFile(self, int i) -&gt; String</autodoc>
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
         <paramlist>
           <param name="i" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="misc">
+    <class name="SingleInstanceChecker" oldname="wxSingleInstanceChecker" module="_misc">
       <constructor name="SingleInstanceChecker" overloaded="no">
       <constructor name="SingleInstanceChecker" overloaded="no">
-        <autodoc>__init__(String name, String path=EmptyString) -&gt; SingleInstanceChecker</autodoc>
+        <autodoc>__init__(self, String name, String path=EmptyString) -&gt; SingleInstanceChecker</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
@@ -20574,17 +23009,17 @@ associated with the control (if any) in a tooltip.</docstring>
         <autodoc>PreSingleInstanceChecker() -&gt; SingleInstanceChecker</autodoc>
       </constructor>
       <destructor name="~wxSingleInstanceChecker" overloaded="no">
         <autodoc>PreSingleInstanceChecker() -&gt; SingleInstanceChecker</autodoc>
       </constructor>
       <destructor name="~wxSingleInstanceChecker" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Create" type="bool" overloaded="no">
       </destructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(String name, String path=EmptyString) -&gt; bool</autodoc>
+        <autodoc>Create(self, String name, String path=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="IsAnotherRunning" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="IsAnotherRunning" type="bool" overloaded="no">
-        <autodoc>IsAnotherRunning() -&gt; bool</autodoc>
+        <autodoc>IsAnotherRunning(self) -&gt; bool</autodoc>
       </method>
     </class>
     <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no">
       </method>
     </class>
     <method name="DrawWindowOnDC" oldname="wxDrawWindowOnDC" type="" overloaded="no">
@@ -20598,33 +23033,33 @@ associated with the control (if any) in a tooltip.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="TipProvider" oldname="wxTipProvider" module="misc">
+    <class name="TipProvider" oldname="wxTipProvider" module="_misc">
       <destructor name="~wxTipProvider" overloaded="no">
       <destructor name="~wxTipProvider" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetTip" type="String" overloaded="no">
       </destructor>
       <method name="GetTip" type="String" overloaded="no">
-        <autodoc>GetTip() -&gt; String</autodoc>
+        <autodoc>GetTip(self) -&gt; String</autodoc>
       </method>
       <method name="GetCurrentTip" type="size_t" overloaded="no">
       </method>
       <method name="GetCurrentTip" type="size_t" overloaded="no">
-        <autodoc>GetCurrentTip() -&gt; size_t</autodoc>
+        <autodoc>GetCurrentTip(self) -&gt; size_t</autodoc>
       </method>
       <method name="PreprocessTip" type="String" overloaded="no">
       </method>
       <method name="PreprocessTip" type="String" overloaded="no">
-        <autodoc>PreprocessTip(String tip) -&gt; String</autodoc>
+        <autodoc>PreprocessTip(self, String tip) -&gt; String</autodoc>
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="tip" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PyTipProvider" oldname="wxPyTipProvider" module="misc">
+    <class name="PyTipProvider" oldname="wxPyTipProvider" module="_misc">
       <baseclass name="TipProvider"/>
       <constructor name="PyTipProvider" overloaded="no">
       <baseclass name="TipProvider"/>
       <constructor name="PyTipProvider" overloaded="no">
-        <autodoc>__init__(size_t currentTip) -&gt; PyTipProvider</autodoc>
+        <autodoc>__init__(self, size_t currentTip) -&gt; PyTipProvider</autodoc>
         <paramlist>
           <param name="currentTip" type="size_t" default=""/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="currentTip" type="size_t" default=""/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -20649,20 +23084,20 @@ associated with the control (if any) in a tooltip.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Timer" oldname="wxPyTimer" module="misc">
+    <class name="Timer" oldname="wxPyTimer" module="_misc">
       <baseclass name="EvtHandler"/>
       <constructor name="wxPyTimer" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="wxPyTimer" overloaded="no">
-        <autodoc>__init__(EvtHandler owner=None, int id=-1) -&gt; Timer</autodoc>
+        <autodoc>__init__(self, EvtHandler owner=None, int id=-1) -&gt; Timer</autodoc>
         <paramlist>
           <param name="owner" type="EvtHandler" default="NULL"/>
           <param name="id" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyTimer" overloaded="no">
         <paramlist>
           <param name="owner" type="EvtHandler" default="NULL"/>
           <param name="id" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyTimer" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref=1)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref=1)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -20670,33 +23105,36 @@ associated with the control (if any) in a tooltip.</docstring>
         </paramlist>
       </method>
       <method name="SetOwner" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetOwner" type="" overloaded="no">
-        <autodoc>SetOwner(EvtHandler owner, int id=-1)</autodoc>
+        <autodoc>SetOwner(self, EvtHandler owner, int id=-1)</autodoc>
         <paramlist>
           <param name="owner" type="EvtHandler" default=""/>
           <param name="id" type="int" default="-1"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="owner" type="EvtHandler" default=""/>
           <param name="id" type="int" default="-1"/>
         </paramlist>
       </method>
+      <method name="GetOwner" type="EvtHandler" overloaded="no">
+        <autodoc>GetOwner(self) -&gt; EvtHandler</autodoc>
+      </method>
       <method name="Start" type="bool" overloaded="no">
       <method name="Start" type="bool" overloaded="no">
-        <autodoc>Start(int milliseconds=-1, bool oneShot=False) -&gt; bool</autodoc>
+        <autodoc>Start(self, int milliseconds=-1, bool oneShot=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="milliseconds" type="int" default="-1"/>
           <param name="oneShot" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="Stop" type="" overloaded="no">
         <paramlist>
           <param name="milliseconds" type="int" default="-1"/>
           <param name="oneShot" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="Stop" type="" overloaded="no">
-        <autodoc>Stop()</autodoc>
+        <autodoc>Stop(self)</autodoc>
       </method>
       <method name="IsRunning" type="bool" overloaded="no">
       </method>
       <method name="IsRunning" type="bool" overloaded="no">
-        <autodoc>IsRunning() -&gt; bool</autodoc>
+        <autodoc>IsRunning(self) -&gt; bool</autodoc>
       </method>
       <method name="GetInterval" type="int" overloaded="no">
       </method>
       <method name="GetInterval" type="int" overloaded="no">
-        <autodoc>GetInterval() -&gt; int</autodoc>
+        <autodoc>GetInterval(self) -&gt; int</autodoc>
       </method>
       <method name="IsOneShot" type="bool" overloaded="no">
       </method>
       <method name="IsOneShot" type="bool" overloaded="no">
-        <autodoc>IsOneShot() -&gt; bool</autodoc>
+        <autodoc>IsOneShot(self) -&gt; bool</autodoc>
       </method>
       <method name="GetId" type="int" overloaded="no">
       </method>
       <method name="GetId" type="int" overloaded="no">
-        <autodoc>GetId() -&gt; int</autodoc>
+        <autodoc>GetId(self) -&gt; int</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -20714,28 +23152,28 @@ class PyTimer(Timer):
 EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
 
 </pythoncode>
 EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )
 
 </pythoncode>
-    <class name="TimerEvent" oldname="wxTimerEvent" module="misc">
+    <class name="TimerEvent" oldname="wxTimerEvent" module="_misc">
       <baseclass name="Event"/>
       <constructor name="TimerEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="TimerEvent" overloaded="no">
-        <autodoc>__init__(int timerid=0, int interval=0) -&gt; TimerEvent</autodoc>
+        <autodoc>__init__(self, int timerid=0, int interval=0) -&gt; TimerEvent</autodoc>
         <paramlist>
           <param name="timerid" type="int" default="0"/>
           <param name="interval" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetInterval" type="int" overloaded="no">
         <paramlist>
           <param name="timerid" type="int" default="0"/>
           <param name="interval" type="int" default="0"/>
         </paramlist>
       </constructor>
       <method name="GetInterval" type="int" overloaded="no">
-        <autodoc>GetInterval() -&gt; int</autodoc>
+        <autodoc>GetInterval(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="TimerRunner" oldname="wxTimerRunner" module="misc">
+    <class name="TimerRunner" oldname="wxTimerRunner" module="_misc">
       <constructor name="TimerRunner" overloaded="yes">
         <paramlist>
           <param name="timer" type="wxTimer" default=""/>
         </paramlist>
       </constructor>
       <constructor name="TimerRunner" overloaded="yes">
       <constructor name="TimerRunner" overloaded="yes">
         <paramlist>
           <param name="timer" type="wxTimer" default=""/>
         </paramlist>
       </constructor>
       <constructor name="TimerRunner" overloaded="yes">
-        <autodoc>__init__(wxTimer timer) -&gt; TimerRunner
-__init__(wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodoc>
+        <autodoc>__init__(self, wxTimer timer) -&gt; TimerRunner
+__init__(self, wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodoc>
         <paramlist>
           <param name="timer" type="wxTimer" default=""/>
           <param name="milli" type="int" default=""/>
         <paramlist>
           <param name="timer" type="wxTimer" default=""/>
           <param name="milli" type="int" default=""/>
@@ -20743,10 +23181,10 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodo
         </paramlist>
       </constructor>
       <destructor name="~wxTimerRunner" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxTimerRunner" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Start" type="" overloaded="no">
       </destructor>
       <method name="Start" type="" overloaded="no">
-        <autodoc>Start(int milli, bool oneShot=False)</autodoc>
+        <autodoc>Start(self, int milli, bool oneShot=False)</autodoc>
         <paramlist>
           <param name="milli" type="int" default=""/>
           <param name="oneShot" type="bool" default="False"/>
         <paramlist>
           <param name="milli" type="int" default=""/>
           <param name="oneShot" type="bool" default="False"/>
@@ -20756,9 +23194,9 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodo
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Log" oldname="wxLog" module="misc">
+    <class name="Log" oldname="wxLog" module="_misc">
       <constructor name="Log" overloaded="no">
       <constructor name="Log" overloaded="no">
-        <autodoc>__init__() -&gt; Log</autodoc>
+        <autodoc>__init__(self) -&gt; Log</autodoc>
       </constructor>
       <staticmethod name="IsEnabled" type="bool" overloaded="no">
         <autodoc>IsEnabled() -&gt; bool</autodoc>
       </constructor>
       <staticmethod name="IsEnabled" type="bool" overloaded="no">
         <autodoc>IsEnabled() -&gt; bool</autodoc>
@@ -20778,7 +23216,7 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodo
         </paramlist>
       </staticmethod>
       <method name="Flush" type="" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="Flush" type="" overloaded="no">
-        <autodoc>Flush()</autodoc>
+        <autodoc>Flush(self)</autodoc>
       </method>
       <staticmethod name="FlushActive" type="" overloaded="no">
         <autodoc>FlushActive()</autodoc>
       </method>
       <staticmethod name="FlushActive" type="" overloaded="no">
         <autodoc>FlushActive()</autodoc>
@@ -20865,34 +23303,34 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodo
         <autodoc>TimeStamp() -&gt; String</autodoc>
       </staticmethod>
       <method name="Destroy" type="" overloaded="no">
         <autodoc>TimeStamp() -&gt; String</autodoc>
       </staticmethod>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="LogStderr" oldname="wxLogStderr" module="misc">
+    <class name="LogStderr" oldname="wxLogStderr" module="_misc">
       <baseclass name="Log"/>
       <constructor name="LogStderr" overloaded="no">
       <baseclass name="Log"/>
       <constructor name="LogStderr" overloaded="no">
-        <autodoc>__init__() -&gt; LogStderr</autodoc>
+        <autodoc>__init__(self) -&gt; LogStderr</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="misc">
+    <class name="LogTextCtrl" oldname="wxLogTextCtrl" module="_misc">
       <baseclass name="Log"/>
       <constructor name="LogTextCtrl" overloaded="no">
       <baseclass name="Log"/>
       <constructor name="LogTextCtrl" overloaded="no">
-        <autodoc>__init__(wxTextCtrl pTextCtrl) -&gt; LogTextCtrl</autodoc>
+        <autodoc>__init__(self, wxTextCtrl pTextCtrl) -&gt; LogTextCtrl</autodoc>
         <paramlist>
           <param name="pTextCtrl" type="TextCtrl" default=""/>
         </paramlist>
       </constructor>
     </class>
         <paramlist>
           <param name="pTextCtrl" type="TextCtrl" default=""/>
         </paramlist>
       </constructor>
     </class>
-    <class name="LogGui" oldname="wxLogGui" module="misc">
+    <class name="LogGui" oldname="wxLogGui" module="_misc">
       <baseclass name="Log"/>
       <constructor name="LogGui" overloaded="no">
       <baseclass name="Log"/>
       <constructor name="LogGui" overloaded="no">
-        <autodoc>__init__() -&gt; LogGui</autodoc>
+        <autodoc>__init__(self) -&gt; LogGui</autodoc>
       </constructor>
     </class>
       </constructor>
     </class>
-    <class name="LogWindow" oldname="wxLogWindow" module="misc">
+    <class name="LogWindow" oldname="wxLogWindow" module="_misc">
       <baseclass name="Log"/>
       <constructor name="LogWindow" overloaded="no">
       <baseclass name="Log"/>
       <constructor name="LogWindow" overloaded="no">
-        <autodoc>__init__(wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -&gt; LogWindow</autodoc>
+        <autodoc>__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -&gt; LogWindow</autodoc>
         <paramlist>
           <param name="pParent" type="Frame" default=""/>
           <param name="szTitle" type="String" default=""/>
         <paramlist>
           <param name="pParent" type="Frame" default=""/>
           <param name="szTitle" type="String" default=""/>
@@ -20901,52 +23339,52 @@ __init__(wxTimer timer, int milli, bool oneShot=False) -&gt; TimerRunner</autodo
         </paramlist>
       </constructor>
       <method name="Show" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="Show" type="" overloaded="no">
-        <autodoc>Show(bool bShow=True)</autodoc>
+        <autodoc>Show(self, bool bShow=True)</autodoc>
         <paramlist>
           <param name="bShow" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetFrame" type="Frame" overloaded="no">
         <paramlist>
           <param name="bShow" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetFrame" type="Frame" overloaded="no">
-        <autodoc>GetFrame() -&gt; wxFrame</autodoc>
+        <autodoc>GetFrame(self) -&gt; wxFrame</autodoc>
       </method>
       <method name="GetOldLog" type="Log" overloaded="no">
       </method>
       <method name="GetOldLog" type="Log" overloaded="no">
-        <autodoc>GetOldLog() -&gt; Log</autodoc>
+        <autodoc>GetOldLog(self) -&gt; Log</autodoc>
       </method>
       <method name="IsPassingMessages" type="bool" overloaded="no">
       </method>
       <method name="IsPassingMessages" type="bool" overloaded="no">
-        <autodoc>IsPassingMessages() -&gt; bool</autodoc>
+        <autodoc>IsPassingMessages(self) -&gt; bool</autodoc>
       </method>
       <method name="PassMessages" type="" overloaded="no">
       </method>
       <method name="PassMessages" type="" overloaded="no">
-        <autodoc>PassMessages(bool bDoPass)</autodoc>
+        <autodoc>PassMessages(self, bool bDoPass)</autodoc>
         <paramlist>
           <param name="bDoPass" type="bool" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="bDoPass" type="bool" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="LogChain" oldname="wxLogChain" module="misc">
+    <class name="LogChain" oldname="wxLogChain" module="_misc">
       <baseclass name="Log"/>
       <constructor name="LogChain" overloaded="no">
       <baseclass name="Log"/>
       <constructor name="LogChain" overloaded="no">
-        <autodoc>__init__(Log logger) -&gt; LogChain</autodoc>
+        <autodoc>__init__(self, Log logger) -&gt; LogChain</autodoc>
         <paramlist>
           <param name="logger" type="Log" default=""/>
         </paramlist>
       </constructor>
       <method name="SetLog" type="" overloaded="no">
         <paramlist>
           <param name="logger" type="Log" default=""/>
         </paramlist>
       </constructor>
       <method name="SetLog" type="" overloaded="no">
-        <autodoc>SetLog(Log logger)</autodoc>
+        <autodoc>SetLog(self, Log logger)</autodoc>
         <paramlist>
           <param name="logger" type="Log" default=""/>
         </paramlist>
       </method>
       <method name="PassMessages" type="" overloaded="no">
         <paramlist>
           <param name="logger" type="Log" default=""/>
         </paramlist>
       </method>
       <method name="PassMessages" type="" overloaded="no">
-        <autodoc>PassMessages(bool bDoPass)</autodoc>
+        <autodoc>PassMessages(self, bool bDoPass)</autodoc>
         <paramlist>
           <param name="bDoPass" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsPassingMessages" type="bool" overloaded="no">
         <paramlist>
           <param name="bDoPass" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsPassingMessages" type="bool" overloaded="no">
-        <autodoc>IsPassingMessages() -&gt; bool</autodoc>
+        <autodoc>IsPassingMessages(self) -&gt; bool</autodoc>
       </method>
       <method name="GetOldLog" type="Log" overloaded="no">
       </method>
       <method name="GetOldLog" type="Log" overloaded="no">
-        <autodoc>GetOldLog() -&gt; Log</autodoc>
+        <autodoc>GetOldLog(self) -&gt; Log</autodoc>
       </method>
     </class>
     <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no">
       </method>
     </class>
     <method name="SysErrorCode" oldname="wxSysErrorCode" type="unsigned long" overloaded="no">
@@ -21047,21 +23485,21 @@ LogTrace(String mask, String msg)</autodoc>
         <param name="text" type="String" default=""/>
       </paramlist>
     </method>
         <param name="text" type="String" default=""/>
       </paramlist>
     </method>
-    <class name="LogNull" oldname="wxLogNull" module="misc">
+    <class name="LogNull" oldname="wxLogNull" module="_misc">
       <constructor name="LogNull" overloaded="no">
       <constructor name="LogNull" overloaded="no">
-        <autodoc>__init__() -&gt; LogNull</autodoc>
+        <autodoc>__init__(self) -&gt; LogNull</autodoc>
       </constructor>
       <destructor name="~wxLogNull" overloaded="no">
       </constructor>
       <destructor name="~wxLogNull" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="PyLog" oldname="wxPyLog" module="misc">
+    <class name="PyLog" oldname="wxPyLog" module="_misc">
       <baseclass name="Log"/>
       <constructor name="PyLog" overloaded="no">
       <baseclass name="Log"/>
       <constructor name="PyLog" overloaded="no">
-        <autodoc>__init__() -&gt; PyLog</autodoc>
+        <autodoc>__init__(self) -&gt; PyLog</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -21071,10 +23509,10 @@ LogTrace(String mask, String msg)</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Process" oldname="wxPyProcess" module="misc">
+    <class name="Process" oldname="wxPyProcess" module="_misc">
       <baseclass name="EvtHandler"/>
       <constructor name="wxPyProcess" overloaded="no">
       <baseclass name="EvtHandler"/>
       <constructor name="wxPyProcess" overloaded="no">
-        <autodoc>__init__(EvtHandler parent=None, int id=-1) -&gt; Process</autodoc>
+        <autodoc>__init__(self, EvtHandler parent=None, int id=-1) -&gt; Process</autodoc>
         <paramlist>
           <param name="parent" type="EvtHandler" default="NULL"/>
           <param name="id" type="int" default="-1"/>
         <paramlist>
           <param name="parent" type="EvtHandler" default="NULL"/>
           <param name="id" type="int" default="-1"/>
@@ -21101,54 +23539,54 @@ LogTrace(String mask, String msg)</autodoc>
         </paramlist>
       </staticmethod>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnTerminate" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnTerminate" type="" overloaded="no">
-        <autodoc>base_OnTerminate(int pid, int status)</autodoc>
+        <autodoc>base_OnTerminate(self, int pid, int status)</autodoc>
         <paramlist>
           <param name="pid" type="int" default=""/>
           <param name="status" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Redirect" type="" overloaded="no">
         <paramlist>
           <param name="pid" type="int" default=""/>
           <param name="status" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Redirect" type="" overloaded="no">
-        <autodoc>Redirect()</autodoc>
+        <autodoc>Redirect(self)</autodoc>
       </method>
       <method name="IsRedirected" type="bool" overloaded="no">
       </method>
       <method name="IsRedirected" type="bool" overloaded="no">
-        <autodoc>IsRedirected() -&gt; bool</autodoc>
+        <autodoc>IsRedirected(self) -&gt; bool</autodoc>
       </method>
       <method name="Detach" type="" overloaded="no">
       </method>
       <method name="Detach" type="" overloaded="no">
-        <autodoc>Detach()</autodoc>
+        <autodoc>Detach(self)</autodoc>
       </method>
       <method name="GetInputStream" type="wxInputStream" overloaded="no">
       </method>
       <method name="GetInputStream" type="wxInputStream" overloaded="no">
-        <autodoc>GetInputStream() -&gt; InputStream</autodoc>
+        <autodoc>GetInputStream(self) -&gt; InputStream</autodoc>
       </method>
       <method name="GetErrorStream" type="wxInputStream" overloaded="no">
       </method>
       <method name="GetErrorStream" type="wxInputStream" overloaded="no">
-        <autodoc>GetErrorStream() -&gt; InputStream</autodoc>
+        <autodoc>GetErrorStream(self) -&gt; InputStream</autodoc>
       </method>
       <method name="GetOutputStream" type="OutputStream" overloaded="no">
       </method>
       <method name="GetOutputStream" type="OutputStream" overloaded="no">
-        <autodoc>GetOutputStream() -&gt; OutputStream</autodoc>
+        <autodoc>GetOutputStream(self) -&gt; OutputStream</autodoc>
       </method>
       <method name="CloseOutput" type="" overloaded="no">
       </method>
       <method name="CloseOutput" type="" overloaded="no">
-        <autodoc>CloseOutput()</autodoc>
+        <autodoc>CloseOutput(self)</autodoc>
       </method>
       <method name="IsInputOpened" type="bool" overloaded="no">
       </method>
       <method name="IsInputOpened" type="bool" overloaded="no">
-        <autodoc>IsInputOpened() -&gt; bool</autodoc>
+        <autodoc>IsInputOpened(self) -&gt; bool</autodoc>
       </method>
       <method name="IsInputAvailable" type="bool" overloaded="no">
       </method>
       <method name="IsInputAvailable" type="bool" overloaded="no">
-        <autodoc>IsInputAvailable() -&gt; bool</autodoc>
+        <autodoc>IsInputAvailable(self) -&gt; bool</autodoc>
       </method>
       <method name="IsErrorAvailable" type="bool" overloaded="no">
       </method>
       <method name="IsErrorAvailable" type="bool" overloaded="no">
-        <autodoc>IsErrorAvailable() -&gt; bool</autodoc>
+        <autodoc>IsErrorAvailable(self) -&gt; bool</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="ProcessEvent" oldname="wxProcessEvent" module="misc">
+    <class name="ProcessEvent" oldname="wxProcessEvent" module="_misc">
       <baseclass name="Event"/>
       <constructor name="ProcessEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="ProcessEvent" overloaded="no">
-        <autodoc>__init__(int id=0, int pid=0, int exitcode=0) -&gt; ProcessEvent</autodoc>
+        <autodoc>__init__(self, int id=0, int pid=0, int exitcode=0) -&gt; ProcessEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="pid" type="int" default="0"/>
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="pid" type="int" default="0"/>
@@ -21156,10 +23594,10 @@ LogTrace(String mask, String msg)</autodoc>
         </paramlist>
       </constructor>
       <method name="GetPid" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetPid" type="int" overloaded="no">
-        <autodoc>GetPid() -&gt; int</autodoc>
+        <autodoc>GetPid(self) -&gt; int</autodoc>
       </method>
       <method name="GetExitCode" type="int" overloaded="no">
       </method>
       <method name="GetExitCode" type="int" overloaded="no">
-        <autodoc>GetExitCode() -&gt; int</autodoc>
+        <autodoc>GetExitCode(self) -&gt; int</autodoc>
       </method>
       <property name="m_pid" type="int" readonly="no"/>
       <property name="m_exitcode" type="int" readonly="no"/>
       </method>
       <property name="m_pid" type="int" readonly="no"/>
       <property name="m_exitcode" type="int" readonly="no"/>
@@ -21178,154 +23616,154 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Joystick" oldname="wxJoystick" module="misc">
+    <class name="Joystick" oldname="wxJoystick" module="_misc">
       <constructor name="Joystick" overloaded="no">
       <constructor name="Joystick" overloaded="no">
-        <autodoc>__init__(int joystick=JOYSTICK1) -&gt; Joystick</autodoc>
+        <autodoc>__init__(self, int joystick=JOYSTICK1) -&gt; Joystick</autodoc>
         <paramlist>
           <param name="joystick" type="int" default="wxJOYSTICK1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxJoystick" overloaded="no">
         <paramlist>
           <param name="joystick" type="int" default="wxJOYSTICK1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxJoystick" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetPosition" type="Point" overloaded="no">
       </destructor>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="GetZPosition" type="int" overloaded="no">
       </method>
       <method name="GetZPosition" type="int" overloaded="no">
-        <autodoc>GetZPosition() -&gt; int</autodoc>
+        <autodoc>GetZPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetButtonState" type="int" overloaded="no">
       </method>
       <method name="GetButtonState" type="int" overloaded="no">
-        <autodoc>GetButtonState() -&gt; int</autodoc>
+        <autodoc>GetButtonState(self) -&gt; int</autodoc>
       </method>
       <method name="GetPOVPosition" type="int" overloaded="no">
       </method>
       <method name="GetPOVPosition" type="int" overloaded="no">
-        <autodoc>GetPOVPosition() -&gt; int</autodoc>
+        <autodoc>GetPOVPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetPOVCTSPosition" type="int" overloaded="no">
       </method>
       <method name="GetPOVCTSPosition" type="int" overloaded="no">
-        <autodoc>GetPOVCTSPosition() -&gt; int</autodoc>
+        <autodoc>GetPOVCTSPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetRudderPosition" type="int" overloaded="no">
       </method>
       <method name="GetRudderPosition" type="int" overloaded="no">
-        <autodoc>GetRudderPosition() -&gt; int</autodoc>
+        <autodoc>GetRudderPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetUPosition" type="int" overloaded="no">
       </method>
       <method name="GetUPosition" type="int" overloaded="no">
-        <autodoc>GetUPosition() -&gt; int</autodoc>
+        <autodoc>GetUPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetVPosition" type="int" overloaded="no">
       </method>
       <method name="GetVPosition" type="int" overloaded="no">
-        <autodoc>GetVPosition() -&gt; int</autodoc>
+        <autodoc>GetVPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetMovementThreshold" type="int" overloaded="no">
       </method>
       <method name="GetMovementThreshold" type="int" overloaded="no">
-        <autodoc>GetMovementThreshold() -&gt; int</autodoc>
+        <autodoc>GetMovementThreshold(self) -&gt; int</autodoc>
       </method>
       <method name="SetMovementThreshold" type="" overloaded="no">
       </method>
       <method name="SetMovementThreshold" type="" overloaded="no">
-        <autodoc>SetMovementThreshold(int threshold)</autodoc>
+        <autodoc>SetMovementThreshold(self, int threshold)</autodoc>
         <paramlist>
           <param name="threshold" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
         <paramlist>
           <param name="threshold" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="GetNumberJoysticks" type="int" overloaded="no">
       </method>
       <method name="GetNumberJoysticks" type="int" overloaded="no">
-        <autodoc>GetNumberJoysticks() -&gt; int</autodoc>
+        <autodoc>GetNumberJoysticks(self) -&gt; int</autodoc>
       </method>
       <method name="GetManufacturerId" type="int" overloaded="no">
       </method>
       <method name="GetManufacturerId" type="int" overloaded="no">
-        <autodoc>GetManufacturerId() -&gt; int</autodoc>
+        <autodoc>GetManufacturerId(self) -&gt; int</autodoc>
       </method>
       <method name="GetProductId" type="int" overloaded="no">
       </method>
       <method name="GetProductId" type="int" overloaded="no">
-        <autodoc>GetProductId() -&gt; int</autodoc>
+        <autodoc>GetProductId(self) -&gt; int</autodoc>
       </method>
       <method name="GetProductName" type="String" overloaded="no">
       </method>
       <method name="GetProductName" type="String" overloaded="no">
-        <autodoc>GetProductName() -&gt; String</autodoc>
+        <autodoc>GetProductName(self) -&gt; String</autodoc>
       </method>
       <method name="GetXMin" type="int" overloaded="no">
       </method>
       <method name="GetXMin" type="int" overloaded="no">
-        <autodoc>GetXMin() -&gt; int</autodoc>
+        <autodoc>GetXMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetYMin" type="int" overloaded="no">
       </method>
       <method name="GetYMin" type="int" overloaded="no">
-        <autodoc>GetYMin() -&gt; int</autodoc>
+        <autodoc>GetYMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetZMin" type="int" overloaded="no">
       </method>
       <method name="GetZMin" type="int" overloaded="no">
-        <autodoc>GetZMin() -&gt; int</autodoc>
+        <autodoc>GetZMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetXMax" type="int" overloaded="no">
       </method>
       <method name="GetXMax" type="int" overloaded="no">
-        <autodoc>GetXMax() -&gt; int</autodoc>
+        <autodoc>GetXMax(self) -&gt; int</autodoc>
       </method>
       <method name="GetYMax" type="int" overloaded="no">
       </method>
       <method name="GetYMax" type="int" overloaded="no">
-        <autodoc>GetYMax() -&gt; int</autodoc>
+        <autodoc>GetYMax(self) -&gt; int</autodoc>
       </method>
       <method name="GetZMax" type="int" overloaded="no">
       </method>
       <method name="GetZMax" type="int" overloaded="no">
-        <autodoc>GetZMax() -&gt; int</autodoc>
+        <autodoc>GetZMax(self) -&gt; int</autodoc>
       </method>
       <method name="GetNumberButtons" type="int" overloaded="no">
       </method>
       <method name="GetNumberButtons" type="int" overloaded="no">
-        <autodoc>GetNumberButtons() -&gt; int</autodoc>
+        <autodoc>GetNumberButtons(self) -&gt; int</autodoc>
       </method>
       <method name="GetNumberAxes" type="int" overloaded="no">
       </method>
       <method name="GetNumberAxes" type="int" overloaded="no">
-        <autodoc>GetNumberAxes() -&gt; int</autodoc>
+        <autodoc>GetNumberAxes(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxButtons" type="int" overloaded="no">
       </method>
       <method name="GetMaxButtons" type="int" overloaded="no">
-        <autodoc>GetMaxButtons() -&gt; int</autodoc>
+        <autodoc>GetMaxButtons(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxAxes" type="int" overloaded="no">
       </method>
       <method name="GetMaxAxes" type="int" overloaded="no">
-        <autodoc>GetMaxAxes() -&gt; int</autodoc>
+        <autodoc>GetMaxAxes(self) -&gt; int</autodoc>
       </method>
       <method name="GetPollingMin" type="int" overloaded="no">
       </method>
       <method name="GetPollingMin" type="int" overloaded="no">
-        <autodoc>GetPollingMin() -&gt; int</autodoc>
+        <autodoc>GetPollingMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetPollingMax" type="int" overloaded="no">
       </method>
       <method name="GetPollingMax" type="int" overloaded="no">
-        <autodoc>GetPollingMax() -&gt; int</autodoc>
+        <autodoc>GetPollingMax(self) -&gt; int</autodoc>
       </method>
       <method name="GetRudderMin" type="int" overloaded="no">
       </method>
       <method name="GetRudderMin" type="int" overloaded="no">
-        <autodoc>GetRudderMin() -&gt; int</autodoc>
+        <autodoc>GetRudderMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetRudderMax" type="int" overloaded="no">
       </method>
       <method name="GetRudderMax" type="int" overloaded="no">
-        <autodoc>GetRudderMax() -&gt; int</autodoc>
+        <autodoc>GetRudderMax(self) -&gt; int</autodoc>
       </method>
       <method name="GetUMin" type="int" overloaded="no">
       </method>
       <method name="GetUMin" type="int" overloaded="no">
-        <autodoc>GetUMin() -&gt; int</autodoc>
+        <autodoc>GetUMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetUMax" type="int" overloaded="no">
       </method>
       <method name="GetUMax" type="int" overloaded="no">
-        <autodoc>GetUMax() -&gt; int</autodoc>
+        <autodoc>GetUMax(self) -&gt; int</autodoc>
       </method>
       <method name="GetVMin" type="int" overloaded="no">
       </method>
       <method name="GetVMin" type="int" overloaded="no">
-        <autodoc>GetVMin() -&gt; int</autodoc>
+        <autodoc>GetVMin(self) -&gt; int</autodoc>
       </method>
       <method name="GetVMax" type="int" overloaded="no">
       </method>
       <method name="GetVMax" type="int" overloaded="no">
-        <autodoc>GetVMax() -&gt; int</autodoc>
+        <autodoc>GetVMax(self) -&gt; int</autodoc>
       </method>
       <method name="HasRudder" type="bool" overloaded="no">
       </method>
       <method name="HasRudder" type="bool" overloaded="no">
-        <autodoc>HasRudder() -&gt; bool</autodoc>
+        <autodoc>HasRudder(self) -&gt; bool</autodoc>
       </method>
       <method name="HasZ" type="bool" overloaded="no">
       </method>
       <method name="HasZ" type="bool" overloaded="no">
-        <autodoc>HasZ() -&gt; bool</autodoc>
+        <autodoc>HasZ(self) -&gt; bool</autodoc>
       </method>
       <method name="HasU" type="bool" overloaded="no">
       </method>
       <method name="HasU" type="bool" overloaded="no">
-        <autodoc>HasU() -&gt; bool</autodoc>
+        <autodoc>HasU(self) -&gt; bool</autodoc>
       </method>
       <method name="HasV" type="bool" overloaded="no">
       </method>
       <method name="HasV" type="bool" overloaded="no">
-        <autodoc>HasV() -&gt; bool</autodoc>
+        <autodoc>HasV(self) -&gt; bool</autodoc>
       </method>
       <method name="HasPOV" type="bool" overloaded="no">
       </method>
       <method name="HasPOV" type="bool" overloaded="no">
-        <autodoc>HasPOV() -&gt; bool</autodoc>
+        <autodoc>HasPOV(self) -&gt; bool</autodoc>
       </method>
       <method name="HasPOV4Dir" type="bool" overloaded="no">
       </method>
       <method name="HasPOV4Dir" type="bool" overloaded="no">
-        <autodoc>HasPOV4Dir() -&gt; bool</autodoc>
+        <autodoc>HasPOV4Dir(self) -&gt; bool</autodoc>
       </method>
       <method name="HasPOVCTS" type="bool" overloaded="no">
       </method>
       <method name="HasPOVCTS" type="bool" overloaded="no">
-        <autodoc>HasPOVCTS() -&gt; bool</autodoc>
+        <autodoc>HasPOVCTS(self) -&gt; bool</autodoc>
       </method>
       <method name="SetCapture" type="bool" overloaded="no">
       </method>
       <method name="SetCapture" type="bool" overloaded="no">
-        <autodoc>SetCapture(Window win, int pollingFreq=0) -&gt; bool</autodoc>
+        <autodoc>SetCapture(self, Window win, int pollingFreq=0) -&gt; bool</autodoc>
         <paramlist>
           <param name="win" type="Window" default=""/>
           <param name="pollingFreq" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="ReleaseCapture" type="bool" overloaded="no">
         <paramlist>
           <param name="win" type="Window" default=""/>
           <param name="pollingFreq" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="ReleaseCapture" type="bool" overloaded="no">
-        <autodoc>ReleaseCapture() -&gt; bool</autodoc>
+        <autodoc>ReleaseCapture(self) -&gt; bool</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="JoystickEvent" oldname="wxJoystickEvent" module="misc">
+    <class name="JoystickEvent" oldname="wxJoystickEvent" module="_misc">
       <baseclass name="Event"/>
       <constructor name="JoystickEvent" overloaded="no">
       <baseclass name="Event"/>
       <constructor name="JoystickEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, 
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, 
     int change=0) -&gt; JoystickEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
     int change=0) -&gt; JoystickEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
@@ -21340,73 +23778,73 @@ EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )
       <property name="m_buttonState" type="int" readonly="no"/>
       <property name="m_joyStick" type="int" readonly="no"/>
       <method name="GetPosition" type="Point" overloaded="no">
       <property name="m_buttonState" type="int" readonly="no"/>
       <property name="m_joyStick" type="int" readonly="no"/>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="GetZPosition" type="int" overloaded="no">
       </method>
       <method name="GetZPosition" type="int" overloaded="no">
-        <autodoc>GetZPosition() -&gt; int</autodoc>
+        <autodoc>GetZPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetButtonState" type="int" overloaded="no">
       </method>
       <method name="GetButtonState" type="int" overloaded="no">
-        <autodoc>GetButtonState() -&gt; int</autodoc>
+        <autodoc>GetButtonState(self) -&gt; int</autodoc>
       </method>
       <method name="GetButtonChange" type="int" overloaded="no">
       </method>
       <method name="GetButtonChange" type="int" overloaded="no">
-        <autodoc>GetButtonChange() -&gt; int</autodoc>
+        <autodoc>GetButtonChange(self) -&gt; int</autodoc>
       </method>
       <method name="GetJoystick" type="int" overloaded="no">
       </method>
       <method name="GetJoystick" type="int" overloaded="no">
-        <autodoc>GetJoystick() -&gt; int</autodoc>
+        <autodoc>GetJoystick(self) -&gt; int</autodoc>
       </method>
       <method name="SetJoystick" type="" overloaded="no">
       </method>
       <method name="SetJoystick" type="" overloaded="no">
-        <autodoc>SetJoystick(int stick)</autodoc>
+        <autodoc>SetJoystick(self, int stick)</autodoc>
         <paramlist>
           <param name="stick" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetButtonState" type="" overloaded="no">
         <paramlist>
           <param name="stick" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetButtonState" type="" overloaded="no">
-        <autodoc>SetButtonState(int state)</autodoc>
+        <autodoc>SetButtonState(self, int state)</autodoc>
         <paramlist>
           <param name="state" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetButtonChange" type="" overloaded="no">
         <paramlist>
           <param name="state" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetButtonChange" type="" overloaded="no">
-        <autodoc>SetButtonChange(int change)</autodoc>
+        <autodoc>SetButtonChange(self, int change)</autodoc>
         <paramlist>
           <param name="change" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
         <paramlist>
           <param name="change" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(Point pos)</autodoc>
+        <autodoc>SetPosition(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetZPosition" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetZPosition" type="" overloaded="no">
-        <autodoc>SetZPosition(int zPos)</autodoc>
+        <autodoc>SetZPosition(self, int zPos)</autodoc>
         <paramlist>
           <param name="zPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsButton" type="bool" overloaded="no">
         <paramlist>
           <param name="zPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsButton" type="bool" overloaded="no">
-        <autodoc>IsButton() -&gt; bool</autodoc>
+        <autodoc>IsButton(self) -&gt; bool</autodoc>
       </method>
       <method name="IsMove" type="bool" overloaded="no">
       </method>
       <method name="IsMove" type="bool" overloaded="no">
-        <autodoc>IsMove() -&gt; bool</autodoc>
+        <autodoc>IsMove(self) -&gt; bool</autodoc>
       </method>
       <method name="IsZMove" type="bool" overloaded="no">
       </method>
       <method name="IsZMove" type="bool" overloaded="no">
-        <autodoc>IsZMove() -&gt; bool</autodoc>
+        <autodoc>IsZMove(self) -&gt; bool</autodoc>
       </method>
       <method name="ButtonDown" type="bool" overloaded="no">
       </method>
       <method name="ButtonDown" type="bool" overloaded="no">
-        <autodoc>ButtonDown(int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
+        <autodoc>ButtonDown(self, int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonUp" type="bool" overloaded="no">
         <paramlist>
           <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonUp" type="bool" overloaded="no">
-        <autodoc>ButtonUp(int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
+        <autodoc>ButtonUp(self, int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonIsDown" type="bool" overloaded="no">
         <paramlist>
           <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
         </paramlist>
       </method>
       <method name="ButtonIsDown" type="bool" overloaded="no">
-        <autodoc>ButtonIsDown(int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
+        <autodoc>ButtonIsDown(self, int but=JOY_BUTTON_ANY) -&gt; bool</autodoc>
         <paramlist>
           <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
         </paramlist>
         <paramlist>
           <param name="but" type="int" default="wxJOY_BUTTON_ANY"/>
         </paramlist>
@@ -21428,45 +23866,39 @@ EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Sound" oldname="wxSound" module="misc">
-      <constructor name="Sound" overloaded="yes"/>
-      <constructor name="Sound" overloaded="yes">
+    <class name="Sound" oldname="wxSound" module="_misc">
+      <constructor name="Sound" overloaded="no">
+        <autodoc>__init__(self, String fileName=EmptyString) -&gt; Sound</autodoc>
         <paramlist>
         <paramlist>
-          <param name="fileName" type="String" default=""/>
-          <param name="isResource" type="bool" default="false"/>
+          <param name="fileName" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
         </paramlist>
       </constructor>
-      <constructor name="Sound" overloaded="yes">
-        <autodoc>__init__() -&gt; Sound
-__init__(String fileName, bool isResource=false) -&gt; Sound
-__init__(int size, wxByte data) -&gt; Sound</autodoc>
+      <constructor name="SoundFromData" overloaded="no">
+        <autodoc>SoundFromData(PyObject data) -&gt; Sound</autodoc>
         <paramlist>
         <paramlist>
-          <param name="size" type="int" default=""/>
-          <param name="data" type="wxByte" default=""/>
+          <param name="data" type="PyObject" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxSound" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxSound" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       </destructor>
-      <method name="Create" type="bool" overloaded="yes">
+      <method name="Create" type="bool" overloaded="no">
+        <autodoc>Create(self, String fileName) -&gt; bool</autodoc>
         <paramlist>
           <param name="fileName" type="String" default=""/>
         <paramlist>
           <param name="fileName" type="String" default=""/>
-          <param name="isResource" type="bool" default="false"/>
         </paramlist>
       </method>
         </paramlist>
       </method>
-      <method name="Create" type="bool" overloaded="yes">
-        <autodoc>Create(String fileName, bool isResource=false) -&gt; bool
-Create(int size, wxByte data) -&gt; bool</autodoc>
+      <method name="CreateFromData" type="bool" overloaded="no">
+        <autodoc>CreateFromData(self, PyObject data) -&gt; bool</autodoc>
         <paramlist>
         <paramlist>
-          <param name="size" type="int" default=""/>
-          <param name="data" type="wxByte" default=""/>
+          <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="Play" type="bool" overloaded="no">
       </method>
       <method name="Play" type="bool" overloaded="no">
-        <autodoc>Play(unsigned int flags=SOUND_ASYNC) -&gt; bool</autodoc>
+        <autodoc>Play(self, unsigned int flags=SOUND_ASYNC) -&gt; bool</autodoc>
         <paramlist>
           <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/>
         </paramlist>
         <paramlist>
           <param name="flags" type="unsigned int" default="wxSOUND_ASYNC"/>
         </paramlist>
@@ -21485,9 +23917,9 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="misc">
+    <class name="FileTypeInfo" oldname="wxFileTypeInfo" module="_misc">
       <constructor name="FileTypeInfo" overloaded="no">
       <constructor name="FileTypeInfo" overloaded="no">
-        <autodoc>__init__(String mimeType, String openCmd, String printCmd, String desc) -&gt; FileTypeInfo</autodoc>
+        <autodoc>__init__(self, String mimeType, String openCmd, String printCmd, String desc) -&gt; FileTypeInfo</autodoc>
         <paramlist>
           <param name="mimeType" type="String" default=""/>
           <param name="openCmd" type="String" default=""/>
         <paramlist>
           <param name="mimeType" type="String" default=""/>
           <param name="openCmd" type="String" default=""/>
@@ -21505,100 +23937,100 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
         <autodoc>NullFileTypeInfo() -&gt; FileTypeInfo</autodoc>
       </constructor>
       <method name="IsValid" type="bool" overloaded="no">
         <autodoc>NullFileTypeInfo() -&gt; FileTypeInfo</autodoc>
       </constructor>
       <method name="IsValid" type="bool" overloaded="no">
-        <autodoc>IsValid() -&gt; bool</autodoc>
+        <autodoc>IsValid(self) -&gt; bool</autodoc>
       </method>
       <method name="SetIcon" type="" overloaded="no">
       </method>
       <method name="SetIcon" type="" overloaded="no">
-        <autodoc>SetIcon(String iconFile, int iconIndex=0)</autodoc>
+        <autodoc>SetIcon(self, String iconFile, int iconIndex=0)</autodoc>
         <paramlist>
           <param name="iconFile" type="String" default=""/>
           <param name="iconIndex" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetShortDesc" type="" overloaded="no">
         <paramlist>
           <param name="iconFile" type="String" default=""/>
           <param name="iconIndex" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetShortDesc" type="" overloaded="no">
-        <autodoc>SetShortDesc(String shortDesc)</autodoc>
+        <autodoc>SetShortDesc(self, String shortDesc)</autodoc>
         <paramlist>
           <param name="shortDesc" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetMimeType" type="String" overloaded="no">
         <paramlist>
           <param name="shortDesc" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetMimeType" type="String" overloaded="no">
-        <autodoc>GetMimeType() -&gt; String</autodoc>
+        <autodoc>GetMimeType(self) -&gt; String</autodoc>
       </method>
       <method name="GetOpenCommand" type="String" overloaded="no">
       </method>
       <method name="GetOpenCommand" type="String" overloaded="no">
-        <autodoc>GetOpenCommand() -&gt; String</autodoc>
+        <autodoc>GetOpenCommand(self) -&gt; String</autodoc>
       </method>
       <method name="GetPrintCommand" type="String" overloaded="no">
       </method>
       <method name="GetPrintCommand" type="String" overloaded="no">
-        <autodoc>GetPrintCommand() -&gt; String</autodoc>
+        <autodoc>GetPrintCommand(self) -&gt; String</autodoc>
       </method>
       <method name="GetShortDesc" type="String" overloaded="no">
       </method>
       <method name="GetShortDesc" type="String" overloaded="no">
-        <autodoc>GetShortDesc() -&gt; String</autodoc>
+        <autodoc>GetShortDesc(self) -&gt; String</autodoc>
       </method>
       <method name="GetDescription" type="String" overloaded="no">
       </method>
       <method name="GetDescription" type="String" overloaded="no">
-        <autodoc>GetDescription() -&gt; String</autodoc>
+        <autodoc>GetDescription(self) -&gt; String</autodoc>
       </method>
       <method name="GetExtensions" type="wxArrayString" overloaded="no">
       </method>
       <method name="GetExtensions" type="wxArrayString" overloaded="no">
-        <autodoc>GetExtensions() -&gt; wxArrayString</autodoc>
+        <autodoc>GetExtensions(self) -&gt; wxArrayString</autodoc>
       </method>
       <method name="GetExtensionsCount" type="int" overloaded="no">
       </method>
       <method name="GetExtensionsCount" type="int" overloaded="no">
-        <autodoc>GetExtensionsCount() -&gt; int</autodoc>
+        <autodoc>GetExtensionsCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetIconFile" type="String" overloaded="no">
       </method>
       <method name="GetIconFile" type="String" overloaded="no">
-        <autodoc>GetIconFile() -&gt; String</autodoc>
+        <autodoc>GetIconFile(self) -&gt; String</autodoc>
       </method>
       <method name="GetIconIndex" type="int" overloaded="no">
       </method>
       <method name="GetIconIndex" type="int" overloaded="no">
-        <autodoc>GetIconIndex() -&gt; int</autodoc>
+        <autodoc>GetIconIndex(self) -&gt; int</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="FileType" oldname="wxFileType" module="misc">
+    <class name="FileType" oldname="wxFileType" module="_misc">
       <constructor name="FileType" overloaded="no">
       <constructor name="FileType" overloaded="no">
-        <autodoc>__init__(FileTypeInfo ftInfo) -&gt; FileType</autodoc>
+        <autodoc>__init__(self, FileTypeInfo ftInfo) -&gt; FileType</autodoc>
         <paramlist>
           <param name="ftInfo" type="FileTypeInfo" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxFileType" overloaded="no">
         <paramlist>
           <param name="ftInfo" type="FileTypeInfo" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxFileType" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetMimeType" type="PyObject" overloaded="no">
       </destructor>
       <method name="GetMimeType" type="PyObject" overloaded="no">
-        <autodoc>GetMimeType() -&gt; PyObject</autodoc>
+        <autodoc>GetMimeType(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetMimeTypes" type="PyObject" overloaded="no">
       </method>
       <method name="GetMimeTypes" type="PyObject" overloaded="no">
-        <autodoc>GetMimeTypes() -&gt; PyObject</autodoc>
+        <autodoc>GetMimeTypes(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetExtensions" type="PyObject" overloaded="no">
       </method>
       <method name="GetExtensions" type="PyObject" overloaded="no">
-        <autodoc>GetExtensions() -&gt; PyObject</autodoc>
+        <autodoc>GetExtensions(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
-        <autodoc>GetIcon() -&gt; Icon</autodoc>
+        <autodoc>GetIcon(self) -&gt; Icon</autodoc>
       </method>
       <method name="GetIconInfo" type="PyObject" overloaded="no">
       </method>
       <method name="GetIconInfo" type="PyObject" overloaded="no">
-        <autodoc>GetIconInfo() -&gt; PyObject</autodoc>
+        <autodoc>GetIconInfo(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetDescription" type="PyObject" overloaded="no">
       </method>
       <method name="GetDescription" type="PyObject" overloaded="no">
-        <autodoc>GetDescription() -&gt; PyObject</autodoc>
+        <autodoc>GetDescription(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetOpenCommand" type="PyObject" overloaded="no">
       </method>
       <method name="GetOpenCommand" type="PyObject" overloaded="no">
-        <autodoc>GetOpenCommand(String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
+        <autodoc>GetOpenCommand(self, String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="mimetype" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetPrintCommand" type="PyObject" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="mimetype" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetPrintCommand" type="PyObject" overloaded="no">
-        <autodoc>GetPrintCommand(String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
+        <autodoc>GetPrintCommand(self, String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="mimetype" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetAllCommands" type="PyObject" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="mimetype" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetAllCommands" type="PyObject" overloaded="no">
-        <autodoc>GetAllCommands(String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
+        <autodoc>GetAllCommands(self, String filename, String mimetype=EmptyString) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="mimetype" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="SetCommand" type="bool" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="mimetype" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="SetCommand" type="bool" overloaded="no">
-        <autodoc>SetCommand(String cmd, String verb, bool overwriteprompt=True) -&gt; bool</autodoc>
+        <autodoc>SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="cmd" type="String" default=""/>
           <param name="verb" type="String" default=""/>
         <paramlist>
           <param name="cmd" type="String" default=""/>
           <param name="verb" type="String" default=""/>
@@ -21606,14 +24038,14 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="SetDefaultIcon" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultIcon" type="bool" overloaded="no">
-        <autodoc>SetDefaultIcon(String cmd=EmptyString, int index=0) -&gt; bool</autodoc>
+        <autodoc>SetDefaultIcon(self, String cmd=EmptyString, int index=0) -&gt; bool</autodoc>
         <paramlist>
           <param name="cmd" type="String" default="wxPyEmptyString"/>
           <param name="index" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Unassociate" type="bool" overloaded="no">
         <paramlist>
           <param name="cmd" type="String" default="wxPyEmptyString"/>
           <param name="index" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="Unassociate" type="bool" overloaded="no">
-        <autodoc>Unassociate() -&gt; bool</autodoc>
+        <autodoc>Unassociate(self) -&gt; bool</autodoc>
       </method>
       <staticmethod name="ExpandCommand" type="String" overloaded="no">
         <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -&gt; String</autodoc>
       </method>
       <staticmethod name="ExpandCommand" type="String" overloaded="no">
         <autodoc>ExpandCommand(String command, String filename, String mimetype=EmptyString) -&gt; String</autodoc>
@@ -21624,12 +24056,12 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
         </paramlist>
       </staticmethod>
     </class>
         </paramlist>
       </staticmethod>
     </class>
-    <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="misc">
+    <class name="MimeTypesManager" oldname="wxMimeTypesManager" module="_misc">
       <constructor name="MimeTypesManager" overloaded="no">
       <constructor name="MimeTypesManager" overloaded="no">
-        <autodoc>__init__() -&gt; MimeTypesManager</autodoc>
+        <autodoc>__init__(self) -&gt; MimeTypesManager</autodoc>
       </constructor>
       <destructor name="~wxMimeTypesManager" overloaded="no">
       </constructor>
       <destructor name="~wxMimeTypesManager" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="IsOfType" type="bool" overloaded="no">
         <autodoc>IsOfType(String mimeType, String wildcard) -&gt; bool</autodoc>
       </destructor>
       <staticmethod name="IsOfType" type="bool" overloaded="no">
         <autodoc>IsOfType(String mimeType, String wildcard) -&gt; bool</autodoc>
@@ -21639,57 +24071,57 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
         </paramlist>
       </staticmethod>
       <method name="Initialize" type="" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="Initialize" type="" overloaded="no">
-        <autodoc>Initialize(int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc>
+        <autodoc>Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)</autodoc>
         <paramlist>
           <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/>
           <param name="extraDir" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="ClearData" type="" overloaded="no">
         <paramlist>
           <param name="mailcapStyle" type="int" default="wxMAILCAP_ALL"/>
           <param name="extraDir" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="ClearData" type="" overloaded="no">
-        <autodoc>ClearData()</autodoc>
+        <autodoc>ClearData(self)</autodoc>
       </method>
       <method name="GetFileTypeFromExtension" type="FileType" overloaded="no">
       </method>
       <method name="GetFileTypeFromExtension" type="FileType" overloaded="no">
-        <autodoc>GetFileTypeFromExtension(String ext) -&gt; FileType</autodoc>
+        <autodoc>GetFileTypeFromExtension(self, String ext) -&gt; FileType</autodoc>
         <paramlist>
           <param name="ext" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no">
         <paramlist>
           <param name="ext" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFileTypeFromMimeType" type="FileType" overloaded="no">
-        <autodoc>GetFileTypeFromMimeType(String mimeType) -&gt; FileType</autodoc>
+        <autodoc>GetFileTypeFromMimeType(self, String mimeType) -&gt; FileType</autodoc>
         <paramlist>
           <param name="mimeType" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ReadMailcap" type="bool" overloaded="no">
         <paramlist>
           <param name="mimeType" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ReadMailcap" type="bool" overloaded="no">
-        <autodoc>ReadMailcap(String filename, bool fallback=False) -&gt; bool</autodoc>
+        <autodoc>ReadMailcap(self, String filename, bool fallback=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="fallback" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="ReadMimeTypes" type="bool" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="fallback" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="ReadMimeTypes" type="bool" overloaded="no">
-        <autodoc>ReadMimeTypes(String filename) -&gt; bool</autodoc>
+        <autodoc>ReadMimeTypes(self, String filename) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnumAllFileTypes" type="PyObject" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnumAllFileTypes" type="PyObject" overloaded="no">
-        <autodoc>EnumAllFileTypes() -&gt; PyObject</autodoc>
+        <autodoc>EnumAllFileTypes(self) -&gt; PyObject</autodoc>
       </method>
       <method name="AddFallback" type="" overloaded="no">
       </method>
       <method name="AddFallback" type="" overloaded="no">
-        <autodoc>AddFallback(FileTypeInfo ft)</autodoc>
+        <autodoc>AddFallback(self, FileTypeInfo ft)</autodoc>
         <paramlist>
           <param name="ft" type="FileTypeInfo" default=""/>
         </paramlist>
       </method>
       <method name="Associate" type="FileType" overloaded="no">
         <paramlist>
           <param name="ft" type="FileTypeInfo" default=""/>
         </paramlist>
       </method>
       <method name="Associate" type="FileType" overloaded="no">
-        <autodoc>Associate(FileTypeInfo ftInfo) -&gt; FileType</autodoc>
+        <autodoc>Associate(self, FileTypeInfo ftInfo) -&gt; FileType</autodoc>
         <paramlist>
           <param name="ftInfo" type="FileTypeInfo" default=""/>
         </paramlist>
       </method>
       <method name="Unassociate" type="bool" overloaded="no">
         <paramlist>
           <param name="ftInfo" type="FileTypeInfo" default=""/>
         </paramlist>
       </method>
       <method name="Unassociate" type="bool" overloaded="no">
-        <autodoc>Unassociate(FileType ft) -&gt; bool</autodoc>
+        <autodoc>Unassociate(self, FileType ft) -&gt; bool</autodoc>
         <paramlist>
           <param name="ft" type="FileType" default=""/>
         </paramlist>
         <paramlist>
           <param name="ft" type="FileType" default=""/>
         </paramlist>
@@ -21698,12 +24130,198 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ArtProvider" oldname="wxPyArtProvider" module="misc">
+    <class name="ArtProvider" oldname="wxPyArtProvider" module="_misc">
+      <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets
+application. When wxWidgets needs to display an icon or a bitmap (e.g.
+in the standard file dialog), it does not use hard-coded resource but
+asks wx.ArtProvider for it instead. This way the users can plug in
+their own wx.ArtProvider class and easily replace standard art with
+his/her own version. It is easy thing to do: all that is needed is
+to derive a class from wx.ArtProvider, override it's CreateBitmap
+method and register the provider with wx.ArtProvider.PushProvider::
+
+    class MyArtProvider(wx.ArtProvider):
+        def __init__(self):
+            wx.ArtProvider.__init__(self)
+
+        def CreateBitmap(self, artid, client, size):
+            ...
+            return bmp
+
+
+Identifying art resources
+-------------------------
+
+Every bitmap is known to wx.ArtProvider under an unique ID that is
+used when requesting a resource from it. The IDs can have one of the
+following predefined values.  Additionally, any string recognized by
+custom art providers registered using `PushProvider` may be used.
+
+GTK+ Note
+---------
+
+When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used
+as well.  Additionally, if wxGTK was compiled against GTK+ &gt;= 2.4, then it is
+also possible to load icons from current icon theme by specifying their name
+without the extension and directory components. Icon themes recognized by GTK+
+follow the freedesktop.org Icon Themes specification.  Note that themes are
+not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap
+or wx.NullIcon.  The default theme is typically installed in /usr/share/icons/hicolor.
+
+
+    * wx.ART_ADD_BOOKMARK
+    * wx.ART_DEL_BOOKMARK
+    * wx.ART_HELP_SIDE_PANEL
+    * wx.ART_HELP_SETTINGS
+    * wx.ART_HELP_BOOK
+    * wx.ART_HELP_FOLDER
+    * wx.ART_HELP_PAGE
+    * wx.ART_GO_BACK
+    * wx.ART_GO_FORWARD
+    * wx.ART_GO_UP
+    * wx.ART_GO_DOWN
+    * wx.ART_GO_TO_PARENT
+    * wx.ART_GO_HOME
+    * wx.ART_FILE_OPEN
+    * wx.ART_PRINT
+    * wx.ART_HELP
+    * wx.ART_TIP
+    * wx.ART_REPORT_VIEW
+    * wx.ART_LIST_VIEW
+    * wx.ART_NEW_DIR
+    * wx.ART_FOLDER
+    * wx.ART_GO_DIR_UP
+    * wx.ART_EXECUTABLE_FILE
+    * wx.ART_NORMAL_FILE
+    * wx.ART_TICK_MARK
+    * wx.ART_CROSS_MARK
+    * wx.ART_ERROR
+    * wx.ART_QUESTION
+    * wx.ART_WARNING
+    * wx.ART_INFORMATION
+    * wx.ART_MISSING_IMAGE 
+
+
+Clients
+-------
+
+The Client is the entity that calls wx.ArtProvider's `GetBitmap` or
+`GetIcon` function.  Client IDs serve as a hint to wx.ArtProvider
+that is supposed to help it to choose the best looking bitmap. For
+example it is often desirable to use slightly different icons in menus
+and toolbars even though they represent the same action (e.g.
+wx.ART_FILE_OPEN). Remember that this is really only a hint for
+wx.ArtProvider -- it is common that `wx.ArtProvider.GetBitmap` returns
+identical bitmap for different client values!
+
+    * wx.ART_TOOLBAR
+    * wx.ART_MENU
+    * wx.ART_FRAME_ICON
+    * wx.ART_CMN_DIALOG
+    * wx.ART_HELP_BROWSER
+    * wx.ART_MESSAGE_BOX
+    * wx.ART_BUTTON
+    * wx.ART_OTHER (used for all requests that don't fit into any
+      of the categories above)
+</docstring>
       <constructor name="wxPyArtProvider" overloaded="no">
       <constructor name="wxPyArtProvider" overloaded="no">
-        <autodoc>__init__() -&gt; ArtProvider</autodoc>
+        <autodoc>__init__(self) -&gt; ArtProvider</autodoc>
+        <docstring>The wx.ArtProvider class is used to customize the look of wxWidgets
+application. When wxWidgets needs to display an icon or a bitmap (e.g.
+in the standard file dialog), it does not use hard-coded resource but
+asks wx.ArtProvider for it instead. This way the users can plug in
+their own wx.ArtProvider class and easily replace standard art with
+his/her own version. It is easy thing to do: all that is needed is
+to derive a class from wx.ArtProvider, override it's CreateBitmap
+method and register the provider with wx.ArtProvider.PushProvider::
+
+    class MyArtProvider(wx.ArtProvider):
+        def __init__(self):
+            wx.ArtProvider.__init__(self)
+
+        def CreateBitmap(self, artid, client, size):
+            ...
+            return bmp
+
+
+Identifying art resources
+-------------------------
+
+Every bitmap is known to wx.ArtProvider under an unique ID that is
+used when requesting a resource from it. The IDs can have one of the
+following predefined values.  Additionally, any string recognized by
+custom art providers registered using `PushProvider` may be used.
+
+GTK+ Note
+---------
+
+When running under GTK+ 2, GTK+ stock item IDs (e.g. 'gtk-cdrom') may be used
+as well.  Additionally, if wxGTK was compiled against GTK+ &gt;= 2.4, then it is
+also possible to load icons from current icon theme by specifying their name
+without the extension and directory components. Icon themes recognized by GTK+
+follow the freedesktop.org Icon Themes specification.  Note that themes are
+not guaranteed to contain all icons, so wx.ArtProvider may return wx.NullBitmap
+or wx.NullIcon.  The default theme is typically installed in /usr/share/icons/hicolor.
+
+
+    * wx.ART_ADD_BOOKMARK
+    * wx.ART_DEL_BOOKMARK
+    * wx.ART_HELP_SIDE_PANEL
+    * wx.ART_HELP_SETTINGS
+    * wx.ART_HELP_BOOK
+    * wx.ART_HELP_FOLDER
+    * wx.ART_HELP_PAGE
+    * wx.ART_GO_BACK
+    * wx.ART_GO_FORWARD
+    * wx.ART_GO_UP
+    * wx.ART_GO_DOWN
+    * wx.ART_GO_TO_PARENT
+    * wx.ART_GO_HOME
+    * wx.ART_FILE_OPEN
+    * wx.ART_PRINT
+    * wx.ART_HELP
+    * wx.ART_TIP
+    * wx.ART_REPORT_VIEW
+    * wx.ART_LIST_VIEW
+    * wx.ART_NEW_DIR
+    * wx.ART_FOLDER
+    * wx.ART_GO_DIR_UP
+    * wx.ART_EXECUTABLE_FILE
+    * wx.ART_NORMAL_FILE
+    * wx.ART_TICK_MARK
+    * wx.ART_CROSS_MARK
+    * wx.ART_ERROR
+    * wx.ART_QUESTION
+    * wx.ART_WARNING
+    * wx.ART_INFORMATION
+    * wx.ART_MISSING_IMAGE 
+
+
+Clients
+-------
+
+The Client is the entity that calls wx.ArtProvider's `GetBitmap` or
+`GetIcon` function.  Client IDs serve as a hint to wx.ArtProvider
+that is supposed to help it to choose the best looking bitmap. For
+example it is often desirable to use slightly different icons in menus
+and toolbars even though they represent the same action (e.g.
+wx.ART_FILE_OPEN). Remember that this is really only a hint for
+wx.ArtProvider -- it is common that `wx.ArtProvider.GetBitmap` returns
+identical bitmap for different client values!
+
+    * wx.ART_TOOLBAR
+    * wx.ART_MENU
+    * wx.ART_FRAME_ICON
+    * wx.ART_CMN_DIALOG
+    * wx.ART_HELP_BROWSER
+    * wx.ART_MESSAGE_BOX
+    * wx.ART_BUTTON
+    * wx.ART_OTHER (used for all requests that don't fit into any
+      of the categories above)
+</docstring>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -21722,8 +24340,8 @@ Create(int size, wxByte data) -&gt; bool</autodoc>
       </staticmethod>
       <staticmethod name="RemoveProvider" type="bool" overloaded="no">
         <autodoc>RemoveProvider(ArtProvider provider) -&gt; bool</autodoc>
       </staticmethod>
       <staticmethod name="RemoveProvider" type="bool" overloaded="no">
         <autodoc>RemoveProvider(ArtProvider provider) -&gt; bool</autodoc>
-        <docstring>Remove provider. The provider must have been added previously!
-The provider is _not_ deleted.</docstring>
+        <docstring>Remove provider. The provider must have been added previously!  The
+provider is _not_ deleted.</docstring>
         <paramlist>
           <param name="provider" type="ArtProvider" default=""/>
         </paramlist>
         <paramlist>
           <param name="provider" type="ArtProvider" default=""/>
         </paramlist>
@@ -21740,7 +24358,7 @@ wx.NullBitmap if no provider provides it.</docstring>
       </staticmethod>
       <staticmethod name="GetIcon" type="Icon" overloaded="no">
         <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -&gt; Icon</autodoc>
       </staticmethod>
       <staticmethod name="GetIcon" type="Icon" overloaded="no">
         <autodoc>GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -&gt; Icon</autodoc>
-        <docstring>Query the providers for icon with given ID and return it. Return
+        <docstring>Query the providers for icon with given ID and return it.  Return
 wx.NullIcon if no provider provides it.</docstring>
         <paramlist>
           <param name="id" type="String" default=""/>
 wx.NullIcon if no provider provides it.</docstring>
         <paramlist>
           <param name="id" type="String" default=""/>
@@ -21749,39 +24367,38 @@ wx.NullIcon if no provider provides it.</docstring>
         </paramlist>
       </staticmethod>
       <method name="Destroy" type="" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
       </method>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="ConfigBase" oldname="wxConfigBase" module="misc">
+    <class name="ConfigBase" oldname="wxConfigBase" module="_misc">
       <docstring>wx.ConfigBase class defines the basic interface of all config
       <docstring>wx.ConfigBase class defines the basic interface of all config
-classes. It can not be used by itself (it is an abstract base
-class) and you will always use one of its derivations: wx.Config
-or wx.FileConfig.
-
-wx.ConfigBase organizes the items in a tree-like structure,
-modeled after the Unix/Dos filesystem. There are groups that act
-like directories and entries, key/value pairs that act like
-files.  There is always one current group given by the current
-path.  As in the file system case, to specify a key in the config
-class you must use a path to it.  Config classes also support the
-notion of the current group, which makes it possible to use
-relative paths.
+classes. It can not be used by itself (it is an abstract base class)
+and you will always use one of its derivations: wx.Config or
+wx.FileConfig.
+
+wx.ConfigBase organizes the items in a tree-like structure, modeled
+after the Unix/Dos filesystem. There are groups that act like
+directories and entries, key/value pairs that act like files.  There
+is always one current group given by the current path.  As in the file
+system case, to specify a key in the config class you must use a path
+to it.  Config classes also support the notion of the current group,
+which makes it possible to use relative paths.
 
 Keys are pairs "key_name = value" where value may be of string,
 integer floating point or boolean, you can not store binary data
 
 Keys are pairs "key_name = value" where value may be of string,
 integer floating point or boolean, you can not store binary data
-without first encoding it as a string.  For performance reasons
-items should be kept small, no more than a couple kilobytes.
+without first encoding it as a string.  For performance reasons items
+should be kept small, no more than a couple kilobytes.
 </docstring>
       <destructor name="~wxConfigBase" overloaded="no">
 </docstring>
       <destructor name="~wxConfigBase" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="Set" type="ConfigBase" overloaded="no">
         <autodoc>Set(ConfigBase config) -&gt; ConfigBase</autodoc>
       </destructor>
       <staticmethod name="Set" type="ConfigBase" overloaded="no">
         <autodoc>Set(ConfigBase config) -&gt; ConfigBase</autodoc>
-        <docstring>Sets the global config object (the one returned by Get) and
-returns a reference to the previous global config object.</docstring>
+        <docstring>Sets the global config object (the one returned by Get) and returns a
+reference to the previous global config object.</docstring>
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
         </paramlist>
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
         </paramlist>
@@ -21801,34 +24418,35 @@ current platform.</docstring>
       </staticmethod>
       <staticmethod name="DontCreateOnDemand" type="" overloaded="no">
         <autodoc>DontCreateOnDemand()</autodoc>
       </staticmethod>
       <staticmethod name="DontCreateOnDemand" type="" overloaded="no">
         <autodoc>DontCreateOnDemand()</autodoc>
-        <docstring>Should Get() try to create a new log object if there isn't a current one?</docstring>
+        <docstring>Should Get() try to create a new log object if there isn't a current
+one?</docstring>
       </staticmethod>
       <method name="SetPath" type="" overloaded="no">
       </staticmethod>
       <method name="SetPath" type="" overloaded="no">
-        <autodoc>SetPath(String path)</autodoc>
-        <docstring>Set current path: if the first character is '/', it's the absolute path,
-otherwise it's a relative path. '..' is supported. If the strPath
-doesn't exist it is created.</docstring>
+        <autodoc>SetPath(self, String path)</autodoc>
+        <docstring>Set current path: if the first character is '/', it's the absolute
+path, otherwise it's a relative path. '..' is supported. If the
+strPath doesn't exist it is created.</docstring>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPath" type="String" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPath" type="String" overloaded="no">
-        <autodoc>GetPath() -&gt; String</autodoc>
+        <autodoc>GetPath(self) -&gt; String</autodoc>
         <docstring>Retrieve the current path (always as absolute path)</docstring>
       </method>
       <method name="GetFirstGroup" type="PyObject" overloaded="no">
         <autodoc>GetFirstGroup() -&gt; (more, value, index)</autodoc>
         <docstring>Retrieve the current path (always as absolute path)</docstring>
       </method>
       <method name="GetFirstGroup" type="PyObject" overloaded="no">
         <autodoc>GetFirstGroup() -&gt; (more, value, index)</autodoc>
-        <docstring>Allows enumerating the subgroups in a config object.  Returns
-a tuple containing a flag indicating there are more items, the
-name of the current item, and an index to pass to GetNextGroup to
-fetch the next item.</docstring>
+        <docstring>Allows enumerating the subgroups in a config object.  Returns a tuple
+containing a flag indicating there are more items, the name of the
+current item, and an index to pass to GetNextGroup to fetch the next
+item.</docstring>
       </method>
       <method name="GetNextGroup" type="PyObject" overloaded="no">
         <autodoc>GetNextGroup(long index) -&gt; (more, value, index)</autodoc>
       </method>
       <method name="GetNextGroup" type="PyObject" overloaded="no">
         <autodoc>GetNextGroup(long index) -&gt; (more, value, index)</autodoc>
-        <docstring>Allows enumerating the subgroups in a config object.  Returns
-a tuple containing a flag indicating there are more items, the
-name of the current item, and an index to pass to GetNextGroup to
-fetch the next item.</docstring>
+        <docstring>Allows enumerating the subgroups in a config object.  Returns a tuple
+containing a flag indicating there are more items, the name of the
+current item, and an index to pass to GetNextGroup to fetch the next
+item.</docstring>
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
@@ -21836,66 +24454,66 @@ fetch the next item.</docstring>
       <method name="GetFirstEntry" type="PyObject" overloaded="no">
         <autodoc>GetFirstEntry() -&gt; (more, value, index)</autodoc>
         <docstring>Allows enumerating the entries in the current group in a config
       <method name="GetFirstEntry" type="PyObject" overloaded="no">
         <autodoc>GetFirstEntry() -&gt; (more, value, index)</autodoc>
         <docstring>Allows enumerating the entries in the current group in a config
-object.  Returns a tuple containing a flag indicating there are
-more items, the name of the current item, and an index to pass to
+object.  Returns a tuple containing a flag indicating there are more
+items, the name of the current item, and an index to pass to
 GetNextGroup to fetch the next item.</docstring>
       </method>
       <method name="GetNextEntry" type="PyObject" overloaded="no">
         <autodoc>GetNextEntry(long index) -&gt; (more, value, index)</autodoc>
         <docstring>Allows enumerating the entries in the current group in a config
 GetNextGroup to fetch the next item.</docstring>
       </method>
       <method name="GetNextEntry" type="PyObject" overloaded="no">
         <autodoc>GetNextEntry(long index) -&gt; (more, value, index)</autodoc>
         <docstring>Allows enumerating the entries in the current group in a config
-object.  Returns a tuple containing a flag indicating there are
-more items, the name of the current item, and an index to pass to
+object.  Returns a tuple containing a flag indicating there are more
+items, the name of the current item, and an index to pass to
 GetNextGroup to fetch the next item.</docstring>
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetNumberOfEntries" type="size_t" overloaded="no">
 GetNextGroup to fetch the next item.</docstring>
         <paramlist>
           <param name="index" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetNumberOfEntries" type="size_t" overloaded="no">
-        <autodoc>GetNumberOfEntries(bool recursive=False) -&gt; size_t</autodoc>
-        <docstring>Get the number of entries in the current group, with or
-without its subgroups.</docstring>
+        <autodoc>GetNumberOfEntries(self, bool recursive=False) -&gt; size_t</autodoc>
+        <docstring>Get the number of entries in the current group, with or without its
+subgroups.</docstring>
         <paramlist>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetNumberOfGroups" type="size_t" overloaded="no">
         <paramlist>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetNumberOfGroups" type="size_t" overloaded="no">
-        <autodoc>GetNumberOfGroups(bool recursive=False) -&gt; size_t</autodoc>
-        <docstring>Get the number of subgroups in the current group, with or
-without its subgroups.</docstring>
+        <autodoc>GetNumberOfGroups(self, bool recursive=False) -&gt; size_t</autodoc>
+        <docstring>Get the number of subgroups in the current group, with or without its
+subgroups.</docstring>
         <paramlist>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="HasGroup" type="bool" overloaded="no">
         <paramlist>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="HasGroup" type="bool" overloaded="no">
-        <autodoc>HasGroup(String name) -&gt; bool</autodoc>
+        <autodoc>HasGroup(self, String name) -&gt; bool</autodoc>
         <docstring>Returns True if the group by this name exists</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasEntry" type="bool" overloaded="no">
         <docstring>Returns True if the group by this name exists</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasEntry" type="bool" overloaded="no">
-        <autodoc>HasEntry(String name) -&gt; bool</autodoc>
+        <autodoc>HasEntry(self, String name) -&gt; bool</autodoc>
         <docstring>Returns True if the entry by this name exists</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Exists" type="bool" overloaded="no">
         <docstring>Returns True if the entry by this name exists</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Exists" type="bool" overloaded="no">
-        <autodoc>Exists(String name) -&gt; bool</autodoc>
+        <autodoc>Exists(self, String name) -&gt; bool</autodoc>
         <docstring>Returns True if either a group or an entry with a given name exists</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no">
         <docstring>Returns True if either a group or an entry with a given name exists</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetEntryType" type="wxConfigBase::EntryType" overloaded="no">
-        <autodoc>GetEntryType(String name) -&gt; int</autodoc>
+        <autodoc>GetEntryType(self, String name) -&gt; int</autodoc>
         <docstring>Get the type of the entry.  Returns one of the wx.Config.Type_XXX values.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Read" type="String" overloaded="no">
         <docstring>Get the type of the entry.  Returns one of the wx.Config.Type_XXX values.</docstring>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Read" type="String" overloaded="no">
-        <autodoc>Read(String key, String defaultVal=EmptyString) -&gt; String</autodoc>
+        <autodoc>Read(self, String key, String defaultVal=EmptyString) -&gt; String</autodoc>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21903,7 +24521,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="ReadInt" type="long" overloaded="no">
         </paramlist>
       </method>
       <method name="ReadInt" type="long" overloaded="no">
-        <autodoc>ReadInt(String key, long defaultVal=0) -&gt; long</autodoc>
+        <autodoc>ReadInt(self, String key, long defaultVal=0) -&gt; long</autodoc>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21911,7 +24529,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="ReadFloat" type="double" overloaded="no">
         </paramlist>
       </method>
       <method name="ReadFloat" type="double" overloaded="no">
-        <autodoc>ReadFloat(String key, double defaultVal=0.0) -&gt; double</autodoc>
+        <autodoc>ReadFloat(self, String key, double defaultVal=0.0) -&gt; double</autodoc>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21919,7 +24537,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="ReadBool" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="ReadBool" type="bool" overloaded="no">
-        <autodoc>ReadBool(String key, bool defaultVal=False) -&gt; bool</autodoc>
+        <autodoc>ReadBool(self, String key, bool defaultVal=False) -&gt; bool</autodoc>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>Returns the value of key if it exists, defaultVal otherwise.</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21927,7 +24545,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="Write" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Write" type="bool" overloaded="no">
-        <autodoc>Write(String key, String value) -&gt; bool</autodoc>
+        <autodoc>Write(self, String key, String value) -&gt; bool</autodoc>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21935,7 +24553,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="WriteInt" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="WriteInt" type="bool" overloaded="no">
-        <autodoc>WriteInt(String key, long value) -&gt; bool</autodoc>
+        <autodoc>WriteInt(self, String key, long value) -&gt; bool</autodoc>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21943,7 +24561,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="WriteFloat" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="WriteFloat" type="bool" overloaded="no">
-        <autodoc>WriteFloat(String key, double value) -&gt; bool</autodoc>
+        <autodoc>WriteFloat(self, String key, double value) -&gt; bool</autodoc>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21951,7 +24569,7 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="WriteBool" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="WriteBool" type="bool" overloaded="no">
-        <autodoc>WriteBool(String key, bool value) -&gt; bool</autodoc>
+        <autodoc>WriteBool(self, String key, bool value) -&gt; bool</autodoc>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         <docstring>write the value (return True on success)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
@@ -21959,14 +24577,14 @@ without its subgroups.</docstring>
         </paramlist>
       </method>
       <method name="Flush" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="Flush" type="bool" overloaded="no">
-        <autodoc>Flush(bool currentOnly=False) -&gt; bool</autodoc>
+        <autodoc>Flush(self, bool currentOnly=False) -&gt; bool</autodoc>
         <docstring>permanently writes all changes</docstring>
         <paramlist>
           <param name="currentOnly" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="RenameEntry" type="bool" overloaded="no">
         <docstring>permanently writes all changes</docstring>
         <paramlist>
           <param name="currentOnly" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="RenameEntry" type="bool" overloaded="no">
-        <autodoc>RenameEntry(String oldName, String newName) -&gt; bool</autodoc>
+        <autodoc>RenameEntry(self, String oldName, String newName) -&gt; bool</autodoc>
         <docstring>Rename an entry.  Returns False on failure (probably because the new
 name is already taken by an existing entry)</docstring>
         <paramlist>
         <docstring>Rename an entry.  Returns False on failure (probably because the new
 name is already taken by an existing entry)</docstring>
         <paramlist>
@@ -21975,8 +24593,8 @@ name is already taken by an existing entry)</docstring>
         </paramlist>
       </method>
       <method name="RenameGroup" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="RenameGroup" type="bool" overloaded="no">
-        <autodoc>RenameGroup(String oldName, String newName) -&gt; bool</autodoc>
-        <docstring>Rename aa group.  Returns False on failure (probably because the new
+        <autodoc>RenameGroup(self, String oldName, String newName) -&gt; bool</autodoc>
+        <docstring>Rename a group.  Returns False on failure (probably because the new
 name is already taken by an existing entry)</docstring>
         <paramlist>
           <param name="oldName" type="String" default=""/>
 name is already taken by an existing entry)</docstring>
         <paramlist>
           <param name="oldName" type="String" default=""/>
@@ -21984,109 +24602,110 @@ name is already taken by an existing entry)</docstring>
         </paramlist>
       </method>
       <method name="DeleteEntry" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="DeleteEntry" type="bool" overloaded="no">
-        <autodoc>DeleteEntry(String key, bool deleteGroupIfEmpty=True) -&gt; bool</autodoc>
-        <docstring>Deletes the specified entry and the group it belongs to if
-it was the last key in it and the second parameter is True</docstring>
+        <autodoc>DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -&gt; bool</autodoc>
+        <docstring>Deletes the specified entry and the group it belongs to if it was the
+last key in it and the second parameter is True</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
           <param name="deleteGroupIfEmpty" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DeleteGroup" type="bool" overloaded="no">
         <paramlist>
           <param name="key" type="String" default=""/>
           <param name="deleteGroupIfEmpty" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DeleteGroup" type="bool" overloaded="no">
-        <autodoc>DeleteGroup(String key) -&gt; bool</autodoc>
+        <autodoc>DeleteGroup(self, String key) -&gt; bool</autodoc>
         <docstring>Delete the group (with all subgroups)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAll" type="bool" overloaded="no">
         <docstring>Delete the group (with all subgroups)</docstring>
         <paramlist>
           <param name="key" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAll" type="bool" overloaded="no">
-        <autodoc>DeleteAll() -&gt; bool</autodoc>
+        <autodoc>DeleteAll(self) -&gt; bool</autodoc>
         <docstring>Delete the whole underlying object (disk file, registry key, ...)
         <docstring>Delete the whole underlying object (disk file, registry key, ...)
-primarly intended for use by desinstallation routine.</docstring>
+primarly intended for use by deinstallation routine.</docstring>
       </method>
       <method name="SetExpandEnvVars" type="" overloaded="no">
       </method>
       <method name="SetExpandEnvVars" type="" overloaded="no">
-        <autodoc>SetExpandEnvVars(bool doIt=True)</autodoc>
-        <docstring>We can automatically expand environment variables in the config entries
-(this option is on by default, you can turn it on/off at any time)</docstring>
+        <autodoc>SetExpandEnvVars(self, bool doIt=True)</autodoc>
+        <docstring>We can automatically expand environment variables in the config
+entries this option is on by default, you can turn it on/off at any
+time)</docstring>
         <paramlist>
           <param name="doIt" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsExpandingEnvVars" type="bool" overloaded="no">
         <paramlist>
           <param name="doIt" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsExpandingEnvVars" type="bool" overloaded="no">
-        <autodoc>IsExpandingEnvVars() -&gt; bool</autodoc>
+        <autodoc>IsExpandingEnvVars(self) -&gt; bool</autodoc>
         <docstring>Are we currently expanding environment variables?</docstring>
       </method>
       <method name="SetRecordDefaults" type="" overloaded="no">
         <docstring>Are we currently expanding environment variables?</docstring>
       </method>
       <method name="SetRecordDefaults" type="" overloaded="no">
-        <autodoc>SetRecordDefaults(bool doIt=True)</autodoc>
+        <autodoc>SetRecordDefaults(self, bool doIt=True)</autodoc>
         <docstring>Set whether the config objec should record default values.</docstring>
         <paramlist>
           <param name="doIt" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsRecordingDefaults" type="bool" overloaded="no">
         <docstring>Set whether the config objec should record default values.</docstring>
         <paramlist>
           <param name="doIt" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="IsRecordingDefaults" type="bool" overloaded="no">
-        <autodoc>IsRecordingDefaults() -&gt; bool</autodoc>
+        <autodoc>IsRecordingDefaults(self) -&gt; bool</autodoc>
         <docstring>Are we currently recording default values?</docstring>
       </method>
       <method name="ExpandEnvVars" type="String" overloaded="no">
         <docstring>Are we currently recording default values?</docstring>
       </method>
       <method name="ExpandEnvVars" type="String" overloaded="no">
-        <autodoc>ExpandEnvVars(String str) -&gt; String</autodoc>
+        <autodoc>ExpandEnvVars(self, String str) -&gt; String</autodoc>
         <docstring>Expand any environment variables in str and return the result</docstring>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetAppName" type="String" overloaded="no">
         <docstring>Expand any environment variables in str and return the result</docstring>
         <paramlist>
           <param name="str" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetAppName" type="String" overloaded="no">
-        <autodoc>GetAppName() -&gt; String</autodoc>
+        <autodoc>GetAppName(self) -&gt; String</autodoc>
       </method>
       <method name="GetVendorName" type="String" overloaded="no">
       </method>
       <method name="GetVendorName" type="String" overloaded="no">
-        <autodoc>GetVendorName() -&gt; String</autodoc>
+        <autodoc>GetVendorName(self) -&gt; String</autodoc>
       </method>
       <method name="SetAppName" type="" overloaded="no">
       </method>
       <method name="SetAppName" type="" overloaded="no">
-        <autodoc>SetAppName(String appName)</autodoc>
+        <autodoc>SetAppName(self, String appName)</autodoc>
         <paramlist>
           <param name="appName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetVendorName" type="" overloaded="no">
         <paramlist>
           <param name="appName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetVendorName" type="" overloaded="no">
-        <autodoc>SetVendorName(String vendorName)</autodoc>
+        <autodoc>SetVendorName(self, String vendorName)</autodoc>
         <paramlist>
           <param name="vendorName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
         <paramlist>
           <param name="vendorName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(long style)</autodoc>
+        <autodoc>SetStyle(self, long style)</autodoc>
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetStyle" type="long" overloaded="no">
-        <autodoc>GetStyle() -&gt; long</autodoc>
+        <autodoc>GetStyle(self) -&gt; long</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="Config" oldname="wxConfig" module="misc">
+    <class name="Config" oldname="wxConfig" module="_misc">
       <docstring>This ConfigBase-derived class will use the registry on Windows,
 and will be a wx.FileConfig on other platforms.</docstring>
       <baseclass name="ConfigBase"/>
       <constructor name="Config" overloaded="no">
       <docstring>This ConfigBase-derived class will use the registry on Windows,
 and will be a wx.FileConfig on other platforms.</docstring>
       <baseclass name="ConfigBase"/>
       <constructor name="Config" overloaded="no">
-        <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString, 
+        <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString, 
     String localFilename=EmptyString, String globalFilename=EmptyString, 
     String localFilename=EmptyString, String globalFilename=EmptyString, 
-    long style=0) -&gt; Config</autodoc>
+    long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -&gt; Config</autodoc>
         <paramlist>
           <param name="appName" type="String" default="wxPyEmptyString"/>
           <param name="vendorName" type="String" default="wxPyEmptyString"/>
           <param name="localFilename" type="String" default="wxPyEmptyString"/>
           <param name="globalFilename" type="String" default="wxPyEmptyString"/>
         <paramlist>
           <param name="appName" type="String" default="wxPyEmptyString"/>
           <param name="vendorName" type="String" default="wxPyEmptyString"/>
           <param name="localFilename" type="String" default="wxPyEmptyString"/>
           <param name="globalFilename" type="String" default="wxPyEmptyString"/>
-          <param name="style" type="long" default="0"/>
+          <param name="style" type="long" default="wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE"/>
         </paramlist>
       </constructor>
       <destructor name="~wxConfig" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxConfig" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="FileConfig" oldname="wxFileConfig" module="misc">
+    <class name="FileConfig" oldname="wxFileConfig" module="_misc">
       <docstring>This config class will use a file for storage on all platforms.</docstring>
       <baseclass name="ConfigBase"/>
       <constructor name="FileConfig" overloaded="no">
       <docstring>This config class will use a file for storage on all platforms.</docstring>
       <baseclass name="ConfigBase"/>
       <constructor name="FileConfig" overloaded="no">
-        <autodoc>__init__(String appName=EmptyString, String vendorName=EmptyString, 
+        <autodoc>__init__(self, String appName=EmptyString, String vendorName=EmptyString, 
     String localFilename=EmptyString, String globalFilename=EmptyString, 
     long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -&gt; FileConfig</autodoc>
         <paramlist>
     String localFilename=EmptyString, String globalFilename=EmptyString, 
     long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -&gt; FileConfig</autodoc>
         <paramlist>
@@ -22098,35 +24717,35 @@ and will be a wx.FileConfig on other platforms.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxFileConfig" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxFileConfig" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
     </class>
       </destructor>
     </class>
-    <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="misc">
-      <docstring>A handy little class which changes current path to the path of
-given entry and restores it in the destructoir: so if you declare
-a local variable of this type, you work in the entry directory
-and the path is automatically restored when the function returns.</docstring>
+    <class name="ConfigPathChanger" oldname="wxConfigPathChanger" module="_misc">
+      <docstring>A handy little class which changes current path to the path of given
+entry and restores it in the destructoir: so if you declare a local
+variable of this type, you work in the entry directory and the path is
+automatically restored when the function returns.</docstring>
       <constructor name="ConfigPathChanger" overloaded="no">
       <constructor name="ConfigPathChanger" overloaded="no">
-        <autodoc>__init__(ConfigBase config, String entry) -&gt; ConfigPathChanger</autodoc>
+        <autodoc>__init__(self, ConfigBase config, String entry) -&gt; ConfigPathChanger</autodoc>
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
           <param name="entry" type="String" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxConfigPathChanger" overloaded="no">
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
           <param name="entry" type="String" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxConfigPathChanger" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Name" type="String" overloaded="no">
       </destructor>
       <method name="Name" type="String" overloaded="no">
-        <autodoc>Name() -&gt; String</autodoc>
+        <autodoc>Name(self) -&gt; String</autodoc>
         <docstring>Get the key name</docstring>
       </method>
     </class>
     <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no">
       <autodoc>ExpandEnvVars(String sz) -&gt; String</autodoc>
       <docstring>Replace environment variables ($SOMETHING) with their values. The
         <docstring>Get the key name</docstring>
       </method>
     </class>
     <method name="ExpandEnvVars" oldname="wxExpandEnvVars" type="String" overloaded="no">
       <autodoc>ExpandEnvVars(String sz) -&gt; String</autodoc>
       <docstring>Replace environment variables ($SOMETHING) with their values. The
-format is $VARNAME or ${VARNAME} where VARNAME contains
-alphanumeric characters and '_' only. '$' must be escaped ('\\$')
-in order to be taken literally.</docstring>
+format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric
+characters and '_' only. '$' must be escaped ('\\$') in order to be
+taken literally.</docstring>
       <paramlist>
         <param name="sz" type="String" default=""/>
       </paramlist>
       <paramlist>
         <param name="sz" type="String" default=""/>
       </paramlist>
@@ -22134,9 +24753,9 @@ in order to be taken literally.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="DateTime" oldname="wxDateTime" module="misc">
+    <class name="DateTime" oldname="wxDateTime" module="_misc">
       <constructor name="DateTime" overloaded="no">
       <constructor name="DateTime" overloaded="no">
-        <autodoc>__init__() -&gt; DateTime</autodoc>
+        <autodoc>__init__(self) -&gt; DateTime</autodoc>
       </constructor>
       <constructor name="DateTimeFromTimeT" overloaded="no">
         <autodoc>DateTimeFromTimeT(time_t timet) -&gt; DateTime</autodoc>
       </constructor>
       <constructor name="DateTimeFromTimeT" overloaded="no">
         <autodoc>DateTimeFromTimeT(time_t timet) -&gt; DateTime</autodoc>
@@ -22173,7 +24792,7 @@ in order to be taken literally.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxDateTime" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxDateTime" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="SetCountry" type="" overloaded="no">
         <autodoc>SetCountry(int country)</autodoc>
       </destructor>
       <staticmethod name="SetCountry" type="" overloaded="no">
         <autodoc>SetCountry(int country)</autodoc>
@@ -22289,22 +24908,22 @@ in order to be taken literally.</docstring>
         <autodoc>Today() -&gt; DateTime</autodoc>
       </staticmethod>
       <method name="SetToCurrent" type="DateTime" overloaded="no">
         <autodoc>Today() -&gt; DateTime</autodoc>
       </staticmethod>
       <method name="SetToCurrent" type="DateTime" overloaded="no">
-        <autodoc>SetToCurrent() -&gt; DateTime</autodoc>
+        <autodoc>SetToCurrent(self) -&gt; DateTime</autodoc>
       </method>
       <method name="SetTimeT" type="DateTime" overloaded="no">
       </method>
       <method name="SetTimeT" type="DateTime" overloaded="no">
-        <autodoc>SetTimeT(time_t timet) -&gt; DateTime</autodoc>
+        <autodoc>SetTimeT(self, time_t timet) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="timet" type="time_t" default=""/>
         </paramlist>
       </method>
       <method name="SetJDN" type="DateTime" overloaded="no">
         <paramlist>
           <param name="timet" type="time_t" default=""/>
         </paramlist>
       </method>
       <method name="SetJDN" type="DateTime" overloaded="no">
-        <autodoc>SetJDN(double jdn) -&gt; DateTime</autodoc>
+        <autodoc>SetJDN(self, double jdn) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="jdn" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetHMS" type="DateTime" overloaded="no">
         <paramlist>
           <param name="jdn" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetHMS" type="DateTime" overloaded="no">
-        <autodoc>SetHMS(int hour, int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
+        <autodoc>SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="hour" type="int" default=""/>
           <param name="minute" type="int" default="0"/>
         <paramlist>
           <param name="hour" type="int" default=""/>
           <param name="minute" type="int" default="0"/>
@@ -22313,7 +24932,7 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="Set" type="DateTime" overloaded="no">
         </paramlist>
       </method>
       <method name="Set" type="DateTime" overloaded="no">
-        <autodoc>Set(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, 
+        <autodoc>Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0, 
     int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="day" type="int" default=""/>
     int minute=0, int second=0, int millisec=0) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="day" type="int" default=""/>
@@ -22326,90 +24945,90 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="ResetTime" type="DateTime" overloaded="no">
         </paramlist>
       </method>
       <method name="ResetTime" type="DateTime" overloaded="no">
-        <autodoc>ResetTime() -&gt; DateTime</autodoc>
+        <autodoc>ResetTime(self) -&gt; DateTime</autodoc>
       </method>
       <method name="SetYear" type="DateTime" overloaded="no">
       </method>
       <method name="SetYear" type="DateTime" overloaded="no">
-        <autodoc>SetYear(int year) -&gt; DateTime</autodoc>
+        <autodoc>SetYear(self, int year) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="year" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMonth" type="DateTime" overloaded="no">
         <paramlist>
           <param name="year" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMonth" type="DateTime" overloaded="no">
-        <autodoc>SetMonth(int month) -&gt; DateTime</autodoc>
+        <autodoc>SetMonth(self, int month) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="month" type="wxDateTime::Month" default=""/>
         </paramlist>
       </method>
       <method name="SetDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="month" type="wxDateTime::Month" default=""/>
         </paramlist>
       </method>
       <method name="SetDay" type="DateTime" overloaded="no">
-        <autodoc>SetDay(int day) -&gt; DateTime</autodoc>
+        <autodoc>SetDay(self, int day) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="day" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHour" type="DateTime" overloaded="no">
         <paramlist>
           <param name="day" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHour" type="DateTime" overloaded="no">
-        <autodoc>SetHour(int hour) -&gt; DateTime</autodoc>
+        <autodoc>SetHour(self, int hour) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="hour" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinute" type="DateTime" overloaded="no">
         <paramlist>
           <param name="hour" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMinute" type="DateTime" overloaded="no">
-        <autodoc>SetMinute(int minute) -&gt; DateTime</autodoc>
+        <autodoc>SetMinute(self, int minute) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="minute" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSecond" type="DateTime" overloaded="no">
         <paramlist>
           <param name="minute" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSecond" type="DateTime" overloaded="no">
-        <autodoc>SetSecond(int second) -&gt; DateTime</autodoc>
+        <autodoc>SetSecond(self, int second) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="second" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMillisecond" type="DateTime" overloaded="no">
         <paramlist>
           <param name="second" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMillisecond" type="DateTime" overloaded="no">
-        <autodoc>SetMillisecond(int millisecond) -&gt; DateTime</autodoc>
+        <autodoc>SetMillisecond(self, int millisecond) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="millisecond" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no">
         <paramlist>
           <param name="millisecond" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetToWeekDayInSameWeek" type="DateTime" overloaded="no">
-        <autodoc>SetToWeekDayInSameWeek(int weekday, int flags=Monday_First) -&gt; DateTime</autodoc>
+        <autodoc>SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
         </paramlist>
       </method>
       <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no">
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
         </paramlist>
       </method>
       <method name="GetWeekDayInSameWeek" type="DateTime" overloaded="no">
-        <autodoc>GetWeekDayInSameWeek(int weekday, int flags=Monday_First) -&gt; DateTime</autodoc>
+        <autodoc>GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
         </paramlist>
       </method>
       <method name="SetToNextWeekDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
         </paramlist>
       </method>
       <method name="SetToNextWeekDay" type="DateTime" overloaded="no">
-        <autodoc>SetToNextWeekDay(int weekday) -&gt; DateTime</autodoc>
+        <autodoc>SetToNextWeekDay(self, int weekday) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="GetNextWeekDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="GetNextWeekDay" type="DateTime" overloaded="no">
-        <autodoc>GetNextWeekDay(int weekday) -&gt; DateTime</autodoc>
+        <autodoc>GetNextWeekDay(self, int weekday) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="SetToPrevWeekDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="SetToPrevWeekDay" type="DateTime" overloaded="no">
-        <autodoc>SetToPrevWeekDay(int weekday) -&gt; DateTime</autodoc>
+        <autodoc>SetToPrevWeekDay(self, int weekday) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevWeekDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevWeekDay" type="DateTime" overloaded="no">
-        <autodoc>GetPrevWeekDay(int weekday) -&gt; DateTime</autodoc>
+        <autodoc>GetPrevWeekDay(self, int weekday) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="SetToWeekDay" type="bool" overloaded="no">
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="SetToWeekDay" type="bool" overloaded="no">
-        <autodoc>SetToWeekDay(int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -&gt; bool</autodoc>
+        <autodoc>SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -&gt; bool</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="n" type="int" default="1"/>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="n" type="int" default="1"/>
@@ -22418,7 +25037,7 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="SetToLastWeekDay" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SetToLastWeekDay" type="bool" overloaded="no">
-        <autodoc>SetToLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -&gt; bool</autodoc>
+        <autodoc>SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -&gt; bool</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
@@ -22426,7 +25045,7 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="GetLastWeekDay" type="DateTime" overloaded="no">
         </paramlist>
       </method>
       <method name="GetLastWeekDay" type="DateTime" overloaded="no">
-        <autodoc>GetLastWeekDay(int weekday, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
+        <autodoc>GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
         <paramlist>
           <param name="weekday" type="wxDateTime::WeekDay" default=""/>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
@@ -22434,7 +25053,7 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="SetToTheWeek" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SetToTheWeek" type="bool" overloaded="no">
-        <autodoc>SetToTheWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -&gt; bool</autodoc>
+        <autodoc>SetToTheWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -&gt; bool</autodoc>
         <paramlist>
           <param name="numWeek" type="int" default=""/>
           <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
         <paramlist>
           <param name="numWeek" type="int" default=""/>
           <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
@@ -22442,7 +25061,7 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="GetWeek" type="DateTime" overloaded="no">
         </paramlist>
       </method>
       <method name="GetWeek" type="DateTime" overloaded="no">
-        <autodoc>GetWeek(int numWeek, int weekday=Mon, int flags=Monday_First) -&gt; DateTime</autodoc>
+        <autodoc>GetWeek(self, int numWeek, int weekday=Mon, int flags=Monday_First) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="numWeek" type="int" default=""/>
           <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
         <paramlist>
           <param name="numWeek" type="int" default=""/>
           <param name="weekday" type="wxDateTime::WeekDay" default="wxDateTime::Mon"/>
@@ -22450,235 +25069,235 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="SetToLastMonthDay" type="DateTime" overloaded="no">
         </paramlist>
       </method>
       <method name="SetToLastMonthDay" type="DateTime" overloaded="no">
-        <autodoc>SetToLastMonthDay(int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
+        <autodoc>SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
           <param name="year" type="int" default="wxDateTime::Inv_Year"/>
         </paramlist>
       </method>
       <method name="GetLastMonthDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
           <param name="year" type="int" default="wxDateTime::Inv_Year"/>
         </paramlist>
       </method>
       <method name="GetLastMonthDay" type="DateTime" overloaded="no">
-        <autodoc>GetLastMonthDay(int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
+        <autodoc>GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
           <param name="year" type="int" default="wxDateTime::Inv_Year"/>
         </paramlist>
       </method>
       <method name="SetToYearDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="month" type="wxDateTime::Month" default="wxDateTime::Inv_Month"/>
           <param name="year" type="int" default="wxDateTime::Inv_Year"/>
         </paramlist>
       </method>
       <method name="SetToYearDay" type="DateTime" overloaded="no">
-        <autodoc>SetToYearDay(int yday) -&gt; DateTime</autodoc>
+        <autodoc>SetToYearDay(self, int yday) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="yday" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetYearDay" type="DateTime" overloaded="no">
         <paramlist>
           <param name="yday" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetYearDay" type="DateTime" overloaded="no">
-        <autodoc>GetYearDay(int yday) -&gt; DateTime</autodoc>
+        <autodoc>GetYearDay(self, int yday) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="yday" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetJulianDayNumber" type="double" overloaded="no">
         <paramlist>
           <param name="yday" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetJulianDayNumber" type="double" overloaded="no">
-        <autodoc>GetJulianDayNumber() -&gt; double</autodoc>
+        <autodoc>GetJulianDayNumber(self) -&gt; double</autodoc>
       </method>
       <method name="GetJDN" type="double" overloaded="no">
       </method>
       <method name="GetJDN" type="double" overloaded="no">
-        <autodoc>GetJDN() -&gt; double</autodoc>
+        <autodoc>GetJDN(self) -&gt; double</autodoc>
       </method>
       <method name="GetModifiedJulianDayNumber" type="double" overloaded="no">
       </method>
       <method name="GetModifiedJulianDayNumber" type="double" overloaded="no">
-        <autodoc>GetModifiedJulianDayNumber() -&gt; double</autodoc>
+        <autodoc>GetModifiedJulianDayNumber(self) -&gt; double</autodoc>
       </method>
       <method name="GetMJD" type="double" overloaded="no">
       </method>
       <method name="GetMJD" type="double" overloaded="no">
-        <autodoc>GetMJD() -&gt; double</autodoc>
+        <autodoc>GetMJD(self) -&gt; double</autodoc>
       </method>
       <method name="GetRataDie" type="double" overloaded="no">
       </method>
       <method name="GetRataDie" type="double" overloaded="no">
-        <autodoc>GetRataDie() -&gt; double</autodoc>
+        <autodoc>GetRataDie(self) -&gt; double</autodoc>
       </method>
       <method name="ToTimezone" type="DateTime" overloaded="no">
       </method>
       <method name="ToTimezone" type="DateTime" overloaded="no">
-        <autodoc>ToTimezone(wxDateTime::TimeZone tz, bool noDST=False) -&gt; DateTime</autodoc>
+        <autodoc>ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default=""/>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="MakeTimezone" type="DateTime" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default=""/>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="MakeTimezone" type="DateTime" overloaded="no">
-        <autodoc>MakeTimezone(wxDateTime::TimeZone tz, bool noDST=False) -&gt; DateTime</autodoc>
+        <autodoc>MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default=""/>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="ToGMT" type="DateTime" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default=""/>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="ToGMT" type="DateTime" overloaded="no">
-        <autodoc>ToGMT(bool noDST=False) -&gt; DateTime</autodoc>
+        <autodoc>ToGMT(self, bool noDST=False) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="MakeGMT" type="DateTime" overloaded="no">
         <paramlist>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="MakeGMT" type="DateTime" overloaded="no">
-        <autodoc>MakeGMT(bool noDST=False) -&gt; DateTime</autodoc>
+        <autodoc>MakeGMT(self, bool noDST=False) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="IsDST" type="int" overloaded="no">
         <paramlist>
           <param name="noDST" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="IsDST" type="int" overloaded="no">
-        <autodoc>IsDST(int country=Country_Default) -&gt; int</autodoc>
+        <autodoc>IsDST(self, int country=Country_Default) -&gt; int</autodoc>
         <paramlist>
           <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
         </paramlist>
       </method>
       <method name="IsValid" type="bool" overloaded="no">
         <paramlist>
           <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
         </paramlist>
       </method>
       <method name="IsValid" type="bool" overloaded="no">
-        <autodoc>IsValid() -&gt; bool</autodoc>
+        <autodoc>IsValid(self) -&gt; bool</autodoc>
       </method>
       <method name="GetTicks" type="time_t" overloaded="no">
       </method>
       <method name="GetTicks" type="time_t" overloaded="no">
-        <autodoc>GetTicks() -&gt; time_t</autodoc>
+        <autodoc>GetTicks(self) -&gt; time_t</autodoc>
       </method>
       <method name="GetYear" type="int" overloaded="no">
       </method>
       <method name="GetYear" type="int" overloaded="no">
-        <autodoc>GetYear(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetMonth" type="wxDateTime::Month" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetMonth" type="wxDateTime::Month" overloaded="no">
-        <autodoc>GetMonth(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetDay" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetDay" type="int" overloaded="no">
-        <autodoc>GetDay(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
-        <autodoc>GetWeekDay(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetHour" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetHour" type="int" overloaded="no">
-        <autodoc>GetHour(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetMinute" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetMinute" type="int" overloaded="no">
-        <autodoc>GetMinute(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetSecond" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetSecond" type="int" overloaded="no">
-        <autodoc>GetSecond(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetMillisecond" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetMillisecond" type="int" overloaded="no">
-        <autodoc>GetMillisecond(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetDayOfYear" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetDayOfYear" type="int" overloaded="no">
-        <autodoc>GetDayOfYear(wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetWeekOfYear" type="int" overloaded="no">
         <paramlist>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetWeekOfYear" type="int" overloaded="no">
-        <autodoc>GetWeekOfYear(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetWeekOfMonth" type="int" overloaded="no">
         <paramlist>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="GetWeekOfMonth" type="int" overloaded="no">
-        <autodoc>GetWeekOfMonth(int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
+        <autodoc>GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; int</autodoc>
         <paramlist>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="IsWorkDay" type="bool" overloaded="no">
         <paramlist>
           <param name="flags" type="wxDateTime::WeekFlags" default="wxDateTime::Monday_First"/>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="IsWorkDay" type="bool" overloaded="no">
-        <autodoc>IsWorkDay(int country=Country_Default) -&gt; bool</autodoc>
+        <autodoc>IsWorkDay(self, int country=Country_Default) -&gt; bool</autodoc>
         <paramlist>
           <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
         </paramlist>
       </method>
       <method name="IsEqualTo" type="bool" overloaded="no">
         <paramlist>
           <param name="country" type="wxDateTime::Country" default="wxDateTime::Country_Default"/>
         </paramlist>
       </method>
       <method name="IsEqualTo" type="bool" overloaded="no">
-        <autodoc>IsEqualTo(DateTime datetime) -&gt; bool</autodoc>
+        <autodoc>IsEqualTo(self, DateTime datetime) -&gt; bool</autodoc>
         <paramlist>
           <param name="datetime" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsEarlierThan" type="bool" overloaded="no">
         <paramlist>
           <param name="datetime" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsEarlierThan" type="bool" overloaded="no">
-        <autodoc>IsEarlierThan(DateTime datetime) -&gt; bool</autodoc>
+        <autodoc>IsEarlierThan(self, DateTime datetime) -&gt; bool</autodoc>
         <paramlist>
           <param name="datetime" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsLaterThan" type="bool" overloaded="no">
         <paramlist>
           <param name="datetime" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsLaterThan" type="bool" overloaded="no">
-        <autodoc>IsLaterThan(DateTime datetime) -&gt; bool</autodoc>
+        <autodoc>IsLaterThan(self, DateTime datetime) -&gt; bool</autodoc>
         <paramlist>
           <param name="datetime" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsStrictlyBetween" type="bool" overloaded="no">
         <paramlist>
           <param name="datetime" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsStrictlyBetween" type="bool" overloaded="no">
-        <autodoc>IsStrictlyBetween(DateTime t1, DateTime t2) -&gt; bool</autodoc>
+        <autodoc>IsStrictlyBetween(self, DateTime t1, DateTime t2) -&gt; bool</autodoc>
         <paramlist>
           <param name="t1" type="DateTime" default=""/>
           <param name="t2" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsBetween" type="bool" overloaded="no">
         <paramlist>
           <param name="t1" type="DateTime" default=""/>
           <param name="t2" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsBetween" type="bool" overloaded="no">
-        <autodoc>IsBetween(DateTime t1, DateTime t2) -&gt; bool</autodoc>
+        <autodoc>IsBetween(self, DateTime t1, DateTime t2) -&gt; bool</autodoc>
         <paramlist>
           <param name="t1" type="DateTime" default=""/>
           <param name="t2" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsSameDate" type="bool" overloaded="no">
         <paramlist>
           <param name="t1" type="DateTime" default=""/>
           <param name="t2" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsSameDate" type="bool" overloaded="no">
-        <autodoc>IsSameDate(DateTime dt) -&gt; bool</autodoc>
+        <autodoc>IsSameDate(self, DateTime dt) -&gt; bool</autodoc>
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsSameTime" type="bool" overloaded="no">
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsSameTime" type="bool" overloaded="no">
-        <autodoc>IsSameTime(DateTime dt) -&gt; bool</autodoc>
+        <autodoc>IsSameTime(self, DateTime dt) -&gt; bool</autodoc>
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsEqualUpTo" type="bool" overloaded="no">
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="IsEqualUpTo" type="bool" overloaded="no">
-        <autodoc>IsEqualUpTo(DateTime dt, TimeSpan ts) -&gt; bool</autodoc>
+        <autodoc>IsEqualUpTo(self, DateTime dt, TimeSpan ts) -&gt; bool</autodoc>
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
           <param name="ts" type="wxTimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="AddTS" type="DateTime" overloaded="no">
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
           <param name="ts" type="wxTimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="AddTS" type="DateTime" overloaded="no">
-        <autodoc>AddTS(TimeSpan diff) -&gt; DateTime</autodoc>
+        <autodoc>AddTS(self, TimeSpan diff) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="diff" type="wxTimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="AddDS" type="DateTime" overloaded="no">
         <paramlist>
           <param name="diff" type="wxTimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="AddDS" type="DateTime" overloaded="no">
-        <autodoc>AddDS(DateSpan diff) -&gt; DateTime</autodoc>
+        <autodoc>AddDS(self, DateSpan diff) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
       </method>
       <method name="SubtractTS" type="DateTime" overloaded="no">
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
       </method>
       <method name="SubtractTS" type="DateTime" overloaded="no">
-        <autodoc>SubtractTS(TimeSpan diff) -&gt; DateTime</autodoc>
+        <autodoc>SubtractTS(self, TimeSpan diff) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="diff" type="wxTimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="SubtractDS" type="DateTime" overloaded="no">
         <paramlist>
           <param name="diff" type="wxTimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="SubtractDS" type="DateTime" overloaded="no">
-        <autodoc>SubtractDS(DateSpan diff) -&gt; DateTime</autodoc>
+        <autodoc>SubtractDS(self, DateSpan diff) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="wxTimeSpan" overloaded="no">
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="wxTimeSpan" overloaded="no">
-        <autodoc>Subtract(DateTime dt) -&gt; TimeSpan</autodoc>
+        <autodoc>Subtract(self, DateTime dt) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
         </paramlist>
         <paramlist>
           <param name="dt" type="DateTime" default=""/>
         </paramlist>
@@ -22689,8 +25308,8 @@ in order to be taken literally.</docstring>
         </paramlist>
       </method>
       <method name="__iadd__" type="DateTime" overloaded="yes">
         </paramlist>
       </method>
       <method name="__iadd__" type="DateTime" overloaded="yes">
-        <autodoc>__iadd__(TimeSpan diff) -&gt; DateTime
-__iadd__(DateSpan diff) -&gt; DateTime</autodoc>
+        <autodoc>__iadd__(self, TimeSpan diff) -&gt; DateTime
+__iadd__(self, DateSpan diff) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
@@ -22701,8 +25320,8 @@ __iadd__(DateSpan diff) -&gt; DateTime</autodoc>
         </paramlist>
       </method>
       <method name="__isub__" type="DateTime" overloaded="yes">
         </paramlist>
       </method>
       <method name="__isub__" type="DateTime" overloaded="yes">
-        <autodoc>__isub__(TimeSpan diff) -&gt; DateTime
-__isub__(DateSpan diff) -&gt; DateTime</autodoc>
+        <autodoc>__isub__(self, TimeSpan diff) -&gt; DateTime
+__isub__(self, DateSpan diff) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
         <paramlist>
           <param name="diff" type="wxDateSpan" default=""/>
         </paramlist>
@@ -22713,8 +25332,8 @@ __isub__(DateSpan diff) -&gt; DateTime</autodoc>
         </paramlist>
       </method>
       <method name="__add__" type="DateTime" overloaded="yes">
         </paramlist>
       </method>
       <method name="__add__" type="DateTime" overloaded="yes">
-        <autodoc>__add__(TimeSpan other) -&gt; DateTime
-__add__(DateSpan other) -&gt; DateTime</autodoc>
+        <autodoc>__add__(self, TimeSpan other) -&gt; DateTime
+__add__(self, DateSpan other) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="other" type="wxDateSpan" default=""/>
         </paramlist>
         <paramlist>
           <param name="other" type="wxDateSpan" default=""/>
         </paramlist>
@@ -22730,57 +25349,57 @@ __add__(DateSpan other) -&gt; DateTime</autodoc>
         </paramlist>
       </method>
       <method name="__sub__" type="DateTime" overloaded="yes">
         </paramlist>
       </method>
       <method name="__sub__" type="DateTime" overloaded="yes">
-        <autodoc>__sub__(DateTime other) -&gt; TimeSpan
-__sub__(TimeSpan other) -&gt; DateTime
-__sub__(DateSpan other) -&gt; DateTime</autodoc>
+        <autodoc>__sub__(self, DateTime other) -&gt; TimeSpan
+__sub__(self, TimeSpan other) -&gt; DateTime
+__sub__(self, DateSpan other) -&gt; DateTime</autodoc>
         <paramlist>
           <param name="other" type="wxDateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__lt__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="wxDateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__lt__" type="bool" overloaded="no">
-        <autodoc>__lt__(DateTime other) -&gt; bool</autodoc>
+        <autodoc>__lt__(self, DateTime other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__le__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__le__" type="bool" overloaded="no">
-        <autodoc>__le__(DateTime other) -&gt; bool</autodoc>
+        <autodoc>__le__(self, DateTime other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__gt__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__gt__" type="bool" overloaded="no">
-        <autodoc>__gt__(DateTime other) -&gt; bool</autodoc>
+        <autodoc>__gt__(self, DateTime other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__ge__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__ge__" type="bool" overloaded="no">
-        <autodoc>__ge__(DateTime other) -&gt; bool</autodoc>
+        <autodoc>__ge__(self, DateTime other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(DateTime other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, DateTime other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(DateTime other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, DateTime other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="ParseRfc822Date" type="int" overloaded="no">
         <paramlist>
           <param name="other" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="ParseRfc822Date" type="int" overloaded="no">
-        <autodoc>ParseRfc822Date(String date) -&gt; int</autodoc>
+        <autodoc>ParseRfc822Date(self, String date) -&gt; int</autodoc>
         <paramlist>
           <param name="date" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ParseFormat" type="int" overloaded="no">
         <paramlist>
           <param name="date" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ParseFormat" type="int" overloaded="no">
-        <autodoc>ParseFormat(String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -&gt; int</autodoc>
+        <autodoc>ParseFormat(self, String date, String format=DateFormatStr, DateTime dateDef=DefaultDateTime) -&gt; int</autodoc>
         <paramlist>
           <param name="date" type="String" default=""/>
           <param name="format" type="String" default="wxPyDateFormatStr"/>
         <paramlist>
           <param name="date" type="String" default=""/>
           <param name="format" type="String" default="wxPyDateFormatStr"/>
@@ -22788,46 +25407,46 @@ __sub__(DateSpan other) -&gt; DateTime</autodoc>
         </paramlist>
       </method>
       <method name="ParseDateTime" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="ParseDateTime" type="int" overloaded="no">
-        <autodoc>ParseDateTime(String datetime) -&gt; int</autodoc>
+        <autodoc>ParseDateTime(self, String datetime) -&gt; int</autodoc>
         <paramlist>
           <param name="datetime" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ParseDate" type="int" overloaded="no">
         <paramlist>
           <param name="datetime" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ParseDate" type="int" overloaded="no">
-        <autodoc>ParseDate(String date) -&gt; int</autodoc>
+        <autodoc>ParseDate(self, String date) -&gt; int</autodoc>
         <paramlist>
           <param name="date" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ParseTime" type="int" overloaded="no">
         <paramlist>
           <param name="date" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ParseTime" type="int" overloaded="no">
-        <autodoc>ParseTime(String time) -&gt; int</autodoc>
+        <autodoc>ParseTime(self, String time) -&gt; int</autodoc>
         <paramlist>
           <param name="time" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Format" type="String" overloaded="no">
         <paramlist>
           <param name="time" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Format" type="String" overloaded="no">
-        <autodoc>Format(String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; String</autodoc>
+        <autodoc>Format(self, String format=DateFormatStr, wxDateTime::TimeZone tz=LOCAL_TZ) -&gt; String</autodoc>
         <paramlist>
           <param name="format" type="String" default="wxPyDateFormatStr"/>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="FormatDate" type="String" overloaded="no">
         <paramlist>
           <param name="format" type="String" default="wxPyDateFormatStr"/>
           <param name="tz" type="wxDateTime::TimeZone" default="LOCAL_TZ"/>
         </paramlist>
       </method>
       <method name="FormatDate" type="String" overloaded="no">
-        <autodoc>FormatDate() -&gt; String</autodoc>
+        <autodoc>FormatDate(self) -&gt; String</autodoc>
       </method>
       <method name="FormatTime" type="String" overloaded="no">
       </method>
       <method name="FormatTime" type="String" overloaded="no">
-        <autodoc>FormatTime() -&gt; String</autodoc>
+        <autodoc>FormatTime(self) -&gt; String</autodoc>
       </method>
       <method name="FormatISODate" type="String" overloaded="no">
       </method>
       <method name="FormatISODate" type="String" overloaded="no">
-        <autodoc>FormatISODate() -&gt; String</autodoc>
+        <autodoc>FormatISODate(self) -&gt; String</autodoc>
       </method>
       <method name="FormatISOTime" type="String" overloaded="no">
       </method>
       <method name="FormatISOTime" type="String" overloaded="no">
-        <autodoc>FormatISOTime() -&gt; String</autodoc>
+        <autodoc>FormatISOTime(self) -&gt; String</autodoc>
       </method>
     </class>
       </method>
     </class>
-    <class name="TimeSpan" oldname="wxTimeSpan" module="misc">
+    <class name="TimeSpan" oldname="wxTimeSpan" module="_misc">
       <constructor name="TimeSpan" overloaded="no">
       <constructor name="TimeSpan" overloaded="no">
-        <autodoc>__init__(long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -&gt; TimeSpan</autodoc>
+        <autodoc>__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="hours" type="long" default="0"/>
           <param name="minutes" type="long" default="0"/>
         <paramlist>
           <param name="hours" type="long" default="0"/>
           <param name="minutes" type="long" default="0"/>
@@ -22836,7 +25455,7 @@ __sub__(DateSpan other) -&gt; DateTime</autodoc>
         </paramlist>
       </constructor>
       <destructor name="~wxTimeSpan" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxTimeSpan" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="Seconds" type="TimeSpan" overloaded="no">
         <autodoc>Seconds(long sec) -&gt; TimeSpan</autodoc>
       </destructor>
       <staticmethod name="Seconds" type="TimeSpan" overloaded="no">
         <autodoc>Seconds(long sec) -&gt; TimeSpan</autodoc>
@@ -22884,165 +25503,165 @@ __sub__(DateSpan other) -&gt; DateTime</autodoc>
         <autodoc>Week() -&gt; TimeSpan</autodoc>
       </staticmethod>
       <method name="Add" type="TimeSpan" overloaded="no">
         <autodoc>Week() -&gt; TimeSpan</autodoc>
       </staticmethod>
       <method name="Add" type="TimeSpan" overloaded="no">
-        <autodoc>Add(TimeSpan diff) -&gt; TimeSpan</autodoc>
+        <autodoc>Add(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="TimeSpan" overloaded="no">
-        <autodoc>Subtract(TimeSpan diff) -&gt; TimeSpan</autodoc>
+        <autodoc>Subtract(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="Multiply" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="Multiply" type="TimeSpan" overloaded="no">
-        <autodoc>Multiply(int n) -&gt; TimeSpan</autodoc>
+        <autodoc>Multiply(self, int n) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Neg" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Neg" type="TimeSpan" overloaded="no">
-        <autodoc>Neg() -&gt; TimeSpan</autodoc>
+        <autodoc>Neg(self) -&gt; TimeSpan</autodoc>
       </method>
       <method name="Abs" type="TimeSpan" overloaded="no">
       </method>
       <method name="Abs" type="TimeSpan" overloaded="no">
-        <autodoc>Abs() -&gt; TimeSpan</autodoc>
+        <autodoc>Abs(self) -&gt; TimeSpan</autodoc>
       </method>
       <method name="__iadd__" type="TimeSpan" overloaded="no">
       </method>
       <method name="__iadd__" type="TimeSpan" overloaded="no">
-        <autodoc>__iadd__(TimeSpan diff) -&gt; TimeSpan</autodoc>
+        <autodoc>__iadd__(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="TimeSpan" overloaded="no">
-        <autodoc>__isub__(TimeSpan diff) -&gt; TimeSpan</autodoc>
+        <autodoc>__isub__(self, TimeSpan diff) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__imul__" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="diff" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__imul__" type="TimeSpan" overloaded="no">
-        <autodoc>__imul__(int n) -&gt; TimeSpan</autodoc>
+        <autodoc>__imul__(self, int n) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__neg__" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__neg__" type="TimeSpan" overloaded="no">
-        <autodoc>__neg__() -&gt; TimeSpan</autodoc>
+        <autodoc>__neg__(self) -&gt; TimeSpan</autodoc>
       </method>
       <method name="__add__" type="TimeSpan" overloaded="no">
       </method>
       <method name="__add__" type="TimeSpan" overloaded="no">
-        <autodoc>__add__(TimeSpan other) -&gt; TimeSpan</autodoc>
+        <autodoc>__add__(self, TimeSpan other) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="TimeSpan" overloaded="no">
-        <autodoc>__sub__(TimeSpan other) -&gt; TimeSpan</autodoc>
+        <autodoc>__sub__(self, TimeSpan other) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__mul__" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__mul__" type="TimeSpan" overloaded="no">
-        <autodoc>__mul__(int n) -&gt; TimeSpan</autodoc>
+        <autodoc>__mul__(self, int n) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__rmul__" type="TimeSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__rmul__" type="TimeSpan" overloaded="no">
-        <autodoc>__rmul__(int n) -&gt; TimeSpan</autodoc>
+        <autodoc>__rmul__(self, int n) -&gt; TimeSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__lt__" type="bool" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__lt__" type="bool" overloaded="no">
-        <autodoc>__lt__(TimeSpan other) -&gt; bool</autodoc>
+        <autodoc>__lt__(self, TimeSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__le__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__le__" type="bool" overloaded="no">
-        <autodoc>__le__(TimeSpan other) -&gt; bool</autodoc>
+        <autodoc>__le__(self, TimeSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__gt__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__gt__" type="bool" overloaded="no">
-        <autodoc>__gt__(TimeSpan other) -&gt; bool</autodoc>
+        <autodoc>__gt__(self, TimeSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ge__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ge__" type="bool" overloaded="no">
-        <autodoc>__ge__(TimeSpan other) -&gt; bool</autodoc>
+        <autodoc>__ge__(self, TimeSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(TimeSpan other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, TimeSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(TimeSpan other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, TimeSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="IsNull" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="IsNull" type="bool" overloaded="no">
-        <autodoc>IsNull() -&gt; bool</autodoc>
+        <autodoc>IsNull(self) -&gt; bool</autodoc>
       </method>
       <method name="IsPositive" type="bool" overloaded="no">
       </method>
       <method name="IsPositive" type="bool" overloaded="no">
-        <autodoc>IsPositive() -&gt; bool</autodoc>
+        <autodoc>IsPositive(self) -&gt; bool</autodoc>
       </method>
       <method name="IsNegative" type="bool" overloaded="no">
       </method>
       <method name="IsNegative" type="bool" overloaded="no">
-        <autodoc>IsNegative() -&gt; bool</autodoc>
+        <autodoc>IsNegative(self) -&gt; bool</autodoc>
       </method>
       <method name="IsEqualTo" type="bool" overloaded="no">
       </method>
       <method name="IsEqualTo" type="bool" overloaded="no">
-        <autodoc>IsEqualTo(TimeSpan ts) -&gt; bool</autodoc>
+        <autodoc>IsEqualTo(self, TimeSpan ts) -&gt; bool</autodoc>
         <paramlist>
           <param name="ts" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="IsLongerThan" type="bool" overloaded="no">
         <paramlist>
           <param name="ts" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="IsLongerThan" type="bool" overloaded="no">
-        <autodoc>IsLongerThan(TimeSpan ts) -&gt; bool</autodoc>
+        <autodoc>IsLongerThan(self, TimeSpan ts) -&gt; bool</autodoc>
         <paramlist>
           <param name="ts" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="IsShorterThan" type="bool" overloaded="no">
         <paramlist>
           <param name="ts" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="IsShorterThan" type="bool" overloaded="no">
-        <autodoc>IsShorterThan(TimeSpan t) -&gt; bool</autodoc>
+        <autodoc>IsShorterThan(self, TimeSpan t) -&gt; bool</autodoc>
         <paramlist>
           <param name="t" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="GetWeeks" type="int" overloaded="no">
         <paramlist>
           <param name="t" type="TimeSpan" default=""/>
         </paramlist>
       </method>
       <method name="GetWeeks" type="int" overloaded="no">
-        <autodoc>GetWeeks() -&gt; int</autodoc>
+        <autodoc>GetWeeks(self) -&gt; int</autodoc>
       </method>
       <method name="GetDays" type="int" overloaded="no">
       </method>
       <method name="GetDays" type="int" overloaded="no">
-        <autodoc>GetDays() -&gt; int</autodoc>
+        <autodoc>GetDays(self) -&gt; int</autodoc>
       </method>
       <method name="GetHours" type="int" overloaded="no">
       </method>
       <method name="GetHours" type="int" overloaded="no">
-        <autodoc>GetHours() -&gt; int</autodoc>
+        <autodoc>GetHours(self) -&gt; int</autodoc>
       </method>
       <method name="GetMinutes" type="int" overloaded="no">
       </method>
       <method name="GetMinutes" type="int" overloaded="no">
-        <autodoc>GetMinutes() -&gt; int</autodoc>
+        <autodoc>GetMinutes(self) -&gt; int</autodoc>
       </method>
       <method name="GetSeconds" type="wxLongLong" overloaded="no">
       </method>
       <method name="GetSeconds" type="wxLongLong" overloaded="no">
-        <autodoc>GetSeconds() -&gt; wxLongLong</autodoc>
+        <autodoc>GetSeconds(self) -&gt; wxLongLong</autodoc>
       </method>
       <method name="GetMilliseconds" type="wxLongLong" overloaded="no">
       </method>
       <method name="GetMilliseconds" type="wxLongLong" overloaded="no">
-        <autodoc>GetMilliseconds() -&gt; wxLongLong</autodoc>
+        <autodoc>GetMilliseconds(self) -&gt; wxLongLong</autodoc>
       </method>
       <method name="Format" type="String" overloaded="no">
       </method>
       <method name="Format" type="String" overloaded="no">
-        <autodoc>Format(String format=TimeSpanFormatStr) -&gt; String</autodoc>
+        <autodoc>Format(self, String format=TimeSpanFormatStr) -&gt; String</autodoc>
         <paramlist>
           <param name="format" type="String" default="wxPyTimeSpanFormatStr"/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="format" type="String" default="wxPyTimeSpanFormatStr"/>
         </paramlist>
       </method>
     </class>
-    <class name="DateSpan" oldname="wxDateSpan" module="misc">
+    <class name="DateSpan" oldname="wxDateSpan" module="_misc">
       <constructor name="DateSpan" overloaded="no">
       <constructor name="DateSpan" overloaded="no">
-        <autodoc>__init__(int years=0, int months=0, int weeks=0, int days=0) -&gt; DateSpan</autodoc>
+        <autodoc>__init__(self, int years=0, int months=0, int weeks=0, int days=0) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="years" type="int" default="0"/>
           <param name="months" type="int" default="0"/>
         <paramlist>
           <param name="years" type="int" default="0"/>
           <param name="months" type="int" default="0"/>
@@ -23051,7 +25670,7 @@ __sub__(DateSpan other) -&gt; DateTime</autodoc>
         </paramlist>
       </constructor>
       <destructor name="~wxDateSpan" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxDateSpan" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="Days" type="DateSpan" overloaded="no">
         <autodoc>Days(int days) -&gt; DateSpan</autodoc>
       </destructor>
       <staticmethod name="Days" type="DateSpan" overloaded="no">
         <autodoc>Days(int days) -&gt; DateSpan</autodoc>
@@ -23090,118 +25709,118 @@ __sub__(DateSpan other) -&gt; DateTime</autodoc>
         <autodoc>Year() -&gt; DateSpan</autodoc>
       </staticmethod>
       <method name="SetYears" type="DateSpan" overloaded="no">
         <autodoc>Year() -&gt; DateSpan</autodoc>
       </staticmethod>
       <method name="SetYears" type="DateSpan" overloaded="no">
-        <autodoc>SetYears(int n) -&gt; DateSpan</autodoc>
+        <autodoc>SetYears(self, int n) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMonths" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMonths" type="DateSpan" overloaded="no">
-        <autodoc>SetMonths(int n) -&gt; DateSpan</autodoc>
+        <autodoc>SetMonths(self, int n) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWeeks" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWeeks" type="DateSpan" overloaded="no">
-        <autodoc>SetWeeks(int n) -&gt; DateSpan</autodoc>
+        <autodoc>SetWeeks(self, int n) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDays" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDays" type="DateSpan" overloaded="no">
-        <autodoc>SetDays(int n) -&gt; DateSpan</autodoc>
+        <autodoc>SetDays(self, int n) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetYears" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetYears" type="int" overloaded="no">
-        <autodoc>GetYears() -&gt; int</autodoc>
+        <autodoc>GetYears(self) -&gt; int</autodoc>
       </method>
       <method name="GetMonths" type="int" overloaded="no">
       </method>
       <method name="GetMonths" type="int" overloaded="no">
-        <autodoc>GetMonths() -&gt; int</autodoc>
+        <autodoc>GetMonths(self) -&gt; int</autodoc>
       </method>
       <method name="GetWeeks" type="int" overloaded="no">
       </method>
       <method name="GetWeeks" type="int" overloaded="no">
-        <autodoc>GetWeeks() -&gt; int</autodoc>
+        <autodoc>GetWeeks(self) -&gt; int</autodoc>
       </method>
       <method name="GetDays" type="int" overloaded="no">
       </method>
       <method name="GetDays" type="int" overloaded="no">
-        <autodoc>GetDays() -&gt; int</autodoc>
+        <autodoc>GetDays(self) -&gt; int</autodoc>
       </method>
       <method name="GetTotalDays" type="int" overloaded="no">
       </method>
       <method name="GetTotalDays" type="int" overloaded="no">
-        <autodoc>GetTotalDays() -&gt; int</autodoc>
+        <autodoc>GetTotalDays(self) -&gt; int</autodoc>
       </method>
       <method name="Add" type="DateSpan" overloaded="no">
       </method>
       <method name="Add" type="DateSpan" overloaded="no">
-        <autodoc>Add(DateSpan other) -&gt; DateSpan</autodoc>
+        <autodoc>Add(self, DateSpan other) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="Subtract" type="DateSpan" overloaded="no">
-        <autodoc>Subtract(DateSpan other) -&gt; DateSpan</autodoc>
+        <autodoc>Subtract(self, DateSpan other) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="Neg" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="Neg" type="DateSpan" overloaded="no">
-        <autodoc>Neg() -&gt; DateSpan</autodoc>
+        <autodoc>Neg(self) -&gt; DateSpan</autodoc>
       </method>
       <method name="Multiply" type="DateSpan" overloaded="no">
       </method>
       <method name="Multiply" type="DateSpan" overloaded="no">
-        <autodoc>Multiply(int factor) -&gt; DateSpan</autodoc>
+        <autodoc>Multiply(self, int factor) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="factor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__iadd__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="factor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__iadd__" type="DateSpan" overloaded="no">
-        <autodoc>__iadd__(DateSpan other) -&gt; DateSpan</autodoc>
+        <autodoc>__iadd__(self, DateSpan other) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__isub__" type="DateSpan" overloaded="no">
-        <autodoc>__isub__(DateSpan other) -&gt; DateSpan</autodoc>
+        <autodoc>__isub__(self, DateSpan other) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__neg__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__neg__" type="DateSpan" overloaded="no">
-        <autodoc>__neg__() -&gt; DateSpan</autodoc>
+        <autodoc>__neg__(self) -&gt; DateSpan</autodoc>
       </method>
       <method name="__imul__" type="DateSpan" overloaded="no">
       </method>
       <method name="__imul__" type="DateSpan" overloaded="no">
-        <autodoc>__imul__(int factor) -&gt; DateSpan</autodoc>
+        <autodoc>__imul__(self, int factor) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="factor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="factor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__add__" type="DateSpan" overloaded="no">
-        <autodoc>__add__(DateSpan other) -&gt; DateSpan</autodoc>
+        <autodoc>__add__(self, DateSpan other) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__sub__" type="DateSpan" overloaded="no">
-        <autodoc>__sub__(DateSpan other) -&gt; DateSpan</autodoc>
+        <autodoc>__sub__(self, DateSpan other) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__mul__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__mul__" type="DateSpan" overloaded="no">
-        <autodoc>__mul__(int n) -&gt; DateSpan</autodoc>
+        <autodoc>__mul__(self, int n) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__rmul__" type="DateSpan" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__rmul__" type="DateSpan" overloaded="no">
-        <autodoc>__rmul__(int n) -&gt; DateSpan</autodoc>
+        <autodoc>__rmul__(self, int n) -&gt; DateSpan</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(DateSpan other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, DateSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(DateSpan other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, DateSpan other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
         <paramlist>
           <param name="other" type="DateSpan" default=""/>
         </paramlist>
@@ -23222,34 +25841,54 @@ __sub__(DateSpan other) -&gt; DateTime</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="DataFormat" oldname="wxDataFormat" module="misc">
+    <class name="DataFormat" oldname="wxDataFormat" module="_misc">
       <docstring>A wx.DataFormat is an encapsulation of a platform-specific format
       <docstring>A wx.DataFormat is an encapsulation of a platform-specific format
-handle which is used by the system for the clipboard and drag and
-drop operations. The applications are usually only interested in,
-for example, pasting data from the clipboard only if the data is
-in a format the program understands.  A data format is is used to
-uniquely identify this format.
-
-On the system level, a data format is usually just a number
-(CLIPFORMAT under Windows or Atom under X11, for example).</docstring>
+handle which is used by the system for the clipboard and drag and drop
+operations. The applications are usually only interested in, for
+example, pasting data from the clipboard only if the data is in a
+format the program understands.  A data format is is used to uniquely
+identify this format.
+On the system level, a data format is usually just a number, (which
+may be the CLIPFORMAT under Windows or Atom under X11, for example.)
+
+The standard format IDs are:
+
+    ================    =====================================
+    wx.DF_INVALID       An invalid format
+    wx.DF_TEXT          Text format 
+    wx.DF_BITMAP        A bitmap (wx.Bitmap)
+    wx.DF_METAFILE      A metafile (wx.Metafile, Windows only)
+    wx.DF_FILENAME      A list of filenames
+    wx.DF_HTML          An HTML string. This is only valid on
+                        Windows and non-unicode builds
+    ================    =====================================
+
+Aside the standard formats, the application may also use custom
+formats which are identified by their names (strings) and not numeric
+identifiers. Although internally custom format must be created (or
+registered) first, you shouldn't care about it because it is done
+automatically the first time the wxDataFormat object corresponding to
+a given format name is created.
+
+</docstring>
       <constructor name="DataFormat" overloaded="no">
       <constructor name="DataFormat" overloaded="no">
-        <autodoc>__init__(int type) -&gt; DataFormat</autodoc>
-        <docstring>Constructs a data format object for one of the standard data
-formats or an empty data object (use SetType or SetId later in
-this case)</docstring>
+        <autodoc>__init__(self, int type) -&gt; DataFormat</autodoc>
+        <docstring>Constructs a data format object for one of the standard data formats
+or an empty data object (use SetType or SetId later in this case)</docstring>
         <paramlist>
           <param name="type" type="wxDataFormatId" default=""/>
         </paramlist>
       </constructor>
       <constructor name="CustomDataFormat" overloaded="no">
         <autodoc>CustomDataFormat(String format) -&gt; DataFormat</autodoc>
         <paramlist>
           <param name="type" type="wxDataFormatId" default=""/>
         </paramlist>
       </constructor>
       <constructor name="CustomDataFormat" overloaded="no">
         <autodoc>CustomDataFormat(String format) -&gt; DataFormat</autodoc>
-        <docstring>Constructs a data format object for a custom format identified by its name.</docstring>
+        <docstring>Constructs a data format object for a custom format identified by its
+name.</docstring>
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxDataFormat" overloaded="no">
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </constructor>
       <destructor name="~wxDataFormat" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="__eq__" type="bool" overloaded="yes">
         <paramlist>
       </destructor>
       <method name="__eq__" type="bool" overloaded="yes">
         <paramlist>
@@ -23262,273 +25901,533 @@ this case)</docstring>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="yes">
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="yes">
-        <autodoc>__eq__(int format) -&gt; bool
-__eq__(DataFormat format) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, int format) -&gt; bool
+__eq__(self, DataFormat format) -&gt; bool</autodoc>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="yes">
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="yes">
-        <autodoc>__ne__(int format) -&gt; bool
-__ne__(DataFormat format) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, int format) -&gt; bool
+__ne__(self, DataFormat format) -&gt; bool</autodoc>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
       <method name="SetType" type="" overloaded="no">
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
       <method name="SetType" type="" overloaded="no">
-        <autodoc>SetType(int format)</autodoc>
-        <docstring>Sets the format to the given value, which should be one of wx.DF_XXX constants.</docstring>
+        <autodoc>SetType(self, int format)</autodoc>
+        <docstring>Sets the format to the given value, which should be one of wx.DF_XXX
+constants.</docstring>
         <paramlist>
           <param name="format" type="wxDataFormatId" default=""/>
         </paramlist>
       </method>
       <method name="GetType" type="wxDataFormatId" overloaded="no">
         <paramlist>
           <param name="format" type="wxDataFormatId" default=""/>
         </paramlist>
       </method>
       <method name="GetType" type="wxDataFormatId" overloaded="no">
-        <autodoc>GetType() -&gt; int</autodoc>
+        <autodoc>GetType(self) -&gt; int</autodoc>
         <docstring>Returns the platform-specific number identifying the format.</docstring>
       </method>
       <method name="GetId" type="String" overloaded="no">
         <docstring>Returns the platform-specific number identifying the format.</docstring>
       </method>
       <method name="GetId" type="String" overloaded="no">
-        <autodoc>GetId() -&gt; String</autodoc>
-        <docstring>Returns the name of a custom format (this function will fail for a standard format).</docstring>
+        <autodoc>GetId(self) -&gt; String</autodoc>
+        <docstring>Returns the name of a custom format (this function will fail for a
+standard format).</docstring>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(String format)</autodoc>
+        <autodoc>SetId(self, String format)</autodoc>
         <docstring>Sets the format to be the custom format identified by the given name.</docstring>
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <docstring>Sets the format to be the custom format identified by the given name.</docstring>
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="DataObject" oldname="wxDataObject" module="misc">
+    <class name="DataObject" oldname="wxDataObject" module="_misc">
+      <docstring>A wx.DataObject represents data that can be copied to or from the
+clipboard, or dragged and dropped. The important thing about
+wx.DataObject is that this is a 'smart' piece of data unlike usual
+'dumb' data containers such as memory buffers or files. Being 'smart'
+here means that the data object itself should know what data formats
+it supports and how to render itself in each of supported formats.
+
+**NOTE**: This class is an abstract base class and can not be used
+directly from Python.  If you need a custom type of data object then
+you should instead derive from `wx.PyDataObjectSimple` or use
+`wx.CustomDataObject`.
+
+Not surprisingly, being 'smart' comes at a price of added
+complexity. This is reasonable for the situations when you really need
+to support multiple formats, but may be annoying if you only want to
+do something simple like cut and paste text.
+
+To provide a solution for both cases, wxWidgets has two predefined
+classes which derive from wx.DataObject: `wx.DataObjectSimple` and
+`wx.DataObjectComposite`.  `wx.DataObjectSimple` is the simplest
+wx.DataObject possible and only holds data in a single format (such as
+text or bitmap) and `wx.DataObjectComposite` is the simplest way to
+implement a wx.DataObject which supports multiple simultaneous formats
+because it achievs this by simply holding several
+`wx.DataObjectSimple` objects.
+
+Please note that the easiest way to use drag and drop and the
+clipboard with multiple formats is by using `wx.DataObjectComposite`,
+but it is not the most efficient one as each `wx.DataObjectSimple`
+would contain the whole data in its respective formats. Now imagine
+that you want to paste 200 pages of text in your proprietary format,
+as well as Word, RTF, HTML, Unicode and plain text to the clipboard
+and even today's computers are in trouble. For this case, you will
+have to derive from wx.DataObject directly and make it enumerate its
+formats and provide the data in the requested format on
+demand. (**TODO**: This is currently not possible from Python.  Make
+it so.)
+
+Note that the platform transfer mechanisms for the clipboard and drag
+and drop, do not copy any data out of the source application until
+another application actually requests the data. This is in contrast to
+the 'feel' offered to the user of a program who would normally think
+that the data resides in the clipboard after having pressed 'Copy' -
+in reality it is only declared to be available.
+</docstring>
       <destructor name="~wxDataObject" overloaded="no">
       <destructor name="~wxDataObject" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetPreferredFormat" type="DataFormat" overloaded="no">
       </destructor>
       <method name="GetPreferredFormat" type="DataFormat" overloaded="no">
-        <autodoc>GetPreferredFormat(int dir=Get) -&gt; DataFormat</autodoc>
+        <autodoc>GetPreferredFormat(self, int dir=Get) -&gt; DataFormat</autodoc>
+        <docstring>Returns the preferred format for either rendering the data (if dir is
+Get, its default value) or for setting it. Usually this will be the
+native format of the wx.DataObject.</docstring>
         <paramlist>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
       <method name="GetFormatCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
       <method name="GetFormatCount" type="size_t" overloaded="no">
-        <autodoc>GetFormatCount(int dir=Get) -&gt; size_t</autodoc>
+        <autodoc>GetFormatCount(self, int dir=Get) -&gt; size_t</autodoc>
+        <docstring>Returns the number of available formats for rendering or setting the
+data.</docstring>
         <paramlist>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
       <method name="IsSupported" type="bool" overloaded="no">
         <paramlist>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
       <method name="IsSupported" type="bool" overloaded="no">
-        <autodoc>IsSupported(DataFormat format, int dir=Get) -&gt; bool</autodoc>
+        <autodoc>IsSupported(self, DataFormat format, int dir=Get) -&gt; bool</autodoc>
+        <docstring>Returns True if this format is supported.</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
       <method name="GetDataSize" type="size_t" overloaded="no">
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
       <method name="GetDataSize" type="size_t" overloaded="no">
-        <autodoc>GetDataSize(DataFormat format) -&gt; size_t</autodoc>
+        <autodoc>GetDataSize(self, DataFormat format) -&gt; size_t</autodoc>
+        <docstring>Get the (total) size of data for the given format</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
-      <method name="GetAllFormats" type="" overloaded="no">
-        <autodoc>GetAllFormats(DataFormat formats, int dir=Get)</autodoc>
+      <method name="GetAllFormats" type="PyObject" overloaded="no">
+        <autodoc>GetAllFormats(self, int dir=Get) -&gt; [formats]</autodoc>
+        <docstring>Returns a list of all the wx.DataFormats that this dataobject supports
+in the given direction.</docstring>
         <paramlist>
         <paramlist>
-          <param name="formats" type="DataFormat" default=""/>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
           <param name="dir" type="wxDataObject::Direction" default="wxDataObject::Get"/>
         </paramlist>
       </method>
-      <method name="GetDataHere" type="bool" overloaded="no">
-        <autodoc>GetDataHere(DataFormat format, void buf) -&gt; bool</autodoc>
+      <method name="GetDataHere" type="PyObject" overloaded="no">
+        <autodoc>GetDataHere(self, DataFormat format) -&gt; String</autodoc>
+        <docstring>Get the data bytes in the specified format, returns None on failure.
+
+:todo: This should use the python buffer interface isntead...</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
-          <param name="buf" type="" default=""/>
         </paramlist>
       </method>
       <method name="SetData" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="SetData" type="bool" overloaded="no">
-        <autodoc>SetData(DataFormat format, size_t len, void buf) -&gt; bool</autodoc>
+        <autodoc>SetData(self, DataFormat format, String data) -&gt; bool</autodoc>
+        <docstring>Set the data in the specified format from the bytes in the the data string.
+
+:todo: This should use the python buffer interface isntead...</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
-          <param name="len" type="size_t" default=""/>
-          <param name="buf" type="" default=""/>
+          <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="misc">
+    <class name="DataObjectSimple" oldname="wxDataObjectSimple" module="_misc">
+      <docstring>wx.DataObjectSimple is a `wx.DataObject` which only supports one
+format.  This is the simplest possible `wx.DataObject` implementation.
+
+This is still an "abstract base class" meaning that you can't use it
+directly.  You either need to use one of the predefined base classes,
+or derive your own class from `wx.PyDataObjectSimple`.
+</docstring>
       <baseclass name="DataObject"/>
       <constructor name="DataObjectSimple" overloaded="no">
       <baseclass name="DataObject"/>
       <constructor name="DataObjectSimple" overloaded="no">
-        <autodoc>__init__(DataFormat format=FormatInvalid) -&gt; DataObjectSimple</autodoc>
+        <autodoc>__init__(self, DataFormat format=FormatInvalid) -&gt; DataObjectSimple</autodoc>
+        <docstring>Constructor accepts the supported format (none by default) which may
+also be set later with `SetFormat`.</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default="wxFormatInvalid"/>
         </paramlist>
       </constructor>
       <method name="GetFormat" type="DataFormat" overloaded="no">
         <paramlist>
           <param name="format" type="DataFormat" default="wxFormatInvalid"/>
         </paramlist>
       </constructor>
       <method name="GetFormat" type="DataFormat" overloaded="no">
-        <autodoc>GetFormat() -&gt; DataFormat</autodoc>
+        <autodoc>GetFormat(self) -&gt; DataFormat</autodoc>
+        <docstring>Returns the (one and only one) format supported by this object. It is
+assumed that the format is supported in both directions.</docstring>
       </method>
       <method name="SetFormat" type="" overloaded="no">
       </method>
       <method name="SetFormat" type="" overloaded="no">
-        <autodoc>SetFormat(DataFormat format)</autodoc>
+        <autodoc>SetFormat(self, DataFormat format)</autodoc>
+        <docstring>Sets the supported format.</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="format" type="DataFormat" default=""/>
         </paramlist>
       </method>
+      <method name="GetDataSize" type="size_t" overloaded="no">
+        <autodoc>GetDataSize(self) -&gt; size_t</autodoc>
+        <docstring>Get the size of our data.</docstring>
+      </method>
+      <method name="GetDataHere" type="PyObject" overloaded="no">
+        <autodoc>GetDataHere(self) -&gt; String</autodoc>
+        <docstring>Returns the data bytes from the data object as a string, returns None
+on failure.  Must be implemented in the derived class if the object
+supports rendering its data.</docstring>
+      </method>
+      <method name="SetData" type="bool" overloaded="no">
+        <autodoc>SetData(self, String data) -&gt; bool</autodoc>
+        <docstring>Copy the data value to the data object.  Must be implemented in the
+derived class if the object supports setting its data.
+</docstring>
+        <paramlist>
+          <param name="data" type="PyObject" default=""/>
+        </paramlist>
+      </method>
     </class>
     </class>
-    <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="misc">
+    <class name="PyDataObjectSimple" oldname="wxPyDataObjectSimple" module="_misc">
+      <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class.  You should derive from this
+class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
+need to create your own simple single-format type of `wx.DataObject`.
+
+Here is a simple example::
+
+    class MyDataObject(wx.PyDataObjectSimple):
+        def __init__(self):
+            wx.PyDataObjectSimple.__init__(
+                self, wx.CustomDataFormat('MyDOFormat'))
+            self.data = ''
+
+        def GetDataSize(self):
+            return len(self.data)
+        def GetDataHere(self):
+            return self.data  # returns a string  
+        def SetData(self, data):
+            self.data = data
+            return True
+
+Note that there is already a `wx.CustomDataObject` class that behaves
+very similarly to this example.  The value of creating your own
+derived class like this is to be able to do additional things when the
+data is requested or given via the clipboard or drag and drop
+operation, such as generate the data value or decode it into needed
+data structures.
+</docstring>
       <baseclass name="DataObjectSimple"/>
       <constructor name="PyDataObjectSimple" overloaded="no">
       <baseclass name="DataObjectSimple"/>
       <constructor name="PyDataObjectSimple" overloaded="no">
-        <autodoc>__init__(DataFormat format=FormatInvalid) -&gt; PyDataObjectSimple</autodoc>
+        <autodoc>__init__(self, DataFormat format=FormatInvalid) -&gt; PyDataObjectSimple</autodoc>
+        <docstring>wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class.  You should derive from this
+class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
+need to create your own simple single-format type of `wx.DataObject`.
+
+Here is a simple example::
+
+    class MyDataObject(wx.PyDataObjectSimple):
+        def __init__(self):
+            wx.PyDataObjectSimple.__init__(
+                self, wx.CustomDataFormat('MyDOFormat'))
+            self.data = ''
+
+        def GetDataSize(self):
+            return len(self.data)
+        def GetDataHere(self):
+            return self.data  # returns a string  
+        def SetData(self, data):
+            self.data = data
+            return True
+
+Note that there is already a `wx.CustomDataObject` class that behaves
+very similarly to this example.  The value of creating your own
+derived class like this is to be able to do additional things when the
+data is requested or given via the clipboard or drag and drop
+operation, such as generate the data value or decode it into needed
+data structures.
+</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default="wxFormatInvalid"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="format" type="DataFormat" default="wxFormatInvalid"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="misc">
+    <class name="DataObjectComposite" oldname="wxDataObjectComposite" module="_misc">
+      <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation
+which may be sued to support multiple formats. It contains several
+'wx.DataObjectSimple` objects and supports any format supported by at
+least one of them. Only one of these data objects is *preferred* (the
+first one if not explicitly changed by using the second parameter of
+`Add`) and its format determines the preferred format of the composite
+data object as well.
+
+See `wx.DataObject` documentation for the reasons why you might prefer
+to use wx.DataObject directly instead of wx.DataObjectComposite for
+efficiency reasons.
+</docstring>
       <baseclass name="DataObject"/>
       <constructor name="DataObjectComposite" overloaded="no">
       <baseclass name="DataObject"/>
       <constructor name="DataObjectComposite" overloaded="no">
-        <autodoc>__init__() -&gt; DataObjectComposite</autodoc>
+        <autodoc>__init__(self) -&gt; DataObjectComposite</autodoc>
+        <docstring>wx.DataObjectComposite is the simplest `wx.DataObject` derivation
+which may be sued to support multiple formats. It contains several
+'wx.DataObjectSimple` objects and supports any format supported by at
+least one of them. Only one of these data objects is *preferred* (the
+first one if not explicitly changed by using the second parameter of
+`Add`) and its format determines the preferred format of the composite
+data object as well.
+
+See `wx.DataObject` documentation for the reasons why you might prefer
+to use wx.DataObject directly instead of wx.DataObjectComposite for
+efficiency reasons.
+</docstring>
       </constructor>
       <method name="Add" type="" overloaded="no">
       </constructor>
       <method name="Add" type="" overloaded="no">
-        <autodoc>Add(DataObjectSimple dataObject, int preferred=False)</autodoc>
+        <autodoc>Add(self, DataObjectSimple dataObject, bool preferred=False)</autodoc>
+        <docstring>Adds the dataObject to the list of supported objects and it becomes
+the preferred object if preferred is True.</docstring>
         <paramlist>
           <param name="dataObject" type="DataObjectSimple" default=""/>
         <paramlist>
           <param name="dataObject" type="DataObjectSimple" default=""/>
-          <param name="preferred" type="int" default="False"/>
+          <param name="preferred" type="bool" default="False"/>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="TextDataObject" oldname="wxTextDataObject" module="misc">
+    <class name="TextDataObject" oldname="wxTextDataObject" module="_misc">
+      <docstring>wx.TextDataObject is a specialization of `wx.DataObject` for text
+data. It can be used without change to paste data into the `wx.Clipboard`
+or a `wx.DropSource`.
+
+Alternativly, you may wish to derive a new class from the
+`wx.PyTextDataObject` class for providing text on-demand in order to
+minimize memory consumption when offering data in several formats,
+such as plain text and RTF, because by default the text is stored in a
+string in this class, but it might as well be generated on demand when
+requested. For this, `GetTextLength` and `GetText` will have to be
+overridden.</docstring>
       <baseclass name="DataObjectSimple"/>
       <constructor name="TextDataObject" overloaded="no">
       <baseclass name="DataObjectSimple"/>
       <constructor name="TextDataObject" overloaded="no">
-        <autodoc>__init__(String text=EmptyString) -&gt; TextDataObject</autodoc>
+        <autodoc>__init__(self, String text=EmptyString) -&gt; TextDataObject</autodoc>
+        <docstring>Constructor, may be used to initialise the text (otherwise `SetText`
+should be used later).</docstring>
         <paramlist>
           <param name="text" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="GetTextLength" type="size_t" overloaded="no">
         <paramlist>
           <param name="text" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="GetTextLength" type="size_t" overloaded="no">
-        <autodoc>GetTextLength() -&gt; size_t</autodoc>
+        <autodoc>GetTextLength(self) -&gt; size_t</autodoc>
+        <docstring>Returns the data size.  By default, returns the size of the text data
+set in the constructor or using `SetText`.  This can be overridden (via
+`wx.PyTextDataObject`) to provide text size data on-demand. It is
+recommended to return the text length plus 1 for a trailing zero, but
+this is not strictly required.</docstring>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
+        <docstring>Returns the text associated with the data object.</docstring>
       </method>
       <method name="SetText" type="" overloaded="no">
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String text)</autodoc>
+        <autodoc>SetText(self, String text)</autodoc>
+        <docstring>Sets the text associated with the data object. This method is called
+when the data object receives the data and, by default, copies the
+text into the member variable. If you want to process the text on the
+fly you may wish to override this function (via
+`wx.PyTextDataObject`.)</docstring>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="misc">
+    <class name="PyTextDataObject" oldname="wxPyTextDataObject" module="_misc">
+      <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class.  You should derive from this
+class and overload `GetTextLength`, `GetText`, and `SetText` when you
+want to be able to provide text on demand instead of preloading it
+into the data object.</docstring>
       <baseclass name="TextDataObject"/>
       <constructor name="PyTextDataObject" overloaded="no">
       <baseclass name="TextDataObject"/>
       <constructor name="PyTextDataObject" overloaded="no">
-        <autodoc>__init__(String text=EmptyString) -&gt; PyTextDataObject</autodoc>
+        <autodoc>__init__(self, String text=EmptyString) -&gt; PyTextDataObject</autodoc>
+        <docstring>wx.PyTextDataObject is a version of `wx.TextDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class.  You should derive from this
+class and overload `GetTextLength`, `GetText`, and `SetText` when you
+want to be able to provide text on demand instead of preloading it
+into the data object.</docstring>
         <paramlist>
           <param name="text" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="misc">
+    <class name="BitmapDataObject" oldname="wxBitmapDataObject" module="_misc">
+      <docstring>wx.BitmapDataObject is a specialization of wxDataObject for bitmap
+data. It can be used without change to paste data into the `wx.Clipboard`
+or a `wx.DropSource`.
+
+:see: `wx.PyBitmapDataObject` if you wish to override `GetBitmap` to increase efficiency.</docstring>
       <baseclass name="DataObjectSimple"/>
       <constructor name="BitmapDataObject" overloaded="no">
       <baseclass name="DataObjectSimple"/>
       <constructor name="BitmapDataObject" overloaded="no">
-        <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -&gt; BitmapDataObject</autodoc>
+        <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -&gt; BitmapDataObject</autodoc>
+        <docstring>Constructor, optionally passing a bitmap (otherwise use `SetBitmap`
+later).</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
         </paramlist>
       </constructor>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
         </paramlist>
       </constructor>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
+        <docstring>Returns the bitmap associated with the data object.  You may wish to
+override this method (by deriving from `wx.PyBitmapDataObject`) when
+offering data on-demand, but this is not required by wxWidgets'
+internals. Use this method to get data in bitmap form from the
+`wx.Clipboard`.</docstring>
       </method>
       <method name="SetBitmap" type="" overloaded="no">
       </method>
       <method name="SetBitmap" type="" overloaded="no">
-        <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
+        <docstring>Sets the bitmap associated with the data object. This method is called
+when the data object receives data. Usually there will be no reason to
+override this function.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="misc">
+    <class name="PyBitmapDataObject" oldname="wxPyBitmapDataObject" module="_misc">
+      <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. To be able to provide bitmap
+data on demand derive from this class and overload `GetBitmap`.</docstring>
       <baseclass name="BitmapDataObject"/>
       <constructor name="PyBitmapDataObject" overloaded="no">
       <baseclass name="BitmapDataObject"/>
       <constructor name="PyBitmapDataObject" overloaded="no">
-        <autodoc>__init__(Bitmap bitmap=wxNullBitmap) -&gt; PyBitmapDataObject</autodoc>
+        <autodoc>__init__(self, Bitmap bitmap=wxNullBitmap) -&gt; PyBitmapDataObject</autodoc>
+        <docstring>wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
+Python-aware and knows how to reflect calls to its C++ virtual methods
+to methods in the Python derived class. To be able to provide bitmap
+data on demand derive from this class and overload `GetBitmap`.</docstring>
         <paramlist>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="FileDataObject" oldname="wxFileDataObject" module="misc">
+    <class name="FileDataObject" oldname="wxFileDataObject" module="_misc">
+      <docstring>wx.FileDataObject is a specialization of `wx.DataObjectSimple` for
+file names. The program works with it just as if it were a list of
+absolute file names, but internally it uses the same format as
+Explorer and other compatible programs under Windows or GNOME/KDE
+filemanager under Unix which makes it possible to receive files from
+them using this class.
+
+:Warning: Under all non-Windows platforms this class is currently
+    "input-only", i.e. you can receive the files from another
+    application, but copying (or dragging) file(s) from a wxWidgets
+    application is not currently supported.
+</docstring>
       <baseclass name="DataObjectSimple"/>
       <constructor name="FileDataObject" overloaded="no">
       <baseclass name="DataObjectSimple"/>
       <constructor name="FileDataObject" overloaded="no">
-        <autodoc>__init__() -&gt; FileDataObject</autodoc>
+        <autodoc>__init__(self) -&gt; FileDataObject</autodoc>
       </constructor>
       <method name="GetFilenames" type="wxArrayString" overloaded="no">
       </constructor>
       <method name="GetFilenames" type="wxArrayString" overloaded="no">
-        <autodoc>GetFilenames() -&gt; wxArrayString</autodoc>
+        <autodoc>GetFilenames(self) -&gt; [names]</autodoc>
+        <docstring>Returns a list of file names.</docstring>
       </method>
       <method name="AddFile" type="" overloaded="no">
       </method>
       <method name="AddFile" type="" overloaded="no">
-        <autodoc>AddFile(String filename)</autodoc>
+        <autodoc>AddFile(self, String filename)</autodoc>
+        <docstring>Adds a file to the list of files represented by this data object.</docstring>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="CustomDataObject" oldname="wxCustomDataObject" module="misc">
+    <class name="CustomDataObject" oldname="wxCustomDataObject" module="_misc">
+      <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
+some application-specific data in arbitrary format.  Python strings
+are used for getting and setting data, but any picklable object can
+easily be transfered via strings.  A copy of the data is stored in the
+data object.</docstring>
       <baseclass name="DataObjectSimple"/>
       <constructor name="CustomDataObject" overloaded="no">
       <baseclass name="DataObjectSimple"/>
       <constructor name="CustomDataObject" overloaded="no">
-        <autodoc>__init__(DataFormat format=FormatInvalid) -&gt; CustomDataObject</autodoc>
+        <autodoc>__init__(self, DataFormat format=FormatInvalid) -&gt; CustomDataObject</autodoc>
+        <docstring>wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
+some application-specific data in arbitrary format.  Python strings
+are used for getting and setting data, but any picklable object can
+easily be transfered via strings.  A copy of the data is stored in the
+data object.</docstring>
         <paramlist>
           <param name="format" type="DataFormat" default="wxFormatInvalid"/>
         </paramlist>
       </constructor>
         <paramlist>
           <param name="format" type="DataFormat" default="wxFormatInvalid"/>
         </paramlist>
       </constructor>
-      <method name="TakeData" type="" overloaded="no">
-        <autodoc>TakeData(PyObject data)</autodoc>
-        <paramlist>
-          <param name="data" type="PyObject" default=""/>
-        </paramlist>
-      </method>
       <method name="SetData" type="bool" overloaded="no">
       <method name="SetData" type="bool" overloaded="no">
-        <autodoc>SetData(PyObject data) -&gt; bool</autodoc>
+        <autodoc>SetData(self, String data) -&gt; bool</autodoc>
+        <docstring>Copy the data value to the data object.</docstring>
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="size_t" overloaded="no">
         <paramlist>
           <param name="data" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="size_t" overloaded="no">
-        <autodoc>GetSize() -&gt; size_t</autodoc>
+        <autodoc>GetSize(self) -&gt; size_t</autodoc>
+        <docstring>Get the size of the data.</docstring>
       </method>
       <method name="GetData" type="PyObject" overloaded="no">
       </method>
       <method name="GetData" type="PyObject" overloaded="no">
-        <autodoc>GetData() -&gt; PyObject</autodoc>
+        <autodoc>GetData(self) -&gt; String</autodoc>
+        <docstring>Returns the data bytes from the data object as a string.</docstring>
       </method>
     </class>
       </method>
     </class>
-    <class name="URLDataObject" oldname="wxURLDataObject" module="misc">
+    <class name="URLDataObject" oldname="wxURLDataObject" module="_misc">
+      <docstring>This data object holds a URL in a format that is compatible with some
+browsers such that it is able to be dragged to or from them.</docstring>
       <baseclass name="DataObjectComposite"/>
       <constructor name="URLDataObject" overloaded="no">
       <baseclass name="DataObjectComposite"/>
       <constructor name="URLDataObject" overloaded="no">
-        <autodoc>__init__() -&gt; URLDataObject</autodoc>
+        <autodoc>__init__(self) -&gt; URLDataObject</autodoc>
+        <docstring>This data object holds a URL in a format that is compatible with some
+browsers such that it is able to be dragged to or from them.</docstring>
       </constructor>
       <method name="GetURL" type="String" overloaded="no">
       </constructor>
       <method name="GetURL" type="String" overloaded="no">
-        <autodoc>GetURL() -&gt; String</autodoc>
+        <autodoc>GetURL(self) -&gt; String</autodoc>
+        <docstring>Returns a string containing the current URL.</docstring>
       </method>
       <method name="SetURL" type="" overloaded="no">
       </method>
       <method name="SetURL" type="" overloaded="no">
-        <autodoc>SetURL(String url)</autodoc>
+        <autodoc>SetURL(self, String url)</autodoc>
+        <docstring>Set the URL.</docstring>
         <paramlist>
           <param name="url" type="String" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="url" type="String" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="misc">
+    <class name="MetafileDataObject" oldname="wxMetafileDataObject" module="_misc">
       <baseclass name="DataObjectSimple"/>
       <constructor name="MetafileDataObject" overloaded="no">
       <baseclass name="DataObjectSimple"/>
       <constructor name="MetafileDataObject" overloaded="no">
-        <autodoc>__init__() -&gt; MetafileDataObject</autodoc>
+        <autodoc>__init__(self) -&gt; MetafileDataObject</autodoc>
       </constructor>
     </class>
     <pythoncode>
       </constructor>
     </class>
     <pythoncode>
@@ -23540,9 +26439,9 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         <param name="res" type="wxDragResult" default=""/>
       </paramlist>
     </method>
         <param name="res" type="wxDragResult" default=""/>
       </paramlist>
     </method>
-    <class name="DropSource" oldname="wxPyDropSource" module="misc">
+    <class name="DropSource" oldname="wxPyDropSource" module="_misc">
       <constructor name="wxPyDropSource" overloaded="no">
       <constructor name="wxPyDropSource" overloaded="no">
-        <autodoc>__init__(Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, 
+        <autodoc>__init__(self, Window win, Icon copy=wxNullIcon, Icon move=wxNullIcon, 
     Icon none=wxNullIcon) -&gt; DropSource</autodoc>
         <paramlist>
           <param name="win" type="Window" default=""/>
     Icon none=wxNullIcon) -&gt; DropSource</autodoc>
         <paramlist>
           <param name="win" type="Window" default=""/>
@@ -23552,10 +26451,10 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </constructor>
       <destructor name="~wxPyDropSource" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxPyDropSource" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class, int incref)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class, int incref)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -23563,62 +26462,62 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="SetData" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetData" type="" overloaded="no">
-        <autodoc>SetData(DataObject data)</autodoc>
+        <autodoc>SetData(self, DataObject data)</autodoc>
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDataObject" type="DataObject" overloaded="no">
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDataObject" type="DataObject" overloaded="no">
-        <autodoc>GetDataObject() -&gt; DataObject</autodoc>
+        <autodoc>GetDataObject(self) -&gt; DataObject</autodoc>
       </method>
       <method name="SetCursor" type="" overloaded="no">
       </method>
       <method name="SetCursor" type="" overloaded="no">
-        <autodoc>SetCursor(int res, Cursor cursor)</autodoc>
+        <autodoc>SetCursor(self, int res, Cursor cursor)</autodoc>
         <paramlist>
           <param name="res" type="wxDragResult" default=""/>
           <param name="cursor" type="Cursor" default=""/>
         </paramlist>
       </method>
       <method name="DoDragDrop" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="res" type="wxDragResult" default=""/>
           <param name="cursor" type="Cursor" default=""/>
         </paramlist>
       </method>
       <method name="DoDragDrop" type="wxDragResult" overloaded="no">
-        <autodoc>DoDragDrop(int flags=Drag_CopyOnly) -&gt; int</autodoc>
+        <autodoc>DoDragDrop(self, int flags=Drag_CopyOnly) -&gt; int</autodoc>
         <paramlist>
           <param name="flags" type="int" default="wxDrag_CopyOnly"/>
         </paramlist>
       </method>
       <method name="base_GiveFeedback" type="bool" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default="wxDrag_CopyOnly"/>
         </paramlist>
       </method>
       <method name="base_GiveFeedback" type="bool" overloaded="no">
-        <autodoc>base_GiveFeedback(int effect) -&gt; bool</autodoc>
+        <autodoc>base_GiveFeedback(self, int effect) -&gt; bool</autodoc>
         <paramlist>
           <param name="effect" type="wxDragResult" default=""/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="effect" type="wxDragResult" default=""/>
         </paramlist>
       </method>
     </class>
-    <class name="DropTarget" oldname="wxPyDropTarget" module="misc">
+    <class name="DropTarget" oldname="wxPyDropTarget" module="_misc">
       <constructor name="DropTarget" overloaded="no">
       <constructor name="DropTarget" overloaded="no">
-        <autodoc>__init__(DataObject dataObject=None) -&gt; DropTarget</autodoc>
+        <autodoc>__init__(self, DataObject dataObject=None) -&gt; DropTarget</autodoc>
         <paramlist>
           <param name="dataObject" type="DataObject" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyDropTarget" overloaded="no">
         <paramlist>
           <param name="dataObject" type="DataObject" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxPyDropTarget" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </destructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDataObject" type="DataObject" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetDataObject" type="DataObject" overloaded="no">
-        <autodoc>GetDataObject() -&gt; DataObject</autodoc>
+        <autodoc>GetDataObject(self) -&gt; DataObject</autodoc>
       </method>
       <method name="SetDataObject" type="" overloaded="no">
       </method>
       <method name="SetDataObject" type="" overloaded="no">
-        <autodoc>SetDataObject(DataObject dataObject)</autodoc>
+        <autodoc>SetDataObject(self, DataObject dataObject)</autodoc>
         <paramlist>
           <param name="dataObject" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEnter" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="dataObject" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEnter" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnEnter(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnEnter(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23626,7 +26525,7 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnDragOver(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnDragOver(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23634,34 +26533,34 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="base_OnLeave" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeave" type="" overloaded="no">
-        <autodoc>base_OnLeave()</autodoc>
+        <autodoc>base_OnLeave(self)</autodoc>
       </method>
       <method name="base_OnDrop" type="bool" overloaded="no">
       </method>
       <method name="base_OnDrop" type="bool" overloaded="no">
-        <autodoc>base_OnDrop(int x, int y) -&gt; bool</autodoc>
+        <autodoc>base_OnDrop(self, int x, int y) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetData" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetData" type="bool" overloaded="no">
-        <autodoc>GetData() -&gt; bool</autodoc>
+        <autodoc>GetData(self) -&gt; bool</autodoc>
       </method>
     </class>
     <pythoncode> PyDropTarget = DropTarget </pythoncode>
       </method>
     </class>
     <pythoncode> PyDropTarget = DropTarget </pythoncode>
-    <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="misc">
+    <class name="TextDropTarget" oldname="wxPyTextDropTarget" module="_misc">
       <baseclass name="DropTarget"/>
       <constructor name="wxPyTextDropTarget" overloaded="no">
       <baseclass name="DropTarget"/>
       <constructor name="wxPyTextDropTarget" overloaded="no">
-        <autodoc>__init__() -&gt; TextDropTarget</autodoc>
+        <autodoc>__init__(self) -&gt; TextDropTarget</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEnter" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEnter" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnEnter(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnEnter(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23669,7 +26568,7 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnDragOver(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnDragOver(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23677,17 +26576,17 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="base_OnLeave" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeave" type="" overloaded="no">
-        <autodoc>base_OnLeave()</autodoc>
+        <autodoc>base_OnLeave(self)</autodoc>
       </method>
       <method name="base_OnDrop" type="bool" overloaded="no">
       </method>
       <method name="base_OnDrop" type="bool" overloaded="no">
-        <autodoc>base_OnDrop(int x, int y) -&gt; bool</autodoc>
+        <autodoc>base_OnDrop(self, int x, int y) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_OnData" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_OnData" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnData(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnData(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23695,20 +26594,20 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
     </class>
         </paramlist>
       </method>
     </class>
-    <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="misc">
+    <class name="FileDropTarget" oldname="wxPyFileDropTarget" module="_misc">
       <baseclass name="DropTarget"/>
       <constructor name="wxPyFileDropTarget" overloaded="no">
       <baseclass name="DropTarget"/>
       <constructor name="wxPyFileDropTarget" overloaded="no">
-        <autodoc>__init__() -&gt; FileDropTarget</autodoc>
+        <autodoc>__init__(self) -&gt; FileDropTarget</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEnter" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEnter" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnEnter(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnEnter(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23716,7 +26615,7 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragOver" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnDragOver(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnDragOver(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23724,17 +26623,17 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
         </paramlist>
       </method>
       <method name="base_OnLeave" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeave" type="" overloaded="no">
-        <autodoc>base_OnLeave()</autodoc>
+        <autodoc>base_OnLeave(self)</autodoc>
       </method>
       <method name="base_OnDrop" type="bool" overloaded="no">
       </method>
       <method name="base_OnDrop" type="bool" overloaded="no">
-        <autodoc>base_OnDrop(int x, int y) -&gt; bool</autodoc>
+        <autodoc>base_OnDrop(self, int x, int y) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_OnData" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_OnData" type="wxDragResult" overloaded="no">
-        <autodoc>base_OnData(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>base_OnData(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -23745,58 +26644,67 @@ __ne__(DataFormat format) -&gt; bool</autodoc>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="Clipboard" oldname="wxClipboard" module="misc">
-      <docstring>wx.Clipboard represents the system clipboard and provides methods to copy data
-to or paste data from it.  Normally, you should only use wx.TheClipboard which
-is a reference to a global wx.Clipboard instance.
-
-Call wx.TheClipboard.Open to get ownership of the clipboard. If this operation
-returns True, you now own the clipboard. Call wx.TheClipboard.SetData to put
-data on the clipboard, or wx.TheClipboard.GetData to retrieve data from the
-clipboard.  Call wx.TheClipboard.Close to close the clipboard and relinquish
-ownership. You should keep the clipboard open only momentarily.
+    <class name="Clipboard" oldname="wxClipboard" module="_misc">
+      <docstring>wx.Clipboard represents the system clipboard and provides methods to
+copy data to it or paste data from it.  Normally, you should only use
+``wx.TheClipboard`` which is a reference to a global wx.Clipboard
+instance.
+
+Call ``wx.TheClipboard``'s `Open` method to get ownership of the
+clipboard. If this operation returns True, you now own the
+clipboard. Call `SetData` to put data on the clipboard, or `GetData`
+to retrieve data from the clipboard.  Call `Close` to close the
+clipboard and relinquish ownership. You should keep the clipboard open
+only momentarily.
+
+:see: `wx.DataObject`
 </docstring>
       <baseclass name="Object"/>
       <constructor name="Clipboard" overloaded="no">
 </docstring>
       <baseclass name="Object"/>
       <constructor name="Clipboard" overloaded="no">
-        <autodoc>__init__() -&gt; Clipboard</autodoc>
+        <autodoc>__init__(self) -&gt; Clipboard</autodoc>
       </constructor>
       <destructor name="~wxClipboard" overloaded="no">
       </constructor>
       <destructor name="~wxClipboard" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Open" type="bool" overloaded="no">
       </destructor>
       <method name="Open" type="bool" overloaded="no">
-        <autodoc>Open() -&gt; bool</autodoc>
-        <docstring>Call this function to open the clipboard before calling SetData
-and GetData.  Call Close when you have finished with the clipboard.
-You should keep the clipboard open for only a very short time.
-Returns true on success. </docstring>
+        <autodoc>Open(self) -&gt; bool</autodoc>
+        <docstring>Call this function to open the clipboard before calling SetData and
+GetData.  Call Close when you have finished with the clipboard.  You
+should keep the clipboard open for only a very short time.  Returns
+True on success.</docstring>
       </method>
       <method name="Close" type="" overloaded="no">
       </method>
       <method name="Close" type="" overloaded="no">
-        <autodoc>Close()</autodoc>
+        <autodoc>Close(self)</autodoc>
         <docstring>Closes the clipboard.</docstring>
       </method>
       <method name="IsOpened" type="bool" overloaded="no">
         <docstring>Closes the clipboard.</docstring>
       </method>
       <method name="IsOpened" type="bool" overloaded="no">
-        <autodoc>IsOpened() -&gt; bool</autodoc>
+        <autodoc>IsOpened(self) -&gt; bool</autodoc>
         <docstring>Query whether the clipboard is opened</docstring>
       </method>
       <method name="AddData" type="bool" overloaded="no">
         <docstring>Query whether the clipboard is opened</docstring>
       </method>
       <method name="AddData" type="bool" overloaded="no">
-        <autodoc>AddData(DataObject data) -&gt; bool</autodoc>
-        <docstring>Call this function to add the data object to the clipboard. You
-may call this function repeatedly after having cleared the clipboard.
+        <autodoc>AddData(self, DataObject data) -&gt; bool</autodoc>
+        <docstring>Call this function to add the data object to the clipboard. You may
+call this function repeatedly after having cleared the clipboard.
 After this function has been called, the clipboard owns the data, so
 After this function has been called, the clipboard owns the data, so
-do not delete the data explicitly.</docstring>
+do not delete the data explicitly.
+
+:see: `wx.DataObject`</docstring>
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="SetData" type="bool" overloaded="no">
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="SetData" type="bool" overloaded="no">
-        <autodoc>SetData(DataObject data) -&gt; bool</autodoc>
-        <docstring>Set the clipboard data, this is the same as Clear followed by AddData.</docstring>
+        <autodoc>SetData(self, DataObject data) -&gt; bool</autodoc>
+        <docstring>Set the clipboard data, this is the same as `Clear` followed by
+`AddData`.
+
+:see: `wx.DataObject`</docstring>
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="IsSupported" type="bool" overloaded="no">
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="IsSupported" type="bool" overloaded="no">
-        <autodoc>IsSupported(DataFormat format) -&gt; bool</autodoc>
+        <autodoc>IsSupported(self, DataFormat format) -&gt; bool</autodoc>
         <docstring>Returns True if the given format is available in the data object(s) on
 the clipboard.</docstring>
         <paramlist>
         <docstring>Returns True if the given format is available in the data object(s) on
 the clipboard.</docstring>
         <paramlist>
@@ -23804,51 +26712,73 @@ the clipboard.</docstring>
         </paramlist>
       </method>
       <method name="GetData" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetData" type="bool" overloaded="no">
-        <autodoc>GetData(DataObject data) -&gt; bool</autodoc>
-        <docstring>Call this function to fill data with data on the clipboard, if available
-in the required format. Returns true on success.</docstring>
+        <autodoc>GetData(self, DataObject data) -&gt; bool</autodoc>
+        <docstring>Call this function to fill data with data on the clipboard, if
+available in the required format. Returns true on success.</docstring>
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         <paramlist>
           <param name="data" type="DataObject" default=""/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
-        <docstring>Clears data from the clipboard object and also  the system's clipboard
+        <autodoc>Clear(self)</autodoc>
+        <docstring>Clears data from the clipboard object and also the system's clipboard
 if possible.</docstring>
       </method>
       <method name="Flush" type="bool" overloaded="no">
 if possible.</docstring>
       </method>
       <method name="Flush" type="bool" overloaded="no">
-        <autodoc>Flush() -&gt; bool</autodoc>
+        <autodoc>Flush(self) -&gt; bool</autodoc>
         <docstring>Flushes the clipboard: this means that the data which is currently on
         <docstring>Flushes the clipboard: this means that the data which is currently on
-clipboard will stay available even after the application exits (possibly
-eating memory), otherwise the clipboard will be emptied on exit.
-Returns False if the operation is unsuccesful for any reason.</docstring>
+clipboard will stay available even after the application exits,
+possibly eating memory, otherwise the clipboard will be emptied on
+exit.  Returns False if the operation is unsuccesful for any reason.</docstring>
       </method>
       <method name="UsePrimarySelection" type="" overloaded="no">
       </method>
       <method name="UsePrimarySelection" type="" overloaded="no">
-        <autodoc>UsePrimarySelection(bool primary=True)</autodoc>
-        <docstring>On platforms supporting it (the X11 based platforms), selects the so
-called PRIMARY SELECTION as the clipboard as opposed to the normal
-clipboard, if primary is True.</docstring>
+        <autodoc>UsePrimarySelection(self, bool primary=True)</autodoc>
+        <docstring>On platforms supporting it (the X11 based platforms), selects the
+so called PRIMARY SELECTION as the clipboard as opposed to the
+normal clipboard, if primary is True.</docstring>
         <paramlist>
           <param name="primary" type="bool" default="True"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="primary" type="bool" default="True"/>
         </paramlist>
       </method>
+      <staticmethod name="Get" type="Clipboard" overloaded="no">
+        <autodoc>Get() -&gt; Clipboard</autodoc>
+        <docstring>Returns global instance (wxTheClipboard) of the object.</docstring>
+      </staticmethod>
     </class>
     </class>
-    <class name="ClipboardLocker" oldname="wxClipboardLocker" module="misc">
-      <docstring>A helpful class for opening the clipboard and automatically closing it when
-the locker is destroyed.</docstring>
+    <pythoncode>
+    class _wxPyDelayedInitWrapper(object):
+        def __init__(self, initfunc, *args, **kwargs):
+            self._initfunc = initfunc
+            self._args = args
+            self._kwargs = kwargs
+            self._instance = None
+        def _checkInstance(self):
+            if self._instance is None:
+                self._instance = self._initfunc(*self._args, **self._kwargs)        
+        def __getattr__(self, name):
+            self._checkInstance()
+            return getattr(self._instance, name)
+        def __repr__(self):
+            self._checkInstance()
+            return repr(self._instance)
+    TheClipboard = _wxPyDelayedInitWrapper(Clipboard.Get)
+</pythoncode>
+    <class name="ClipboardLocker" oldname="wxClipboardLocker" module="_misc">
+      <docstring>A helpful class for opening the clipboard and automatically
+closing it when the locker is destroyed.</docstring>
       <constructor name="ClipboardLocker" overloaded="no">
       <constructor name="ClipboardLocker" overloaded="no">
-        <autodoc>__init__(Clipboard clipboard=None) -&gt; ClipboardLocker</autodoc>
-        <docstring>A helpful class for opening the clipboard and automatically closing it when
-the locker is destroyed.</docstring>
+        <autodoc>__init__(self, Clipboard clipboard=None) -&gt; ClipboardLocker</autodoc>
+        <docstring>A helpful class for opening the clipboard and automatically
+closing it when the locker is destroyed.</docstring>
         <paramlist>
           <param name="clipboard" type="Clipboard" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxClipboardLocker" overloaded="no">
         <paramlist>
           <param name="clipboard" type="Clipboard" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxClipboardLocker" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="__nonzero__" type="bool" overloaded="no">
       </destructor>
       <method name="__nonzero__" type="bool" overloaded="no">
-        <autodoc>__nonzero__() -&gt; bool</autodoc>
+        <autodoc>__nonzero__(self) -&gt; bool</autodoc>
         <docstring>A ClipboardLocker instance evaluates to True if the clipboard was
 successfully opened.</docstring>
       </method>
         <docstring>A ClipboardLocker instance evaluates to True if the clipboard was
 successfully opened.</docstring>
       </method>
@@ -23856,10 +26786,10 @@ successfully opened.</docstring>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
-    <class name="VideoMode" oldname="wxVideoMode" module="misc">
+    <class name="VideoMode" oldname="wxVideoMode" module="_misc">
       <docstring>A simple struct containing video mode parameters for a display</docstring>
       <constructor name="VideoMode" overloaded="no">
       <docstring>A simple struct containing video mode parameters for a display</docstring>
       <constructor name="VideoMode" overloaded="no">
-        <autodoc>__init__(int width=0, int height=0, int depth=0, int freq=0) -&gt; VideoMode</autodoc>
+        <autodoc>__init__(self, int width=0, int height=0, int depth=0, int freq=0) -&gt; VideoMode</autodoc>
         <docstring>A simple struct containing video mode parameters for a display</docstring>
         <paramlist>
           <param name="width" type="int" default="0"/>
         <docstring>A simple struct containing video mode parameters for a display</docstring>
         <paramlist>
           <param name="width" type="int" default="0"/>
@@ -23869,44 +26799,43 @@ successfully opened.</docstring>
         </paramlist>
       </constructor>
       <destructor name="~wxVideoMode" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxVideoMode" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Matches" type="bool" overloaded="no">
       </destructor>
       <method name="Matches" type="bool" overloaded="no">
-        <autodoc>Matches(VideoMode other) -&gt; bool</autodoc>
-        <docstring>Returns true if this mode matches the other one in the sense that
-all non zero fields of the other mode have the same value in this
+        <autodoc>Matches(self, VideoMode other) -&gt; bool</autodoc>
+        <docstring>Returns true if this mode matches the other one in the sense that all
+non zero fields of the other mode have the same value in this
 one (except for refresh which is allowed to have a greater value)</docstring>
         <paramlist>
           <param name="other" type="VideoMode" default=""/>
         </paramlist>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
 one (except for refresh which is allowed to have a greater value)</docstring>
         <paramlist>
           <param name="other" type="VideoMode" default=""/>
         </paramlist>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
-        <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means
-unspecified</docstring>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
+        <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means unspecified</docstring>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
         <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means
 unspecified</docstring>
       </method>
       <method name="GetDepth" type="int" overloaded="no">
         <docstring>Returns the screen width in pixels (e.g. 640*480), 0 means
 unspecified</docstring>
       </method>
       <method name="GetDepth" type="int" overloaded="no">
-        <autodoc>GetDepth() -&gt; int</autodoc>
-        <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome
-and 0 means unspecified/known</docstring>
+        <autodoc>GetDepth(self) -&gt; int</autodoc>
+        <docstring>Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0
+means unspecified/known</docstring>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
       </method>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
         <docstring>returns true if the object has been initialized</docstring>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <docstring>returns true if the object has been initialized</docstring>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(VideoMode other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, VideoMode other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="VideoMode" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="VideoMode" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(VideoMode other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, VideoMode other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="VideoMode" default=""/>
         </paramlist>
         <paramlist>
           <param name="other" type="VideoMode" default=""/>
         </paramlist>
@@ -23916,19 +26845,19 @@ and 0 means unspecified/known</docstring>
       <property name="bpp" type="int" readonly="no"/>
       <property name="refresh" type="int" readonly="no"/>
     </class>
       <property name="bpp" type="int" readonly="no"/>
       <property name="refresh" type="int" readonly="no"/>
     </class>
-    <class name="Display" oldname="wxDisplay" module="misc">
+    <class name="Display" oldname="wxDisplay" module="_misc">
       <docstring>Represents a display/monitor attached to the system</docstring>
       <constructor name="Display" overloaded="no">
       <docstring>Represents a display/monitor attached to the system</docstring>
       <constructor name="Display" overloaded="no">
-        <autodoc>__init__(size_t index=0) -&gt; Display</autodoc>
-        <docstring>Set up a Display instance with the specified display.  The
-displays are numbered from 0 to GetCount() - 1, 0 is always the
-primary display and the only one which is always supported</docstring>
+        <autodoc>__init__(self, size_t index=0) -&gt; Display</autodoc>
+        <docstring>Set up a Display instance with the specified display.  The displays
+are numbered from 0 to GetCount() - 1, 0 is always the primary display
+and the only one which is always supported</docstring>
         <paramlist>
           <param name="index" type="size_t" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxDisplay" overloaded="no">
         <paramlist>
           <param name="index" type="size_t" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxDisplay" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <staticmethod name="GetCount" type="size_t" overloaded="no">
         <autodoc>GetCount() -&gt; size_t</autodoc>
       </destructor>
       <staticmethod name="GetCount" type="size_t" overloaded="no">
         <autodoc>GetCount() -&gt; size_t</autodoc>
@@ -23936,77 +26865,92 @@ primary display and the only one which is always supported</docstring>
       </staticmethod>
       <staticmethod name="GetFromPoint" type="int" overloaded="no">
         <autodoc>GetFromPoint(Point pt) -&gt; int</autodoc>
       </staticmethod>
       <staticmethod name="GetFromPoint" type="int" overloaded="no">
         <autodoc>GetFromPoint(Point pt) -&gt; int</autodoc>
-        <docstring>Find the display where the given point lies, return wx.NOT_FOUND
-if it doesn't belong to any display</docstring>
+        <docstring>Find the display where the given point lies, return wx.NOT_FOUND if it
+doesn't belong to any display</docstring>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </staticmethod>
       <staticmethod name="GetFromWindow" type="int" overloaded="no">
         <autodoc>GetFromWindow(Window window) -&gt; int</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </staticmethod>
       <staticmethod name="GetFromWindow" type="int" overloaded="no">
         <autodoc>GetFromWindow(Window window) -&gt; int</autodoc>
-        <docstring>Find the display where the given window lies, return wx.NOT_FOUND
-if it is not shown at all.</docstring>
+        <docstring>Find the display where the given window lies, return wx.NOT_FOUND if
+it is not shown at all.</docstring>
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </staticmethod>
       <method name="IsOk" type="bool" overloaded="no">
         <paramlist>
           <param name="window" type="Window" default=""/>
         </paramlist>
       </staticmethod>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
         <docstring>Return true if the object was initialized successfully</docstring>
       </method>
       <method name="GetGeometry" type="Rect" overloaded="no">
         <docstring>Return true if the object was initialized successfully</docstring>
       </method>
       <method name="GetGeometry" type="Rect" overloaded="no">
-        <autodoc>GetGeometry() -&gt; Rect</autodoc>
-        <docstring>Returns the bounding rectangle of the display whose index was
-passed to the constructor.</docstring>
+        <autodoc>GetGeometry(self) -&gt; Rect</autodoc>
+        <docstring>Returns the bounding rectangle of the display whose index was passed
+to the constructor.</docstring>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
         <docstring>Returns the display's name. A name is not available on all platforms.</docstring>
       </method>
       <method name="IsPrimary" type="bool" overloaded="no">
         <docstring>Returns the display's name. A name is not available on all platforms.</docstring>
       </method>
       <method name="IsPrimary" type="bool" overloaded="no">
-        <autodoc>IsPrimary() -&gt; bool</autodoc>
+        <autodoc>IsPrimary(self) -&gt; bool</autodoc>
         <docstring>Returns true if the display is the primary display. The primary
 display is the one whose index is 0.</docstring>
       </method>
       <method name="GetModes" type="PyObject" overloaded="no">
         <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -&gt; [videoMode...]</autodoc>
         <docstring>Returns true if the display is the primary display. The primary
 display is the one whose index is 0.</docstring>
       </method>
       <method name="GetModes" type="PyObject" overloaded="no">
         <autodoc>GetModes(VideoMode mode=DefaultVideoMode) -&gt; [videoMode...]</autodoc>
-        <docstring>Enumerate all video modes supported by this display matching the
-given one (in the sense of VideoMode.Match()).
+        <docstring>Enumerate all video modes supported by this display matching the given
+one (in the sense of VideoMode.Match()).
 
 
-As any mode matches the default value of the argument and there
-is always at least one video mode supported by display, the
-returned array is only empty for the default value of the
-argument if this function is not supported at all on this
-platform.</docstring>
+As any mode matches the default value of the argument and there is
+always at least one video mode supported by display, the returned
+array is only empty for the default value of the argument if this
+function is not supported at all on this platform.</docstring>
         <paramlist>
           <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
         </paramlist>
       </method>
       <method name="GetCurrentMode" type="VideoMode" overloaded="no">
         <paramlist>
           <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
         </paramlist>
       </method>
       <method name="GetCurrentMode" type="VideoMode" overloaded="no">
-        <autodoc>GetCurrentMode() -&gt; VideoMode</autodoc>
+        <autodoc>GetCurrentMode(self) -&gt; VideoMode</autodoc>
         <docstring>Get the current video mode.</docstring>
       </method>
       <method name="ChangeMode" type="bool" overloaded="no">
         <docstring>Get the current video mode.</docstring>
       </method>
       <method name="ChangeMode" type="bool" overloaded="no">
-        <autodoc>ChangeMode(VideoMode mode=DefaultVideoMode) -&gt; bool</autodoc>
-        <docstring>Change current mode, return true if succeeded, false otherwise</docstring>
+        <autodoc>ChangeMode(self, VideoMode mode=DefaultVideoMode) -&gt; bool</autodoc>
+        <docstring>Changes the video mode of this display to the mode specified in the
+mode parameter.
+
+If wx.DefaultVideoMode is passed in as the mode parameter, the defined
+behaviour is that wx.Display will reset the video mode to the default
+mode used by the display.  On Windows, the behavior is normal.
+However, there are differences on other platforms. On Unix variations
+using X11 extensions it should behave as defined, but some
+irregularities may occur.
+
+On wxMac passing in wx.DefaultVideoMode as the mode parameter does
+nothing.  This happens because Carbon no longer has access to
+DMUseScreenPrefs, an undocumented function that changed the video mode
+to the system default by using the system's 'scrn' resource.
+
+Returns True if succeeded, False otherwise</docstring>
         <paramlist>
           <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
         </paramlist>
       </method>
       <method name="ResetMode" type="" overloaded="no">
         <paramlist>
           <param name="mode" type="VideoMode" default="wxDefaultVideoMode"/>
         </paramlist>
       </method>
       <method name="ResetMode" type="" overloaded="no">
-        <autodoc>ResetMode()</autodoc>
+        <autodoc>ResetMode(self)</autodoc>
         <docstring>Restore the default video mode (just a more readable synonym)</docstring>
       </method>
     </class>
   </module>
   <module name="calendar">
         <docstring>Restore the default video mode (just a more readable synonym)</docstring>
       </method>
     </class>
   </module>
   <module name="calendar">
-    <import name="misc"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_misc"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
     <class name="CalendarDateAttr" oldname="wxCalendarDateAttr" module="calendar">
-      <docstring>A set of customization attributes for a calendar date, which can be used to
-control the look of the Calendar object.</docstring>
+      <docstring>A set of customization attributes for a calendar date, which can be
+used to control the look of the Calendar object.</docstring>
       <constructor name="CalendarDateAttr" overloaded="no">
       <constructor name="CalendarDateAttr" overloaded="no">
-        <autodoc>__init__(Colour colText=wxNullColour, Colour colBack=wxNullColour, 
+        <autodoc>__init__(self, Colour colText=wxNullColour, Colour colBack=wxNullColour, 
     Colour colBorder=wxNullColour, Font font=wxNullFont, 
     int border=CAL_BORDER_NONE) -&gt; CalendarDateAttr</autodoc>
         <docstring>Create a CalendarDateAttr.</docstring>
     Colour colBorder=wxNullColour, Font font=wxNullFont, 
     int border=CAL_BORDER_NONE) -&gt; CalendarDateAttr</autodoc>
         <docstring>Create a CalendarDateAttr.</docstring>
@@ -24019,101 +26963,101 @@ control the look of the Calendar object.</docstring>
         </paramlist>
       </constructor>
       <method name="SetTextColour" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour colText)</autodoc>
+        <autodoc>SetTextColour(self, Colour colText)</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBorderColour" type="" overloaded="no">
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBorderColour" type="" overloaded="no">
-        <autodoc>SetBorderColour(Colour col)</autodoc>
+        <autodoc>SetBorderColour(self, Colour col)</autodoc>
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="col" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font)</autodoc>
+        <autodoc>SetFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetBorder" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetBorder" type="" overloaded="no">
-        <autodoc>SetBorder(int border)</autodoc>
+        <autodoc>SetBorder(self, int border)</autodoc>
         <paramlist>
           <param name="border" type="wxCalendarDateBorder" default=""/>
         </paramlist>
       </method>
       <method name="SetHoliday" type="" overloaded="no">
         <paramlist>
           <param name="border" type="wxCalendarDateBorder" default=""/>
         </paramlist>
       </method>
       <method name="SetHoliday" type="" overloaded="no">
-        <autodoc>SetHoliday(bool holiday)</autodoc>
+        <autodoc>SetHoliday(self, bool holiday)</autodoc>
         <paramlist>
           <param name="holiday" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
         <paramlist>
           <param name="holiday" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
-        <autodoc>HasTextColour() -&gt; bool</autodoc>
+        <autodoc>HasTextColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
-        <autodoc>HasBackgroundColour() -&gt; bool</autodoc>
+        <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasBorderColour" type="bool" overloaded="no">
       </method>
       <method name="HasBorderColour" type="bool" overloaded="no">
-        <autodoc>HasBorderColour() -&gt; bool</autodoc>
+        <autodoc>HasBorderColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasFont" type="bool" overloaded="no">
       </method>
       <method name="HasFont" type="bool" overloaded="no">
-        <autodoc>HasFont() -&gt; bool</autodoc>
+        <autodoc>HasFont(self) -&gt; bool</autodoc>
       </method>
       <method name="HasBorder" type="bool" overloaded="no">
       </method>
       <method name="HasBorder" type="bool" overloaded="no">
-        <autodoc>HasBorder() -&gt; bool</autodoc>
+        <autodoc>HasBorder(self) -&gt; bool</autodoc>
       </method>
       <method name="IsHoliday" type="bool" overloaded="no">
       </method>
       <method name="IsHoliday" type="bool" overloaded="no">
-        <autodoc>IsHoliday() -&gt; bool</autodoc>
+        <autodoc>IsHoliday(self) -&gt; bool</autodoc>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
-        <autodoc>GetTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetBorderColour" type="Colour" overloaded="no">
       </method>
       <method name="GetBorderColour" type="Colour" overloaded="no">
-        <autodoc>GetBorderColour() -&gt; Colour</autodoc>
+        <autodoc>GetBorderColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no">
       </method>
       <method name="GetBorder" type="wxCalendarDateBorder" overloaded="no">
-        <autodoc>GetBorder() -&gt; int</autodoc>
+        <autodoc>GetBorder(self) -&gt; int</autodoc>
       </method>
     </class>
     <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar">
       <baseclass name="CommandEvent"/>
       <constructor name="CalendarEvent" overloaded="no">
       </method>
     </class>
     <class name="CalendarEvent" oldname="wxCalendarEvent" module="calendar">
       <baseclass name="CommandEvent"/>
       <constructor name="CalendarEvent" overloaded="no">
-        <autodoc>__init__(CalendarCtrl cal, wxEventType type) -&gt; CalendarEvent</autodoc>
+        <autodoc>__init__(self, CalendarCtrl cal, wxEventType type) -&gt; CalendarEvent</autodoc>
         <paramlist>
           <param name="cal" type="wxCalendarCtrl" default=""/>
           <param name="type" type="wxEventType" default=""/>
         </paramlist>
       </constructor>
       <method name="GetDate" type="DateTime" overloaded="no">
         <paramlist>
           <param name="cal" type="wxCalendarCtrl" default=""/>
           <param name="type" type="wxEventType" default=""/>
         </paramlist>
       </constructor>
       <method name="GetDate" type="DateTime" overloaded="no">
-        <autodoc>GetDate() -&gt; DateTime</autodoc>
+        <autodoc>GetDate(self) -&gt; DateTime</autodoc>
       </method>
       <method name="SetDate" type="" overloaded="no">
       </method>
       <method name="SetDate" type="" overloaded="no">
-        <autodoc>SetDate(DateTime date)</autodoc>
+        <autodoc>SetDate(self, DateTime date)</autodoc>
         <paramlist>
           <param name="date" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="SetWeekDay" type="" overloaded="no">
         <paramlist>
           <param name="date" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="SetWeekDay" type="" overloaded="no">
-        <autodoc>SetWeekDay(int wd)</autodoc>
+        <autodoc>SetWeekDay(self, int wd)</autodoc>
         <paramlist>
           <param name="wd" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
         <paramlist>
           <param name="wd" type="wxDateTime::WeekDay" default=""/>
         </paramlist>
       </method>
       <method name="GetWeekDay" type="wxDateTime::WeekDay" overloaded="no">
-        <autodoc>GetWeekDay() -&gt; int</autodoc>
+        <autodoc>GetWeekDay(self) -&gt; int</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -24125,109 +27069,80 @@ EVT_CALENDAR_YEAR =            wx.PyEventBinder( wxEVT_CALENDAR_YEAR_CHANGED, 1)
 EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
 </pythoncode>
     <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar">
 EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, 1)
 </pythoncode>
     <class name="CalendarCtrl" oldname="wxCalendarCtrl" module="calendar">
-      <docstring>The calendar control allows the user to pick a date interactively.</docstring>
-      <refdoc>The CalendarCtrl displays a window containing several parts: the control to
-pick the month and the year at the top (either or both of them may be
-disabled) and a month area below them which shows all the days in the
-month. The user can move the current selection using the keyboard and select
-the date (generating EVT_CALENDAR event) by pressing &lt;Return&gt; or double
-clicking it.
-
-It has advanced possibilities for the customization of its display. All global
-settings (such as colours and fonts used) can, of course, be changed. But
-also, the display style for each day in the month can be set independently
-using CalendarDateAttr class.
-
-An item without custom attributes is drawn with the default colours and font
-and without border, but setting custom attributes with SetAttr allows to
-modify its appearance. Just create a custom attribute object and set it for
-the day you want to be displayed specially A day may be marked as being a
-holiday, (even if it is not recognized as one by wx.DateTime) by using the
-SetHoliday method.
-
-As the attributes are specified for each day, they may change when the month
-is changed, so you will often want to update them in an EVT_CALENDAR_MONTH
-event handler.
-
- Styles
-    CAL_SUNDAY_FIRST:         Show Sunday as the first day in the week
-    CAL_MONDAY_FIRST:         Show Monday as the first day in the week
-    CAL_SHOW_HOLIDAYS:         Highlight holidays in the calendar
-    CAL_NO_YEAR_CHANGE:         Disable the year changing
-    CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing
-    CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months
-    CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls.
-
-The default calendar style is wxCAL_SHOW_HOLIDAYS.
-
- Events
-    EVT_CALENDAR:        A day was double clicked in the calendar.
-    EVT_CALENDAR_SEL_CHANGED: The selected date changed.
-    EVT_CALENDAR_DAY:     The selected day changed.
-    EVT_CALENDAR_MONTH:  The selected month changed.
-    EVT_CALENDAR_YEAR:    The selected year changed.
-    EVT_CALENDAR_WEEKDAY_CLICKED:  User clicked on the week day header
-
-Note that changing the selected date will result in either of
-EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
+      <docstring>The calendar control allows the user to pick a date interactively.
+
+The CalendarCtrl displays a window containing several parts: the
+control to pick the month and the year at the top (either or both of
+them may be disabled) and a month area below them which shows all the
+days in the month. The user can move the current selection using the
+keyboard and select the date (generating EVT_CALENDAR event) by
+pressing &lt;Return&gt; or double clicking it.
+
+It has advanced possibilities for the customization of its
+display. All global settings (such as colours and fonts used) can, of
+course, be changed. But also, the display style for each day in the
+month can be set independently using CalendarDateAttr class.
+
+An item without custom attributes is drawn with the default colours
+and font and without border, but setting custom attributes with
+SetAttr allows to modify its appearance. Just create a custom
+attribute object and set it for the day you want to be displayed
+specially A day may be marked as being a holiday, (even if it is not
+recognized as one by wx.DateTime) by using the SetHoliday method.
+
+As the attributes are specified for each day, they may change when the
+month is changed, so you will often want to update them in an
+EVT_CALENDAR_MONTH event handler.
+
+Window Styles
+-------------
+    ==============================   ============================
+    CAL_SUNDAY_FIRST                 Show Sunday as the first day
+                                     in the week
+    CAL_MONDAY_FIRST                 Show Monday as the first day
+                                     in the week
+    CAL_SHOW_HOLIDAYS                Highlight holidays in the
+                                     calendar
+    CAL_NO_YEAR_CHANGE               Disable the year changing
+    CAL_NO_MONTH_CHANGE              Disable the month (and,
+                                     implicitly, the year) changing
+    CAL_SHOW_SURROUNDING_WEEKS       Show the neighbouring weeks in
+                                     the previous and next months
+    CAL_SEQUENTIAL_MONTH_SELECTION   Use alternative, more compact,
+                                     style for the month and year
+                                     selection controls.
+    ==============================   ============================
+
+The default calendar style is CAL_SHOW_HOLIDAYS.
+
+Events
+-------
+    =============================  ==============================
+    EVT_CALENDAR                   A day was double clicked in the
+                                   calendar.
+    EVT_CALENDAR_SEL_CHANGED       The selected date changed.
+    EVT_CALENDAR_DAY               The selected day changed.
+    EVT_CALENDAR_MONTH             The selected month changed.
+    EVT_CALENDAR_YEAR              The selected year changed.
+    EVT_CALENDAR_WEEKDAY_CLICKED   User clicked on the week day
+                                   header
+    =============================  ==============================
+
+Note that changing the selected date will result in one of
+EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED
+event.
     
     
-</refdoc>
+</docstring>
       <baseclass name="Control"/>
       <constructor name="CalendarCtrl" overloaded="no">
       <baseclass name="Control"/>
       <constructor name="CalendarCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id, DateTime date=DefaultDateTime, 
+        <autodoc>__init__(self, Window parent, int id=-1, DateTime date=DefaultDateTime, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, 
     String name=CalendarNameStr) -&gt; CalendarCtrl</autodoc>
         <docstring>Create and show a calendar control.</docstring>
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, 
     String name=CalendarNameStr) -&gt; CalendarCtrl</autodoc>
         <docstring>Create and show a calendar control.</docstring>
-        <refdoc>The CalendarCtrl displays a window containing several parts: the control to
-pick the month and the year at the top (either or both of them may be
-disabled) and a month area below them which shows all the days in the
-month. The user can move the current selection using the keyboard and select
-the date (generating EVT_CALENDAR event) by pressing &lt;Return&gt; or double
-clicking it.
-
-It has advanced possibilities for the customization of its display. All global
-settings (such as colours and fonts used) can, of course, be changed. But
-also, the display style for each day in the month can be set independently
-using CalendarDateAttr class.
-
-An item without custom attributes is drawn with the default colours and font
-and without border, but setting custom attributes with SetAttr allows to
-modify its appearance. Just create a custom attribute object and set it for
-the day you want to be displayed specially A day may be marked as being a
-holiday, (even if it is not recognized as one by wx.DateTime) by using the
-SetHoliday method.
-
-As the attributes are specified for each day, they may change when the month
-is changed, so you will often want to update them in an EVT_CALENDAR_MONTH
-event handler.
-
- Styles
-    CAL_SUNDAY_FIRST:         Show Sunday as the first day in the week
-    CAL_MONDAY_FIRST:         Show Monday as the first day in the week
-    CAL_SHOW_HOLIDAYS:         Highlight holidays in the calendar
-    CAL_NO_YEAR_CHANGE:         Disable the year changing
-    CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing
-    CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months
-    CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls.
-
-The default calendar style is wxCAL_SHOW_HOLIDAYS.
-
- Events
-    EVT_CALENDAR:        A day was double clicked in the calendar.
-    EVT_CALENDAR_SEL_CHANGED: The selected date changed.
-    EVT_CALENDAR_DAY:     The selected day changed.
-    EVT_CALENDAR_MONTH:  The selected month changed.
-    EVT_CALENDAR_YEAR:    The selected year changed.
-    EVT_CALENDAR_WEEKDAY_CLICKED:  User clicked on the week day header
-
-Note that changing the selected date will result in either of
-EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
-    
-</refdoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="date" type="DateTime" default="wxDefaultDateTime"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="date" type="DateTime" default="wxDefaultDateTime"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
@@ -24238,59 +27153,14 @@ EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
       <constructor name="PreCalendarCtrl" overloaded="no">
         <autodoc>PreCalendarCtrl() -&gt; CalendarCtrl</autodoc>
         <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring>
       <constructor name="PreCalendarCtrl" overloaded="no">
         <autodoc>PreCalendarCtrl() -&gt; CalendarCtrl</autodoc>
         <docstring>Precreate a CalendarCtrl for 2-phase creation.</docstring>
-        <refdoc>The CalendarCtrl displays a window containing several parts: the control to
-pick the month and the year at the top (either or both of them may be
-disabled) and a month area below them which shows all the days in the
-month. The user can move the current selection using the keyboard and select
-the date (generating EVT_CALENDAR event) by pressing &lt;Return&gt; or double
-clicking it.
-
-It has advanced possibilities for the customization of its display. All global
-settings (such as colours and fonts used) can, of course, be changed. But
-also, the display style for each day in the month can be set independently
-using CalendarDateAttr class.
-
-An item without custom attributes is drawn with the default colours and font
-and without border, but setting custom attributes with SetAttr allows to
-modify its appearance. Just create a custom attribute object and set it for
-the day you want to be displayed specially A day may be marked as being a
-holiday, (even if it is not recognized as one by wx.DateTime) by using the
-SetHoliday method.
-
-As the attributes are specified for each day, they may change when the month
-is changed, so you will often want to update them in an EVT_CALENDAR_MONTH
-event handler.
-
- Styles
-    CAL_SUNDAY_FIRST:         Show Sunday as the first day in the week
-    CAL_MONDAY_FIRST:         Show Monday as the first day in the week
-    CAL_SHOW_HOLIDAYS:         Highlight holidays in the calendar
-    CAL_NO_YEAR_CHANGE:         Disable the year changing
-    CAL_NO_MONTH_CHANGE: Disable the month (and, implicitly, the year) changing
-    CAL_SHOW_SURROUNDING_WEEKS: Show the neighbouring weeks in the previous and next months
-    CAL_SEQUENTIAL_MONTH_SELECTION: Use alternative, more compact, style for the month and year selection controls.
-
-The default calendar style is wxCAL_SHOW_HOLIDAYS.
-
- Events
-    EVT_CALENDAR:        A day was double clicked in the calendar.
-    EVT_CALENDAR_SEL_CHANGED: The selected date changed.
-    EVT_CALENDAR_DAY:     The selected day changed.
-    EVT_CALENDAR_MONTH:  The selected month changed.
-    EVT_CALENDAR_YEAR:    The selected year changed.
-    EVT_CALENDAR_WEEKDAY_CLICKED:  User clicked on the week day header
-
-Note that changing the selected date will result in either of
-EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
-    
-</refdoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, DateTime date=DefaultDateTime, 
+        <autodoc>Create(self, Window parent, int id, DateTime date=DefaultDateTime, 
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, 
     String name=CalendarNameStr) -&gt; bool</autodoc>
     Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS, 
     String name=CalendarNameStr) -&gt; bool</autodoc>
-        <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase creation.</docstring>
+        <docstring>Acutally create the GUI portion of the CalendarCtrl for 2-phase
+creation.</docstring>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="id" type="int" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="id" type="int" default=""/>
@@ -24302,40 +27172,40 @@ EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
         </paramlist>
       </method>
       <method name="SetDate" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDate" type="" overloaded="no">
-        <autodoc>SetDate(DateTime date)</autodoc>
+        <autodoc>SetDate(self, DateTime date)</autodoc>
         <docstring>Sets the current date.</docstring>
         <paramlist>
           <param name="date" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="GetDate" type="DateTime" overloaded="no">
         <docstring>Sets the current date.</docstring>
         <paramlist>
           <param name="date" type="DateTime" default=""/>
         </paramlist>
       </method>
       <method name="GetDate" type="DateTime" overloaded="no">
-        <autodoc>GetDate() -&gt; DateTime</autodoc>
+        <autodoc>GetDate(self) -&gt; DateTime</autodoc>
         <docstring>Gets the currently selected date.</docstring>
       </method>
       <method name="SetLowerDateLimit" type="bool" overloaded="no">
         <docstring>Gets the currently selected date.</docstring>
       </method>
       <method name="SetLowerDateLimit" type="bool" overloaded="no">
-        <autodoc>SetLowerDateLimit(DateTime date=DefaultDateTime) -&gt; bool</autodoc>
+        <autodoc>SetLowerDateLimit(self, DateTime date=DefaultDateTime) -&gt; bool</autodoc>
         <docstring>set the range in which selection can occur</docstring>
         <paramlist>
           <param name="date" type="DateTime" default="wxDefaultDateTime"/>
         </paramlist>
       </method>
       <method name="SetUpperDateLimit" type="bool" overloaded="no">
         <docstring>set the range in which selection can occur</docstring>
         <paramlist>
           <param name="date" type="DateTime" default="wxDefaultDateTime"/>
         </paramlist>
       </method>
       <method name="SetUpperDateLimit" type="bool" overloaded="no">
-        <autodoc>SetUpperDateLimit(DateTime date=DefaultDateTime) -&gt; bool</autodoc>
+        <autodoc>SetUpperDateLimit(self, DateTime date=DefaultDateTime) -&gt; bool</autodoc>
         <docstring>set the range in which selection can occur</docstring>
         <paramlist>
           <param name="date" type="DateTime" default="wxDefaultDateTime"/>
         </paramlist>
       </method>
       <method name="GetLowerDateLimit" type="DateTime" overloaded="no">
         <docstring>set the range in which selection can occur</docstring>
         <paramlist>
           <param name="date" type="DateTime" default="wxDefaultDateTime"/>
         </paramlist>
       </method>
       <method name="GetLowerDateLimit" type="DateTime" overloaded="no">
-        <autodoc>GetLowerDateLimit() -&gt; DateTime</autodoc>
+        <autodoc>GetLowerDateLimit(self) -&gt; DateTime</autodoc>
         <docstring>get the range in which selection can occur</docstring>
       </method>
       <method name="GetUpperDateLimit" type="DateTime" overloaded="no">
         <docstring>get the range in which selection can occur</docstring>
       </method>
       <method name="GetUpperDateLimit" type="DateTime" overloaded="no">
-        <autodoc>GetUpperDateLimit() -&gt; DateTime</autodoc>
+        <autodoc>GetUpperDateLimit(self) -&gt; DateTime</autodoc>
         <docstring>get the range in which selection can occur</docstring>
       </method>
       <method name="SetDateRange" type="bool" overloaded="no">
         <docstring>get the range in which selection can occur</docstring>
       </method>
       <method name="SetDateRange" type="bool" overloaded="no">
-        <autodoc>SetDateRange(DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -&gt; bool</autodoc>
+        <autodoc>SetDateRange(self, DateTime lowerdate=DefaultDateTime, DateTime upperdate=DefaultDateTime) -&gt; bool</autodoc>
         <docstring>set the range in which selection can occur</docstring>
         <paramlist>
           <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/>
         <docstring>set the range in which selection can occur</docstring>
         <paramlist>
           <param name="lowerdate" type="DateTime" default="wxDefaultDateTime"/>
@@ -24343,7 +27213,7 @@ EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED event.
         </paramlist>
       </method>
       <method name="EnableYearChange" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="EnableYearChange" type="" overloaded="no">
-        <autodoc>EnableYearChange(bool enable=True)</autodoc>
+        <autodoc>EnableYearChange(self, bool enable=True)</autodoc>
         <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE
 style bit directly. It allows or disallows the user to change the year
 interactively.</docstring>
         <docstring>This function should be used instead of changing CAL_NO_YEAR_CHANGE
 style bit directly. It allows or disallows the user to change the year
 interactively.</docstring>
@@ -24352,149 +27222,176 @@ interactively.</docstring>
         </paramlist>
       </method>
       <method name="EnableMonthChange" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="EnableMonthChange" type="" overloaded="no">
-        <autodoc>EnableMonthChange(bool enable=True)</autodoc>
-        <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE style
-bit. It allows or disallows the user to change the month interactively. Note
-that if the month can not be changed, the year can not be changed either.</docstring>
+        <autodoc>EnableMonthChange(self, bool enable=True)</autodoc>
+        <docstring>This function should be used instead of changing CAL_NO_MONTH_CHANGE
+style bit. It allows or disallows the user to change the month
+interactively. Note that if the month can not be changed, the year can
+not be changed either.</docstring>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="EnableHolidayDisplay" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="EnableHolidayDisplay" type="" overloaded="no">
-        <autodoc>EnableHolidayDisplay(bool display=True)</autodoc>
-        <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS style
-bit directly. It enables or disables the special highlighting of the holidays.</docstring>
+        <autodoc>EnableHolidayDisplay(self, bool display=True)</autodoc>
+        <docstring>This function should be used instead of changing CAL_SHOW_HOLIDAYS
+style bit directly. It enables or disables the special highlighting of
+the holidays.</docstring>
         <paramlist>
           <param name="display" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetHeaderColours" type="" overloaded="no">
         <paramlist>
           <param name="display" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetHeaderColours" type="" overloaded="no">
-        <autodoc>SetHeaderColours(Colour colFg, Colour colBg)</autodoc>
-        <docstring>header colours are used for painting the weekdays at the top</docstring>
+        <autodoc>SetHeaderColours(self, Colour colFg, Colour colBg)</autodoc>
+        <docstring>Header colours are used for painting the weekdays at the top.</docstring>
         <paramlist>
           <param name="colFg" type="Colour" default=""/>
           <param name="colBg" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetHeaderColourFg" type="Colour" overloaded="no">
         <paramlist>
           <param name="colFg" type="Colour" default=""/>
           <param name="colBg" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetHeaderColourFg" type="Colour" overloaded="no">
-        <autodoc>GetHeaderColourFg() -&gt; Colour</autodoc>
-        <docstring>header colours are used for painting the weekdays at the top</docstring>
+        <autodoc>GetHeaderColourFg(self) -&gt; Colour</autodoc>
+        <docstring>Header colours are used for painting the weekdays at the top.</docstring>
       </method>
       <method name="GetHeaderColourBg" type="Colour" overloaded="no">
       </method>
       <method name="GetHeaderColourBg" type="Colour" overloaded="no">
-        <autodoc>GetHeaderColourBg() -&gt; Colour</autodoc>
-        <docstring>header colours are used for painting the weekdays at the top</docstring>
+        <autodoc>GetHeaderColourBg(self) -&gt; Colour</autodoc>
+        <docstring>Header colours are used for painting the weekdays at the top.</docstring>
       </method>
       <method name="SetHighlightColours" type="" overloaded="no">
       </method>
       <method name="SetHighlightColours" type="" overloaded="no">
-        <autodoc>SetHighlightColours(Colour colFg, Colour colBg)</autodoc>
-        <docstring>highlight colour is used for the currently selected date</docstring>
+        <autodoc>SetHighlightColours(self, Colour colFg, Colour colBg)</autodoc>
+        <docstring>Highlight colour is used for the currently selected date.</docstring>
         <paramlist>
           <param name="colFg" type="Colour" default=""/>
           <param name="colBg" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetHighlightColourFg" type="Colour" overloaded="no">
         <paramlist>
           <param name="colFg" type="Colour" default=""/>
           <param name="colBg" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetHighlightColourFg" type="Colour" overloaded="no">
-        <autodoc>GetHighlightColourFg() -&gt; Colour</autodoc>
-        <docstring>highlight colour is used for the currently selected date</docstring>
+        <autodoc>GetHighlightColourFg(self) -&gt; Colour</autodoc>
+        <docstring>Highlight colour is used for the currently selected date.</docstring>
       </method>
       <method name="GetHighlightColourBg" type="Colour" overloaded="no">
       </method>
       <method name="GetHighlightColourBg" type="Colour" overloaded="no">
-        <autodoc>GetHighlightColourBg() -&gt; Colour</autodoc>
-        <docstring>highlight colour is used for the currently selected date</docstring>
+        <autodoc>GetHighlightColourBg(self) -&gt; Colour</autodoc>
+        <docstring>Highlight colour is used for the currently selected date.</docstring>
       </method>
       <method name="SetHolidayColours" type="" overloaded="no">
       </method>
       <method name="SetHolidayColours" type="" overloaded="no">
-        <autodoc>SetHolidayColours(Colour colFg, Colour colBg)</autodoc>
-        <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring>
+        <autodoc>SetHolidayColours(self, Colour colFg, Colour colBg)</autodoc>
+        <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
+used).</docstring>
         <paramlist>
           <param name="colFg" type="Colour" default=""/>
           <param name="colBg" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetHolidayColourFg" type="Colour" overloaded="no">
         <paramlist>
           <param name="colFg" type="Colour" default=""/>
           <param name="colBg" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetHolidayColourFg" type="Colour" overloaded="no">
-        <autodoc>GetHolidayColourFg() -&gt; Colour</autodoc>
-        <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring>
+        <autodoc>GetHolidayColourFg(self) -&gt; Colour</autodoc>
+        <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
+used).</docstring>
       </method>
       <method name="GetHolidayColourBg" type="Colour" overloaded="no">
       </method>
       <method name="GetHolidayColourBg" type="Colour" overloaded="no">
-        <autodoc>GetHolidayColourBg() -&gt; Colour</autodoc>
-        <docstring>holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is used)</docstring>
+        <autodoc>GetHolidayColourBg(self) -&gt; Colour</autodoc>
+        <docstring>Holiday colour is used for the holidays (if CAL_SHOW_HOLIDAYS style is
+used).</docstring>
       </method>
       <method name="GetAttr" type="CalendarDateAttr" overloaded="no">
       </method>
       <method name="GetAttr" type="CalendarDateAttr" overloaded="no">
-        <autodoc>GetAttr(size_t day) -&gt; CalendarDateAttr</autodoc>
-        <docstring>Returns the attribute for the given date (should be in the range 1...31).
-The returned value may be None</docstring>
+        <autodoc>GetAttr(self, size_t day) -&gt; CalendarDateAttr</autodoc>
+        <docstring>Returns the attribute for the given date (should be in the range
+1...31).  The returned value may be None</docstring>
         <paramlist>
           <param name="day" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetAttr" type="" overloaded="no">
         <paramlist>
           <param name="day" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetAttr" type="" overloaded="no">
-        <autodoc>SetAttr(size_t day, CalendarDateAttr attr)</autodoc>
-        <docstring>Associates the attribute with the specified date (in the range 1...31).
-If the attribute passed is None, the items attribute is cleared.</docstring>
+        <autodoc>SetAttr(self, size_t day, CalendarDateAttr attr)</autodoc>
+        <docstring>Associates the attribute with the specified date (in the range
+1...31).  If the attribute passed is None, the items attribute is
+cleared.</docstring>
         <paramlist>
           <param name="day" type="size_t" default=""/>
           <param name="attr" type="CalendarDateAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetHoliday" type="" overloaded="no">
         <paramlist>
           <param name="day" type="size_t" default=""/>
           <param name="attr" type="CalendarDateAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetHoliday" type="" overloaded="no">
-        <autodoc>SetHoliday(size_t day)</autodoc>
+        <autodoc>SetHoliday(self, size_t day)</autodoc>
         <docstring>Marks the specified day as being a holiday in the current month.</docstring>
         <paramlist>
           <param name="day" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="ResetAttr" type="" overloaded="no">
         <docstring>Marks the specified day as being a holiday in the current month.</docstring>
         <paramlist>
           <param name="day" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="ResetAttr" type="" overloaded="no">
-        <autodoc>ResetAttr(size_t day)</autodoc>
-        <docstring>Clears any attributes associated with the given day (in the range 1...31).</docstring>
+        <autodoc>ResetAttr(self, size_t day)</autodoc>
+        <docstring>Clears any attributes associated with the given day (in the range
+1...31).</docstring>
         <paramlist>
           <param name="day" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="PyObject" overloaded="no">
         <autodoc>HitTest(Point pos) -&gt; (result, date, weekday)</autodoc>
         <paramlist>
           <param name="day" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="PyObject" overloaded="no">
         <autodoc>HitTest(Point pos) -&gt; (result, date, weekday)</autodoc>
-        <docstring>Returns 3-tuple with information about the given position on the calendar
-control.  The first value of the tuple is a result code and determines the
-validity of the remaining two values.  The result codes are:
-
-    CAL_HITTEST_NOWHERE:    hit outside of anything
-    CAL_HITTEST_HEADER:     hit on the header, weekday is valid
-    CAL_HITTEST_DAY:        hit on a day in the calendar, date is set.
+        <docstring>Returns 3-tuple with information about the given position on the
+calendar control.  The first value of the tuple is a result code and
+determines the validity of the remaining two values.
+The result codes are:
+
+    ===================    ============================================
+    CAL_HITTEST_NOWHERE    hit outside of anything
+    CAL_HITTEST_HEADER     hit on the header, weekday is valid
+    CAL_HITTEST_DAY        hit on a day in the calendar, date is set.
+    ===================    ============================================
 </docstring>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetMonthControl" type="Control" overloaded="no">
 </docstring>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetMonthControl" type="Control" overloaded="no">
-        <autodoc>GetMonthControl() -&gt; Control</autodoc>
-        <docstring>get the currently shown control for month</docstring>
+        <autodoc>GetMonthControl(self) -&gt; Control</autodoc>
+        <docstring>Get the currently shown control for month.</docstring>
       </method>
       <method name="GetYearControl" type="Control" overloaded="no">
       </method>
       <method name="GetYearControl" type="Control" overloaded="no">
-        <autodoc>GetYearControl() -&gt; Control</autodoc>
-        <docstring>get the currently shown control for year</docstring>
+        <autodoc>GetYearControl(self) -&gt; Control</autodoc>
+        <docstring>Get the currently shown control for year.</docstring>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
   </module>
   <module name="grid">
     </class>
   </module>
   <module name="grid">
-    <import name="windows"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_windows"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
       <method name="_setOORInfo" type="" overloaded="no">
     <class name="GridCellRenderer" oldname="wxGridCellRenderer" module="grid">
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetParameters" type="" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetParameters" type="" overloaded="no">
-        <autodoc>SetParameters(String params)</autodoc>
+        <autodoc>SetParameters(self, String params)</autodoc>
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IncRef" type="" overloaded="no">
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IncRef" type="" overloaded="no">
-        <autodoc>IncRef()</autodoc>
+        <autodoc>IncRef(self)</autodoc>
       </method>
       <method name="DecRef" type="" overloaded="no">
       </method>
       <method name="DecRef" type="" overloaded="no">
-        <autodoc>DecRef()</autodoc>
+        <autodoc>DecRef(self)</autodoc>
       </method>
       <method name="Draw" type="" overloaded="no">
       </method>
       <method name="Draw" type="" overloaded="no">
-        <autodoc>Draw(Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, 
+        <autodoc>Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, 
     int col, bool isSelected)</autodoc>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
     int col, bool isSelected)</autodoc>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
@@ -24507,7 +27404,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetBestSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBestSize" type="Size" overloaded="no">
-        <autodoc>GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -&gt; Size</autodoc>
+        <autodoc>GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -&gt; Size</autodoc>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
           <param name="attr" type="wxGridCellAttr" default=""/>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
           <param name="attr" type="wxGridCellAttr" default=""/>
@@ -24517,23 +27414,23 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="Clone" type="GridCellRenderer" overloaded="no">
         </paramlist>
       </method>
       <method name="Clone" type="GridCellRenderer" overloaded="no">
-        <autodoc>Clone() -&gt; GridCellRenderer</autodoc>
+        <autodoc>Clone(self) -&gt; GridCellRenderer</autodoc>
       </method>
     </class>
     <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid">
       <baseclass name="GridCellRenderer"/>
       <constructor name="PyGridCellRenderer" overloaded="no">
       </method>
     </class>
     <class name="PyGridCellRenderer" oldname="wxPyGridCellRenderer" module="grid">
       <baseclass name="GridCellRenderer"/>
       <constructor name="PyGridCellRenderer" overloaded="no">
-        <autodoc>__init__() -&gt; PyGridCellRenderer</autodoc>
+        <autodoc>__init__(self) -&gt; PyGridCellRenderer</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_SetParameters" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_SetParameters" type="" overloaded="no">
-        <autodoc>base_SetParameters(String params)</autodoc>
+        <autodoc>base_SetParameters(self, String params)</autodoc>
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
@@ -24542,38 +27439,38 @@ validity of the remaining two values.  The result codes are:
     <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid">
       <baseclass name="GridCellRenderer"/>
       <constructor name="GridCellStringRenderer" overloaded="no">
     <class name="GridCellStringRenderer" oldname="wxGridCellStringRenderer" module="grid">
       <baseclass name="GridCellRenderer"/>
       <constructor name="GridCellStringRenderer" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellStringRenderer</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellStringRenderer</autodoc>
       </constructor>
     </class>
     <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellNumberRenderer" overloaded="no">
       </constructor>
     </class>
     <class name="GridCellNumberRenderer" oldname="wxGridCellNumberRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellNumberRenderer" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellNumberRenderer</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellNumberRenderer</autodoc>
       </constructor>
     </class>
     <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellFloatRenderer" overloaded="no">
       </constructor>
     </class>
     <class name="GridCellFloatRenderer" oldname="wxGridCellFloatRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellFloatRenderer" overloaded="no">
-        <autodoc>__init__(int width=-1, int precision=-1) -&gt; GridCellFloatRenderer</autodoc>
+        <autodoc>__init__(self, int width=-1, int precision=-1) -&gt; GridCellFloatRenderer</autodoc>
         <paramlist>
           <param name="width" type="int" default="-1"/>
           <param name="precision" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <method name="GetWidth" type="int" overloaded="no">
         <paramlist>
           <param name="width" type="int" default="-1"/>
           <param name="precision" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="SetWidth" type="" overloaded="no">
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(int width)</autodoc>
+        <autodoc>SetWidth(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrecision" type="int" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrecision" type="int" overloaded="no">
-        <autodoc>GetPrecision() -&gt; int</autodoc>
+        <autodoc>GetPrecision(self) -&gt; int</autodoc>
       </method>
       <method name="SetPrecision" type="" overloaded="no">
       </method>
       <method name="SetPrecision" type="" overloaded="no">
-        <autodoc>SetPrecision(int precision)</autodoc>
+        <autodoc>SetPrecision(self, int precision)</autodoc>
         <paramlist>
           <param name="precision" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="precision" type="int" default=""/>
         </paramlist>
@@ -24582,13 +27479,13 @@ validity of the remaining two values.  The result codes are:
     <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid">
       <baseclass name="GridCellRenderer"/>
       <constructor name="GridCellBoolRenderer" overloaded="no">
     <class name="GridCellBoolRenderer" oldname="wxGridCellBoolRenderer" module="grid">
       <baseclass name="GridCellRenderer"/>
       <constructor name="GridCellBoolRenderer" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellBoolRenderer</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellBoolRenderer</autodoc>
       </constructor>
     </class>
     <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellDateTimeRenderer" overloaded="no">
       </constructor>
     </class>
     <class name="GridCellDateTimeRenderer" oldname="wxGridCellDateTimeRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellDateTimeRenderer" overloaded="no">
-        <autodoc>__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -&gt; GridCellDateTimeRenderer</autodoc>
+        <autodoc>__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -&gt; GridCellDateTimeRenderer</autodoc>
         <paramlist>
           <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/>
           <param name="informat" type="String" default="wxPyDateTimeFormatStr"/>
         <paramlist>
           <param name="outformat" type="String" default="wxPyDateTimeFormatStr"/>
           <param name="informat" type="String" default="wxPyDateTimeFormatStr"/>
@@ -24598,7 +27495,7 @@ validity of the remaining two values.  The result codes are:
     <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellEnumRenderer" overloaded="no">
     <class name="GridCellEnumRenderer" oldname="wxGridCellEnumRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellEnumRenderer" overloaded="no">
-        <autodoc>__init__(String choices=EmptyString) -&gt; GridCellEnumRenderer</autodoc>
+        <autodoc>__init__(self, String choices=EmptyString) -&gt; GridCellEnumRenderer</autodoc>
         <paramlist>
           <param name="choices" type="String" default="wxPyEmptyString"/>
         </paramlist>
         <paramlist>
           <param name="choices" type="String" default="wxPyEmptyString"/>
         </paramlist>
@@ -24607,51 +27504,51 @@ validity of the remaining two values.  The result codes are:
     <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellAutoWrapStringRenderer" overloaded="no">
     <class name="GridCellAutoWrapStringRenderer" oldname="wxGridCellAutoWrapStringRenderer" module="grid">
       <baseclass name="GridCellStringRenderer"/>
       <constructor name="GridCellAutoWrapStringRenderer" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellAutoWrapStringRenderer</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellAutoWrapStringRenderer</autodoc>
       </constructor>
     </class>
     <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid">
       <method name="_setOORInfo" type="" overloaded="no">
       </constructor>
     </class>
     <class name="GridCellEditor" oldname="wxGridCellEditor" module="grid">
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="IsCreated" type="bool" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="IsCreated" type="bool" overloaded="no">
-        <autodoc>IsCreated() -&gt; bool</autodoc>
+        <autodoc>IsCreated(self) -&gt; bool</autodoc>
       </method>
       <method name="GetControl" type="Control" overloaded="no">
       </method>
       <method name="GetControl" type="Control" overloaded="no">
-        <autodoc>GetControl() -&gt; Control</autodoc>
+        <autodoc>GetControl(self) -&gt; Control</autodoc>
       </method>
       <method name="SetControl" type="" overloaded="no">
       </method>
       <method name="SetControl" type="" overloaded="no">
-        <autodoc>SetControl(Control control)</autodoc>
+        <autodoc>SetControl(self, Control control)</autodoc>
         <paramlist>
           <param name="control" type="Control" default=""/>
         </paramlist>
       </method>
       <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no">
         <paramlist>
           <param name="control" type="Control" default=""/>
         </paramlist>
       </method>
       <method name="GetCellAttr" type="wxGridCellAttr" overloaded="no">
-        <autodoc>GetCellAttr() -&gt; GridCellAttr</autodoc>
+        <autodoc>GetCellAttr(self) -&gt; GridCellAttr</autodoc>
       </method>
       <method name="SetCellAttr" type="" overloaded="no">
       </method>
       <method name="SetCellAttr" type="" overloaded="no">
-        <autodoc>SetCellAttr(GridCellAttr attr)</autodoc>
+        <autodoc>SetCellAttr(self, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="attr" type="wxGridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetParameters" type="" overloaded="no">
         <paramlist>
           <param name="attr" type="wxGridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetParameters" type="" overloaded="no">
-        <autodoc>SetParameters(String params)</autodoc>
+        <autodoc>SetParameters(self, String params)</autodoc>
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IncRef" type="" overloaded="no">
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
       </method>
       <method name="IncRef" type="" overloaded="no">
-        <autodoc>IncRef()</autodoc>
+        <autodoc>IncRef(self)</autodoc>
       </method>
       <method name="DecRef" type="" overloaded="no">
       </method>
       <method name="DecRef" type="" overloaded="no">
-        <autodoc>DecRef()</autodoc>
+        <autodoc>DecRef(self)</autodoc>
       </method>
       <method name="Create" type="" overloaded="no">
       </method>
       <method name="Create" type="" overloaded="no">
-        <autodoc>Create(Window parent, int id, EvtHandler evtHandler)</autodoc>
+        <autodoc>Create(self, Window parent, int id, EvtHandler evtHandler)</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="id" type="int" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="id" type="int" default=""/>
@@ -24659,7 +27556,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="BeginEdit" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="BeginEdit" type="" overloaded="no">
-        <autodoc>BeginEdit(int row, int col, Grid grid)</autodoc>
+        <autodoc>BeginEdit(self, int row, int col, Grid grid)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -24667,7 +27564,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="EndEdit" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="EndEdit" type="bool" overloaded="no">
-        <autodoc>EndEdit(int row, int col, Grid grid) -&gt; bool</autodoc>
+        <autodoc>EndEdit(self, int row, int col, Grid grid) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -24675,114 +27572,114 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="Reset" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Reset" type="" overloaded="no">
-        <autodoc>Reset()</autodoc>
+        <autodoc>Reset(self)</autodoc>
       </method>
       <method name="Clone" type="GridCellEditor" overloaded="no">
       </method>
       <method name="Clone" type="GridCellEditor" overloaded="no">
-        <autodoc>Clone() -&gt; GridCellEditor</autodoc>
+        <autodoc>Clone(self) -&gt; GridCellEditor</autodoc>
       </method>
       <method name="SetSize" type="" overloaded="no">
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(Rect rect)</autodoc>
+        <autodoc>SetSize(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
-        <autodoc>Show(bool show, GridCellAttr attr=None)</autodoc>
+        <autodoc>Show(self, bool show, GridCellAttr attr=None)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
           <param name="attr" type="wxGridCellAttr" default="NULL"/>
         </paramlist>
       </method>
       <method name="PaintBackground" type="" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
           <param name="attr" type="wxGridCellAttr" default="NULL"/>
         </paramlist>
       </method>
       <method name="PaintBackground" type="" overloaded="no">
-        <autodoc>PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc>
+        <autodoc>PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="rectCell" type="Rect" default=""/>
           <param name="attr" type="wxGridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="IsAcceptedKey" type="bool" overloaded="no">
         <paramlist>
           <param name="rectCell" type="Rect" default=""/>
           <param name="attr" type="wxGridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="IsAcceptedKey" type="bool" overloaded="no">
-        <autodoc>IsAcceptedKey(KeyEvent event) -&gt; bool</autodoc>
+        <autodoc>IsAcceptedKey(self, KeyEvent event) -&gt; bool</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="StartingKey" type="" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="StartingKey" type="" overloaded="no">
-        <autodoc>StartingKey(KeyEvent event)</autodoc>
+        <autodoc>StartingKey(self, KeyEvent event)</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="StartingClick" type="" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="StartingClick" type="" overloaded="no">
-        <autodoc>StartingClick()</autodoc>
+        <autodoc>StartingClick(self)</autodoc>
       </method>
       <method name="HandleReturn" type="" overloaded="no">
       </method>
       <method name="HandleReturn" type="" overloaded="no">
-        <autodoc>HandleReturn(KeyEvent event)</autodoc>
+        <autodoc>HandleReturn(self, KeyEvent event)</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
       </method>
     </class>
     <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="PyGridCellEditor" overloaded="no">
       </method>
     </class>
     <class name="PyGridCellEditor" oldname="wxPyGridCellEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="PyGridCellEditor" overloaded="no">
-        <autodoc>__init__() -&gt; PyGridCellEditor</autodoc>
+        <autodoc>__init__(self) -&gt; PyGridCellEditor</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_SetSize" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_SetSize" type="" overloaded="no">
-        <autodoc>base_SetSize(Rect rect)</autodoc>
+        <autodoc>base_SetSize(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="base_Show" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="base_Show" type="" overloaded="no">
-        <autodoc>base_Show(bool show, GridCellAttr attr=None)</autodoc>
+        <autodoc>base_Show(self, bool show, GridCellAttr attr=None)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
           <param name="attr" type="wxGridCellAttr" default="NULL"/>
         </paramlist>
       </method>
       <method name="base_PaintBackground" type="" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
           <param name="attr" type="wxGridCellAttr" default="NULL"/>
         </paramlist>
       </method>
       <method name="base_PaintBackground" type="" overloaded="no">
-        <autodoc>base_PaintBackground(Rect rectCell, GridCellAttr attr)</autodoc>
+        <autodoc>base_PaintBackground(self, Rect rectCell, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="rectCell" type="Rect" default=""/>
           <param name="attr" type="wxGridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="base_IsAcceptedKey" type="bool" overloaded="no">
         <paramlist>
           <param name="rectCell" type="Rect" default=""/>
           <param name="attr" type="wxGridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="base_IsAcceptedKey" type="bool" overloaded="no">
-        <autodoc>base_IsAcceptedKey(KeyEvent event) -&gt; bool</autodoc>
+        <autodoc>base_IsAcceptedKey(self, KeyEvent event) -&gt; bool</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="base_StartingKey" type="" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="base_StartingKey" type="" overloaded="no">
-        <autodoc>base_StartingKey(KeyEvent event)</autodoc>
+        <autodoc>base_StartingKey(self, KeyEvent event)</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="base_StartingClick" type="" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="base_StartingClick" type="" overloaded="no">
-        <autodoc>base_StartingClick()</autodoc>
+        <autodoc>base_StartingClick(self)</autodoc>
       </method>
       <method name="base_HandleReturn" type="" overloaded="no">
       </method>
       <method name="base_HandleReturn" type="" overloaded="no">
-        <autodoc>base_HandleReturn(KeyEvent event)</autodoc>
+        <autodoc>base_HandleReturn(self, KeyEvent event)</autodoc>
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="base_Destroy" type="" overloaded="no">
         <paramlist>
           <param name="event" type="KeyEvent" default=""/>
         </paramlist>
       </method>
       <method name="base_Destroy" type="" overloaded="no">
-        <autodoc>base_Destroy()</autodoc>
+        <autodoc>base_Destroy(self)</autodoc>
       </method>
       <method name="base_SetParameters" type="" overloaded="no">
       </method>
       <method name="base_SetParameters" type="" overloaded="no">
-        <autodoc>base_SetParameters(String params)</autodoc>
+        <autodoc>base_SetParameters(self, String params)</autodoc>
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="params" type="String" default=""/>
         </paramlist>
@@ -24791,47 +27688,51 @@ validity of the remaining two values.  The result codes are:
     <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="GridCellTextEditor" overloaded="no">
     <class name="GridCellTextEditor" oldname="wxGridCellTextEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="GridCellTextEditor" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellTextEditor</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellTextEditor</autodoc>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid">
       <baseclass name="GridCellTextEditor"/>
       <constructor name="GridCellNumberEditor" overloaded="no">
       </method>
     </class>
     <class name="GridCellNumberEditor" oldname="wxGridCellNumberEditor" module="grid">
       <baseclass name="GridCellTextEditor"/>
       <constructor name="GridCellNumberEditor" overloaded="no">
-        <autodoc>__init__(int min=-1, int max=-1) -&gt; GridCellNumberEditor</autodoc>
+        <autodoc>__init__(self, int min=-1, int max=-1) -&gt; GridCellNumberEditor</autodoc>
         <paramlist>
           <param name="min" type="int" default="-1"/>
           <param name="max" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
         <paramlist>
           <param name="min" type="int" default="-1"/>
           <param name="max" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid">
       <baseclass name="GridCellTextEditor"/>
       <constructor name="GridCellFloatEditor" overloaded="no">
       </method>
     </class>
     <class name="GridCellFloatEditor" oldname="wxGridCellFloatEditor" module="grid">
       <baseclass name="GridCellTextEditor"/>
       <constructor name="GridCellFloatEditor" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellFloatEditor</autodoc>
+        <autodoc>__init__(self, int width=-1, int precision=-1) -&gt; GridCellFloatEditor</autodoc>
+        <paramlist>
+          <param name="width" type="int" default="-1"/>
+          <param name="precision" type="int" default="-1"/>
+        </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="GridCellBoolEditor" overloaded="no">
       </method>
     </class>
     <class name="GridCellBoolEditor" oldname="wxGridCellBoolEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="GridCellBoolEditor" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellBoolEditor</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellBoolEditor</autodoc>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="GridCellChoiceEditor" overloaded="no">
       </method>
     </class>
     <class name="GridCellChoiceEditor" oldname="wxGridCellChoiceEditor" module="grid">
       <baseclass name="GridCellEditor"/>
       <constructor name="GridCellChoiceEditor" overloaded="no">
-        <autodoc>__init__(int choices=0, String choices_array=None, bool allowOthers=False) -&gt; GridCellChoiceEditor</autodoc>
+        <autodoc>__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -&gt; GridCellChoiceEditor</autodoc>
         <paramlist>
           <param name="choices" type="int" default="0"/>
           <param name="choices_array" type="String" default="NULL"/>
         <paramlist>
           <param name="choices" type="int" default="0"/>
           <param name="choices_array" type="String" default="NULL"/>
@@ -24839,152 +27740,152 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid">
       <baseclass name="GridCellChoiceEditor"/>
       <constructor name="GridCellEnumEditor" overloaded="no">
       </method>
     </class>
     <class name="GridCellEnumEditor" oldname="wxGridCellEnumEditor" module="grid">
       <baseclass name="GridCellChoiceEditor"/>
       <constructor name="GridCellEnumEditor" overloaded="no">
-        <autodoc>__init__(String choices=EmptyString) -&gt; GridCellEnumEditor</autodoc>
+        <autodoc>__init__(self, String choices=EmptyString) -&gt; GridCellEnumEditor</autodoc>
         <paramlist>
           <param name="choices" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
         <paramlist>
           <param name="choices" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid">
       <baseclass name="GridCellTextEditor"/>
       <constructor name="GridCellAutoWrapStringEditor" overloaded="no">
       </method>
     </class>
     <class name="GridCellAutoWrapStringEditor" oldname="wxGridCellAutoWrapStringEditor" module="grid">
       <baseclass name="GridCellTextEditor"/>
       <constructor name="GridCellAutoWrapStringEditor" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellAutoWrapStringEditor</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellAutoWrapStringEditor</autodoc>
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
       </constructor>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
     </class>
     <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid">
       <constructor name="GridCellAttr" overloaded="no">
       </method>
     </class>
     <class name="GridCellAttr" oldname="wxGridCellAttr" module="grid">
       <constructor name="GridCellAttr" overloaded="no">
-        <autodoc>__init__(GridCellAttr attrDefault=None) -&gt; GridCellAttr</autodoc>
+        <autodoc>__init__(self, GridCellAttr attrDefault=None) -&gt; GridCellAttr</autodoc>
         <paramlist>
           <param name="attrDefault" type="GridCellAttr" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="_setOORInfo" type="" overloaded="no">
         <paramlist>
           <param name="attrDefault" type="GridCellAttr" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Clone" type="GridCellAttr" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Clone" type="GridCellAttr" overloaded="no">
-        <autodoc>Clone() -&gt; GridCellAttr</autodoc>
+        <autodoc>Clone(self) -&gt; GridCellAttr</autodoc>
       </method>
       <method name="MergeWith" type="" overloaded="no">
       </method>
       <method name="MergeWith" type="" overloaded="no">
-        <autodoc>MergeWith(GridCellAttr mergefrom)</autodoc>
+        <autodoc>MergeWith(self, GridCellAttr mergefrom)</autodoc>
         <paramlist>
           <param name="mergefrom" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="IncRef" type="" overloaded="no">
         <paramlist>
           <param name="mergefrom" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="IncRef" type="" overloaded="no">
-        <autodoc>IncRef()</autodoc>
+        <autodoc>IncRef(self)</autodoc>
       </method>
       <method name="DecRef" type="" overloaded="no">
       </method>
       <method name="DecRef" type="" overloaded="no">
-        <autodoc>DecRef()</autodoc>
+        <autodoc>DecRef(self)</autodoc>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
       </method>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour colText)</autodoc>
+        <autodoc>SetTextColour(self, Colour colText)</autodoc>
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="colText" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colBack)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colBack)</autodoc>
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="colBack" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font)</autodoc>
+        <autodoc>SetFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
-        <autodoc>SetAlignment(int hAlign, int vAlign)</autodoc>
+        <autodoc>SetAlignment(self, int hAlign, int vAlign)</autodoc>
         <paramlist>
           <param name="hAlign" type="int" default=""/>
           <param name="vAlign" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="hAlign" type="int" default=""/>
           <param name="vAlign" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(int num_rows, int num_cols)</autodoc>
+        <autodoc>SetSize(self, int num_rows, int num_cols)</autodoc>
         <paramlist>
           <param name="num_rows" type="int" default=""/>
           <param name="num_cols" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetOverflow" type="" overloaded="no">
         <paramlist>
           <param name="num_rows" type="int" default=""/>
           <param name="num_cols" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetOverflow" type="" overloaded="no">
-        <autodoc>SetOverflow(bool allow=True)</autodoc>
+        <autodoc>SetOverflow(self, bool allow=True)</autodoc>
         <paramlist>
           <param name="allow" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetReadOnly" type="" overloaded="no">
         <paramlist>
           <param name="allow" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetReadOnly" type="" overloaded="no">
-        <autodoc>SetReadOnly(bool isReadOnly=True)</autodoc>
+        <autodoc>SetReadOnly(self, bool isReadOnly=True)</autodoc>
         <paramlist>
           <param name="isReadOnly" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetRenderer" type="" overloaded="no">
         <paramlist>
           <param name="isReadOnly" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetRenderer" type="" overloaded="no">
-        <autodoc>SetRenderer(GridCellRenderer renderer)</autodoc>
+        <autodoc>SetRenderer(self, GridCellRenderer renderer)</autodoc>
         <paramlist>
           <param name="renderer" type="GridCellRenderer" default=""/>
         </paramlist>
       </method>
       <method name="SetEditor" type="" overloaded="no">
         <paramlist>
           <param name="renderer" type="GridCellRenderer" default=""/>
         </paramlist>
       </method>
       <method name="SetEditor" type="" overloaded="no">
-        <autodoc>SetEditor(GridCellEditor editor)</autodoc>
+        <autodoc>SetEditor(self, GridCellEditor editor)</autodoc>
         <paramlist>
           <param name="editor" type="GridCellEditor" default=""/>
         </paramlist>
       </method>
       <method name="SetKind" type="" overloaded="no">
         <paramlist>
           <param name="editor" type="GridCellEditor" default=""/>
         </paramlist>
       </method>
       <method name="SetKind" type="" overloaded="no">
-        <autodoc>SetKind(int kind)</autodoc>
+        <autodoc>SetKind(self, int kind)</autodoc>
         <paramlist>
           <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
         <paramlist>
           <param name="kind" type="wxGridCellAttr::wxAttrKind" default=""/>
         </paramlist>
       </method>
       <method name="HasTextColour" type="bool" overloaded="no">
-        <autodoc>HasTextColour() -&gt; bool</autodoc>
+        <autodoc>HasTextColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
       </method>
       <method name="HasBackgroundColour" type="bool" overloaded="no">
-        <autodoc>HasBackgroundColour() -&gt; bool</autodoc>
+        <autodoc>HasBackgroundColour(self) -&gt; bool</autodoc>
       </method>
       <method name="HasFont" type="bool" overloaded="no">
       </method>
       <method name="HasFont" type="bool" overloaded="no">
-        <autodoc>HasFont() -&gt; bool</autodoc>
+        <autodoc>HasFont(self) -&gt; bool</autodoc>
       </method>
       <method name="HasAlignment" type="bool" overloaded="no">
       </method>
       <method name="HasAlignment" type="bool" overloaded="no">
-        <autodoc>HasAlignment() -&gt; bool</autodoc>
+        <autodoc>HasAlignment(self) -&gt; bool</autodoc>
       </method>
       <method name="HasRenderer" type="bool" overloaded="no">
       </method>
       <method name="HasRenderer" type="bool" overloaded="no">
-        <autodoc>HasRenderer() -&gt; bool</autodoc>
+        <autodoc>HasRenderer(self) -&gt; bool</autodoc>
       </method>
       <method name="HasEditor" type="bool" overloaded="no">
       </method>
       <method name="HasEditor" type="bool" overloaded="no">
-        <autodoc>HasEditor() -&gt; bool</autodoc>
+        <autodoc>HasEditor(self) -&gt; bool</autodoc>
       </method>
       <method name="HasReadWriteMode" type="bool" overloaded="no">
       </method>
       <method name="HasReadWriteMode" type="bool" overloaded="no">
-        <autodoc>HasReadWriteMode() -&gt; bool</autodoc>
+        <autodoc>HasReadWriteMode(self) -&gt; bool</autodoc>
       </method>
       <method name="HasOverflowMode" type="bool" overloaded="no">
       </method>
       <method name="HasOverflowMode" type="bool" overloaded="no">
-        <autodoc>HasOverflowMode() -&gt; bool</autodoc>
+        <autodoc>HasOverflowMode(self) -&gt; bool</autodoc>
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetTextColour" type="Colour" overloaded="no">
-        <autodoc>GetTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetAlignment" type="" overloaded="no">
         <autodoc>GetAlignment() -&gt; (hAlign, vAlign)</autodoc>
       </method>
       <method name="GetAlignment" type="" overloaded="no">
         <autodoc>GetAlignment() -&gt; (hAlign, vAlign)</autodoc>
@@ -25001,10 +27902,10 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetOverflow" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetOverflow" type="bool" overloaded="no">
-        <autodoc>GetOverflow() -&gt; bool</autodoc>
+        <autodoc>GetOverflow(self) -&gt; bool</autodoc>
       </method>
       <method name="GetRenderer" type="GridCellRenderer" overloaded="no">
       </method>
       <method name="GetRenderer" type="GridCellRenderer" overloaded="no">
-        <autodoc>GetRenderer(Grid grid, int row, int col) -&gt; GridCellRenderer</autodoc>
+        <autodoc>GetRenderer(self, Grid grid, int row, int col) -&gt; GridCellRenderer</autodoc>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
           <param name="row" type="int" default=""/>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
           <param name="row" type="int" default=""/>
@@ -25012,7 +27913,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetEditor" type="GridCellEditor" overloaded="no">
         </paramlist>
       </method>
       <method name="GetEditor" type="GridCellEditor" overloaded="no">
-        <autodoc>GetEditor(Grid grid, int row, int col) -&gt; GridCellEditor</autodoc>
+        <autodoc>GetEditor(self, Grid grid, int row, int col) -&gt; GridCellEditor</autodoc>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
           <param name="row" type="int" default=""/>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
           <param name="row" type="int" default=""/>
@@ -25020,10 +27921,13 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="IsReadOnly" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsReadOnly" type="bool" overloaded="no">
-        <autodoc>IsReadOnly() -&gt; bool</autodoc>
+        <autodoc>IsReadOnly(self) -&gt; bool</autodoc>
+      </method>
+      <method name="GetKind" type="wxGridCellAttr::wxAttrKind" overloaded="no">
+        <autodoc>GetKind(self) -&gt; int</autodoc>
       </method>
       <method name="SetDefAttr" type="" overloaded="no">
       </method>
       <method name="SetDefAttr" type="" overloaded="no">
-        <autodoc>SetDefAttr(GridCellAttr defAttr)</autodoc>
+        <autodoc>SetDefAttr(self, GridCellAttr defAttr)</autodoc>
         <paramlist>
           <param name="defAttr" type="GridCellAttr" default=""/>
         </paramlist>
         <paramlist>
           <param name="defAttr" type="GridCellAttr" default=""/>
         </paramlist>
@@ -25031,16 +27935,16 @@ validity of the remaining two values.  The result codes are:
     </class>
     <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid">
       <constructor name="GridCellAttrProvider" overloaded="no">
     </class>
     <class name="GridCellAttrProvider" oldname="wxGridCellAttrProvider" module="grid">
       <constructor name="GridCellAttrProvider" overloaded="no">
-        <autodoc>__init__() -&gt; GridCellAttrProvider</autodoc>
+        <autodoc>__init__(self) -&gt; GridCellAttrProvider</autodoc>
       </constructor>
       <method name="_setOORInfo" type="" overloaded="no">
       </constructor>
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAttr" type="GridCellAttr" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetAttr" type="GridCellAttr" overloaded="no">
-        <autodoc>GetAttr(int row, int col, int kind) -&gt; GridCellAttr</autodoc>
+        <autodoc>GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25048,7 +27952,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetAttr" type="" overloaded="no">
-        <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc>
+        <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
@@ -25056,28 +27960,28 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetRowAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRowAttr" type="" overloaded="no">
-        <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc>
+        <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColAttr" type="" overloaded="no">
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColAttr" type="" overloaded="no">
-        <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc>
+        <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="UpdateAttrRows" type="" overloaded="no">
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="UpdateAttrRows" type="" overloaded="no">
-        <autodoc>UpdateAttrRows(size_t pos, int numRows)</autodoc>
+        <autodoc>UpdateAttrRows(self, size_t pos, int numRows)</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="numRows" type="int" default=""/>
         </paramlist>
       </method>
       <method name="UpdateAttrCols" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="numRows" type="int" default=""/>
         </paramlist>
       </method>
       <method name="UpdateAttrCols" type="" overloaded="no">
-        <autodoc>UpdateAttrCols(size_t pos, int numCols)</autodoc>
+        <autodoc>UpdateAttrCols(self, size_t pos, int numCols)</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="numCols" type="int" default=""/>
         <paramlist>
           <param name="pos" type="size_t" default=""/>
           <param name="numCols" type="int" default=""/>
@@ -25087,17 +27991,17 @@ validity of the remaining two values.  The result codes are:
     <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid">
       <baseclass name="GridCellAttrProvider"/>
       <constructor name="PyGridCellAttrProvider" overloaded="no">
     <class name="PyGridCellAttrProvider" oldname="wxPyGridCellAttrProvider" module="grid">
       <baseclass name="GridCellAttrProvider"/>
       <constructor name="PyGridCellAttrProvider" overloaded="no">
-        <autodoc>__init__() -&gt; PyGridCellAttrProvider</autodoc>
+        <autodoc>__init__(self) -&gt; PyGridCellAttrProvider</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
-        <autodoc>base_GetAttr(int row, int col, int kind) -&gt; GridCellAttr</autodoc>
+        <autodoc>base_GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25105,7 +28009,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="base_SetAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_SetAttr" type="" overloaded="no">
-        <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc>
+        <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
@@ -25113,14 +28017,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="base_SetRowAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_SetRowAttr" type="" overloaded="no">
-        <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc>
+        <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetColAttr" type="" overloaded="no">
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetColAttr" type="" overloaded="no">
-        <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc>
+        <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
@@ -25130,51 +28034,51 @@ validity of the remaining two values.  The result codes are:
     <class name="GridTableBase" oldname="wxGridTableBase" module="grid">
       <baseclass name="Object"/>
       <method name="_setOORInfo" type="" overloaded="no">
     <class name="GridTableBase" oldname="wxGridTableBase" module="grid">
       <baseclass name="Object"/>
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetAttrProvider" type="" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetAttrProvider" type="" overloaded="no">
-        <autodoc>SetAttrProvider(GridCellAttrProvider attrProvider)</autodoc>
+        <autodoc>SetAttrProvider(self, GridCellAttrProvider attrProvider)</autodoc>
         <paramlist>
           <param name="attrProvider" type="GridCellAttrProvider" default=""/>
         </paramlist>
       </method>
       <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no">
         <paramlist>
           <param name="attrProvider" type="GridCellAttrProvider" default=""/>
         </paramlist>
       </method>
       <method name="GetAttrProvider" type="GridCellAttrProvider" overloaded="no">
-        <autodoc>GetAttrProvider() -&gt; GridCellAttrProvider</autodoc>
+        <autodoc>GetAttrProvider(self) -&gt; GridCellAttrProvider</autodoc>
       </method>
       <method name="SetView" type="" overloaded="no">
       </method>
       <method name="SetView" type="" overloaded="no">
-        <autodoc>SetView(Grid grid)</autodoc>
+        <autodoc>SetView(self, Grid grid)</autodoc>
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
         </paramlist>
       </method>
       <method name="GetView" type="wxGrid" overloaded="no">
         <paramlist>
           <param name="grid" type="wxGrid" default=""/>
         </paramlist>
       </method>
       <method name="GetView" type="wxGrid" overloaded="no">
-        <autodoc>GetView() -&gt; Grid</autodoc>
+        <autodoc>GetView(self) -&gt; Grid</autodoc>
       </method>
       <method name="GetNumberRows" type="int" overloaded="no">
       </method>
       <method name="GetNumberRows" type="int" overloaded="no">
-        <autodoc>GetNumberRows() -&gt; int</autodoc>
+        <autodoc>GetNumberRows(self) -&gt; int</autodoc>
       </method>
       <method name="GetNumberCols" type="int" overloaded="no">
       </method>
       <method name="GetNumberCols" type="int" overloaded="no">
-        <autodoc>GetNumberCols() -&gt; int</autodoc>
+        <autodoc>GetNumberCols(self) -&gt; int</autodoc>
       </method>
       <method name="IsEmptyCell" type="bool" overloaded="no">
       </method>
       <method name="IsEmptyCell" type="bool" overloaded="no">
-        <autodoc>IsEmptyCell(int row, int col) -&gt; bool</autodoc>
+        <autodoc>IsEmptyCell(self, int row, int col) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="String" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue(int row, int col) -&gt; String</autodoc>
+        <autodoc>GetValue(self, int row, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(int row, int col, String value)</autodoc>
+        <autodoc>SetValue(self, int row, int col, String value)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25182,14 +28086,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetTypeName" type="String" overloaded="no">
         </paramlist>
       </method>
       <method name="GetTypeName" type="String" overloaded="no">
-        <autodoc>GetTypeName(int row, int col) -&gt; String</autodoc>
+        <autodoc>GetTypeName(self, int row, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CanGetValueAs" type="bool" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CanGetValueAs" type="bool" overloaded="no">
-        <autodoc>CanGetValueAs(int row, int col, String typeName) -&gt; bool</autodoc>
+        <autodoc>CanGetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25197,7 +28101,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="CanSetValueAs" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="CanSetValueAs" type="bool" overloaded="no">
-        <autodoc>CanSetValueAs(int row, int col, String typeName) -&gt; bool</autodoc>
+        <autodoc>CanSetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25205,28 +28109,28 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetValueAsLong" type="long" overloaded="no">
         </paramlist>
       </method>
       <method name="GetValueAsLong" type="long" overloaded="no">
-        <autodoc>GetValueAsLong(int row, int col) -&gt; long</autodoc>
+        <autodoc>GetValueAsLong(self, int row, int col) -&gt; long</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValueAsDouble" type="double" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValueAsDouble" type="double" overloaded="no">
-        <autodoc>GetValueAsDouble(int row, int col) -&gt; double</autodoc>
+        <autodoc>GetValueAsDouble(self, int row, int col) -&gt; double</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValueAsBool" type="bool" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetValueAsBool" type="bool" overloaded="no">
-        <autodoc>GetValueAsBool(int row, int col) -&gt; bool</autodoc>
+        <autodoc>GetValueAsBool(self, int row, int col) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetValueAsLong" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetValueAsLong" type="" overloaded="no">
-        <autodoc>SetValueAsLong(int row, int col, long value)</autodoc>
+        <autodoc>SetValueAsLong(self, int row, int col, long value)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25234,7 +28138,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetValueAsDouble" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetValueAsDouble" type="" overloaded="no">
-        <autodoc>SetValueAsDouble(int row, int col, double value)</autodoc>
+        <autodoc>SetValueAsDouble(self, int row, int col, double value)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25242,7 +28146,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetValueAsBool" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetValueAsBool" type="" overloaded="no">
-        <autodoc>SetValueAsBool(int row, int col, bool value)</autodoc>
+        <autodoc>SetValueAsBool(self, int row, int col, bool value)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25250,79 +28154,79 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="InsertRows" type="bool" overloaded="no">
       </method>
       <method name="InsertRows" type="bool" overloaded="no">
-        <autodoc>InsertRows(size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
+        <autodoc>InsertRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="AppendRows" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="AppendRows" type="bool" overloaded="no">
-        <autodoc>AppendRows(size_t numRows=1) -&gt; bool</autodoc>
+        <autodoc>AppendRows(self, size_t numRows=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="DeleteRows" type="bool" overloaded="no">
         <paramlist>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="DeleteRows" type="bool" overloaded="no">
-        <autodoc>DeleteRows(size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
+        <autodoc>DeleteRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="InsertCols" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="InsertCols" type="bool" overloaded="no">
-        <autodoc>InsertCols(size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
+        <autodoc>InsertCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="AppendCols" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="AppendCols" type="bool" overloaded="no">
-        <autodoc>AppendCols(size_t numCols=1) -&gt; bool</autodoc>
+        <autodoc>AppendCols(self, size_t numCols=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="DeleteCols" type="bool" overloaded="no">
         <paramlist>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="DeleteCols" type="bool" overloaded="no">
-        <autodoc>DeleteCols(size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
+        <autodoc>DeleteCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="GetRowLabelValue" type="String" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="GetRowLabelValue" type="String" overloaded="no">
-        <autodoc>GetRowLabelValue(int row) -&gt; String</autodoc>
+        <autodoc>GetRowLabelValue(self, int row) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColLabelValue" type="String" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColLabelValue" type="String" overloaded="no">
-        <autodoc>GetColLabelValue(int col) -&gt; String</autodoc>
+        <autodoc>GetColLabelValue(self, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowLabelValue" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowLabelValue" type="" overloaded="no">
-        <autodoc>SetRowLabelValue(int row, String value)</autodoc>
+        <autodoc>SetRowLabelValue(self, int row, String value)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelValue" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelValue" type="" overloaded="no">
-        <autodoc>SetColLabelValue(int col, String value)</autodoc>
+        <autodoc>SetColLabelValue(self, int col, String value)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CanHaveAttributes" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CanHaveAttributes" type="bool" overloaded="no">
-        <autodoc>CanHaveAttributes() -&gt; bool</autodoc>
+        <autodoc>CanHaveAttributes(self) -&gt; bool</autodoc>
       </method>
       <method name="GetAttr" type="GridCellAttr" overloaded="no">
       </method>
       <method name="GetAttr" type="GridCellAttr" overloaded="no">
-        <autodoc>GetAttr(int row, int col, int kind) -&gt; GridCellAttr</autodoc>
+        <autodoc>GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25330,7 +28234,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetAttr" type="" overloaded="no">
-        <autodoc>SetAttr(GridCellAttr attr, int row, int col)</autodoc>
+        <autodoc>SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
@@ -25338,14 +28242,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetRowAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRowAttr" type="" overloaded="no">
-        <autodoc>SetRowAttr(GridCellAttr attr, int row)</autodoc>
+        <autodoc>SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColAttr" type="" overloaded="no">
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColAttr" type="" overloaded="no">
-        <autodoc>SetColAttr(GridCellAttr attr, int col)</autodoc>
+        <autodoc>SetColAttr(self, GridCellAttr attr, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
@@ -25355,28 +28259,28 @@ validity of the remaining two values.  The result codes are:
     <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid">
       <baseclass name="GridTableBase"/>
       <constructor name="PyGridTableBase" overloaded="no">
     <class name="PyGridTableBase" oldname="wxPyGridTableBase" module="grid">
       <baseclass name="GridTableBase"/>
       <constructor name="PyGridTableBase" overloaded="no">
-        <autodoc>__init__() -&gt; PyGridTableBase</autodoc>
+        <autodoc>__init__(self) -&gt; PyGridTableBase</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Destroy" type="" overloaded="no">
-        <autodoc>Destroy()</autodoc>
+        <autodoc>Destroy(self)</autodoc>
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
       <method name="base_GetTypeName" type="String" overloaded="no">
         <docstring>Deletes the C++ object this Python object is a proxy for.</docstring>
       </method>
       <method name="base_GetTypeName" type="String" overloaded="no">
-        <autodoc>base_GetTypeName(int row, int col) -&gt; String</autodoc>
+        <autodoc>base_GetTypeName(self, int row, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_CanGetValueAs" type="bool" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_CanGetValueAs" type="bool" overloaded="no">
-        <autodoc>base_CanGetValueAs(int row, int col, String typeName) -&gt; bool</autodoc>
+        <autodoc>base_CanGetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25384,7 +28288,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="base_CanSetValueAs" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="base_CanSetValueAs" type="bool" overloaded="no">
-        <autodoc>base_CanSetValueAs(int row, int col, String typeName) -&gt; bool</autodoc>
+        <autodoc>base_CanSetValueAs(self, int row, int col, String typeName) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25392,79 +28296,79 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="base_Clear" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_Clear" type="" overloaded="no">
-        <autodoc>base_Clear()</autodoc>
+        <autodoc>base_Clear(self)</autodoc>
       </method>
       <method name="base_InsertRows" type="bool" overloaded="no">
       </method>
       <method name="base_InsertRows" type="bool" overloaded="no">
-        <autodoc>base_InsertRows(size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
+        <autodoc>base_InsertRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_AppendRows" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_AppendRows" type="bool" overloaded="no">
-        <autodoc>base_AppendRows(size_t numRows=1) -&gt; bool</autodoc>
+        <autodoc>base_AppendRows(self, size_t numRows=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_DeleteRows" type="bool" overloaded="no">
         <paramlist>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_DeleteRows" type="bool" overloaded="no">
-        <autodoc>base_DeleteRows(size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
+        <autodoc>base_DeleteRows(self, size_t pos=0, size_t numRows=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_InsertCols" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numRows" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_InsertCols" type="bool" overloaded="no">
-        <autodoc>base_InsertCols(size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
+        <autodoc>base_InsertCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_AppendCols" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_AppendCols" type="bool" overloaded="no">
-        <autodoc>base_AppendCols(size_t numCols=1) -&gt; bool</autodoc>
+        <autodoc>base_AppendCols(self, size_t numCols=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_DeleteCols" type="bool" overloaded="no">
         <paramlist>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_DeleteCols" type="bool" overloaded="no">
-        <autodoc>base_DeleteCols(size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
+        <autodoc>base_DeleteCols(self, size_t pos=0, size_t numCols=1) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_GetRowLabelValue" type="String" overloaded="no">
         <paramlist>
           <param name="pos" type="size_t" default="0"/>
           <param name="numCols" type="size_t" default="1"/>
         </paramlist>
       </method>
       <method name="base_GetRowLabelValue" type="String" overloaded="no">
-        <autodoc>base_GetRowLabelValue(int row) -&gt; String</autodoc>
+        <autodoc>base_GetRowLabelValue(self, int row) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_GetColLabelValue" type="String" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_GetColLabelValue" type="String" overloaded="no">
-        <autodoc>base_GetColLabelValue(int col) -&gt; String</autodoc>
+        <autodoc>base_GetColLabelValue(self, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetRowLabelValue" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetRowLabelValue" type="" overloaded="no">
-        <autodoc>base_SetRowLabelValue(int row, String value)</autodoc>
+        <autodoc>base_SetRowLabelValue(self, int row, String value)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_SetColLabelValue" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_SetColLabelValue" type="" overloaded="no">
-        <autodoc>base_SetColLabelValue(int col, String value)</autodoc>
+        <autodoc>base_SetColLabelValue(self, int col, String value)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_CanHaveAttributes" type="bool" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_CanHaveAttributes" type="bool" overloaded="no">
-        <autodoc>base_CanHaveAttributes() -&gt; bool</autodoc>
+        <autodoc>base_CanHaveAttributes(self) -&gt; bool</autodoc>
       </method>
       <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
       </method>
       <method name="base_GetAttr" type="GridCellAttr" overloaded="no">
-        <autodoc>base_GetAttr(int row, int col, int kind) -&gt; GridCellAttr</autodoc>
+        <autodoc>base_GetAttr(self, int row, int col, int kind) -&gt; GridCellAttr</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25472,7 +28376,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="base_SetAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_SetAttr" type="" overloaded="no">
-        <autodoc>base_SetAttr(GridCellAttr attr, int row, int col)</autodoc>
+        <autodoc>base_SetAttr(self, GridCellAttr attr, int row, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
@@ -25480,14 +28384,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="base_SetRowAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_SetRowAttr" type="" overloaded="no">
-        <autodoc>base_SetRowAttr(GridCellAttr attr, int row)</autodoc>
+        <autodoc>base_SetRowAttr(self, GridCellAttr attr, int row)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetColAttr" type="" overloaded="no">
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_SetColAttr" type="" overloaded="no">
-        <autodoc>base_SetColAttr(GridCellAttr attr, int col)</autodoc>
+        <autodoc>base_SetColAttr(self, GridCellAttr attr, int col)</autodoc>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="attr" type="GridCellAttr" default=""/>
           <param name="col" type="int" default=""/>
@@ -25497,7 +28401,7 @@ validity of the remaining two values.  The result codes are:
     <class name="GridStringTable" oldname="wxGridStringTable" module="grid">
       <baseclass name="GridTableBase"/>
       <constructor name="GridStringTable" overloaded="no">
     <class name="GridStringTable" oldname="wxGridStringTable" module="grid">
       <baseclass name="GridTableBase"/>
       <constructor name="GridStringTable" overloaded="no">
-        <autodoc>__init__(int numRows=0, int numCols=0) -&gt; GridStringTable</autodoc>
+        <autodoc>__init__(self, int numRows=0, int numCols=0) -&gt; GridStringTable</autodoc>
         <paramlist>
           <param name="numRows" type="int" default="0"/>
           <param name="numCols" type="int" default="0"/>
         <paramlist>
           <param name="numRows" type="int" default="0"/>
           <param name="numCols" type="int" default="0"/>
@@ -25506,7 +28410,7 @@ validity of the remaining two values.  The result codes are:
     </class>
     <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid">
       <constructor name="GridTableMessage" overloaded="no">
     </class>
     <class name="GridTableMessage" oldname="wxGridTableMessage" module="grid">
       <constructor name="GridTableMessage" overloaded="no">
-        <autodoc>__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -&gt; GridTableMessage</autodoc>
+        <autodoc>__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -&gt; GridTableMessage</autodoc>
         <paramlist>
           <param name="table" type="GridTableBase" default=""/>
           <param name="id" type="int" default=""/>
         <paramlist>
           <param name="table" type="GridTableBase" default=""/>
           <param name="id" type="int" default=""/>
@@ -25515,114 +28419,130 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </constructor>
       <destructor name="~wxGridTableMessage" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxGridTableMessage" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetTableObject" type="" overloaded="no">
       </destructor>
       <method name="SetTableObject" type="" overloaded="no">
-        <autodoc>SetTableObject(GridTableBase table)</autodoc>
+        <autodoc>SetTableObject(self, GridTableBase table)</autodoc>
         <paramlist>
           <param name="table" type="GridTableBase" default=""/>
         </paramlist>
       </method>
       <method name="GetTableObject" type="GridTableBase" overloaded="no">
         <paramlist>
           <param name="table" type="GridTableBase" default=""/>
         </paramlist>
       </method>
       <method name="GetTableObject" type="GridTableBase" overloaded="no">
-        <autodoc>GetTableObject() -&gt; GridTableBase</autodoc>
+        <autodoc>GetTableObject(self) -&gt; GridTableBase</autodoc>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(int id)</autodoc>
+        <autodoc>SetId(self, int id)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="int" overloaded="no">
-        <autodoc>GetId() -&gt; int</autodoc>
+        <autodoc>GetId(self) -&gt; int</autodoc>
       </method>
       <method name="SetCommandInt" type="" overloaded="no">
       </method>
       <method name="SetCommandInt" type="" overloaded="no">
-        <autodoc>SetCommandInt(int comInt1)</autodoc>
+        <autodoc>SetCommandInt(self, int comInt1)</autodoc>
         <paramlist>
           <param name="comInt1" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCommandInt" type="int" overloaded="no">
         <paramlist>
           <param name="comInt1" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCommandInt" type="int" overloaded="no">
-        <autodoc>GetCommandInt() -&gt; int</autodoc>
+        <autodoc>GetCommandInt(self) -&gt; int</autodoc>
       </method>
       <method name="SetCommandInt2" type="" overloaded="no">
       </method>
       <method name="SetCommandInt2" type="" overloaded="no">
-        <autodoc>SetCommandInt2(int comInt2)</autodoc>
+        <autodoc>SetCommandInt2(self, int comInt2)</autodoc>
         <paramlist>
           <param name="comInt2" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCommandInt2" type="int" overloaded="no">
         <paramlist>
           <param name="comInt2" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCommandInt2" type="int" overloaded="no">
-        <autodoc>GetCommandInt2() -&gt; int</autodoc>
+        <autodoc>GetCommandInt2(self) -&gt; int</autodoc>
       </method>
     </class>
     <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid">
       <constructor name="GridCellCoords" overloaded="no">
       </method>
     </class>
     <class name="GridCellCoords" oldname="wxGridCellCoords" module="grid">
       <constructor name="GridCellCoords" overloaded="no">
-        <autodoc>__init__(int r=-1, int c=-1) -&gt; GridCellCoords</autodoc>
+        <autodoc>__init__(self, int r=-1, int c=-1) -&gt; GridCellCoords</autodoc>
         <paramlist>
           <param name="r" type="int" default="-1"/>
           <param name="c" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxGridCellCoords" overloaded="no">
         <paramlist>
           <param name="r" type="int" default="-1"/>
           <param name="c" type="int" default="-1"/>
         </paramlist>
       </constructor>
       <destructor name="~wxGridCellCoords" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="GetRow" type="int" overloaded="no">
       </destructor>
       <method name="GetRow" type="int" overloaded="no">
-        <autodoc>GetRow() -&gt; int</autodoc>
+        <autodoc>GetRow(self) -&gt; int</autodoc>
       </method>
       <method name="SetRow" type="" overloaded="no">
       </method>
       <method name="SetRow" type="" overloaded="no">
-        <autodoc>SetRow(int n)</autodoc>
+        <autodoc>SetRow(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCol" type="int" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCol" type="int" overloaded="no">
-        <autodoc>GetCol() -&gt; int</autodoc>
+        <autodoc>GetCol(self) -&gt; int</autodoc>
       </method>
       <method name="SetCol" type="" overloaded="no">
       </method>
       <method name="SetCol" type="" overloaded="no">
-        <autodoc>SetCol(int n)</autodoc>
+        <autodoc>SetCol(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(int row, int col)</autodoc>
+        <autodoc>Set(self, int row, int col)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="__eq__" type="bool" overloaded="no">
-        <autodoc>__eq__(GridCellCoords other) -&gt; bool</autodoc>
+        <autodoc>__eq__(self, GridCellCoords other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="GridCellCoords" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
         <paramlist>
           <param name="other" type="GridCellCoords" default=""/>
         </paramlist>
       </method>
       <method name="__ne__" type="bool" overloaded="no">
-        <autodoc>__ne__(GridCellCoords other) -&gt; bool</autodoc>
+        <autodoc>__ne__(self, GridCellCoords other) -&gt; bool</autodoc>
         <paramlist>
           <param name="other" type="GridCellCoords" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="other" type="GridCellCoords" default=""/>
         </paramlist>
       </method>
-      <method name="asTuple" type="PyObject" overloaded="no">
-        <autodoc>asTuple() -&gt; PyObject</autodoc>
+      <method name="Get" type="PyObject" overloaded="no">
+        <autodoc>Get(self) -&gt; PyObject</autodoc>
       </method>
     </class>
     <class name="Grid" oldname="wxGrid" module="grid">
       <baseclass name="ScrolledWindow"/>
       <constructor name="Grid" overloaded="no">
       </method>
     </class>
     <class name="Grid" oldname="wxGrid" module="grid">
       <baseclass name="ScrolledWindow"/>
       <constructor name="Grid" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=WANTS_CHARS, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=WANTS_CHARS, 
     String name=PanelNameStr) -&gt; Grid</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=PanelNameStr) -&gt; Grid</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxWANTS_CHARS"/>
           <param name="name" type="String" default="wxPyPanelNameStr"/>
         </paramlist>
       </constructor>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxWANTS_CHARS"/>
           <param name="name" type="String" default="wxPyPanelNameStr"/>
         </paramlist>
       </constructor>
+      <constructor name="PreGrid" overloaded="no">
+        <autodoc>PreGrid() -&gt; Grid</autodoc>
+      </constructor>
+      <method name="Create" type="bool" overloaded="no">
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
+    Size size=DefaultSize, long style=WANTS_CHARS, 
+    String name=PanelNameStr) -&gt; bool</autodoc>
+        <paramlist>
+          <param name="parent" type="Window" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="pos" type="Point" default="wxDefaultPosition"/>
+          <param name="size" type="Size" default="wxDefaultSize"/>
+          <param name="style" type="long" default="wxWANTS_CHARS"/>
+          <param name="name" type="String" default="wxPyPanelNameStr"/>
+        </paramlist>
+      </method>
       <method name="CreateGrid" type="bool" overloaded="no">
       <method name="CreateGrid" type="bool" overloaded="no">
-        <autodoc>CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -&gt; bool</autodoc>
+        <autodoc>CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -&gt; bool</autodoc>
         <paramlist>
           <param name="numRows" type="int" default=""/>
           <param name="numCols" type="int" default=""/>
         <paramlist>
           <param name="numRows" type="int" default=""/>
           <param name="numCols" type="int" default=""/>
@@ -25630,31 +28550,31 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetSelectionMode" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetSelectionMode" type="" overloaded="no">
-        <autodoc>SetSelectionMode(WXGRIDSELECTIONMODES selmode)</autodoc>
+        <autodoc>SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)</autodoc>
         <paramlist>
           <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no">
         <paramlist>
           <param name="selmode" type="WXGRIDSELECTIONMODES" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionMode" type="WXGRIDSELECTIONMODES" overloaded="no">
-        <autodoc>GetSelectionMode() -&gt; WXGRIDSELECTIONMODES</autodoc>
+        <autodoc>GetSelectionMode(self) -&gt; WXGRIDSELECTIONMODES</autodoc>
       </method>
       <method name="GetNumberRows" type="int" overloaded="no">
       </method>
       <method name="GetNumberRows" type="int" overloaded="no">
-        <autodoc>GetNumberRows() -&gt; int</autodoc>
+        <autodoc>GetNumberRows(self) -&gt; int</autodoc>
       </method>
       <method name="GetNumberCols" type="int" overloaded="no">
       </method>
       <method name="GetNumberCols" type="int" overloaded="no">
-        <autodoc>GetNumberCols() -&gt; int</autodoc>
+        <autodoc>GetNumberCols(self) -&gt; int</autodoc>
       </method>
       <method name="ProcessTableMessage" type="bool" overloaded="no">
       </method>
       <method name="ProcessTableMessage" type="bool" overloaded="no">
-        <autodoc>ProcessTableMessage(GridTableMessage ??) -&gt; bool</autodoc>
+        <autodoc>ProcessTableMessage(self, GridTableMessage ??) -&gt; bool</autodoc>
         <paramlist>
           <param name="" type="GridTableMessage" default=""/>
         </paramlist>
       </method>
       <method name="GetTable" type="GridTableBase" overloaded="no">
         <paramlist>
           <param name="" type="GridTableMessage" default=""/>
         </paramlist>
       </method>
       <method name="GetTable" type="GridTableBase" overloaded="no">
-        <autodoc>GetTable() -&gt; GridTableBase</autodoc>
+        <autodoc>GetTable(self) -&gt; GridTableBase</autodoc>
       </method>
       <method name="SetTable" type="bool" overloaded="no">
       </method>
       <method name="SetTable" type="bool" overloaded="no">
-        <autodoc>SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -&gt; bool</autodoc>
+        <autodoc>SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -&gt; bool</autodoc>
         <paramlist>
           <param name="table" type="GridTableBase" default=""/>
           <param name="takeOwnership" type="bool" default="False"/>
         <paramlist>
           <param name="table" type="GridTableBase" default=""/>
           <param name="takeOwnership" type="bool" default="False"/>
@@ -25662,10 +28582,10 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="ClearGrid" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="ClearGrid" type="" overloaded="no">
-        <autodoc>ClearGrid()</autodoc>
+        <autodoc>ClearGrid(self)</autodoc>
       </method>
       <method name="InsertRows" type="bool" overloaded="no">
       </method>
       <method name="InsertRows" type="bool" overloaded="no">
-        <autodoc>InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
+        <autodoc>InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numRows" type="int" default="1"/>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numRows" type="int" default="1"/>
@@ -25673,14 +28593,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="AppendRows" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendRows" type="bool" overloaded="no">
-        <autodoc>AppendRows(int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
+        <autodoc>AppendRows(self, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="numRows" type="int" default="1"/>
           <param name="updateLabels" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DeleteRows" type="bool" overloaded="no">
         <paramlist>
           <param name="numRows" type="int" default="1"/>
           <param name="updateLabels" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DeleteRows" type="bool" overloaded="no">
-        <autodoc>DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
+        <autodoc>DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numRows" type="int" default="1"/>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numRows" type="int" default="1"/>
@@ -25688,7 +28608,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="InsertCols" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertCols" type="bool" overloaded="no">
-        <autodoc>InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
+        <autodoc>InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numCols" type="int" default="1"/>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numCols" type="int" default="1"/>
@@ -25696,14 +28616,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="AppendCols" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendCols" type="bool" overloaded="no">
-        <autodoc>AppendCols(int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
+        <autodoc>AppendCols(self, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="numCols" type="int" default="1"/>
           <param name="updateLabels" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DeleteCols" type="bool" overloaded="no">
         <paramlist>
           <param name="numCols" type="int" default="1"/>
           <param name="updateLabels" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DeleteCols" type="bool" overloaded="no">
-        <autodoc>DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
+        <autodoc>DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numCols" type="int" default="1"/>
         <paramlist>
           <param name="pos" type="int" default="0"/>
           <param name="numCols" type="int" default="1"/>
@@ -25711,14 +28631,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="DrawCellHighlight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawCellHighlight" type="" overloaded="no">
-        <autodoc>DrawCellHighlight(DC dc, GridCellAttr attr)</autodoc>
+        <autodoc>DrawCellHighlight(self, DC dc, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="attr" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="DrawTextRectangle" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="attr" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="DrawTextRectangle" type="" overloaded="no">
-        <autodoc>DrawTextRectangle(DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, 
+        <autodoc>DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, 
     int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     int verticalAlignment=TOP, int textOrientation=HORIZONTAL)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -25739,102 +28659,102 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="BeginBatch" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="BeginBatch" type="" overloaded="no">
-        <autodoc>BeginBatch()</autodoc>
+        <autodoc>BeginBatch(self)</autodoc>
       </method>
       <method name="EndBatch" type="" overloaded="no">
       </method>
       <method name="EndBatch" type="" overloaded="no">
-        <autodoc>EndBatch()</autodoc>
+        <autodoc>EndBatch(self)</autodoc>
       </method>
       <method name="GetBatchCount" type="int" overloaded="no">
       </method>
       <method name="GetBatchCount" type="int" overloaded="no">
-        <autodoc>GetBatchCount() -&gt; int</autodoc>
+        <autodoc>GetBatchCount(self) -&gt; int</autodoc>
       </method>
       <method name="ForceRefresh" type="" overloaded="no">
       </method>
       <method name="ForceRefresh" type="" overloaded="no">
-        <autodoc>ForceRefresh()</autodoc>
+        <autodoc>ForceRefresh(self)</autodoc>
       </method>
       <method name="IsEditable" type="bool" overloaded="no">
       </method>
       <method name="IsEditable" type="bool" overloaded="no">
-        <autodoc>IsEditable() -&gt; bool</autodoc>
+        <autodoc>IsEditable(self) -&gt; bool</autodoc>
       </method>
       <method name="EnableEditing" type="" overloaded="no">
       </method>
       <method name="EnableEditing" type="" overloaded="no">
-        <autodoc>EnableEditing(bool edit)</autodoc>
+        <autodoc>EnableEditing(self, bool edit)</autodoc>
         <paramlist>
           <param name="edit" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableCellEditControl" type="" overloaded="no">
         <paramlist>
           <param name="edit" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="EnableCellEditControl" type="" overloaded="no">
-        <autodoc>EnableCellEditControl(bool enable=True)</autodoc>
+        <autodoc>EnableCellEditControl(self, bool enable=True)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableCellEditControl" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableCellEditControl" type="" overloaded="no">
-        <autodoc>DisableCellEditControl()</autodoc>
+        <autodoc>DisableCellEditControl(self)</autodoc>
       </method>
       <method name="CanEnableCellControl" type="bool" overloaded="no">
       </method>
       <method name="CanEnableCellControl" type="bool" overloaded="no">
-        <autodoc>CanEnableCellControl() -&gt; bool</autodoc>
+        <autodoc>CanEnableCellControl(self) -&gt; bool</autodoc>
       </method>
       <method name="IsCellEditControlEnabled" type="bool" overloaded="no">
       </method>
       <method name="IsCellEditControlEnabled" type="bool" overloaded="no">
-        <autodoc>IsCellEditControlEnabled() -&gt; bool</autodoc>
+        <autodoc>IsCellEditControlEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="IsCellEditControlShown" type="bool" overloaded="no">
       </method>
       <method name="IsCellEditControlShown" type="bool" overloaded="no">
-        <autodoc>IsCellEditControlShown() -&gt; bool</autodoc>
+        <autodoc>IsCellEditControlShown(self) -&gt; bool</autodoc>
       </method>
       <method name="IsCurrentCellReadOnly" type="bool" overloaded="no">
       </method>
       <method name="IsCurrentCellReadOnly" type="bool" overloaded="no">
-        <autodoc>IsCurrentCellReadOnly() -&gt; bool</autodoc>
+        <autodoc>IsCurrentCellReadOnly(self) -&gt; bool</autodoc>
       </method>
       <method name="ShowCellEditControl" type="" overloaded="no">
       </method>
       <method name="ShowCellEditControl" type="" overloaded="no">
-        <autodoc>ShowCellEditControl()</autodoc>
+        <autodoc>ShowCellEditControl(self)</autodoc>
       </method>
       <method name="HideCellEditControl" type="" overloaded="no">
       </method>
       <method name="HideCellEditControl" type="" overloaded="no">
-        <autodoc>HideCellEditControl()</autodoc>
+        <autodoc>HideCellEditControl(self)</autodoc>
       </method>
       <method name="SaveEditControlValue" type="" overloaded="no">
       </method>
       <method name="SaveEditControlValue" type="" overloaded="no">
-        <autodoc>SaveEditControlValue()</autodoc>
+        <autodoc>SaveEditControlValue(self)</autodoc>
       </method>
       <method name="XYToCell" type="GridCellCoords" overloaded="no">
       </method>
       <method name="XYToCell" type="GridCellCoords" overloaded="no">
-        <autodoc>XYToCell(int x, int y) -&gt; GridCellCoords</autodoc>
+        <autodoc>XYToCell(self, int x, int y) -&gt; GridCellCoords</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="YToRow" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="YToRow" type="int" overloaded="no">
-        <autodoc>YToRow(int y) -&gt; int</autodoc>
+        <autodoc>YToRow(self, int y) -&gt; int</autodoc>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="XToCol" type="int" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="XToCol" type="int" overloaded="no">
-        <autodoc>XToCol(int x) -&gt; int</autodoc>
+        <autodoc>XToCol(self, int x) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="YToEdgeOfRow" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="YToEdgeOfRow" type="int" overloaded="no">
-        <autodoc>YToEdgeOfRow(int y) -&gt; int</autodoc>
+        <autodoc>YToEdgeOfRow(self, int y) -&gt; int</autodoc>
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="XToEdgeOfCol" type="int" overloaded="no">
         <paramlist>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="XToEdgeOfCol" type="int" overloaded="no">
-        <autodoc>XToEdgeOfCol(int x) -&gt; int</autodoc>
+        <autodoc>XToEdgeOfCol(self, int x) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CellToRect" type="Rect" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CellToRect" type="Rect" overloaded="no">
-        <autodoc>CellToRect(int row, int col) -&gt; Rect</autodoc>
+        <autodoc>CellToRect(self, int row, int col) -&gt; Rect</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGridCursorRow" type="int" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGridCursorRow" type="int" overloaded="no">
-        <autodoc>GetGridCursorRow() -&gt; int</autodoc>
+        <autodoc>GetGridCursorRow(self) -&gt; int</autodoc>
       </method>
       <method name="GetGridCursorCol" type="int" overloaded="no">
       </method>
       <method name="GetGridCursorCol" type="int" overloaded="no">
-        <autodoc>GetGridCursorCol() -&gt; int</autodoc>
+        <autodoc>GetGridCursorCol(self) -&gt; int</autodoc>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
-        <autodoc>IsVisible(int row, int col, bool wholeCellVisible=True) -&gt; bool</autodoc>
+        <autodoc>IsVisible(self, int row, int col, bool wholeCellVisible=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -25842,93 +28762,93 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="MakeCellVisible" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="MakeCellVisible" type="" overloaded="no">
-        <autodoc>MakeCellVisible(int row, int col)</autodoc>
+        <autodoc>MakeCellVisible(self, int row, int col)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetGridCursor" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetGridCursor" type="" overloaded="no">
-        <autodoc>SetGridCursor(int row, int col)</autodoc>
+        <autodoc>SetGridCursor(self, int row, int col)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorUp" type="bool" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorUp" type="bool" overloaded="no">
-        <autodoc>MoveCursorUp(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorUp(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorDown" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorDown" type="bool" overloaded="no">
-        <autodoc>MoveCursorDown(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorDown(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorLeft" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorLeft" type="bool" overloaded="no">
-        <autodoc>MoveCursorLeft(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorLeft(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorRight" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorRight" type="bool" overloaded="no">
-        <autodoc>MoveCursorRight(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorRight(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MovePageDown" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MovePageDown" type="bool" overloaded="no">
-        <autodoc>MovePageDown() -&gt; bool</autodoc>
+        <autodoc>MovePageDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MovePageUp" type="bool" overloaded="no">
       </method>
       <method name="MovePageUp" type="bool" overloaded="no">
-        <autodoc>MovePageUp() -&gt; bool</autodoc>
+        <autodoc>MovePageUp(self) -&gt; bool</autodoc>
       </method>
       <method name="MoveCursorUpBlock" type="bool" overloaded="no">
       </method>
       <method name="MoveCursorUpBlock" type="bool" overloaded="no">
-        <autodoc>MoveCursorUpBlock(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorUpBlock(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorDownBlock" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorDownBlock" type="bool" overloaded="no">
-        <autodoc>MoveCursorDownBlock(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorDownBlock(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorLeftBlock" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorLeftBlock" type="bool" overloaded="no">
-        <autodoc>MoveCursorLeftBlock(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorLeftBlock(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorRightBlock" type="bool" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="MoveCursorRightBlock" type="bool" overloaded="no">
-        <autodoc>MoveCursorRightBlock(bool expandSelection) -&gt; bool</autodoc>
+        <autodoc>MoveCursorRightBlock(self, bool expandSelection) -&gt; bool</autodoc>
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultRowLabelSize" type="int" overloaded="no">
         <paramlist>
           <param name="expandSelection" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultRowLabelSize" type="int" overloaded="no">
-        <autodoc>GetDefaultRowLabelSize() -&gt; int</autodoc>
+        <autodoc>GetDefaultRowLabelSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetRowLabelSize" type="int" overloaded="no">
       </method>
       <method name="GetRowLabelSize" type="int" overloaded="no">
-        <autodoc>GetRowLabelSize() -&gt; int</autodoc>
+        <autodoc>GetRowLabelSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetDefaultColLabelSize" type="int" overloaded="no">
       </method>
       <method name="GetDefaultColLabelSize" type="int" overloaded="no">
-        <autodoc>GetDefaultColLabelSize() -&gt; int</autodoc>
+        <autodoc>GetDefaultColLabelSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetColLabelSize" type="int" overloaded="no">
       </method>
       <method name="GetColLabelSize" type="int" overloaded="no">
-        <autodoc>GetColLabelSize() -&gt; int</autodoc>
+        <autodoc>GetColLabelSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetLabelBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetLabelBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetLabelBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetLabelBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetLabelTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetLabelTextColour" type="Colour" overloaded="no">
-        <autodoc>GetLabelTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetLabelTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetLabelFont" type="Font" overloaded="no">
       </method>
       <method name="GetLabelFont" type="Font" overloaded="no">
-        <autodoc>GetLabelFont() -&gt; Font</autodoc>
+        <autodoc>GetLabelFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetRowLabelAlignment" type="" overloaded="no">
         <autodoc>GetRowLabelAlignment() -&gt; (horiz, vert)</autodoc>
       </method>
       <method name="GetRowLabelAlignment" type="" overloaded="no">
         <autodoc>GetRowLabelAlignment() -&gt; (horiz, vert)</autodoc>
@@ -25945,158 +28865,170 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetColLabelTextOrientation" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetColLabelTextOrientation" type="int" overloaded="no">
-        <autodoc>GetColLabelTextOrientation() -&gt; int</autodoc>
+        <autodoc>GetColLabelTextOrientation(self) -&gt; int</autodoc>
       </method>
       <method name="GetRowLabelValue" type="String" overloaded="no">
       </method>
       <method name="GetRowLabelValue" type="String" overloaded="no">
-        <autodoc>GetRowLabelValue(int row) -&gt; String</autodoc>
+        <autodoc>GetRowLabelValue(self, int row) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColLabelValue" type="String" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColLabelValue" type="String" overloaded="no">
-        <autodoc>GetColLabelValue(int col) -&gt; String</autodoc>
+        <autodoc>GetColLabelValue(self, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGridLineColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGridLineColour" type="Colour" overloaded="no">
-        <autodoc>GetGridLineColour() -&gt; Colour</autodoc>
+        <autodoc>GetGridLineColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetCellHighlightColour" type="Colour" overloaded="no">
       </method>
       <method name="GetCellHighlightColour" type="Colour" overloaded="no">
-        <autodoc>GetCellHighlightColour() -&gt; Colour</autodoc>
+        <autodoc>GetCellHighlightColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetCellHighlightPenWidth" type="int" overloaded="no">
       </method>
       <method name="GetCellHighlightPenWidth" type="int" overloaded="no">
-        <autodoc>GetCellHighlightPenWidth() -&gt; int</autodoc>
+        <autodoc>GetCellHighlightPenWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetCellHighlightROPenWidth" type="int" overloaded="no">
       </method>
       <method name="GetCellHighlightROPenWidth" type="int" overloaded="no">
-        <autodoc>GetCellHighlightROPenWidth() -&gt; int</autodoc>
+        <autodoc>GetCellHighlightROPenWidth(self) -&gt; int</autodoc>
       </method>
       <method name="SetRowLabelSize" type="" overloaded="no">
       </method>
       <method name="SetRowLabelSize" type="" overloaded="no">
-        <autodoc>SetRowLabelSize(int width)</autodoc>
+        <autodoc>SetRowLabelSize(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelSize" type="" overloaded="no">
-        <autodoc>SetColLabelSize(int height)</autodoc>
+        <autodoc>SetColLabelSize(self, int height)</autodoc>
         <paramlist>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelBackgroundColour" type="" overloaded="no">
-        <autodoc>SetLabelBackgroundColour(Colour ??)</autodoc>
+        <autodoc>SetLabelBackgroundColour(self, Colour ??)</autodoc>
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelTextColour" type="" overloaded="no">
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelTextColour" type="" overloaded="no">
-        <autodoc>SetLabelTextColour(Colour ??)</autodoc>
+        <autodoc>SetLabelTextColour(self, Colour ??)</autodoc>
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelFont" type="" overloaded="no">
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLabelFont" type="" overloaded="no">
-        <autodoc>SetLabelFont(Font ??)</autodoc>
+        <autodoc>SetLabelFont(self, Font ??)</autodoc>
         <paramlist>
           <param name="" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetRowLabelAlignment" type="" overloaded="no">
         <paramlist>
           <param name="" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetRowLabelAlignment" type="" overloaded="no">
-        <autodoc>SetRowLabelAlignment(int horiz, int vert)</autodoc>
+        <autodoc>SetRowLabelAlignment(self, int horiz, int vert)</autodoc>
         <paramlist>
           <param name="horiz" type="int" default=""/>
           <param name="vert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelAlignment" type="" overloaded="no">
         <paramlist>
           <param name="horiz" type="int" default=""/>
           <param name="vert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelAlignment" type="" overloaded="no">
-        <autodoc>SetColLabelAlignment(int horiz, int vert)</autodoc>
+        <autodoc>SetColLabelAlignment(self, int horiz, int vert)</autodoc>
         <paramlist>
           <param name="horiz" type="int" default=""/>
           <param name="vert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelTextOrientation" type="" overloaded="no">
         <paramlist>
           <param name="horiz" type="int" default=""/>
           <param name="vert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelTextOrientation" type="" overloaded="no">
-        <autodoc>SetColLabelTextOrientation(int textOrientation)</autodoc>
+        <autodoc>SetColLabelTextOrientation(self, int textOrientation)</autodoc>
         <paramlist>
           <param name="textOrientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowLabelValue" type="" overloaded="no">
         <paramlist>
           <param name="textOrientation" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowLabelValue" type="" overloaded="no">
-        <autodoc>SetRowLabelValue(int row, String ??)</autodoc>
+        <autodoc>SetRowLabelValue(self, int row, String ??)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelValue" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColLabelValue" type="" overloaded="no">
-        <autodoc>SetColLabelValue(int col, String ??)</autodoc>
+        <autodoc>SetColLabelValue(self, int col, String ??)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetGridLineColour" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetGridLineColour" type="" overloaded="no">
-        <autodoc>SetGridLineColour(Colour ??)</autodoc>
+        <autodoc>SetGridLineColour(self, Colour ??)</autodoc>
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellHighlightColour" type="" overloaded="no">
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellHighlightColour" type="" overloaded="no">
-        <autodoc>SetCellHighlightColour(Colour ??)</autodoc>
+        <autodoc>SetCellHighlightColour(self, Colour ??)</autodoc>
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellHighlightPenWidth" type="" overloaded="no">
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellHighlightPenWidth" type="" overloaded="no">
-        <autodoc>SetCellHighlightPenWidth(int width)</autodoc>
+        <autodoc>SetCellHighlightPenWidth(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCellHighlightROPenWidth" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCellHighlightROPenWidth" type="" overloaded="no">
-        <autodoc>SetCellHighlightROPenWidth(int width)</autodoc>
+        <autodoc>SetCellHighlightROPenWidth(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnableDragRowSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnableDragRowSize" type="" overloaded="no">
-        <autodoc>EnableDragRowSize(bool enable=True)</autodoc>
+        <autodoc>EnableDragRowSize(self, bool enable=True)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableDragRowSize" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableDragRowSize" type="" overloaded="no">
-        <autodoc>DisableDragRowSize()</autodoc>
+        <autodoc>DisableDragRowSize(self)</autodoc>
       </method>
       <method name="CanDragRowSize" type="bool" overloaded="no">
       </method>
       <method name="CanDragRowSize" type="bool" overloaded="no">
-        <autodoc>CanDragRowSize() -&gt; bool</autodoc>
+        <autodoc>CanDragRowSize(self) -&gt; bool</autodoc>
       </method>
       <method name="EnableDragColSize" type="" overloaded="no">
       </method>
       <method name="EnableDragColSize" type="" overloaded="no">
-        <autodoc>EnableDragColSize(bool enable=True)</autodoc>
+        <autodoc>EnableDragColSize(self, bool enable=True)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableDragColSize" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableDragColSize" type="" overloaded="no">
-        <autodoc>DisableDragColSize()</autodoc>
+        <autodoc>DisableDragColSize(self)</autodoc>
       </method>
       <method name="CanDragColSize" type="bool" overloaded="no">
       </method>
       <method name="CanDragColSize" type="bool" overloaded="no">
-        <autodoc>CanDragColSize() -&gt; bool</autodoc>
+        <autodoc>CanDragColSize(self) -&gt; bool</autodoc>
       </method>
       <method name="EnableDragGridSize" type="" overloaded="no">
       </method>
       <method name="EnableDragGridSize" type="" overloaded="no">
-        <autodoc>EnableDragGridSize(bool enable=True)</autodoc>
+        <autodoc>EnableDragGridSize(self, bool enable=True)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableDragGridSize" type="" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="DisableDragGridSize" type="" overloaded="no">
-        <autodoc>DisableDragGridSize()</autodoc>
+        <autodoc>DisableDragGridSize(self)</autodoc>
       </method>
       <method name="CanDragGridSize" type="bool" overloaded="no">
       </method>
       <method name="CanDragGridSize" type="bool" overloaded="no">
-        <autodoc>CanDragGridSize() -&gt; bool</autodoc>
+        <autodoc>CanDragGridSize(self) -&gt; bool</autodoc>
+      </method>
+      <method name="EnableDragCell" type="" overloaded="no">
+        <autodoc>EnableDragCell(self, bool enable=True)</autodoc>
+        <paramlist>
+          <param name="enable" type="bool" default="True"/>
+        </paramlist>
+      </method>
+      <method name="DisableDragCell" type="" overloaded="no">
+        <autodoc>DisableDragCell(self)</autodoc>
+      </method>
+      <method name="CanDragCell" type="bool" overloaded="no">
+        <autodoc>CanDragCell(self) -&gt; bool</autodoc>
       </method>
       <method name="SetAttr" type="" overloaded="no">
       </method>
       <method name="SetAttr" type="" overloaded="no">
-        <autodoc>SetAttr(int row, int col, GridCellAttr attr)</autodoc>
+        <autodoc>SetAttr(self, int row, int col, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26104,33 +29036,33 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetRowAttr" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetRowAttr" type="" overloaded="no">
-        <autodoc>SetRowAttr(int row, GridCellAttr attr)</autodoc>
+        <autodoc>SetRowAttr(self, int row, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="attr" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetColAttr" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="attr" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetColAttr" type="" overloaded="no">
-        <autodoc>SetColAttr(int col, GridCellAttr attr)</autodoc>
+        <autodoc>SetColAttr(self, int col, GridCellAttr attr)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="attr" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetColFormatBool" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="attr" type="GridCellAttr" default=""/>
         </paramlist>
       </method>
       <method name="SetColFormatBool" type="" overloaded="no">
-        <autodoc>SetColFormatBool(int col)</autodoc>
+        <autodoc>SetColFormatBool(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColFormatNumber" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColFormatNumber" type="" overloaded="no">
-        <autodoc>SetColFormatNumber(int col)</autodoc>
+        <autodoc>SetColFormatNumber(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColFormatFloat" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColFormatFloat" type="" overloaded="no">
-        <autodoc>SetColFormatFloat(int col, int width=-1, int precision=-1)</autodoc>
+        <autodoc>SetColFormatFloat(self, int col, int width=-1, int precision=-1)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default="-1"/>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default="-1"/>
@@ -26138,64 +29070,64 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetColFormatCustom" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetColFormatCustom" type="" overloaded="no">
-        <autodoc>SetColFormatCustom(int col, String typeName)</autodoc>
+        <autodoc>SetColFormatCustom(self, int col, String typeName)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="typeName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnableGridLines" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="typeName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="EnableGridLines" type="" overloaded="no">
-        <autodoc>EnableGridLines(bool enable=True)</autodoc>
+        <autodoc>EnableGridLines(self, bool enable=True)</autodoc>
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GridLinesEnabled" type="bool" overloaded="no">
         <paramlist>
           <param name="enable" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GridLinesEnabled" type="bool" overloaded="no">
-        <autodoc>GridLinesEnabled() -&gt; bool</autodoc>
+        <autodoc>GridLinesEnabled(self) -&gt; bool</autodoc>
       </method>
       <method name="GetDefaultRowSize" type="int" overloaded="no">
       </method>
       <method name="GetDefaultRowSize" type="int" overloaded="no">
-        <autodoc>GetDefaultRowSize() -&gt; int</autodoc>
+        <autodoc>GetDefaultRowSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetRowSize" type="int" overloaded="no">
       </method>
       <method name="GetRowSize" type="int" overloaded="no">
-        <autodoc>GetRowSize(int row) -&gt; int</autodoc>
+        <autodoc>GetRowSize(self, int row) -&gt; int</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultColSize" type="int" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultColSize" type="int" overloaded="no">
-        <autodoc>GetDefaultColSize() -&gt; int</autodoc>
+        <autodoc>GetDefaultColSize(self) -&gt; int</autodoc>
       </method>
       <method name="GetColSize" type="int" overloaded="no">
       </method>
       <method name="GetColSize" type="int" overloaded="no">
-        <autodoc>GetColSize(int col) -&gt; int</autodoc>
+        <autodoc>GetColSize(self, int col) -&gt; int</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultCellBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetDefaultCellBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetDefaultCellBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetCellBackgroundColour" type="Colour" overloaded="no">
       </method>
       <method name="GetCellBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetCellBackgroundColour(int row, int col) -&gt; Colour</autodoc>
+        <autodoc>GetCellBackgroundColour(self, int row, int col) -&gt; Colour</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultCellTextColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultCellTextColour" type="Colour" overloaded="no">
-        <autodoc>GetDefaultCellTextColour() -&gt; Colour</autodoc>
+        <autodoc>GetDefaultCellTextColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetCellTextColour" type="Colour" overloaded="no">
       </method>
       <method name="GetCellTextColour" type="Colour" overloaded="no">
-        <autodoc>GetCellTextColour(int row, int col) -&gt; Colour</autodoc>
+        <autodoc>GetCellTextColour(self, int row, int col) -&gt; Colour</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultCellFont" type="Font" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultCellFont" type="Font" overloaded="no">
-        <autodoc>GetDefaultCellFont() -&gt; Font</autodoc>
+        <autodoc>GetDefaultCellFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetCellFont" type="Font" overloaded="no">
       </method>
       <method name="GetCellFont" type="Font" overloaded="no">
-        <autodoc>GetCellFont(int row, int col) -&gt; Font</autodoc>
+        <autodoc>GetCellFont(self, int row, int col) -&gt; Font</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26218,10 +29150,10 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetDefaultCellOverflow" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDefaultCellOverflow" type="bool" overloaded="no">
-        <autodoc>GetDefaultCellOverflow() -&gt; bool</autodoc>
+        <autodoc>GetDefaultCellOverflow(self) -&gt; bool</autodoc>
       </method>
       <method name="GetCellOverflow" type="bool" overloaded="no">
       </method>
       <method name="GetCellOverflow" type="bool" overloaded="no">
-        <autodoc>GetCellOverflow(int row, int col) -&gt; bool</autodoc>
+        <autodoc>GetCellOverflow(self, int row, int col) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26237,114 +29169,114 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetDefaultRowSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultRowSize" type="" overloaded="no">
-        <autodoc>SetDefaultRowSize(int height, bool resizeExistingRows=False)</autodoc>
+        <autodoc>SetDefaultRowSize(self, int height, bool resizeExistingRows=False)</autodoc>
         <paramlist>
           <param name="height" type="int" default=""/>
           <param name="resizeExistingRows" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SetRowSize" type="" overloaded="no">
         <paramlist>
           <param name="height" type="int" default=""/>
           <param name="resizeExistingRows" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SetRowSize" type="" overloaded="no">
-        <autodoc>SetRowSize(int row, int height)</autodoc>
+        <autodoc>SetRowSize(self, int row, int height)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultColSize" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultColSize" type="" overloaded="no">
-        <autodoc>SetDefaultColSize(int width, bool resizeExistingCols=False)</autodoc>
+        <autodoc>SetDefaultColSize(self, int width, bool resizeExistingCols=False)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="resizeExistingCols" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SetColSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="resizeExistingCols" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SetColSize" type="" overloaded="no">
-        <autodoc>SetColSize(int col, int width)</autodoc>
+        <autodoc>SetColSize(self, int col, int width)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AutoSizeColumn" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AutoSizeColumn" type="" overloaded="no">
-        <autodoc>AutoSizeColumn(int col, bool setAsMin=True)</autodoc>
+        <autodoc>AutoSizeColumn(self, int col, bool setAsMin=True)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSizeRow" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSizeRow" type="" overloaded="no">
-        <autodoc>AutoSizeRow(int row, bool setAsMin=True)</autodoc>
+        <autodoc>AutoSizeRow(self, int row, bool setAsMin=True)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSizeColumns" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSizeColumns" type="" overloaded="no">
-        <autodoc>AutoSizeColumns(bool setAsMin=True)</autodoc>
+        <autodoc>AutoSizeColumns(self, bool setAsMin=True)</autodoc>
         <paramlist>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSizeRows" type="" overloaded="no">
         <paramlist>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSizeRows" type="" overloaded="no">
-        <autodoc>AutoSizeRows(bool setAsMin=True)</autodoc>
+        <autodoc>AutoSizeRows(self, bool setAsMin=True)</autodoc>
         <paramlist>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSize" type="" overloaded="no">
         <paramlist>
           <param name="setAsMin" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="AutoSize" type="" overloaded="no">
-        <autodoc>AutoSize()</autodoc>
+        <autodoc>AutoSize(self)</autodoc>
       </method>
       <method name="AutoSizeRowLabelSize" type="" overloaded="no">
       </method>
       <method name="AutoSizeRowLabelSize" type="" overloaded="no">
-        <autodoc>AutoSizeRowLabelSize(int row)</autodoc>
+        <autodoc>AutoSizeRowLabelSize(self, int row)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AutoSizeColLabelSize" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AutoSizeColLabelSize" type="" overloaded="no">
-        <autodoc>AutoSizeColLabelSize(int col)</autodoc>
+        <autodoc>AutoSizeColLabelSize(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColMinimalWidth" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColMinimalWidth" type="" overloaded="no">
-        <autodoc>SetColMinimalWidth(int col, int width)</autodoc>
+        <autodoc>SetColMinimalWidth(self, int col, int width)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowMinimalHeight" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowMinimalHeight" type="" overloaded="no">
-        <autodoc>SetRowMinimalHeight(int row, int width)</autodoc>
+        <autodoc>SetRowMinimalHeight(self, int row, int width)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColMinimalAcceptableWidth" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetColMinimalAcceptableWidth" type="" overloaded="no">
-        <autodoc>SetColMinimalAcceptableWidth(int width)</autodoc>
+        <autodoc>SetColMinimalAcceptableWidth(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetRowMinimalAcceptableHeight" type="" overloaded="no">
-        <autodoc>SetRowMinimalAcceptableHeight(int width)</autodoc>
+        <autodoc>SetRowMinimalAcceptableHeight(self, int width)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColMinimalAcceptableWidth" type="int" overloaded="no">
-        <autodoc>GetColMinimalAcceptableWidth() -&gt; int</autodoc>
+        <autodoc>GetColMinimalAcceptableWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no">
       </method>
       <method name="GetRowMinimalAcceptableHeight" type="int" overloaded="no">
-        <autodoc>GetRowMinimalAcceptableHeight() -&gt; int</autodoc>
+        <autodoc>GetRowMinimalAcceptableHeight(self) -&gt; int</autodoc>
       </method>
       <method name="SetDefaultCellBackgroundColour" type="" overloaded="no">
       </method>
       <method name="SetDefaultCellBackgroundColour" type="" overloaded="no">
-        <autodoc>SetDefaultCellBackgroundColour(Colour ??)</autodoc>
+        <autodoc>SetDefaultCellBackgroundColour(self, Colour ??)</autodoc>
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellBackgroundColour" type="" overloaded="no">
-        <autodoc>SetCellBackgroundColour(int row, int col, Colour ??)</autodoc>
+        <autodoc>SetCellBackgroundColour(self, int row, int col, Colour ??)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26352,13 +29284,13 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetDefaultCellTextColour" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultCellTextColour" type="" overloaded="no">
-        <autodoc>SetDefaultCellTextColour(Colour ??)</autodoc>
+        <autodoc>SetDefaultCellTextColour(self, Colour ??)</autodoc>
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellTextColour" type="" overloaded="no">
         <paramlist>
           <param name="" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCellTextColour" type="" overloaded="no">
-        <autodoc>SetCellTextColour(int row, int col, Colour ??)</autodoc>
+        <autodoc>SetCellTextColour(self, int row, int col, Colour ??)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26366,13 +29298,13 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetDefaultCellFont" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultCellFont" type="" overloaded="no">
-        <autodoc>SetDefaultCellFont(Font ??)</autodoc>
+        <autodoc>SetDefaultCellFont(self, Font ??)</autodoc>
         <paramlist>
           <param name="" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetCellFont" type="" overloaded="no">
         <paramlist>
           <param name="" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetCellFont" type="" overloaded="no">
-        <autodoc>SetCellFont(int row, int col, Font ??)</autodoc>
+        <autodoc>SetCellFont(self, int row, int col, Font ??)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26380,14 +29312,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetDefaultCellAlignment" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultCellAlignment" type="" overloaded="no">
-        <autodoc>SetDefaultCellAlignment(int horiz, int vert)</autodoc>
+        <autodoc>SetDefaultCellAlignment(self, int horiz, int vert)</autodoc>
         <paramlist>
           <param name="horiz" type="int" default=""/>
           <param name="vert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCellAlignment" type="" overloaded="no">
         <paramlist>
           <param name="horiz" type="int" default=""/>
           <param name="vert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCellAlignment" type="" overloaded="no">
-        <autodoc>SetCellAlignment(int row, int col, int horiz, int vert)</autodoc>
+        <autodoc>SetCellAlignment(self, int row, int col, int horiz, int vert)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26396,13 +29328,13 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetDefaultCellOverflow" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultCellOverflow" type="" overloaded="no">
-        <autodoc>SetDefaultCellOverflow(bool allow)</autodoc>
+        <autodoc>SetDefaultCellOverflow(self, bool allow)</autodoc>
         <paramlist>
           <param name="allow" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetCellOverflow" type="" overloaded="no">
         <paramlist>
           <param name="allow" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetCellOverflow" type="" overloaded="no">
-        <autodoc>SetCellOverflow(int row, int col, bool allow)</autodoc>
+        <autodoc>SetCellOverflow(self, int row, int col, bool allow)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26410,7 +29342,7 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetCellSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetCellSize" type="" overloaded="no">
-        <autodoc>SetCellSize(int row, int col, int num_rows, int num_cols)</autodoc>
+        <autodoc>SetCellSize(self, int row, int col, int num_rows, int num_cols)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26419,13 +29351,13 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SetDefaultRenderer" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetDefaultRenderer" type="" overloaded="no">
-        <autodoc>SetDefaultRenderer(GridCellRenderer renderer)</autodoc>
+        <autodoc>SetDefaultRenderer(self, GridCellRenderer renderer)</autodoc>
         <paramlist>
           <param name="renderer" type="GridCellRenderer" default=""/>
         </paramlist>
       </method>
       <method name="SetCellRenderer" type="" overloaded="no">
         <paramlist>
           <param name="renderer" type="GridCellRenderer" default=""/>
         </paramlist>
       </method>
       <method name="SetCellRenderer" type="" overloaded="no">
-        <autodoc>SetCellRenderer(int row, int col, GridCellRenderer renderer)</autodoc>
+        <autodoc>SetCellRenderer(self, int row, int col, GridCellRenderer renderer)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26433,23 +29365,23 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDefaultRenderer" type="GridCellRenderer" overloaded="no">
-        <autodoc>GetDefaultRenderer() -&gt; GridCellRenderer</autodoc>
+        <autodoc>GetDefaultRenderer(self) -&gt; GridCellRenderer</autodoc>
       </method>
       <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no">
       </method>
       <method name="GetCellRenderer" type="GridCellRenderer" overloaded="no">
-        <autodoc>GetCellRenderer(int row, int col) -&gt; GridCellRenderer</autodoc>
+        <autodoc>GetCellRenderer(self, int row, int col) -&gt; GridCellRenderer</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultEditor" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDefaultEditor" type="" overloaded="no">
-        <autodoc>SetDefaultEditor(GridCellEditor editor)</autodoc>
+        <autodoc>SetDefaultEditor(self, GridCellEditor editor)</autodoc>
         <paramlist>
           <param name="editor" type="GridCellEditor" default=""/>
         </paramlist>
       </method>
       <method name="SetCellEditor" type="" overloaded="no">
         <paramlist>
           <param name="editor" type="GridCellEditor" default=""/>
         </paramlist>
       </method>
       <method name="SetCellEditor" type="" overloaded="no">
-        <autodoc>SetCellEditor(int row, int col, GridCellEditor editor)</autodoc>
+        <autodoc>SetCellEditor(self, int row, int col, GridCellEditor editor)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26457,24 +29389,24 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDefaultEditor" type="GridCellEditor" overloaded="no">
-        <autodoc>GetDefaultEditor() -&gt; GridCellEditor</autodoc>
+        <autodoc>GetDefaultEditor(self) -&gt; GridCellEditor</autodoc>
       </method>
       <method name="GetCellEditor" type="GridCellEditor" overloaded="no">
       </method>
       <method name="GetCellEditor" type="GridCellEditor" overloaded="no">
-        <autodoc>GetCellEditor(int row, int col) -&gt; GridCellEditor</autodoc>
+        <autodoc>GetCellEditor(self, int row, int col) -&gt; GridCellEditor</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCellValue" type="String" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCellValue" type="String" overloaded="no">
-        <autodoc>GetCellValue(int row, int col) -&gt; String</autodoc>
+        <autodoc>GetCellValue(self, int row, int col) -&gt; String</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCellValue" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCellValue" type="" overloaded="no">
-        <autodoc>SetCellValue(int row, int col, String s)</autodoc>
+        <autodoc>SetCellValue(self, int row, int col, String s)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26482,14 +29414,14 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="IsReadOnly" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="IsReadOnly" type="bool" overloaded="no">
-        <autodoc>IsReadOnly(int row, int col) -&gt; bool</autodoc>
+        <autodoc>IsReadOnly(self, int row, int col) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetReadOnly" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetReadOnly" type="" overloaded="no">
-        <autodoc>SetReadOnly(int row, int col, bool isReadOnly=True)</autodoc>
+        <autodoc>SetReadOnly(self, int row, int col, bool isReadOnly=True)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
@@ -26497,21 +29429,21 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SelectRow" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SelectRow" type="" overloaded="no">
-        <autodoc>SelectRow(int row, bool addToSelected=False)</autodoc>
+        <autodoc>SelectRow(self, int row, bool addToSelected=False)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="addToSelected" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SelectCol" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="addToSelected" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SelectCol" type="" overloaded="no">
-        <autodoc>SelectCol(int col, bool addToSelected=False)</autodoc>
+        <autodoc>SelectCol(self, int col, bool addToSelected=False)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="addToSelected" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SelectBlock" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
           <param name="addToSelected" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SelectBlock" type="" overloaded="no">
-        <autodoc>SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, 
+        <autodoc>SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol, 
     bool addToSelected=False)</autodoc>
         <paramlist>
           <param name="topRow" type="int" default=""/>
     bool addToSelected=False)</autodoc>
         <paramlist>
           <param name="topRow" type="int" default=""/>
@@ -26522,82 +29454,82 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
-        <autodoc>SelectAll()</autodoc>
+        <autodoc>SelectAll(self)</autodoc>
       </method>
       <method name="IsSelection" type="bool" overloaded="no">
       </method>
       <method name="IsSelection" type="bool" overloaded="no">
-        <autodoc>IsSelection() -&gt; bool</autodoc>
+        <autodoc>IsSelection(self) -&gt; bool</autodoc>
       </method>
       <method name="ClearSelection" type="" overloaded="no">
       </method>
       <method name="ClearSelection" type="" overloaded="no">
-        <autodoc>ClearSelection()</autodoc>
+        <autodoc>ClearSelection(self)</autodoc>
       </method>
       <method name="IsInSelection" type="bool" overloaded="no">
       </method>
       <method name="IsInSelection" type="bool" overloaded="no">
-        <autodoc>IsInSelection(int row, int col) -&gt; bool</autodoc>
+        <autodoc>IsInSelection(self, int row, int col) -&gt; bool</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedCells" type="wxGridCellCoordsArray" overloaded="no">
-        <autodoc>GetSelectedCells() -&gt; wxGridCellCoordsArray</autodoc>
+        <autodoc>GetSelectedCells(self) -&gt; wxGridCellCoordsArray</autodoc>
       </method>
       <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no">
       </method>
       <method name="GetSelectionBlockTopLeft" type="wxGridCellCoordsArray" overloaded="no">
-        <autodoc>GetSelectionBlockTopLeft() -&gt; wxGridCellCoordsArray</autodoc>
+        <autodoc>GetSelectionBlockTopLeft(self) -&gt; wxGridCellCoordsArray</autodoc>
       </method>
       <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no">
       </method>
       <method name="GetSelectionBlockBottomRight" type="wxGridCellCoordsArray" overloaded="no">
-        <autodoc>GetSelectionBlockBottomRight() -&gt; wxGridCellCoordsArray</autodoc>
+        <autodoc>GetSelectionBlockBottomRight(self) -&gt; wxGridCellCoordsArray</autodoc>
       </method>
       <method name="GetSelectedRows" type="wxArrayInt" overloaded="no">
       </method>
       <method name="GetSelectedRows" type="wxArrayInt" overloaded="no">
-        <autodoc>GetSelectedRows() -&gt; wxArrayInt</autodoc>
+        <autodoc>GetSelectedRows(self) -&gt; wxArrayInt</autodoc>
       </method>
       <method name="GetSelectedCols" type="wxArrayInt" overloaded="no">
       </method>
       <method name="GetSelectedCols" type="wxArrayInt" overloaded="no">
-        <autodoc>GetSelectedCols() -&gt; wxArrayInt</autodoc>
+        <autodoc>GetSelectedCols(self) -&gt; wxArrayInt</autodoc>
       </method>
       <method name="DeselectRow" type="" overloaded="no">
       </method>
       <method name="DeselectRow" type="" overloaded="no">
-        <autodoc>DeselectRow(int row)</autodoc>
+        <autodoc>DeselectRow(self, int row)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeselectCol" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeselectCol" type="" overloaded="no">
-        <autodoc>DeselectCol(int col)</autodoc>
+        <autodoc>DeselectCol(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeselectCell" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DeselectCell" type="" overloaded="no">
-        <autodoc>DeselectCell(int row, int col)</autodoc>
+        <autodoc>DeselectCell(self, int row, int col)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BlockToDeviceRect" type="Rect" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BlockToDeviceRect" type="Rect" overloaded="no">
-        <autodoc>BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -&gt; Rect</autodoc>
+        <autodoc>BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -&gt; Rect</autodoc>
         <paramlist>
           <param name="topLeft" type="GridCellCoords" default=""/>
           <param name="bottomRight" type="GridCellCoords" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionBackground" type="Colour" overloaded="no">
         <paramlist>
           <param name="topLeft" type="GridCellCoords" default=""/>
           <param name="bottomRight" type="GridCellCoords" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionBackground" type="Colour" overloaded="no">
-        <autodoc>GetSelectionBackground() -&gt; Colour</autodoc>
+        <autodoc>GetSelectionBackground(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetSelectionForeground" type="Colour" overloaded="no">
       </method>
       <method name="GetSelectionForeground" type="Colour" overloaded="no">
-        <autodoc>GetSelectionForeground() -&gt; Colour</autodoc>
+        <autodoc>GetSelectionForeground(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetSelectionBackground" type="" overloaded="no">
       </method>
       <method name="SetSelectionBackground" type="" overloaded="no">
-        <autodoc>SetSelectionBackground(Colour c)</autodoc>
+        <autodoc>SetSelectionBackground(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionForeground" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionForeground" type="" overloaded="no">
-        <autodoc>SetSelectionForeground(Colour c)</autodoc>
+        <autodoc>SetSelectionForeground(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="RegisterDataType" type="" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="RegisterDataType" type="" overloaded="no">
-        <autodoc>RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc>
+        <autodoc>RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)</autodoc>
         <paramlist>
           <param name="typeName" type="String" default=""/>
           <param name="renderer" type="GridCellRenderer" default=""/>
         <paramlist>
           <param name="typeName" type="String" default=""/>
           <param name="renderer" type="GridCellRenderer" default=""/>
@@ -26605,55 +29537,71 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </method>
       <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDefaultEditorForCell" type="GridCellEditor" overloaded="no">
-        <autodoc>GetDefaultEditorForCell(int row, int col) -&gt; GridCellEditor</autodoc>
+        <autodoc>GetDefaultEditorForCell(self, int row, int col) -&gt; GridCellEditor</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultRendererForCell" type="GridCellRenderer" overloaded="no">
-        <autodoc>GetDefaultRendererForCell(int row, int col) -&gt; GridCellRenderer</autodoc>
+        <autodoc>GetDefaultRendererForCell(self, int row, int col) -&gt; GridCellRenderer</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultEditorForType" type="GridCellEditor" overloaded="no">
-        <autodoc>GetDefaultEditorForType(String typeName) -&gt; GridCellEditor</autodoc>
+        <autodoc>GetDefaultEditorForType(self, String typeName) -&gt; GridCellEditor</autodoc>
         <paramlist>
           <param name="typeName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no">
         <paramlist>
           <param name="typeName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetDefaultRendererForType" type="GridCellRenderer" overloaded="no">
-        <autodoc>GetDefaultRendererForType(String typeName) -&gt; GridCellRenderer</autodoc>
+        <autodoc>GetDefaultRendererForType(self, String typeName) -&gt; GridCellRenderer</autodoc>
         <paramlist>
           <param name="typeName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
         <paramlist>
           <param name="typeName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
-        <autodoc>SetMargins(int extraWidth, int extraHeight)</autodoc>
+        <autodoc>SetMargins(self, int extraWidth, int extraHeight)</autodoc>
         <paramlist>
           <param name="extraWidth" type="int" default=""/>
           <param name="extraHeight" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGridWindow" type="Window" overloaded="no">
         <paramlist>
           <param name="extraWidth" type="int" default=""/>
           <param name="extraHeight" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetGridWindow" type="Window" overloaded="no">
-        <autodoc>GetGridWindow() -&gt; Window</autodoc>
+        <autodoc>GetGridWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="GetGridRowLabelWindow" type="Window" overloaded="no">
       </method>
       <method name="GetGridRowLabelWindow" type="Window" overloaded="no">
-        <autodoc>GetGridRowLabelWindow() -&gt; Window</autodoc>
+        <autodoc>GetGridRowLabelWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="GetGridColLabelWindow" type="Window" overloaded="no">
       </method>
       <method name="GetGridColLabelWindow" type="Window" overloaded="no">
-        <autodoc>GetGridColLabelWindow() -&gt; Window</autodoc>
+        <autodoc>GetGridColLabelWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="GetGridCornerLabelWindow" type="Window" overloaded="no">
       </method>
       <method name="GetGridCornerLabelWindow" type="Window" overloaded="no">
-        <autodoc>GetGridCornerLabelWindow() -&gt; Window</autodoc>
+        <autodoc>GetGridCornerLabelWindow(self) -&gt; Window</autodoc>
       </method>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <class name="GridEvent" oldname="wxGridEvent" module="grid">
       <baseclass name="NotifyEvent"/>
       <constructor name="GridEvent" overloaded="no">
     </class>
     <class name="GridEvent" oldname="wxGridEvent" module="grid">
       <baseclass name="NotifyEvent"/>
       <constructor name="GridEvent" overloaded="no">
-        <autodoc>__init__(int id, wxEventType type, Grid obj, int row=-1, int col=-1, 
+        <autodoc>__init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1, 
     int x=-1, int y=-1, bool sel=True, bool control=False, 
     bool shift=False, bool alt=False, 
     bool meta=False) -&gt; GridEvent</autodoc>
     int x=-1, int y=-1, bool sel=True, bool control=False, 
     bool shift=False, bool alt=False, 
     bool meta=False) -&gt; GridEvent</autodoc>
@@ -26673,34 +29621,34 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </constructor>
       <method name="GetRow" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetRow" type="int" overloaded="no">
-        <autodoc>GetRow() -&gt; int</autodoc>
+        <autodoc>GetRow(self) -&gt; int</autodoc>
       </method>
       <method name="GetCol" type="int" overloaded="no">
       </method>
       <method name="GetCol" type="int" overloaded="no">
-        <autodoc>GetCol() -&gt; int</autodoc>
+        <autodoc>GetCol(self) -&gt; int</autodoc>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="Selecting" type="bool" overloaded="no">
       </method>
       <method name="Selecting" type="bool" overloaded="no">
-        <autodoc>Selecting() -&gt; bool</autodoc>
+        <autodoc>Selecting(self) -&gt; bool</autodoc>
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
-        <autodoc>ControlDown() -&gt; bool</autodoc>
+        <autodoc>ControlDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
-        <autodoc>MetaDown() -&gt; bool</autodoc>
+        <autodoc>MetaDown(self) -&gt; bool</autodoc>
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
-        <autodoc>ShiftDown() -&gt; bool</autodoc>
+        <autodoc>ShiftDown(self) -&gt; bool</autodoc>
       </method>
       <method name="AltDown" type="bool" overloaded="no">
       </method>
       <method name="AltDown" type="bool" overloaded="no">
-        <autodoc>AltDown() -&gt; bool</autodoc>
+        <autodoc>AltDown(self) -&gt; bool</autodoc>
       </method>
     </class>
     <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid">
       <baseclass name="NotifyEvent"/>
       <constructor name="GridSizeEvent" overloaded="no">
       </method>
     </class>
     <class name="GridSizeEvent" oldname="wxGridSizeEvent" module="grid">
       <baseclass name="NotifyEvent"/>
       <constructor name="GridSizeEvent" overloaded="no">
-        <autodoc>__init__(int id, wxEventType type, Grid obj, int rowOrCol=-1, 
+        <autodoc>__init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1, 
     int x=-1, int y=-1, bool control=False, bool shift=False, 
     bool alt=False, bool meta=False) -&gt; GridSizeEvent</autodoc>
         <paramlist>
     int x=-1, int y=-1, bool control=False, bool shift=False, 
     bool alt=False, bool meta=False) -&gt; GridSizeEvent</autodoc>
         <paramlist>
@@ -26717,28 +29665,28 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </constructor>
       <method name="GetRowOrCol" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetRowOrCol" type="int" overloaded="no">
-        <autodoc>GetRowOrCol() -&gt; int</autodoc>
+        <autodoc>GetRowOrCol(self) -&gt; int</autodoc>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition() -&gt; Point</autodoc>
+        <autodoc>GetPosition(self) -&gt; Point</autodoc>
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
-        <autodoc>ControlDown() -&gt; bool</autodoc>
+        <autodoc>ControlDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
-        <autodoc>MetaDown() -&gt; bool</autodoc>
+        <autodoc>MetaDown(self) -&gt; bool</autodoc>
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
-        <autodoc>ShiftDown() -&gt; bool</autodoc>
+        <autodoc>ShiftDown(self) -&gt; bool</autodoc>
       </method>
       <method name="AltDown" type="bool" overloaded="no">
       </method>
       <method name="AltDown" type="bool" overloaded="no">
-        <autodoc>AltDown() -&gt; bool</autodoc>
+        <autodoc>AltDown(self) -&gt; bool</autodoc>
       </method>
     </class>
     <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid">
       <baseclass name="NotifyEvent"/>
       <constructor name="GridRangeSelectEvent" overloaded="no">
       </method>
     </class>
     <class name="GridRangeSelectEvent" oldname="wxGridRangeSelectEvent" module="grid">
       <baseclass name="NotifyEvent"/>
       <constructor name="GridRangeSelectEvent" overloaded="no">
-        <autodoc>__init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, 
+        <autodoc>__init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft, 
     GridCellCoords bottomRight, bool sel=True, 
     bool control=False, bool shift=False, 
     bool alt=False, bool meta=False) -&gt; GridRangeSelectEvent</autodoc>
     GridCellCoords bottomRight, bool sel=True, 
     bool control=False, bool shift=False, 
     bool alt=False, bool meta=False) -&gt; GridRangeSelectEvent</autodoc>
@@ -26756,43 +29704,43 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </constructor>
       <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetTopLeftCoords" type="GridCellCoords" overloaded="no">
-        <autodoc>GetTopLeftCoords() -&gt; GridCellCoords</autodoc>
+        <autodoc>GetTopLeftCoords(self) -&gt; GridCellCoords</autodoc>
       </method>
       <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no">
       </method>
       <method name="GetBottomRightCoords" type="GridCellCoords" overloaded="no">
-        <autodoc>GetBottomRightCoords() -&gt; GridCellCoords</autodoc>
+        <autodoc>GetBottomRightCoords(self) -&gt; GridCellCoords</autodoc>
       </method>
       <method name="GetTopRow" type="int" overloaded="no">
       </method>
       <method name="GetTopRow" type="int" overloaded="no">
-        <autodoc>GetTopRow() -&gt; int</autodoc>
+        <autodoc>GetTopRow(self) -&gt; int</autodoc>
       </method>
       <method name="GetBottomRow" type="int" overloaded="no">
       </method>
       <method name="GetBottomRow" type="int" overloaded="no">
-        <autodoc>GetBottomRow() -&gt; int</autodoc>
+        <autodoc>GetBottomRow(self) -&gt; int</autodoc>
       </method>
       <method name="GetLeftCol" type="int" overloaded="no">
       </method>
       <method name="GetLeftCol" type="int" overloaded="no">
-        <autodoc>GetLeftCol() -&gt; int</autodoc>
+        <autodoc>GetLeftCol(self) -&gt; int</autodoc>
       </method>
       <method name="GetRightCol" type="int" overloaded="no">
       </method>
       <method name="GetRightCol" type="int" overloaded="no">
-        <autodoc>GetRightCol() -&gt; int</autodoc>
+        <autodoc>GetRightCol(self) -&gt; int</autodoc>
       </method>
       <method name="Selecting" type="bool" overloaded="no">
       </method>
       <method name="Selecting" type="bool" overloaded="no">
-        <autodoc>Selecting() -&gt; bool</autodoc>
+        <autodoc>Selecting(self) -&gt; bool</autodoc>
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
       </method>
       <method name="ControlDown" type="bool" overloaded="no">
-        <autodoc>ControlDown() -&gt; bool</autodoc>
+        <autodoc>ControlDown(self) -&gt; bool</autodoc>
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
       </method>
       <method name="MetaDown" type="bool" overloaded="no">
-        <autodoc>MetaDown() -&gt; bool</autodoc>
+        <autodoc>MetaDown(self) -&gt; bool</autodoc>
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
       </method>
       <method name="ShiftDown" type="bool" overloaded="no">
-        <autodoc>ShiftDown() -&gt; bool</autodoc>
+        <autodoc>ShiftDown(self) -&gt; bool</autodoc>
       </method>
       <method name="AltDown" type="bool" overloaded="no">
       </method>
       <method name="AltDown" type="bool" overloaded="no">
-        <autodoc>AltDown() -&gt; bool</autodoc>
+        <autodoc>AltDown(self) -&gt; bool</autodoc>
       </method>
     </class>
     <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid">
       <baseclass name="CommandEvent"/>
       <constructor name="GridEditorCreatedEvent" overloaded="no">
       </method>
     </class>
     <class name="GridEditorCreatedEvent" oldname="wxGridEditorCreatedEvent" module="grid">
       <baseclass name="CommandEvent"/>
       <constructor name="GridEditorCreatedEvent" overloaded="no">
-        <autodoc>__init__(int id, wxEventType type, Object obj, int row, int col, 
+        <autodoc>__init__(self, int id, wxEventType type, Object obj, int row, int col, 
     Control ctrl) -&gt; GridEditorCreatedEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
     Control ctrl) -&gt; GridEditorCreatedEvent</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
@@ -26804,28 +29752,28 @@ validity of the remaining two values.  The result codes are:
         </paramlist>
       </constructor>
       <method name="GetRow" type="int" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetRow" type="int" overloaded="no">
-        <autodoc>GetRow() -&gt; int</autodoc>
+        <autodoc>GetRow(self) -&gt; int</autodoc>
       </method>
       <method name="GetCol" type="int" overloaded="no">
       </method>
       <method name="GetCol" type="int" overloaded="no">
-        <autodoc>GetCol() -&gt; int</autodoc>
+        <autodoc>GetCol(self) -&gt; int</autodoc>
       </method>
       <method name="GetControl" type="Control" overloaded="no">
       </method>
       <method name="GetControl" type="Control" overloaded="no">
-        <autodoc>GetControl() -&gt; Control</autodoc>
+        <autodoc>GetControl(self) -&gt; Control</autodoc>
       </method>
       <method name="SetRow" type="" overloaded="no">
       </method>
       <method name="SetRow" type="" overloaded="no">
-        <autodoc>SetRow(int row)</autodoc>
+        <autodoc>SetRow(self, int row)</autodoc>
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCol" type="" overloaded="no">
         <paramlist>
           <param name="row" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCol" type="" overloaded="no">
-        <autodoc>SetCol(int col)</autodoc>
+        <autodoc>SetCol(self, int col)</autodoc>
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetControl" type="" overloaded="no">
         <paramlist>
           <param name="col" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetControl" type="" overloaded="no">
-        <autodoc>SetControl(Control ctrl)</autodoc>
+        <autodoc>SetControl(self, Control ctrl)</autodoc>
         <paramlist>
           <param name="ctrl" type="Control" default=""/>
         </paramlist>
         <paramlist>
           <param name="ctrl" type="Control" default=""/>
         </paramlist>
@@ -26848,43 +29796,66 @@ EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL )
 EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
 EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
 EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
 EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
 EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
 EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
+EVT_GRID_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG )
+
+
+# The same as above but with the ability to specify an identifier
+EVT_GRID_CMD_CELL_LEFT_CLICK =     wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK,    1 )
+EVT_GRID_CMD_CELL_RIGHT_CLICK =    wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK,   1 )
+EVT_GRID_CMD_CELL_LEFT_DCLICK =    wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK,   1 )
+EVT_GRID_CMD_CELL_RIGHT_DCLICK =   wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK,  1 )
+EVT_GRID_CMD_LABEL_LEFT_CLICK =    wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK,   1 )
+EVT_GRID_CMD_LABEL_RIGHT_CLICK =   wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK,  1 )
+EVT_GRID_CMD_LABEL_LEFT_DCLICK =   wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK,  1 )
+EVT_GRID_CMD_LABEL_RIGHT_DCLICK =  wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK, 1 )
+EVT_GRID_CMD_ROW_SIZE =            wx.PyEventBinder( wxEVT_GRID_ROW_SIZE,           1 )
+EVT_GRID_CMD_COL_SIZE =            wx.PyEventBinder( wxEVT_GRID_COL_SIZE,           1 )
+EVT_GRID_CMD_RANGE_SELECT =        wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT,       1 )
+EVT_GRID_CMD_CELL_CHANGE =         wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE,        1 )
+EVT_GRID_CMD_SELECT_CELL =         wx.PyEventBinder( wxEVT_GRID_SELECT_CELL,        1 )
+EVT_GRID_CMD_EDITOR_SHOWN =        wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN,       1 )
+EVT_GRID_CMD_EDITOR_HIDDEN =       wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN,      1 )
+EVT_GRID_CMD_EDITOR_CREATED =      wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED,     1 )
+EVT_GRID_CMD_CELL_BEGIN_DRAG =     wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG,    1 )
+    
 </pythoncode>
   </module>
   <module name="html">
 </pythoncode>
   </module>
   <module name="html">
-    <import name="windows"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_windows"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlLinkInfo" overloaded="no">
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <class name="HtmlLinkInfo" oldname="wxHtmlLinkInfo" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlLinkInfo" overloaded="no">
-        <autodoc>__init__(String href, String target=EmptyString) -&gt; HtmlLinkInfo</autodoc>
+        <autodoc>__init__(self, String href, String target=EmptyString) -&gt; HtmlLinkInfo</autodoc>
         <paramlist>
           <param name="href" type="String" default=""/>
           <param name="target" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="GetHref" type="String" overloaded="no">
         <paramlist>
           <param name="href" type="String" default=""/>
           <param name="target" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </constructor>
       <method name="GetHref" type="String" overloaded="no">
-        <autodoc>GetHref() -&gt; String</autodoc>
+        <autodoc>GetHref(self) -&gt; String</autodoc>
       </method>
       <method name="GetTarget" type="String" overloaded="no">
       </method>
       <method name="GetTarget" type="String" overloaded="no">
-        <autodoc>GetTarget() -&gt; String</autodoc>
+        <autodoc>GetTarget(self) -&gt; String</autodoc>
       </method>
       <method name="GetEvent" type="MouseEvent" overloaded="no">
       </method>
       <method name="GetEvent" type="MouseEvent" overloaded="no">
-        <autodoc>GetEvent() -&gt; MouseEvent</autodoc>
+        <autodoc>GetEvent(self) -&gt; MouseEvent</autodoc>
       </method>
       <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no">
       </method>
       <method name="GetHtmlCell" type="wxHtmlCell" overloaded="no">
-        <autodoc>GetHtmlCell() -&gt; HtmlCell</autodoc>
+        <autodoc>GetHtmlCell(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="SetEvent" type="" overloaded="no">
       </method>
       <method name="SetEvent" type="" overloaded="no">
-        <autodoc>SetEvent(MouseEvent e)</autodoc>
+        <autodoc>SetEvent(self, MouseEvent e)</autodoc>
         <paramlist>
           <param name="e" type="MouseEvent" default=""/>
         </paramlist>
       </method>
       <method name="SetHtmlCell" type="" overloaded="no">
         <paramlist>
           <param name="e" type="MouseEvent" default=""/>
         </paramlist>
       </method>
       <method name="SetHtmlCell" type="" overloaded="no">
-        <autodoc>SetHtmlCell(HtmlCell e)</autodoc>
+        <autodoc>SetHtmlCell(self, HtmlCell e)</autodoc>
         <paramlist>
           <param name="e" type="wxHtmlCell" default=""/>
         </paramlist>
         <paramlist>
           <param name="e" type="wxHtmlCell" default=""/>
         </paramlist>
@@ -26893,250 +29864,256 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlTag" oldname="wxHtmlTag" module="html">
       <baseclass name="Object"/>
       <method name="GetName" type="String" overloaded="no">
     <class name="HtmlTag" oldname="wxHtmlTag" module="html">
       <baseclass name="Object"/>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="HasParam" type="bool" overloaded="no">
       </method>
       <method name="HasParam" type="bool" overloaded="no">
-        <autodoc>HasParam(String par) -&gt; bool</autodoc>
+        <autodoc>HasParam(self, String par) -&gt; bool</autodoc>
         <paramlist>
           <param name="par" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetParam" type="String" overloaded="no">
         <paramlist>
           <param name="par" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetParam" type="String" overloaded="no">
-        <autodoc>GetParam(String par, int with_commas=False) -&gt; String</autodoc>
+        <autodoc>GetParam(self, String par, int with_commas=False) -&gt; String</autodoc>
         <paramlist>
           <param name="par" type="String" default=""/>
           <param name="with_commas" type="int" default="False"/>
         </paramlist>
       </method>
       <method name="GetAllParams" type="String" overloaded="no">
         <paramlist>
           <param name="par" type="String" default=""/>
           <param name="with_commas" type="int" default="False"/>
         </paramlist>
       </method>
       <method name="GetAllParams" type="String" overloaded="no">
-        <autodoc>GetAllParams() -&gt; String</autodoc>
+        <autodoc>GetAllParams(self) -&gt; String</autodoc>
       </method>
       <method name="HasEnding" type="bool" overloaded="no">
       </method>
       <method name="HasEnding" type="bool" overloaded="no">
-        <autodoc>HasEnding() -&gt; bool</autodoc>
+        <autodoc>HasEnding(self) -&gt; bool</autodoc>
       </method>
       <method name="GetBeginPos" type="int" overloaded="no">
       </method>
       <method name="GetBeginPos" type="int" overloaded="no">
-        <autodoc>GetBeginPos() -&gt; int</autodoc>
+        <autodoc>GetBeginPos(self) -&gt; int</autodoc>
       </method>
       <method name="GetEndPos1" type="int" overloaded="no">
       </method>
       <method name="GetEndPos1" type="int" overloaded="no">
-        <autodoc>GetEndPos1() -&gt; int</autodoc>
+        <autodoc>GetEndPos1(self) -&gt; int</autodoc>
       </method>
       <method name="GetEndPos2" type="int" overloaded="no">
       </method>
       <method name="GetEndPos2" type="int" overloaded="no">
-        <autodoc>GetEndPos2() -&gt; int</autodoc>
+        <autodoc>GetEndPos2(self) -&gt; int</autodoc>
       </method>
     </class>
     <class name="HtmlParser" oldname="wxHtmlParser" module="html">
       <baseclass name="Object"/>
       <method name="SetFS" type="" overloaded="no">
       </method>
     </class>
     <class name="HtmlParser" oldname="wxHtmlParser" module="html">
       <baseclass name="Object"/>
       <method name="SetFS" type="" overloaded="no">
-        <autodoc>SetFS(FileSystem fs)</autodoc>
+        <autodoc>SetFS(self, FileSystem fs)</autodoc>
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
         </paramlist>
       </method>
       <method name="GetFS" type="FileSystem" overloaded="no">
         <paramlist>
           <param name="fs" type="FileSystem" default=""/>
         </paramlist>
       </method>
       <method name="GetFS" type="FileSystem" overloaded="no">
-        <autodoc>GetFS() -&gt; FileSystem</autodoc>
+        <autodoc>GetFS(self) -&gt; FileSystem</autodoc>
       </method>
       <method name="Parse" type="Object" overloaded="no">
       </method>
       <method name="Parse" type="Object" overloaded="no">
-        <autodoc>Parse(String source) -&gt; Object</autodoc>
+        <autodoc>Parse(self, String source) -&gt; Object</autodoc>
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InitParser" type="" overloaded="no">
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InitParser" type="" overloaded="no">
-        <autodoc>InitParser(String source)</autodoc>
+        <autodoc>InitParser(self, String source)</autodoc>
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DoneParser" type="" overloaded="no">
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DoneParser" type="" overloaded="no">
-        <autodoc>DoneParser()</autodoc>
+        <autodoc>DoneParser(self)</autodoc>
       </method>
       <method name="DoParsing" type="" overloaded="no">
       </method>
       <method name="DoParsing" type="" overloaded="no">
-        <autodoc>DoParsing(int begin_pos, int end_pos)</autodoc>
+        <autodoc>DoParsing(self, int begin_pos, int end_pos)</autodoc>
         <paramlist>
           <param name="begin_pos" type="int" default=""/>
           <param name="end_pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StopParsing" type="" overloaded="no">
         <paramlist>
           <param name="begin_pos" type="int" default=""/>
           <param name="end_pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StopParsing" type="" overloaded="no">
-        <autodoc>StopParsing()</autodoc>
+        <autodoc>StopParsing(self)</autodoc>
       </method>
       <method name="AddTagHandler" type="" overloaded="no">
       </method>
       <method name="AddTagHandler" type="" overloaded="no">
-        <autodoc>AddTagHandler(HtmlTagHandler handler)</autodoc>
+        <autodoc>AddTagHandler(self, HtmlTagHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="wxHtmlTagHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetSource" type="String" overloaded="no">
         <paramlist>
           <param name="handler" type="wxHtmlTagHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetSource" type="String" overloaded="no">
-        <autodoc>GetSource() -&gt; String</autodoc>
+        <autodoc>GetSource(self) -&gt; String</autodoc>
       </method>
       <method name="PushTagHandler" type="" overloaded="no">
       </method>
       <method name="PushTagHandler" type="" overloaded="no">
-        <autodoc>PushTagHandler(HtmlTagHandler handler, String tags)</autodoc>
+        <autodoc>PushTagHandler(self, HtmlTagHandler handler, String tags)</autodoc>
         <paramlist>
           <param name="handler" type="wxHtmlTagHandler" default=""/>
           <param name="tags" type="String" default=""/>
         </paramlist>
       </method>
       <method name="PopTagHandler" type="" overloaded="no">
         <paramlist>
           <param name="handler" type="wxHtmlTagHandler" default=""/>
           <param name="tags" type="String" default=""/>
         </paramlist>
       </method>
       <method name="PopTagHandler" type="" overloaded="no">
-        <autodoc>PopTagHandler()</autodoc>
+        <autodoc>PopTagHandler(self)</autodoc>
       </method>
     </class>
     <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html">
       <baseclass name="HtmlParser"/>
       <constructor name="HtmlWinParser" overloaded="no">
       </method>
     </class>
     <class name="HtmlWinParser" oldname="wxHtmlWinParser" module="html">
       <baseclass name="HtmlParser"/>
       <constructor name="HtmlWinParser" overloaded="no">
-        <autodoc>__init__(HtmlWindow wnd=None) -&gt; HtmlWinParser</autodoc>
+        <autodoc>__init__(self, HtmlWindow wnd=None) -&gt; HtmlWinParser</autodoc>
         <paramlist>
           <param name="wnd" type="wxPyHtmlWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="SetDC" type="" overloaded="no">
         <paramlist>
           <param name="wnd" type="wxPyHtmlWindow" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="SetDC" type="" overloaded="no">
-        <autodoc>SetDC(DC dc)</autodoc>
+        <autodoc>SetDC(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="GetDC" type="DC" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="GetDC" type="DC" overloaded="no">
-        <autodoc>GetDC() -&gt; DC</autodoc>
+        <autodoc>GetDC(self) -&gt; DC</autodoc>
       </method>
       <method name="GetCharHeight" type="int" overloaded="no">
       </method>
       <method name="GetCharHeight" type="int" overloaded="no">
-        <autodoc>GetCharHeight() -&gt; int</autodoc>
+        <autodoc>GetCharHeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetCharWidth" type="int" overloaded="no">
       </method>
       <method name="GetCharWidth" type="int" overloaded="no">
-        <autodoc>GetCharWidth() -&gt; int</autodoc>
+        <autodoc>GetCharWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no">
       </method>
       <method name="GetWindow" type="wxPyHtmlWindow" overloaded="no">
-        <autodoc>GetWindow() -&gt; HtmlWindow</autodoc>
+        <autodoc>GetWindow(self) -&gt; HtmlWindow</autodoc>
       </method>
       <method name="SetFonts" type="" overloaded="no">
       </method>
       <method name="SetFonts" type="" overloaded="no">
-        <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+        <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
+      <method name="NormalizeFontSizes" type="" overloaded="no">
+        <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+        <paramlist>
+          <param name="size" type="int" default="-1"/>
+        </paramlist>
+      </method>
       <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no">
       <method name="GetContainer" type="wxHtmlContainerCell" overloaded="no">
-        <autodoc>GetContainer() -&gt; HtmlContainerCell</autodoc>
+        <autodoc>GetContainer(self) -&gt; HtmlContainerCell</autodoc>
       </method>
       <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no">
       </method>
       <method name="OpenContainer" type="wxHtmlContainerCell" overloaded="no">
-        <autodoc>OpenContainer() -&gt; HtmlContainerCell</autodoc>
+        <autodoc>OpenContainer(self) -&gt; HtmlContainerCell</autodoc>
       </method>
       <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no">
       </method>
       <method name="SetContainer" type="wxHtmlContainerCell" overloaded="no">
-        <autodoc>SetContainer(HtmlContainerCell c) -&gt; HtmlContainerCell</autodoc>
+        <autodoc>SetContainer(self, HtmlContainerCell c) -&gt; HtmlContainerCell</autodoc>
         <paramlist>
           <param name="c" type="wxHtmlContainerCell" default=""/>
         </paramlist>
       </method>
       <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no">
         <paramlist>
           <param name="c" type="wxHtmlContainerCell" default=""/>
         </paramlist>
       </method>
       <method name="CloseContainer" type="wxHtmlContainerCell" overloaded="no">
-        <autodoc>CloseContainer() -&gt; HtmlContainerCell</autodoc>
+        <autodoc>CloseContainer(self) -&gt; HtmlContainerCell</autodoc>
       </method>
       <method name="GetFontSize" type="int" overloaded="no">
       </method>
       <method name="GetFontSize" type="int" overloaded="no">
-        <autodoc>GetFontSize() -&gt; int</autodoc>
+        <autodoc>GetFontSize(self) -&gt; int</autodoc>
       </method>
       <method name="SetFontSize" type="" overloaded="no">
       </method>
       <method name="SetFontSize" type="" overloaded="no">
-        <autodoc>SetFontSize(int s)</autodoc>
+        <autodoc>SetFontSize(self, int s)</autodoc>
         <paramlist>
           <param name="s" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontBold" type="int" overloaded="no">
         <paramlist>
           <param name="s" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontBold" type="int" overloaded="no">
-        <autodoc>GetFontBold() -&gt; int</autodoc>
+        <autodoc>GetFontBold(self) -&gt; int</autodoc>
       </method>
       <method name="SetFontBold" type="" overloaded="no">
       </method>
       <method name="SetFontBold" type="" overloaded="no">
-        <autodoc>SetFontBold(int x)</autodoc>
+        <autodoc>SetFontBold(self, int x)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontItalic" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontItalic" type="int" overloaded="no">
-        <autodoc>GetFontItalic() -&gt; int</autodoc>
+        <autodoc>GetFontItalic(self) -&gt; int</autodoc>
       </method>
       <method name="SetFontItalic" type="" overloaded="no">
       </method>
       <method name="SetFontItalic" type="" overloaded="no">
-        <autodoc>SetFontItalic(int x)</autodoc>
+        <autodoc>SetFontItalic(self, int x)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontUnderlined" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontUnderlined" type="int" overloaded="no">
-        <autodoc>GetFontUnderlined() -&gt; int</autodoc>
+        <autodoc>GetFontUnderlined(self) -&gt; int</autodoc>
       </method>
       <method name="SetFontUnderlined" type="" overloaded="no">
       </method>
       <method name="SetFontUnderlined" type="" overloaded="no">
-        <autodoc>SetFontUnderlined(int x)</autodoc>
+        <autodoc>SetFontUnderlined(self, int x)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontFixed" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFontFixed" type="int" overloaded="no">
-        <autodoc>GetFontFixed() -&gt; int</autodoc>
+        <autodoc>GetFontFixed(self) -&gt; int</autodoc>
       </method>
       <method name="SetFontFixed" type="" overloaded="no">
       </method>
       <method name="SetFontFixed" type="" overloaded="no">
-        <autodoc>SetFontFixed(int x)</autodoc>
+        <autodoc>SetFontFixed(self, int x)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlign" type="int" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlign" type="int" overloaded="no">
-        <autodoc>GetAlign() -&gt; int</autodoc>
+        <autodoc>GetAlign(self) -&gt; int</autodoc>
       </method>
       <method name="SetAlign" type="" overloaded="no">
       </method>
       <method name="SetAlign" type="" overloaded="no">
-        <autodoc>SetAlign(int a)</autodoc>
+        <autodoc>SetAlign(self, int a)</autodoc>
         <paramlist>
           <param name="a" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLinkColor" type="Colour" overloaded="no">
         <paramlist>
           <param name="a" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLinkColor" type="Colour" overloaded="no">
-        <autodoc>GetLinkColor() -&gt; Colour</autodoc>
+        <autodoc>GetLinkColor(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetLinkColor" type="" overloaded="no">
       </method>
       <method name="SetLinkColor" type="" overloaded="no">
-        <autodoc>SetLinkColor(Colour clr)</autodoc>
+        <autodoc>SetLinkColor(self, Colour clr)</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetActualColor" type="Colour" overloaded="no">
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetActualColor" type="Colour" overloaded="no">
-        <autodoc>GetActualColor() -&gt; Colour</autodoc>
+        <autodoc>GetActualColor(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetActualColor" type="" overloaded="no">
       </method>
       <method name="SetActualColor" type="" overloaded="no">
-        <autodoc>SetActualColor(Colour clr)</autodoc>
+        <autodoc>SetActualColor(self, Colour clr)</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLink" type="" overloaded="no">
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetLink" type="" overloaded="no">
-        <autodoc>SetLink(String link)</autodoc>
+        <autodoc>SetLink(self, String link)</autodoc>
         <paramlist>
           <param name="link" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CreateCurrentFont" type="Font" overloaded="no">
         <paramlist>
           <param name="link" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CreateCurrentFont" type="Font" overloaded="no">
-        <autodoc>CreateCurrentFont() -&gt; Font</autodoc>
+        <autodoc>CreateCurrentFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
       </method>
       <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
-        <autodoc>GetLink() -&gt; HtmlLinkInfo</autodoc>
+        <autodoc>GetLink(self) -&gt; HtmlLinkInfo</autodoc>
       </method>
     </class>
     <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html">
       <baseclass name="Object"/>
       <constructor name="wxPyHtmlTagHandler" overloaded="no">
       </method>
     </class>
     <class name="HtmlTagHandler" oldname="wxPyHtmlTagHandler" module="html">
       <baseclass name="Object"/>
       <constructor name="wxPyHtmlTagHandler" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlTagHandler</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlTagHandler</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetParser" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetParser" type="" overloaded="no">
-        <autodoc>SetParser(HtmlParser parser)</autodoc>
+        <autodoc>SetParser(self, HtmlParser parser)</autodoc>
         <paramlist>
           <param name="parser" type="HtmlParser" default=""/>
         </paramlist>
       </method>
       <method name="GetParser" type="HtmlParser" overloaded="no">
         <paramlist>
           <param name="parser" type="HtmlParser" default=""/>
         </paramlist>
       </method>
       <method name="GetParser" type="HtmlParser" overloaded="no">
-        <autodoc>GetParser() -&gt; HtmlParser</autodoc>
+        <autodoc>GetParser(self) -&gt; HtmlParser</autodoc>
       </method>
       <method name="ParseInner" type="" overloaded="no">
       </method>
       <method name="ParseInner" type="" overloaded="no">
-        <autodoc>ParseInner(HtmlTag tag)</autodoc>
+        <autodoc>ParseInner(self, HtmlTag tag)</autodoc>
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
@@ -27145,26 +30122,26 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html">
       <baseclass name="HtmlTagHandler"/>
       <constructor name="wxPyHtmlWinTagHandler" overloaded="no">
     <class name="HtmlWinTagHandler" oldname="wxPyHtmlWinTagHandler" module="html">
       <baseclass name="HtmlTagHandler"/>
       <constructor name="wxPyHtmlWinTagHandler" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlWinTagHandler</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlWinTagHandler</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetParser" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetParser" type="" overloaded="no">
-        <autodoc>SetParser(HtmlParser parser)</autodoc>
+        <autodoc>SetParser(self, HtmlParser parser)</autodoc>
         <paramlist>
           <param name="parser" type="HtmlParser" default=""/>
         </paramlist>
       </method>
       <method name="GetParser" type="HtmlWinParser" overloaded="no">
         <paramlist>
           <param name="parser" type="HtmlParser" default=""/>
         </paramlist>
       </method>
       <method name="GetParser" type="HtmlWinParser" overloaded="no">
-        <autodoc>GetParser() -&gt; HtmlWinParser</autodoc>
+        <autodoc>GetParser(self) -&gt; HtmlWinParser</autodoc>
       </method>
       <method name="ParseInner" type="" overloaded="no">
       </method>
       <method name="ParseInner" type="" overloaded="no">
-        <autodoc>ParseInner(HtmlTag tag)</autodoc>
+        <autodoc>ParseInner(self, HtmlTag tag)</autodoc>
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
@@ -27181,13 +30158,13 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
 </pythoncode>
     <class name="HtmlSelection" oldname="wxHtmlSelection" module="html">
       <constructor name="HtmlSelection" overloaded="no">
 </pythoncode>
     <class name="HtmlSelection" oldname="wxHtmlSelection" module="html">
       <constructor name="HtmlSelection" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlSelection</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlSelection</autodoc>
       </constructor>
       <destructor name="~wxHtmlSelection" overloaded="no">
       </constructor>
       <destructor name="~wxHtmlSelection" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Set" type="" overloaded="no">
       </destructor>
       <method name="Set" type="" overloaded="no">
-        <autodoc>Set(Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc>
+        <autodoc>Set(self, Point fromPos, HtmlCell fromCell, Point toPos, HtmlCell toCell)</autodoc>
         <paramlist>
           <param name="fromPos" type="Point" default=""/>
           <param name="fromCell" type="wxHtmlCell" default=""/>
         <paramlist>
           <param name="fromPos" type="Point" default=""/>
           <param name="fromCell" type="wxHtmlCell" default=""/>
@@ -27196,93 +30173,93 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="SetCells" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetCells" type="" overloaded="no">
-        <autodoc>SetCells(HtmlCell fromCell, HtmlCell toCell)</autodoc>
+        <autodoc>SetCells(self, HtmlCell fromCell, HtmlCell toCell)</autodoc>
         <paramlist>
           <param name="fromCell" type="wxHtmlCell" default=""/>
           <param name="toCell" type="wxHtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="GetFromCell" type="wxHtmlCell" overloaded="no">
         <paramlist>
           <param name="fromCell" type="wxHtmlCell" default=""/>
           <param name="toCell" type="wxHtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="GetFromCell" type="wxHtmlCell" overloaded="no">
-        <autodoc>GetFromCell() -&gt; HtmlCell</autodoc>
+        <autodoc>GetFromCell(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="GetToCell" type="wxHtmlCell" overloaded="no">
       </method>
       <method name="GetToCell" type="wxHtmlCell" overloaded="no">
-        <autodoc>GetToCell() -&gt; HtmlCell</autodoc>
+        <autodoc>GetToCell(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="GetFromPos" type="Point" overloaded="no">
       </method>
       <method name="GetFromPos" type="Point" overloaded="no">
-        <autodoc>GetFromPos() -&gt; Point</autodoc>
+        <autodoc>GetFromPos(self) -&gt; Point</autodoc>
       </method>
       <method name="GetToPos" type="Point" overloaded="no">
       </method>
       <method name="GetToPos" type="Point" overloaded="no">
-        <autodoc>GetToPos() -&gt; Point</autodoc>
+        <autodoc>GetToPos(self) -&gt; Point</autodoc>
       </method>
       <method name="GetFromPrivPos" type="Point" overloaded="no">
       </method>
       <method name="GetFromPrivPos" type="Point" overloaded="no">
-        <autodoc>GetFromPrivPos() -&gt; Point</autodoc>
+        <autodoc>GetFromPrivPos(self) -&gt; Point</autodoc>
       </method>
       <method name="GetToPrivPos" type="Point" overloaded="no">
       </method>
       <method name="GetToPrivPos" type="Point" overloaded="no">
-        <autodoc>GetToPrivPos() -&gt; Point</autodoc>
+        <autodoc>GetToPrivPos(self) -&gt; Point</autodoc>
       </method>
       <method name="SetFromPrivPos" type="" overloaded="no">
       </method>
       <method name="SetFromPrivPos" type="" overloaded="no">
-        <autodoc>SetFromPrivPos(Point pos)</autodoc>
+        <autodoc>SetFromPrivPos(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetToPrivPos" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetToPrivPos" type="" overloaded="no">
-        <autodoc>SetToPrivPos(Point pos)</autodoc>
+        <autodoc>SetToPrivPos(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ClearPrivPos" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="ClearPrivPos" type="" overloaded="no">
-        <autodoc>ClearPrivPos()</autodoc>
+        <autodoc>ClearPrivPos(self)</autodoc>
       </method>
       <method name="IsEmpty" type="bool" overloaded="no">
       </method>
       <method name="IsEmpty" type="bool" overloaded="no">
-        <autodoc>IsEmpty() -&gt; bool</autodoc>
+        <autodoc>IsEmpty(self) -&gt; bool</autodoc>
       </method>
     </class>
     <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html">
       <constructor name="HtmlRenderingState" overloaded="no">
       </method>
     </class>
     <class name="HtmlRenderingState" oldname="wxHtmlRenderingState" module="html">
       <constructor name="HtmlRenderingState" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlRenderingState</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlRenderingState</autodoc>
       </constructor>
       <destructor name="~wxHtmlRenderingState" overloaded="no">
       </constructor>
       <destructor name="~wxHtmlRenderingState" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetSelectionState" type="" overloaded="no">
       </destructor>
       <method name="SetSelectionState" type="" overloaded="no">
-        <autodoc>SetSelectionState(int s)</autodoc>
+        <autodoc>SetSelectionState(self, int s)</autodoc>
         <paramlist>
           <param name="s" type="wxHtmlSelectionState" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no">
         <paramlist>
           <param name="s" type="wxHtmlSelectionState" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionState" type="wxHtmlSelectionState" overloaded="no">
-        <autodoc>GetSelectionState() -&gt; int</autodoc>
+        <autodoc>GetSelectionState(self) -&gt; int</autodoc>
       </method>
       <method name="SetFgColour" type="" overloaded="no">
       </method>
       <method name="SetFgColour" type="" overloaded="no">
-        <autodoc>SetFgColour(Colour c)</autodoc>
+        <autodoc>SetFgColour(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetFgColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetFgColour" type="Colour" overloaded="no">
-        <autodoc>GetFgColour() -&gt; Colour</autodoc>
+        <autodoc>GetFgColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetBgColour" type="" overloaded="no">
       </method>
       <method name="SetBgColour" type="" overloaded="no">
-        <autodoc>SetBgColour(Colour c)</autodoc>
+        <autodoc>SetBgColour(self, Colour c)</autodoc>
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetBgColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="c" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetBgColour" type="Colour" overloaded="no">
-        <autodoc>GetBgColour() -&gt; Colour</autodoc>
+        <autodoc>GetBgColour(self) -&gt; Colour</autodoc>
       </method>
     </class>
     <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html">
       <method name="GetSelectedTextColour" type="Colour" overloaded="no">
       </method>
     </class>
     <class name="HtmlRenderingStyle" oldname="wxHtmlRenderingStyle" module="html">
       <method name="GetSelectedTextColour" type="Colour" overloaded="no">
-        <autodoc>GetSelectedTextColour(Colour clr) -&gt; Colour</autodoc>
+        <autodoc>GetSelectedTextColour(self, Colour clr) -&gt; Colour</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
-        <autodoc>GetSelectedTextBgColour(Colour clr) -&gt; Colour</autodoc>
+        <autodoc>GetSelectedTextBgColour(self, Colour clr) -&gt; Colour</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
@@ -27291,13 +30268,13 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html">
       <baseclass name="HtmlRenderingStyle"/>
       <method name="GetSelectedTextColour" type="Colour" overloaded="no">
     <class name="DefaultHtmlRenderingStyle" oldname="wxDefaultHtmlRenderingStyle" module="html">
       <baseclass name="HtmlRenderingStyle"/>
       <method name="GetSelectedTextColour" type="Colour" overloaded="no">
-        <autodoc>GetSelectedTextColour(Colour clr) -&gt; Colour</autodoc>
+        <autodoc>GetSelectedTextColour(self, Colour clr) -&gt; Colour</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedTextBgColour" type="Colour" overloaded="no">
-        <autodoc>GetSelectedTextBgColour(Colour clr) -&gt; Colour</autodoc>
+        <autodoc>GetSelectedTextBgColour(self, Colour clr) -&gt; Colour</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
@@ -27305,31 +30282,31 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     </class>
     <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html">
       <constructor name="HtmlRenderingInfo" overloaded="no">
     </class>
     <class name="HtmlRenderingInfo" oldname="wxHtmlRenderingInfo" module="html">
       <constructor name="HtmlRenderingInfo" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlRenderingInfo</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlRenderingInfo</autodoc>
       </constructor>
       <destructor name="~wxHtmlRenderingInfo" overloaded="no">
       </constructor>
       <destructor name="~wxHtmlRenderingInfo" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetSelection" type="" overloaded="no">
       </destructor>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(HtmlSelection s)</autodoc>
+        <autodoc>SetSelection(self, HtmlSelection s)</autodoc>
         <paramlist>
           <param name="s" type="HtmlSelection" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="HtmlSelection" overloaded="no">
         <paramlist>
           <param name="s" type="HtmlSelection" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="HtmlSelection" overloaded="no">
-        <autodoc>GetSelection() -&gt; HtmlSelection</autodoc>
+        <autodoc>GetSelection(self) -&gt; HtmlSelection</autodoc>
       </method>
       <method name="SetStyle" type="" overloaded="no">
       </method>
       <method name="SetStyle" type="" overloaded="no">
-        <autodoc>SetStyle(HtmlRenderingStyle style)</autodoc>
+        <autodoc>SetStyle(self, HtmlRenderingStyle style)</autodoc>
         <paramlist>
           <param name="style" type="HtmlRenderingStyle" default=""/>
         </paramlist>
       </method>
       <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no">
         <paramlist>
           <param name="style" type="HtmlRenderingStyle" default=""/>
         </paramlist>
       </method>
       <method name="GetStyle" type="HtmlRenderingStyle" overloaded="no">
-        <autodoc>GetStyle() -&gt; HtmlRenderingStyle</autodoc>
+        <autodoc>GetStyle(self) -&gt; HtmlRenderingStyle</autodoc>
       </method>
       <method name="GetState" type="HtmlRenderingState" overloaded="no">
       </method>
       <method name="GetState" type="HtmlRenderingState" overloaded="no">
-        <autodoc>GetState() -&gt; HtmlRenderingState</autodoc>
+        <autodoc>GetState(self) -&gt; HtmlRenderingState</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -27338,87 +30315,90 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlCell" oldname="wxHtmlCell" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlCell" overloaded="no">
     <class name="HtmlCell" oldname="wxHtmlCell" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlCell" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlCell</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlCell</autodoc>
       </constructor>
       <method name="GetPosX" type="int" overloaded="no">
       </constructor>
       <method name="GetPosX" type="int" overloaded="no">
-        <autodoc>GetPosX() -&gt; int</autodoc>
+        <autodoc>GetPosX(self) -&gt; int</autodoc>
       </method>
       <method name="GetPosY" type="int" overloaded="no">
       </method>
       <method name="GetPosY" type="int" overloaded="no">
-        <autodoc>GetPosY() -&gt; int</autodoc>
+        <autodoc>GetPosY(self) -&gt; int</autodoc>
       </method>
       <method name="GetWidth" type="int" overloaded="no">
       </method>
       <method name="GetWidth" type="int" overloaded="no">
-        <autodoc>GetWidth() -&gt; int</autodoc>
+        <autodoc>GetWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetHeight" type="int" overloaded="no">
       </method>
       <method name="GetHeight" type="int" overloaded="no">
-        <autodoc>GetHeight() -&gt; int</autodoc>
+        <autodoc>GetHeight(self) -&gt; int</autodoc>
       </method>
       <method name="GetDescent" type="int" overloaded="no">
       </method>
       <method name="GetDescent" type="int" overloaded="no">
-        <autodoc>GetDescent() -&gt; int</autodoc>
+        <autodoc>GetDescent(self) -&gt; int</autodoc>
+      </method>
+      <method name="GetMaxTotalWidth" type="int" overloaded="no">
+        <autodoc>GetMaxTotalWidth(self) -&gt; int</autodoc>
       </method>
       <method name="GetId" type="String" overloaded="no">
       </method>
       <method name="GetId" type="String" overloaded="no">
-        <autodoc>GetId() -&gt; String</autodoc>
+        <autodoc>GetId(self) -&gt; String</autodoc>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(String id)</autodoc>
+        <autodoc>SetId(self, String id)</autodoc>
         <paramlist>
           <param name="id" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
         <paramlist>
           <param name="id" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetLink" type="HtmlLinkInfo" overloaded="no">
-        <autodoc>GetLink(int x=0, int y=0) -&gt; HtmlLinkInfo</autodoc>
+        <autodoc>GetLink(self, int x=0, int y=0) -&gt; HtmlLinkInfo</autodoc>
         <paramlist>
           <param name="x" type="int" default="0"/>
           <param name="y" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetNext" type="HtmlCell" overloaded="no">
         <paramlist>
           <param name="x" type="int" default="0"/>
           <param name="y" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetNext" type="HtmlCell" overloaded="no">
-        <autodoc>GetNext() -&gt; HtmlCell</autodoc>
+        <autodoc>GetNext(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="GetParent" type="wxHtmlContainerCell" overloaded="no">
       </method>
       <method name="GetParent" type="wxHtmlContainerCell" overloaded="no">
-        <autodoc>GetParent() -&gt; HtmlContainerCell</autodoc>
+        <autodoc>GetParent(self) -&gt; HtmlContainerCell</autodoc>
       </method>
       <method name="GetFirstChild" type="HtmlCell" overloaded="no">
       </method>
       <method name="GetFirstChild" type="HtmlCell" overloaded="no">
-        <autodoc>GetFirstChild() -&gt; HtmlCell</autodoc>
+        <autodoc>GetFirstChild(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="GetCursor" type="Cursor" overloaded="no">
       </method>
       <method name="GetCursor" type="Cursor" overloaded="no">
-        <autodoc>GetCursor() -&gt; Cursor</autodoc>
+        <autodoc>GetCursor(self) -&gt; Cursor</autodoc>
       </method>
       <method name="IsFormattingCell" type="bool" overloaded="no">
       </method>
       <method name="IsFormattingCell" type="bool" overloaded="no">
-        <autodoc>IsFormattingCell() -&gt; bool</autodoc>
+        <autodoc>IsFormattingCell(self) -&gt; bool</autodoc>
       </method>
       <method name="SetLink" type="" overloaded="no">
       </method>
       <method name="SetLink" type="" overloaded="no">
-        <autodoc>SetLink(HtmlLinkInfo link)</autodoc>
+        <autodoc>SetLink(self, HtmlLinkInfo link)</autodoc>
         <paramlist>
           <param name="link" type="HtmlLinkInfo" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
         <paramlist>
           <param name="link" type="HtmlLinkInfo" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
-        <autodoc>SetNext(HtmlCell cell)</autodoc>
+        <autodoc>SetNext(self, HtmlCell cell)</autodoc>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="SetParent" type="" overloaded="no">
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="SetParent" type="" overloaded="no">
-        <autodoc>SetParent(HtmlContainerCell p)</autodoc>
+        <autodoc>SetParent(self, HtmlContainerCell p)</autodoc>
         <paramlist>
           <param name="p" type="wxHtmlContainerCell" default=""/>
         </paramlist>
       </method>
       <method name="SetPos" type="" overloaded="no">
         <paramlist>
           <param name="p" type="wxHtmlContainerCell" default=""/>
         </paramlist>
       </method>
       <method name="SetPos" type="" overloaded="no">
-        <autodoc>SetPos(int x, int y)</autodoc>
+        <autodoc>SetPos(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Layout" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Layout" type="" overloaded="no">
-        <autodoc>Layout(int w)</autodoc>
+        <autodoc>Layout(self, int w)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Draw" type="" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Draw" type="" overloaded="no">
-        <autodoc>Draw(DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc>
+        <autodoc>Draw(self, DC dc, int x, int y, int view_y1, int view_y2, HtmlRenderingInfo info)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="int" default=""/>
@@ -27429,7 +30409,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="DrawInvisible" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawInvisible" type="" overloaded="no">
-        <autodoc>DrawInvisible(DC dc, int x, int y, HtmlRenderingInfo info)</autodoc>
+        <autodoc>DrawInvisible(self, DC dc, int x, int y, HtmlRenderingInfo info)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="int" default=""/>
@@ -27438,32 +30418,32 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="Find" type="HtmlCell" overloaded="no">
         </paramlist>
       </method>
       <method name="Find" type="HtmlCell" overloaded="no">
-        <autodoc>Find(int condition, void param) -&gt; HtmlCell</autodoc>
+        <autodoc>Find(self, int condition, void param) -&gt; HtmlCell</autodoc>
         <paramlist>
           <param name="condition" type="int" default=""/>
           <param name="param" type="" default=""/>
         </paramlist>
       </method>
       <method name="AdjustPagebreak" type="bool" overloaded="no">
         <paramlist>
           <param name="condition" type="int" default=""/>
           <param name="param" type="" default=""/>
         </paramlist>
       </method>
       <method name="AdjustPagebreak" type="bool" overloaded="no">
-        <autodoc>AdjustPagebreak(int INOUT) -&gt; bool</autodoc>
+        <autodoc>AdjustPagebreak(self, int INOUT) -&gt; bool</autodoc>
         <paramlist>
           <param name="INOUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCanLiveOnPagebreak" type="" overloaded="no">
         <paramlist>
           <param name="INOUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCanLiveOnPagebreak" type="" overloaded="no">
-        <autodoc>SetCanLiveOnPagebreak(bool can)</autodoc>
+        <autodoc>SetCanLiveOnPagebreak(self, bool can)</autodoc>
         <paramlist>
           <param name="can" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsLinebreakAllowed" type="bool" overloaded="no">
         <paramlist>
           <param name="can" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsLinebreakAllowed" type="bool" overloaded="no">
-        <autodoc>IsLinebreakAllowed() -&gt; bool</autodoc>
+        <autodoc>IsLinebreakAllowed(self) -&gt; bool</autodoc>
       </method>
       <method name="IsTerminalCell" type="bool" overloaded="no">
       </method>
       <method name="IsTerminalCell" type="bool" overloaded="no">
-        <autodoc>IsTerminalCell() -&gt; bool</autodoc>
+        <autodoc>IsTerminalCell(self) -&gt; bool</autodoc>
       </method>
       <method name="FindCellByPos" type="HtmlCell" overloaded="no">
       </method>
       <method name="FindCellByPos" type="HtmlCell" overloaded="no">
-        <autodoc>FindCellByPos(int x, int y, unsigned int flags=HTML_FIND_EXACT) -&gt; HtmlCell</autodoc>
+        <autodoc>FindCellByPos(self, int x, int y, unsigned int flags=HTML_FIND_EXACT) -&gt; HtmlCell</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -27471,25 +30451,25 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="GetAbsPos" type="Point" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAbsPos" type="Point" overloaded="no">
-        <autodoc>GetAbsPos() -&gt; Point</autodoc>
+        <autodoc>GetAbsPos(self) -&gt; Point</autodoc>
       </method>
       <method name="GetFirstTerminal" type="HtmlCell" overloaded="no">
       </method>
       <method name="GetFirstTerminal" type="HtmlCell" overloaded="no">
-        <autodoc>GetFirstTerminal() -&gt; HtmlCell</autodoc>
+        <autodoc>GetFirstTerminal(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="GetLastTerminal" type="HtmlCell" overloaded="no">
       </method>
       <method name="GetLastTerminal" type="HtmlCell" overloaded="no">
-        <autodoc>GetLastTerminal() -&gt; HtmlCell</autodoc>
+        <autodoc>GetLastTerminal(self) -&gt; HtmlCell</autodoc>
       </method>
       <method name="GetDepth" type="unsigned int" overloaded="no">
       </method>
       <method name="GetDepth" type="unsigned int" overloaded="no">
-        <autodoc>GetDepth() -&gt; unsigned int</autodoc>
+        <autodoc>GetDepth(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="IsBefore" type="bool" overloaded="no">
       </method>
       <method name="IsBefore" type="bool" overloaded="no">
-        <autodoc>IsBefore(HtmlCell cell) -&gt; bool</autodoc>
+        <autodoc>IsBefore(self, HtmlCell cell) -&gt; bool</autodoc>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="ConvertToText" type="String" overloaded="no">
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="ConvertToText" type="String" overloaded="no">
-        <autodoc>ConvertToText(HtmlSelection sel) -&gt; String</autodoc>
+        <autodoc>ConvertToText(self, HtmlSelection sel) -&gt; String</autodoc>
         <paramlist>
           <param name="sel" type="HtmlSelection" default=""/>
         </paramlist>
         <paramlist>
           <param name="sel" type="HtmlSelection" default=""/>
         </paramlist>
@@ -27498,7 +30478,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlWordCell" overloaded="no">
     <class name="HtmlWordCell" oldname="wxHtmlWordCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlWordCell" overloaded="no">
-        <autodoc>__init__(String word, DC dc) -&gt; HtmlWordCell</autodoc>
+        <autodoc>__init__(self, String word, DC dc) -&gt; HtmlWordCell</autodoc>
         <paramlist>
           <param name="word" type="String" default=""/>
           <param name="dc" type="DC" default=""/>
         <paramlist>
           <param name="word" type="String" default=""/>
           <param name="dc" type="DC" default=""/>
@@ -27508,37 +30488,37 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlContainerCell" overloaded="no">
     <class name="HtmlContainerCell" oldname="wxHtmlContainerCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlContainerCell" overloaded="no">
-        <autodoc>__init__(HtmlContainerCell parent) -&gt; HtmlContainerCell</autodoc>
+        <autodoc>__init__(self, HtmlContainerCell parent) -&gt; HtmlContainerCell</autodoc>
         <paramlist>
           <param name="parent" type="HtmlContainerCell" default=""/>
         </paramlist>
       </constructor>
       <method name="InsertCell" type="" overloaded="no">
         <paramlist>
           <param name="parent" type="HtmlContainerCell" default=""/>
         </paramlist>
       </constructor>
       <method name="InsertCell" type="" overloaded="no">
-        <autodoc>InsertCell(HtmlCell cell)</autodoc>
+        <autodoc>InsertCell(self, HtmlCell cell)</autodoc>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="SetAlignHor" type="" overloaded="no">
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
         </paramlist>
       </method>
       <method name="SetAlignHor" type="" overloaded="no">
-        <autodoc>SetAlignHor(int al)</autodoc>
+        <autodoc>SetAlignHor(self, int al)</autodoc>
         <paramlist>
           <param name="al" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignHor" type="int" overloaded="no">
         <paramlist>
           <param name="al" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignHor" type="int" overloaded="no">
-        <autodoc>GetAlignHor() -&gt; int</autodoc>
+        <autodoc>GetAlignHor(self) -&gt; int</autodoc>
       </method>
       <method name="SetAlignVer" type="" overloaded="no">
       </method>
       <method name="SetAlignVer" type="" overloaded="no">
-        <autodoc>SetAlignVer(int al)</autodoc>
+        <autodoc>SetAlignVer(self, int al)</autodoc>
         <paramlist>
           <param name="al" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignVer" type="int" overloaded="no">
         <paramlist>
           <param name="al" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignVer" type="int" overloaded="no">
-        <autodoc>GetAlignVer() -&gt; int</autodoc>
+        <autodoc>GetAlignVer(self) -&gt; int</autodoc>
       </method>
       <method name="SetIndent" type="" overloaded="no">
       </method>
       <method name="SetIndent" type="" overloaded="no">
-        <autodoc>SetIndent(int i, int what, int units=HTML_UNITS_PIXELS)</autodoc>
+        <autodoc>SetIndent(self, int i, int what, int units=HTML_UNITS_PIXELS)</autodoc>
         <paramlist>
           <param name="i" type="int" default=""/>
           <param name="what" type="int" default=""/>
         <paramlist>
           <param name="i" type="int" default=""/>
           <param name="what" type="int" default=""/>
@@ -27546,67 +30526,67 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="GetIndent" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetIndent" type="int" overloaded="no">
-        <autodoc>GetIndent(int ind) -&gt; int</autodoc>
+        <autodoc>GetIndent(self, int ind) -&gt; int</autodoc>
         <paramlist>
           <param name="ind" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetIndentUnits" type="int" overloaded="no">
         <paramlist>
           <param name="ind" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetIndentUnits" type="int" overloaded="no">
-        <autodoc>GetIndentUnits(int ind) -&gt; int</autodoc>
+        <autodoc>GetIndentUnits(self, int ind) -&gt; int</autodoc>
         <paramlist>
           <param name="ind" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAlign" type="" overloaded="no">
         <paramlist>
           <param name="ind" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAlign" type="" overloaded="no">
-        <autodoc>SetAlign(HtmlTag tag)</autodoc>
+        <autodoc>SetAlign(self, HtmlTag tag)</autodoc>
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
       </method>
       <method name="SetWidthFloat" type="" overloaded="no">
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
       </method>
       <method name="SetWidthFloat" type="" overloaded="no">
-        <autodoc>SetWidthFloat(int w, int units)</autodoc>
+        <autodoc>SetWidthFloat(self, int w, int units)</autodoc>
         <paramlist>
           <param name="w" type="int" default=""/>
           <param name="units" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidthFloatFromTag" type="" overloaded="no">
         <paramlist>
           <param name="w" type="int" default=""/>
           <param name="units" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidthFloatFromTag" type="" overloaded="no">
-        <autodoc>SetWidthFloatFromTag(HtmlTag tag)</autodoc>
+        <autodoc>SetWidthFloatFromTag(self, HtmlTag tag)</autodoc>
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
       </method>
       <method name="SetMinHeight" type="" overloaded="no">
         <paramlist>
           <param name="tag" type="HtmlTag" default=""/>
         </paramlist>
       </method>
       <method name="SetMinHeight" type="" overloaded="no">
-        <autodoc>SetMinHeight(int h, int align=HTML_ALIGN_TOP)</autodoc>
+        <autodoc>SetMinHeight(self, int h, int align=HTML_ALIGN_TOP)</autodoc>
         <paramlist>
           <param name="h" type="int" default=""/>
           <param name="align" type="int" default="wxHTML_ALIGN_TOP"/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="h" type="int" default=""/>
           <param name="align" type="int" default="wxHTML_ALIGN_TOP"/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour clr)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour clr)</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="clr" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetBackgroundColour() -&gt; Colour</autodoc>
+        <autodoc>GetBackgroundColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetBorder" type="" overloaded="no">
       </method>
       <method name="SetBorder" type="" overloaded="no">
-        <autodoc>SetBorder(Colour clr1, Colour clr2)</autodoc>
+        <autodoc>SetBorder(self, Colour clr1, Colour clr2)</autodoc>
         <paramlist>
           <param name="clr1" type="Colour" default=""/>
           <param name="clr2" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstChild" type="HtmlCell" overloaded="no">
         <paramlist>
           <param name="clr1" type="Colour" default=""/>
           <param name="clr2" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstChild" type="HtmlCell" overloaded="no">
-        <autodoc>GetFirstChild() -&gt; HtmlCell</autodoc>
+        <autodoc>GetFirstChild(self) -&gt; HtmlCell</autodoc>
       </method>
     </class>
     <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlColourCell" overloaded="no">
       </method>
     </class>
     <class name="HtmlColourCell" oldname="wxHtmlColourCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlColourCell" overloaded="no">
-        <autodoc>__init__(Colour clr, int flags=HTML_CLR_FOREGROUND) -&gt; HtmlColourCell</autodoc>
+        <autodoc>__init__(self, Colour clr, int flags=HTML_CLR_FOREGROUND) -&gt; HtmlColourCell</autodoc>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
           <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/>
         <paramlist>
           <param name="clr" type="Colour" default=""/>
           <param name="flags" type="int" default="wxHTML_CLR_FOREGROUND"/>
@@ -27616,7 +30596,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlFontCell" overloaded="no">
     <class name="HtmlFontCell" oldname="wxHtmlFontCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlFontCell" overloaded="no">
-        <autodoc>__init__(Font font) -&gt; HtmlFontCell</autodoc>
+        <autodoc>__init__(self, Font font) -&gt; HtmlFontCell</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
@@ -27625,7 +30605,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlWidgetCell" overloaded="no">
     <class name="HtmlWidgetCell" oldname="wxHtmlWidgetCell" module="html">
       <baseclass name="HtmlCell"/>
       <constructor name="HtmlWidgetCell" overloaded="no">
-        <autodoc>__init__(Window wnd, int w=0) -&gt; HtmlWidgetCell</autodoc>
+        <autodoc>__init__(self, Window wnd, int w=0) -&gt; HtmlWidgetCell</autodoc>
         <paramlist>
           <param name="wnd" type="Window" default=""/>
           <param name="w" type="int" default="0"/>
         <paramlist>
           <param name="wnd" type="Window" default=""/>
           <param name="w" type="int" default="0"/>
@@ -27638,10 +30618,10 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html">
       <baseclass name="Object"/>
       <constructor name="wxPyHtmlFilter" overloaded="no">
     <class name="HtmlFilter" oldname="wxPyHtmlFilter" module="html">
       <baseclass name="Object"/>
       <constructor name="wxPyHtmlFilter" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlFilter</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlFilter</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -27654,7 +30634,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html">
       <baseclass name="ScrolledWindow"/>
       <constructor name="wxPyHtmlWindow" overloaded="no">
     <class name="HtmlWindow" oldname="wxPyHtmlWindow" module="html">
       <baseclass name="ScrolledWindow"/>
       <constructor name="wxPyHtmlWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, int style=HW_DEFAULT_STYLE, 
     String name=HtmlWindowNameStr) -&gt; HtmlWindow</autodoc>
         <paramlist>
     Size size=DefaultSize, int style=HW_DEFAULT_STYLE, 
     String name=HtmlWindowNameStr) -&gt; HtmlWindow</autodoc>
         <paramlist>
@@ -27670,7 +30650,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         <autodoc>PreHtmlWindow() -&gt; HtmlWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreHtmlWindow() -&gt; HtmlWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, 
     String name=HtmlWindowNameStr) -&gt; bool</autodoc>
         <paramlist>
     Size size=DefaultSize, int style=HW_SCROLLBAR_AUTO, 
     String name=HtmlWindowNameStr) -&gt; bool</autodoc>
         <paramlist>
@@ -27683,124 +30663,130 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetPage" type="bool" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetPage" type="bool" overloaded="no">
-        <autodoc>SetPage(String source) -&gt; bool</autodoc>
+        <autodoc>SetPage(self, String source) -&gt; bool</autodoc>
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadPage" type="bool" overloaded="no">
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadPage" type="bool" overloaded="no">
-        <autodoc>LoadPage(String location) -&gt; bool</autodoc>
+        <autodoc>LoadPage(self, String location) -&gt; bool</autodoc>
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
         <paramlist>
           <param name="location" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
-        <autodoc>LoadFile(String filename) -&gt; bool</autodoc>
+        <autodoc>LoadFile(self, String filename) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AppendToPage" type="bool" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AppendToPage" type="bool" overloaded="no">
-        <autodoc>AppendToPage(String source) -&gt; bool</autodoc>
+        <autodoc>AppendToPage(self, String source) -&gt; bool</autodoc>
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetOpenedPage" type="String" overloaded="no">
         <paramlist>
           <param name="source" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetOpenedPage" type="String" overloaded="no">
-        <autodoc>GetOpenedPage() -&gt; String</autodoc>
+        <autodoc>GetOpenedPage(self) -&gt; String</autodoc>
       </method>
       <method name="GetOpenedAnchor" type="String" overloaded="no">
       </method>
       <method name="GetOpenedAnchor" type="String" overloaded="no">
-        <autodoc>GetOpenedAnchor() -&gt; String</autodoc>
+        <autodoc>GetOpenedAnchor(self) -&gt; String</autodoc>
       </method>
       <method name="GetOpenedPageTitle" type="String" overloaded="no">
       </method>
       <method name="GetOpenedPageTitle" type="String" overloaded="no">
-        <autodoc>GetOpenedPageTitle() -&gt; String</autodoc>
+        <autodoc>GetOpenedPageTitle(self) -&gt; String</autodoc>
       </method>
       <method name="SetRelatedFrame" type="" overloaded="no">
       </method>
       <method name="SetRelatedFrame" type="" overloaded="no">
-        <autodoc>SetRelatedFrame(Frame frame, String format)</autodoc>
+        <autodoc>SetRelatedFrame(self, Frame frame, String format)</autodoc>
         <paramlist>
           <param name="frame" type="Frame" default=""/>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetRelatedFrame" type="Frame" overloaded="no">
         <paramlist>
           <param name="frame" type="Frame" default=""/>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetRelatedFrame" type="Frame" overloaded="no">
-        <autodoc>GetRelatedFrame() -&gt; Frame</autodoc>
+        <autodoc>GetRelatedFrame(self) -&gt; Frame</autodoc>
       </method>
       <method name="SetRelatedStatusBar" type="" overloaded="no">
       </method>
       <method name="SetRelatedStatusBar" type="" overloaded="no">
-        <autodoc>SetRelatedStatusBar(int bar)</autodoc>
+        <autodoc>SetRelatedStatusBar(self, int bar)</autodoc>
         <paramlist>
           <param name="bar" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
         <paramlist>
           <param name="bar" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
-        <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+        <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
+      <method name="NormalizeFontSizes" type="" overloaded="no">
+        <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+        <paramlist>
+          <param name="size" type="int" default="-1"/>
+        </paramlist>
+      </method>
       <method name="SetTitle" type="" overloaded="no">
       <method name="SetTitle" type="" overloaded="no">
-        <autodoc>SetTitle(String title)</autodoc>
+        <autodoc>SetTitle(self, String title)</autodoc>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetBorders" type="" overloaded="no">
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetBorders" type="" overloaded="no">
-        <autodoc>SetBorders(int b)</autodoc>
+        <autodoc>SetBorders(self, int b)</autodoc>
         <paramlist>
           <param name="b" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ReadCustomization" type="" overloaded="no">
         <paramlist>
           <param name="b" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ReadCustomization" type="" overloaded="no">
-        <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
+        <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="WriteCustomization" type="" overloaded="no">
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="WriteCustomization" type="" overloaded="no">
-        <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
+        <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="HistoryBack" type="bool" overloaded="no">
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="HistoryBack" type="bool" overloaded="no">
-        <autodoc>HistoryBack() -&gt; bool</autodoc>
+        <autodoc>HistoryBack(self) -&gt; bool</autodoc>
       </method>
       <method name="HistoryForward" type="bool" overloaded="no">
       </method>
       <method name="HistoryForward" type="bool" overloaded="no">
-        <autodoc>HistoryForward() -&gt; bool</autodoc>
+        <autodoc>HistoryForward(self) -&gt; bool</autodoc>
       </method>
       <method name="HistoryCanBack" type="bool" overloaded="no">
       </method>
       <method name="HistoryCanBack" type="bool" overloaded="no">
-        <autodoc>HistoryCanBack() -&gt; bool</autodoc>
+        <autodoc>HistoryCanBack(self) -&gt; bool</autodoc>
       </method>
       <method name="HistoryCanForward" type="bool" overloaded="no">
       </method>
       <method name="HistoryCanForward" type="bool" overloaded="no">
-        <autodoc>HistoryCanForward() -&gt; bool</autodoc>
+        <autodoc>HistoryCanForward(self) -&gt; bool</autodoc>
       </method>
       <method name="HistoryClear" type="" overloaded="no">
       </method>
       <method name="HistoryClear" type="" overloaded="no">
-        <autodoc>HistoryClear()</autodoc>
+        <autodoc>HistoryClear(self)</autodoc>
       </method>
       <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no">
       </method>
       <method name="GetInternalRepresentation" type="HtmlContainerCell" overloaded="no">
-        <autodoc>GetInternalRepresentation() -&gt; HtmlContainerCell</autodoc>
+        <autodoc>GetInternalRepresentation(self) -&gt; HtmlContainerCell</autodoc>
       </method>
       <method name="GetParser" type="HtmlWinParser" overloaded="no">
       </method>
       <method name="GetParser" type="HtmlWinParser" overloaded="no">
-        <autodoc>GetParser() -&gt; HtmlWinParser</autodoc>
+        <autodoc>GetParser(self) -&gt; HtmlWinParser</autodoc>
       </method>
       <method name="ScrollToAnchor" type="bool" overloaded="no">
       </method>
       <method name="ScrollToAnchor" type="bool" overloaded="no">
-        <autodoc>ScrollToAnchor(String anchor) -&gt; bool</autodoc>
+        <autodoc>ScrollToAnchor(self, String anchor) -&gt; bool</autodoc>
         <paramlist>
           <param name="anchor" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasAnchor" type="bool" overloaded="no">
         <paramlist>
           <param name="anchor" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasAnchor" type="bool" overloaded="no">
-        <autodoc>HasAnchor(String anchor) -&gt; bool</autodoc>
+        <autodoc>HasAnchor(self, String anchor) -&gt; bool</autodoc>
         <paramlist>
           <param name="anchor" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="anchor" type="String" default=""/>
         </paramlist>
@@ -27812,34 +30798,40 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </staticmethod>
       <method name="SelectWord" type="" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="SelectWord" type="" overloaded="no">
-        <autodoc>SelectWord(Point pos)</autodoc>
+        <autodoc>SelectWord(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SelectLine" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SelectLine" type="" overloaded="no">
-        <autodoc>SelectLine(Point pos)</autodoc>
+        <autodoc>SelectLine(self, Point pos)</autodoc>
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
-        <autodoc>SelectAll()</autodoc>
+        <autodoc>SelectAll(self)</autodoc>
+      </method>
+      <method name="SelectionToText" type="String" overloaded="no">
+        <autodoc>SelectionToText(self) -&gt; String</autodoc>
+      </method>
+      <method name="ToText" type="String" overloaded="no">
+        <autodoc>ToText(self) -&gt; String</autodoc>
       </method>
       <method name="base_OnLinkClicked" type="" overloaded="no">
       </method>
       <method name="base_OnLinkClicked" type="" overloaded="no">
-        <autodoc>base_OnLinkClicked(HtmlLinkInfo link)</autodoc>
+        <autodoc>base_OnLinkClicked(self, HtmlLinkInfo link)</autodoc>
         <paramlist>
           <param name="link" type="HtmlLinkInfo" default=""/>
         </paramlist>
       </method>
       <method name="base_OnSetTitle" type="" overloaded="no">
         <paramlist>
           <param name="link" type="HtmlLinkInfo" default=""/>
         </paramlist>
       </method>
       <method name="base_OnSetTitle" type="" overloaded="no">
-        <autodoc>base_OnSetTitle(String title)</autodoc>
+        <autodoc>base_OnSetTitle(self, String title)</autodoc>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_OnCellMouseHover" type="" overloaded="no">
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_OnCellMouseHover" type="" overloaded="no">
-        <autodoc>base_OnCellMouseHover(HtmlCell cell, int x, int y)</autodoc>
+        <autodoc>base_OnCellMouseHover(self, HtmlCell cell, int x, int y)</autodoc>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
           <param name="x" type="int" default=""/>
@@ -27847,7 +30839,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="base_OnCellClicked" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnCellClicked" type="" overloaded="no">
-        <autodoc>base_OnCellClicked(HtmlCell cell, int x, int y, MouseEvent event)</autodoc>
+        <autodoc>base_OnCellClicked(self, HtmlCell cell, int x, int y, MouseEvent event)</autodoc>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
           <param name="x" type="int" default=""/>
         <paramlist>
           <param name="cell" type="HtmlCell" default=""/>
           <param name="x" type="int" default=""/>
@@ -27855,6 +30847,22 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
           <param name="event" type="MouseEvent" default=""/>
         </paramlist>
       </method>
           <param name="event" type="MouseEvent" default=""/>
         </paramlist>
       </method>
+      <staticmethod name="GetClassDefaultAttributes" type="VisualAttributes" overloaded="no">
+        <autodoc>GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -&gt; VisualAttributes</autodoc>
+        <docstring>Get the default attributes for this class.  This is useful if you want
+to use the same font or colour in your own control as in a standard
+control -- which is a much better idea than hard coding specific
+colours or fonts which might look completely out of place on the
+user's system, especially if it uses themes.
+
+The variant parameter is only relevant under Mac currently and is
+ignore under other platforms. Under Mac, it will change the size of
+the returned font. See `wx.Window.SetWindowVariant` for more about
+this.</docstring>
+        <paramlist>
+          <param name="variant" type="wxWindowVariant" default="wxWINDOW_VARIANT_NORMAL"/>
+        </paramlist>
+      </staticmethod>
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
     </class>
     <pythoncode>
 #---------------------------------------------------------------------------
@@ -27862,27 +30870,27 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlDCRenderer" overloaded="no">
     <class name="HtmlDCRenderer" oldname="wxHtmlDCRenderer" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlDCRenderer" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlDCRenderer</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlDCRenderer</autodoc>
       </constructor>
       <destructor name="~wxHtmlDCRenderer" overloaded="no">
       </constructor>
       <destructor name="~wxHtmlDCRenderer" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetDC" type="" overloaded="no">
       </destructor>
       <method name="SetDC" type="" overloaded="no">
-        <autodoc>SetDC(DC dc, int maxwidth)</autodoc>
+        <autodoc>SetDC(self, DC dc, int maxwidth)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="maxwidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="maxwidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(int width, int height)</autodoc>
+        <autodoc>SetSize(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHtmlText" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetHtmlText" type="" overloaded="no">
-        <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc>
+        <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc>
         <paramlist>
           <param name="html" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
         <paramlist>
           <param name="html" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
@@ -27890,15 +30898,21 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
-        <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+        <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
+      <method name="NormalizeFontSizes" type="" overloaded="no">
+        <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+        <paramlist>
+          <param name="size" type="int" default="-1"/>
+        </paramlist>
+      </method>
       <method name="Render" type="int" overloaded="no">
       <method name="Render" type="int" overloaded="no">
-        <autodoc>Render(int x, int y, int from=0, int dont_render=False, int to=INT_MAX, 
+        <autodoc>Render(self, int x, int y, int from=0, int dont_render=False, int to=INT_MAX, 
     int choices=None, int LCOUNT=0) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
     int choices=None, int LCOUNT=0) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
@@ -27911,19 +30925,19 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="GetTotalHeight" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetTotalHeight" type="int" overloaded="no">
-        <autodoc>GetTotalHeight() -&gt; int</autodoc>
+        <autodoc>GetTotalHeight(self) -&gt; int</autodoc>
       </method>
     </class>
     <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html">
       <baseclass name="Printout"/>
       <constructor name="HtmlPrintout" overloaded="no">
       </method>
     </class>
     <class name="HtmlPrintout" oldname="wxHtmlPrintout" module="html">
       <baseclass name="Printout"/>
       <constructor name="HtmlPrintout" overloaded="no">
-        <autodoc>__init__(String title=HtmlPrintoutTitleStr) -&gt; HtmlPrintout</autodoc>
+        <autodoc>__init__(self, String title=HtmlPrintoutTitleStr) -&gt; HtmlPrintout</autodoc>
         <paramlist>
           <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/>
         </paramlist>
       </constructor>
       <method name="SetHtmlText" type="" overloaded="no">
         <paramlist>
           <param name="title" type="String" default="wxPyHtmlPrintoutTitleStr"/>
         </paramlist>
       </constructor>
       <method name="SetHtmlText" type="" overloaded="no">
-        <autodoc>SetHtmlText(String html, String basepath=EmptyString, bool isdir=True)</autodoc>
+        <autodoc>SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)</autodoc>
         <paramlist>
           <param name="html" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
         <paramlist>
           <param name="html" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
@@ -27931,35 +30945,41 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </method>
       <method name="SetHtmlFile" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetHtmlFile" type="" overloaded="no">
-        <autodoc>SetHtmlFile(String htmlfile)</autodoc>
+        <autodoc>SetHtmlFile(self, String htmlfile)</autodoc>
         <paramlist>
           <param name="htmlfile" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetHeader" type="" overloaded="no">
         <paramlist>
           <param name="htmlfile" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetHeader" type="" overloaded="no">
-        <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc>
+        <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc>
         <paramlist>
           <param name="header" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFooter" type="" overloaded="no">
         <paramlist>
           <param name="header" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFooter" type="" overloaded="no">
-        <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc>
+        <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc>
         <paramlist>
           <param name="footer" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
         <paramlist>
           <param name="footer" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
-        <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+        <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
+      <method name="NormalizeFontSizes" type="" overloaded="no">
+        <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+        <paramlist>
+          <param name="size" type="int" default="-1"/>
+        </paramlist>
+      </method>
       <method name="SetMargins" type="" overloaded="no">
       <method name="SetMargins" type="" overloaded="no">
-        <autodoc>SetMargins(float top=25.2, float bottom=25.2, float left=25.2, 
+        <autodoc>SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2, 
     float right=25.2, float spaces=5)</autodoc>
         <paramlist>
           <param name="top" type="float" default="25.2"/>
     float right=25.2, float spaces=5)</autodoc>
         <paramlist>
           <param name="top" type="float" default="25.2"/>
@@ -27982,74 +31002,80 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlEasyPrinting" overloaded="no">
     <class name="HtmlEasyPrinting" oldname="wxHtmlEasyPrinting" module="html">
       <baseclass name="Object"/>
       <constructor name="HtmlEasyPrinting" overloaded="no">
-        <autodoc>__init__(String name=HtmlPrintingTitleStr, Window parentWindow=None) -&gt; HtmlEasyPrinting</autodoc>
+        <autodoc>__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -&gt; HtmlEasyPrinting</autodoc>
         <paramlist>
           <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/>
           <param name="parentWindow" type="Window" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxHtmlEasyPrinting" overloaded="no">
         <paramlist>
           <param name="name" type="String" default="wxPyHtmlPrintingTitleStr"/>
           <param name="parentWindow" type="Window" default="NULL"/>
         </paramlist>
       </constructor>
       <destructor name="~wxHtmlEasyPrinting" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="PreviewFile" type="" overloaded="no">
       </destructor>
       <method name="PreviewFile" type="" overloaded="no">
-        <autodoc>PreviewFile(String htmlfile)</autodoc>
+        <autodoc>PreviewFile(self, String htmlfile)</autodoc>
         <paramlist>
           <param name="htmlfile" type="String" default=""/>
         </paramlist>
       </method>
       <method name="PreviewText" type="" overloaded="no">
         <paramlist>
           <param name="htmlfile" type="String" default=""/>
         </paramlist>
       </method>
       <method name="PreviewText" type="" overloaded="no">
-        <autodoc>PreviewText(String htmltext, String basepath=EmptyString)</autodoc>
+        <autodoc>PreviewText(self, String htmltext, String basepath=EmptyString)</autodoc>
         <paramlist>
           <param name="htmltext" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="PrintFile" type="" overloaded="no">
         <paramlist>
           <param name="htmltext" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="PrintFile" type="" overloaded="no">
-        <autodoc>PrintFile(String htmlfile)</autodoc>
+        <autodoc>PrintFile(self, String htmlfile)</autodoc>
         <paramlist>
           <param name="htmlfile" type="String" default=""/>
         </paramlist>
       </method>
       <method name="PrintText" type="" overloaded="no">
         <paramlist>
           <param name="htmlfile" type="String" default=""/>
         </paramlist>
       </method>
       <method name="PrintText" type="" overloaded="no">
-        <autodoc>PrintText(String htmltext, String basepath=EmptyString)</autodoc>
+        <autodoc>PrintText(self, String htmltext, String basepath=EmptyString)</autodoc>
         <paramlist>
           <param name="htmltext" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="PrinterSetup" type="" overloaded="no">
         <paramlist>
           <param name="htmltext" type="String" default=""/>
           <param name="basepath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="PrinterSetup" type="" overloaded="no">
-        <autodoc>PrinterSetup()</autodoc>
+        <autodoc>PrinterSetup(self)</autodoc>
       </method>
       <method name="PageSetup" type="" overloaded="no">
       </method>
       <method name="PageSetup" type="" overloaded="no">
-        <autodoc>PageSetup()</autodoc>
+        <autodoc>PageSetup(self)</autodoc>
       </method>
       <method name="SetHeader" type="" overloaded="no">
       </method>
       <method name="SetHeader" type="" overloaded="no">
-        <autodoc>SetHeader(String header, int pg=PAGE_ALL)</autodoc>
+        <autodoc>SetHeader(self, String header, int pg=PAGE_ALL)</autodoc>
         <paramlist>
           <param name="header" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFooter" type="" overloaded="no">
         <paramlist>
           <param name="header" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFooter" type="" overloaded="no">
-        <autodoc>SetFooter(String footer, int pg=PAGE_ALL)</autodoc>
+        <autodoc>SetFooter(self, String footer, int pg=PAGE_ALL)</autodoc>
         <paramlist>
           <param name="footer" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
         <paramlist>
           <param name="footer" type="String" default=""/>
           <param name="pg" type="int" default="wxPAGE_ALL"/>
         </paramlist>
       </method>
       <method name="SetFonts" type="" overloaded="no">
-        <autodoc>SetFonts(String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
+        <autodoc>SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)</autodoc>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="normal_face" type="String" default=""/>
           <param name="fixed_face" type="String" default=""/>
           <param name="sizes" type="PyObject" default="NULL"/>
         </paramlist>
       </method>
+      <method name="NormalizeFontSizes" type="" overloaded="no">
+        <autodoc>NormalizeFontSizes(self, int size=-1)</autodoc>
+        <paramlist>
+          <param name="size" type="int" default="-1"/>
+        </paramlist>
+      </method>
       <method name="GetPrintData" type="PrintData" overloaded="no">
       <method name="GetPrintData" type="PrintData" overloaded="no">
-        <autodoc>GetPrintData() -&gt; PrintData</autodoc>
+        <autodoc>GetPrintData(self) -&gt; PrintData</autodoc>
       </method>
       <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
       </method>
       <method name="GetPageSetupData" type="PageSetupDialogData" overloaded="no">
-        <autodoc>GetPageSetupData() -&gt; PageSetupDialogData</autodoc>
+        <autodoc>GetPageSetupData(self) -&gt; PageSetupDialogData</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -28057,7 +31083,7 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
 </pythoncode>
     <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html">
       <constructor name="HtmlBookRecord" overloaded="no">
 </pythoncode>
     <class name="HtmlBookRecord" oldname="wxHtmlBookRecord" module="html">
       <constructor name="HtmlBookRecord" overloaded="no">
-        <autodoc>__init__(String bookfile, String basepath, String title, String start) -&gt; HtmlBookRecord</autodoc>
+        <autodoc>__init__(self, String bookfile, String basepath, String title, String start) -&gt; HtmlBookRecord</autodoc>
         <paramlist>
           <param name="bookfile" type="String" default=""/>
           <param name="basepath" type="String" default=""/>
         <paramlist>
           <param name="bookfile" type="String" default=""/>
           <param name="basepath" type="String" default=""/>
@@ -28066,50 +31092,50 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </constructor>
       <method name="GetBookFile" type="String" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetBookFile" type="String" overloaded="no">
-        <autodoc>GetBookFile() -&gt; String</autodoc>
+        <autodoc>GetBookFile(self) -&gt; String</autodoc>
       </method>
       <method name="GetTitle" type="String" overloaded="no">
       </method>
       <method name="GetTitle" type="String" overloaded="no">
-        <autodoc>GetTitle() -&gt; String</autodoc>
+        <autodoc>GetTitle(self) -&gt; String</autodoc>
       </method>
       <method name="GetStart" type="String" overloaded="no">
       </method>
       <method name="GetStart" type="String" overloaded="no">
-        <autodoc>GetStart() -&gt; String</autodoc>
+        <autodoc>GetStart(self) -&gt; String</autodoc>
       </method>
       <method name="GetBasePath" type="String" overloaded="no">
       </method>
       <method name="GetBasePath" type="String" overloaded="no">
-        <autodoc>GetBasePath() -&gt; String</autodoc>
+        <autodoc>GetBasePath(self) -&gt; String</autodoc>
       </method>
       <method name="SetContentsRange" type="" overloaded="no">
       </method>
       <method name="SetContentsRange" type="" overloaded="no">
-        <autodoc>SetContentsRange(int start, int end)</autodoc>
+        <autodoc>SetContentsRange(self, int start, int end)</autodoc>
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetContentsStart" type="int" overloaded="no">
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetContentsStart" type="int" overloaded="no">
-        <autodoc>GetContentsStart() -&gt; int</autodoc>
+        <autodoc>GetContentsStart(self) -&gt; int</autodoc>
       </method>
       <method name="GetContentsEnd" type="int" overloaded="no">
       </method>
       <method name="GetContentsEnd" type="int" overloaded="no">
-        <autodoc>GetContentsEnd() -&gt; int</autodoc>
+        <autodoc>GetContentsEnd(self) -&gt; int</autodoc>
       </method>
       <method name="SetTitle" type="" overloaded="no">
       </method>
       <method name="SetTitle" type="" overloaded="no">
-        <autodoc>SetTitle(String title)</autodoc>
+        <autodoc>SetTitle(self, String title)</autodoc>
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetBasePath" type="" overloaded="no">
         <paramlist>
           <param name="title" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetBasePath" type="" overloaded="no">
-        <autodoc>SetBasePath(String path)</autodoc>
+        <autodoc>SetBasePath(self, String path)</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetStart" type="" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetStart" type="" overloaded="no">
-        <autodoc>SetStart(String start)</autodoc>
+        <autodoc>SetStart(self, String start)</autodoc>
         <paramlist>
           <param name="start" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFullPath" type="String" overloaded="no">
         <paramlist>
           <param name="start" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetFullPath" type="String" overloaded="no">
-        <autodoc>GetFullPath(String page) -&gt; String</autodoc>
+        <autodoc>GetFullPath(self, String page) -&gt; String</autodoc>
         <paramlist>
           <param name="page" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="page" type="String" default=""/>
         </paramlist>
@@ -28117,92 +31143,92 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     </class>
     <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html">
       <method name="GetLevel" type="int" overloaded="no">
     </class>
     <class name="HtmlContentsItem" oldname="wxHtmlContentsItem" module="html">
       <method name="GetLevel" type="int" overloaded="no">
-        <autodoc>GetLevel() -&gt; int</autodoc>
+        <autodoc>GetLevel(self) -&gt; int</autodoc>
       </method>
       <method name="GetID" type="int" overloaded="no">
       </method>
       <method name="GetID" type="int" overloaded="no">
-        <autodoc>GetID() -&gt; int</autodoc>
+        <autodoc>GetID(self) -&gt; int</autodoc>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetPage" type="String" overloaded="no">
       </method>
       <method name="GetPage" type="String" overloaded="no">
-        <autodoc>GetPage() -&gt; String</autodoc>
+        <autodoc>GetPage(self) -&gt; String</autodoc>
       </method>
       <method name="GetBook" type="HtmlBookRecord" overloaded="no">
       </method>
       <method name="GetBook" type="HtmlBookRecord" overloaded="no">
-        <autodoc>GetBook() -&gt; HtmlBookRecord</autodoc>
+        <autodoc>GetBook(self) -&gt; HtmlBookRecord</autodoc>
       </method>
     </class>
     <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html">
       <method name="Search" type="bool" overloaded="no">
       </method>
     </class>
     <class name="HtmlSearchStatus" oldname="wxHtmlSearchStatus" module="html">
       <method name="Search" type="bool" overloaded="no">
-        <autodoc>Search() -&gt; bool</autodoc>
+        <autodoc>Search(self) -&gt; bool</autodoc>
       </method>
       <method name="IsActive" type="bool" overloaded="no">
       </method>
       <method name="IsActive" type="bool" overloaded="no">
-        <autodoc>IsActive() -&gt; bool</autodoc>
+        <autodoc>IsActive(self) -&gt; bool</autodoc>
       </method>
       <method name="GetCurIndex" type="int" overloaded="no">
       </method>
       <method name="GetCurIndex" type="int" overloaded="no">
-        <autodoc>GetCurIndex() -&gt; int</autodoc>
+        <autodoc>GetCurIndex(self) -&gt; int</autodoc>
       </method>
       <method name="GetMaxIndex" type="int" overloaded="no">
       </method>
       <method name="GetMaxIndex" type="int" overloaded="no">
-        <autodoc>GetMaxIndex() -&gt; int</autodoc>
+        <autodoc>GetMaxIndex(self) -&gt; int</autodoc>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no">
       </method>
       <method name="GetContentsItem" type="HtmlContentsItem" overloaded="no">
-        <autodoc>GetContentsItem() -&gt; HtmlContentsItem</autodoc>
+        <autodoc>GetContentsItem(self) -&gt; HtmlContentsItem</autodoc>
       </method>
     </class>
     <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html">
       <constructor name="HtmlHelpData" overloaded="no">
       </method>
     </class>
     <class name="HtmlHelpData" oldname="wxHtmlHelpData" module="html">
       <constructor name="HtmlHelpData" overloaded="no">
-        <autodoc>__init__() -&gt; HtmlHelpData</autodoc>
+        <autodoc>__init__(self) -&gt; HtmlHelpData</autodoc>
       </constructor>
       <destructor name="~wxHtmlHelpData" overloaded="no">
       </constructor>
       <destructor name="~wxHtmlHelpData" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetTempDir" type="" overloaded="no">
       </destructor>
       <method name="SetTempDir" type="" overloaded="no">
-        <autodoc>SetTempDir(String path)</autodoc>
+        <autodoc>SetTempDir(self, String path)</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddBook" type="bool" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddBook" type="bool" overloaded="no">
-        <autodoc>AddBook(String book) -&gt; bool</autodoc>
+        <autodoc>AddBook(self, String book) -&gt; bool</autodoc>
         <paramlist>
           <param name="book" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindPageByName" type="String" overloaded="no">
         <paramlist>
           <param name="book" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindPageByName" type="String" overloaded="no">
-        <autodoc>FindPageByName(String page) -&gt; String</autodoc>
+        <autodoc>FindPageByName(self, String page) -&gt; String</autodoc>
         <paramlist>
           <param name="page" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindPageById" type="String" overloaded="no">
         <paramlist>
           <param name="page" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindPageById" type="String" overloaded="no">
-        <autodoc>FindPageById(int id) -&gt; String</autodoc>
+        <autodoc>FindPageById(self, int id) -&gt; String</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBookRecArray" type="wxHtmlBookRecArray" overloaded="no">
-        <autodoc>GetBookRecArray() -&gt; wxHtmlBookRecArray</autodoc>
+        <autodoc>GetBookRecArray(self) -&gt; wxHtmlBookRecArray</autodoc>
       </method>
       <method name="GetContents" type="HtmlContentsItem" overloaded="no">
       </method>
       <method name="GetContents" type="HtmlContentsItem" overloaded="no">
-        <autodoc>GetContents() -&gt; HtmlContentsItem</autodoc>
+        <autodoc>GetContents(self) -&gt; HtmlContentsItem</autodoc>
       </method>
       <method name="GetContentsCnt" type="int" overloaded="no">
       </method>
       <method name="GetContentsCnt" type="int" overloaded="no">
-        <autodoc>GetContentsCnt() -&gt; int</autodoc>
+        <autodoc>GetContentsCnt(self) -&gt; int</autodoc>
       </method>
       <method name="GetIndex" type="HtmlContentsItem" overloaded="no">
       </method>
       <method name="GetIndex" type="HtmlContentsItem" overloaded="no">
-        <autodoc>GetIndex() -&gt; HtmlContentsItem</autodoc>
+        <autodoc>GetIndex(self) -&gt; HtmlContentsItem</autodoc>
       </method>
       <method name="GetIndexCnt" type="int" overloaded="no">
       </method>
       <method name="GetIndexCnt" type="int" overloaded="no">
-        <autodoc>GetIndexCnt() -&gt; int</autodoc>
+        <autodoc>GetIndexCnt(self) -&gt; int</autodoc>
       </method>
     </class>
     <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html">
       <baseclass name="Frame"/>
       <constructor name="HtmlHelpFrame" overloaded="no">
       </method>
     </class>
     <class name="HtmlHelpFrame" oldname="wxHtmlHelpFrame" module="html">
       <baseclass name="Frame"/>
       <constructor name="HtmlHelpFrame" overloaded="no">
-        <autodoc>__init__(Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, 
+        <autodoc>__init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, 
     HtmlHelpData data=None) -&gt; HtmlHelpFrame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     HtmlHelpData data=None) -&gt; HtmlHelpFrame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -28213,54 +31239,54 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
         </paramlist>
       </constructor>
       <method name="GetData" type="HtmlHelpData" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetData" type="HtmlHelpData" overloaded="no">
-        <autodoc>GetData() -&gt; HtmlHelpData</autodoc>
+        <autodoc>GetData(self) -&gt; HtmlHelpData</autodoc>
       </method>
       <method name="SetTitleFormat" type="" overloaded="no">
       </method>
       <method name="SetTitleFormat" type="" overloaded="no">
-        <autodoc>SetTitleFormat(String format)</autodoc>
+        <autodoc>SetTitleFormat(self, String format)</autodoc>
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Display" type="" overloaded="no">
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Display" type="" overloaded="no">
-        <autodoc>Display(String x)</autodoc>
+        <autodoc>Display(self, String x)</autodoc>
         <paramlist>
           <param name="x" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DisplayID" type="" overloaded="no">
         <paramlist>
           <param name="x" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DisplayID" type="" overloaded="no">
-        <autodoc>DisplayID(int id)</autodoc>
+        <autodoc>DisplayID(self, int id)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DisplayContents" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DisplayContents" type="" overloaded="no">
-        <autodoc>DisplayContents()</autodoc>
+        <autodoc>DisplayContents(self)</autodoc>
       </method>
       <method name="DisplayIndex" type="" overloaded="no">
       </method>
       <method name="DisplayIndex" type="" overloaded="no">
-        <autodoc>DisplayIndex()</autodoc>
+        <autodoc>DisplayIndex(self)</autodoc>
       </method>
       <method name="KeywordSearch" type="bool" overloaded="no">
       </method>
       <method name="KeywordSearch" type="bool" overloaded="no">
-        <autodoc>KeywordSearch(String keyword) -&gt; bool</autodoc>
+        <autodoc>KeywordSearch(self, String keyword) -&gt; bool</autodoc>
         <paramlist>
           <param name="keyword" type="String" default=""/>
         </paramlist>
       </method>
       <method name="UseConfig" type="" overloaded="no">
         <paramlist>
           <param name="keyword" type="String" default=""/>
         </paramlist>
       </method>
       <method name="UseConfig" type="" overloaded="no">
-        <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc>
+        <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc>
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
           <param name="rootpath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="ReadCustomization" type="" overloaded="no">
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
           <param name="rootpath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="ReadCustomization" type="" overloaded="no">
-        <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
+        <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="WriteCustomization" type="" overloaded="no">
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="WriteCustomization" type="" overloaded="no">
-        <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
+        <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
@@ -28270,86 +31296,87 @@ EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
     <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html">
       <baseclass name="EvtHandler"/>
       <constructor name="HtmlHelpController" overloaded="no">
     <class name="HtmlHelpController" oldname="wxHtmlHelpController" module="html">
       <baseclass name="EvtHandler"/>
       <constructor name="HtmlHelpController" overloaded="no">
-        <autodoc>__init__(int style=HF_DEFAULTSTYLE) -&gt; HtmlHelpController</autodoc>
+        <autodoc>__init__(self, int style=HF_DEFAULTSTYLE) -&gt; HtmlHelpController</autodoc>
         <paramlist>
           <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
         </paramlist>
       </constructor>
       <destructor name="~wxHtmlHelpController" overloaded="no">
         <paramlist>
           <param name="style" type="int" default="wxHF_DEFAULTSTYLE"/>
         </paramlist>
       </constructor>
       <destructor name="~wxHtmlHelpController" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetTitleFormat" type="" overloaded="no">
       </destructor>
       <method name="SetTitleFormat" type="" overloaded="no">
-        <autodoc>SetTitleFormat(String format)</autodoc>
+        <autodoc>SetTitleFormat(self, String format)</autodoc>
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetTempDir" type="" overloaded="no">
         <paramlist>
           <param name="format" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetTempDir" type="" overloaded="no">
-        <autodoc>SetTempDir(String path)</autodoc>
+        <autodoc>SetTempDir(self, String path)</autodoc>
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddBook" type="bool" overloaded="no">
         <paramlist>
           <param name="path" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddBook" type="bool" overloaded="no">
-        <autodoc>AddBook(String book, int show_wait_msg=False) -&gt; bool</autodoc>
+        <autodoc>AddBook(self, String book, int show_wait_msg=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="book" type="String" default=""/>
           <param name="show_wait_msg" type="int" default="False"/>
         </paramlist>
       </method>
       <method name="Display" type="" overloaded="no">
         <paramlist>
           <param name="book" type="String" default=""/>
           <param name="show_wait_msg" type="int" default="False"/>
         </paramlist>
       </method>
       <method name="Display" type="" overloaded="no">
-        <autodoc>Display(String x)</autodoc>
+        <autodoc>Display(self, String x)</autodoc>
         <paramlist>
           <param name="x" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DisplayID" type="" overloaded="no">
         <paramlist>
           <param name="x" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DisplayID" type="" overloaded="no">
-        <autodoc>DisplayID(int id)</autodoc>
+        <autodoc>DisplayID(self, int id)</autodoc>
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DisplayContents" type="" overloaded="no">
         <paramlist>
           <param name="id" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DisplayContents" type="" overloaded="no">
-        <autodoc>DisplayContents()</autodoc>
+        <autodoc>DisplayContents(self)</autodoc>
       </method>
       <method name="DisplayIndex" type="" overloaded="no">
       </method>
       <method name="DisplayIndex" type="" overloaded="no">
-        <autodoc>DisplayIndex()</autodoc>
+        <autodoc>DisplayIndex(self)</autodoc>
       </method>
       <method name="KeywordSearch" type="bool" overloaded="no">
       </method>
       <method name="KeywordSearch" type="bool" overloaded="no">
-        <autodoc>KeywordSearch(String keyword) -&gt; bool</autodoc>
+        <autodoc>KeywordSearch(self, String keyword) -&gt; bool</autodoc>
         <paramlist>
           <param name="keyword" type="String" default=""/>
         </paramlist>
       </method>
       <method name="UseConfig" type="" overloaded="no">
         <paramlist>
           <param name="keyword" type="String" default=""/>
         </paramlist>
       </method>
       <method name="UseConfig" type="" overloaded="no">
-        <autodoc>UseConfig(ConfigBase config, String rootpath=EmptyString)</autodoc>
+        <autodoc>UseConfig(self, ConfigBase config, String rootpath=EmptyString)</autodoc>
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
           <param name="rootpath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="ReadCustomization" type="" overloaded="no">
         <paramlist>
           <param name="config" type="ConfigBase" default=""/>
           <param name="rootpath" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="ReadCustomization" type="" overloaded="no">
-        <autodoc>ReadCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
+        <autodoc>ReadCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="WriteCustomization" type="" overloaded="no">
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="WriteCustomization" type="" overloaded="no">
-        <autodoc>WriteCustomization(ConfigBase cfg, String path=EmptyString)</autodoc>
+        <autodoc>WriteCustomization(self, ConfigBase cfg, String path=EmptyString)</autodoc>
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetFrame" type="HtmlHelpFrame" overloaded="no">
         <paramlist>
           <param name="cfg" type="ConfigBase" default=""/>
           <param name="path" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetFrame" type="HtmlHelpFrame" overloaded="no">
-        <autodoc>GetFrame() -&gt; HtmlHelpFrame</autodoc>
+        <autodoc>GetFrame(self) -&gt; HtmlHelpFrame</autodoc>
       </method>
     </class>
   </module>
   <module name="wizard">
       </method>
     </class>
   </module>
   <module name="wizard">
-    <import name="windows"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_windows"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <pythoncode>
 EVT_WIZARD_PAGE_CHANGED  = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
 EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
     <pythoncode>
 EVT_WIZARD_PAGE_CHANGED  = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
 EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
@@ -28360,7 +31387,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="WizardEvent" oldname="wxWizardEvent" module="wizard">
       <baseclass name="NotifyEvent"/>
       <constructor name="WizardEvent" overloaded="no">
     <class name="WizardEvent" oldname="wxWizardEvent" module="wizard">
       <baseclass name="NotifyEvent"/>
       <constructor name="WizardEvent" overloaded="no">
-        <autodoc>__init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, 
+        <autodoc>__init__(self, wxEventType type=wxEVT_NULL, int id=-1, bool direction=True, 
     WizardPage page=None) -&gt; WizardEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
     WizardPage page=None) -&gt; WizardEvent</autodoc>
         <paramlist>
           <param name="type" type="wxEventType" default="wxEVT_NULL"/>
@@ -28370,16 +31397,16 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <method name="GetDirection" type="bool" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetDirection" type="bool" overloaded="no">
-        <autodoc>GetDirection() -&gt; bool</autodoc>
+        <autodoc>GetDirection(self) -&gt; bool</autodoc>
       </method>
       <method name="GetPage" type="wxWizardPage" overloaded="no">
       </method>
       <method name="GetPage" type="wxWizardPage" overloaded="no">
-        <autodoc>GetPage() -&gt; WizardPage</autodoc>
+        <autodoc>GetPage(self) -&gt; WizardPage</autodoc>
       </method>
     </class>
     <class name="WizardPage" oldname="wxWizardPage" module="wizard">
       <baseclass name="Panel"/>
       <method name="Create" type="bool" overloaded="no">
       </method>
     </class>
     <class name="WizardPage" oldname="wxWizardPage" module="wizard">
       <baseclass name="Panel"/>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -&gt; bool</autodoc>
+        <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
@@ -28387,19 +31414,19 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetPrev" type="WizardPage" overloaded="no">
         </paramlist>
       </method>
       <method name="GetPrev" type="WizardPage" overloaded="no">
-        <autodoc>GetPrev() -&gt; WizardPage</autodoc>
+        <autodoc>GetPrev(self) -&gt; WizardPage</autodoc>
       </method>
       <method name="GetNext" type="WizardPage" overloaded="no">
       </method>
       <method name="GetNext" type="WizardPage" overloaded="no">
-        <autodoc>GetNext() -&gt; WizardPage</autodoc>
+        <autodoc>GetNext(self) -&gt; WizardPage</autodoc>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
       </method>
     </class>
     <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard">
       <baseclass name="WizardPage"/>
       <constructor name="PyWizardPage" overloaded="no">
       </method>
     </class>
     <class name="PyWizardPage" oldname="wxPyWizardPage" module="wizard">
       <baseclass name="WizardPage"/>
       <constructor name="PyWizardPage" overloaded="no">
-        <autodoc>__init__(Wizard parent, Bitmap bitmap=&amp;wxNullBitmap, String resource=&amp;wxPyEmptyString) -&gt; PyWizardPage</autodoc>
+        <autodoc>__init__(self, Wizard parent, Bitmap bitmap=&amp;wxNullBitmap, String resource=&amp;wxPyEmptyString) -&gt; PyWizardPage</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
           <param name="bitmap" type="Bitmap" default="&amp;wxNullBitmap"/>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
           <param name="bitmap" type="Bitmap" default="&amp;wxNullBitmap"/>
@@ -28410,7 +31437,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         <autodoc>PrePyWizardPage() -&gt; PyWizardPage</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PrePyWizardPage() -&gt; PyWizardPage</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -&gt; bool</autodoc>
+        <autodoc>Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
           <param name="bitmap" type="Bitmap" default="wxNullBitmap"/>
@@ -28418,14 +31445,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_DoMoveWindow" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_DoMoveWindow" type="" overloaded="no">
-        <autodoc>base_DoMoveWindow(int x, int y, int width, int height)</autodoc>
+        <autodoc>base_DoMoveWindow(self, int x, int y, int width, int height)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -28434,7 +31461,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetSize" type="" overloaded="no">
-        <autodoc>base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
+        <autodoc>base_DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -28444,14 +31471,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoSetClientSize" type="" overloaded="no">
-        <autodoc>base_DoSetClientSize(int width, int height)</autodoc>
+        <autodoc>base_DoSetClientSize(self, int width, int height)</autodoc>
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
         <paramlist>
           <param name="width" type="int" default=""/>
           <param name="height" type="int" default=""/>
         </paramlist>
       </method>
       <method name="base_DoSetVirtualSize" type="" overloaded="no">
-        <autodoc>base_DoSetVirtualSize(int x, int y)</autodoc>
+        <autodoc>base_DoSetVirtualSize(self, int x, int y)</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -28479,40 +31506,40 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
         </paramlist>
       </method>
       <method name="base_DoGetVirtualSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetVirtualSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetVirtualSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
       </method>
       <method name="base_DoGetBestSize" type="Size" overloaded="no">
-        <autodoc>base_DoGetBestSize() -&gt; Size</autodoc>
+        <autodoc>base_DoGetBestSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
       </method>
       <method name="base_InitDialog" type="" overloaded="no">
-        <autodoc>base_InitDialog()</autodoc>
+        <autodoc>base_InitDialog(self)</autodoc>
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataToWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataToWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataToWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
       </method>
       <method name="base_TransferDataFromWindow" type="bool" overloaded="no">
-        <autodoc>base_TransferDataFromWindow() -&gt; bool</autodoc>
+        <autodoc>base_TransferDataFromWindow(self) -&gt; bool</autodoc>
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
       </method>
       <method name="base_Validate" type="bool" overloaded="no">
-        <autodoc>base_Validate() -&gt; bool</autodoc>
+        <autodoc>base_Validate(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocus" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocus() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocus(self) -&gt; bool</autodoc>
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
       </method>
       <method name="base_AcceptsFocusFromKeyboard" type="bool" overloaded="no">
-        <autodoc>base_AcceptsFocusFromKeyboard() -&gt; bool</autodoc>
+        <autodoc>base_AcceptsFocusFromKeyboard(self) -&gt; bool</autodoc>
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
       </method>
       <method name="base_GetMaxSize" type="Size" overloaded="no">
-        <autodoc>base_GetMaxSize() -&gt; Size</autodoc>
+        <autodoc>base_GetMaxSize(self) -&gt; Size</autodoc>
       </method>
       <method name="base_AddChild" type="" overloaded="no">
       </method>
       <method name="base_AddChild" type="" overloaded="no">
-        <autodoc>base_AddChild(Window child)</autodoc>
+        <autodoc>base_AddChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="base_RemoveChild" type="" overloaded="no">
-        <autodoc>base_RemoveChild(Window child)</autodoc>
+        <autodoc>base_RemoveChild(self, Window child)</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
@@ -28521,7 +31548,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard">
       <baseclass name="WizardPage"/>
       <constructor name="WizardPageSimple" overloaded="no">
     <class name="WizardPageSimple" oldname="wxWizardPageSimple" module="wizard">
       <baseclass name="WizardPage"/>
       <constructor name="WizardPageSimple" overloaded="no">
-        <autodoc>__init__(Wizard parent, WizardPage prev=None, WizardPage next=None, 
+        <autodoc>__init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, 
     Bitmap bitmap=wxNullBitmap, wxChar resource=None) -&gt; WizardPageSimple</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
     Bitmap bitmap=wxNullBitmap, wxChar resource=None) -&gt; WizardPageSimple</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default=""/>
@@ -28535,7 +31562,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         <autodoc>PreWizardPageSimple() -&gt; WizardPageSimple</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreWizardPageSimple() -&gt; WizardPageSimple</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None, 
+        <autodoc>Create(self, Wizard parent=None, WizardPage prev=None, WizardPage next=None, 
     Bitmap bitmap=wxNullBitmap, wxChar resource=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default="NULL"/>
     Bitmap bitmap=wxNullBitmap, wxChar resource=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="wxWizard" default="NULL"/>
@@ -28546,13 +31573,13 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="SetPrev" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetPrev" type="" overloaded="no">
-        <autodoc>SetPrev(WizardPage prev)</autodoc>
+        <autodoc>SetPrev(self, WizardPage prev)</autodoc>
         <paramlist>
           <param name="prev" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
         <paramlist>
           <param name="prev" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
-        <autodoc>SetNext(WizardPage next)</autodoc>
+        <autodoc>SetNext(self, WizardPage next)</autodoc>
         <paramlist>
           <param name="next" type="WizardPage" default=""/>
         </paramlist>
         <paramlist>
           <param name="next" type="WizardPage" default=""/>
         </paramlist>
@@ -28568,7 +31595,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="Wizard" oldname="wxWizard" module="wizard">
       <baseclass name="Dialog"/>
       <constructor name="Wizard" overloaded="no">
     <class name="Wizard" oldname="wxWizard" module="wizard">
       <baseclass name="Dialog"/>
       <constructor name="Wizard" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, String title=EmptyString, 
+        <autodoc>__init__(self, Window parent, int id=-1, String title=EmptyString, 
     Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, 
     long style=DEFAULT_DIALOG_STYLE) -&gt; Wizard</autodoc>
         <paramlist>
     Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, 
     long style=DEFAULT_DIALOG_STYLE) -&gt; Wizard</autodoc>
         <paramlist>
@@ -28584,7 +31611,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         <autodoc>PreWizard() -&gt; Wizard</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreWizard() -&gt; Wizard</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, String title=EmptyString, 
+        <autodoc>Create(self, Window parent, int id=-1, String title=EmptyString, 
     Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -28595,59 +31622,59 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="Init" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Init" type="" overloaded="no">
-        <autodoc>Init()</autodoc>
+        <autodoc>Init(self)</autodoc>
       </method>
       <method name="RunWizard" type="bool" overloaded="no">
       </method>
       <method name="RunWizard" type="bool" overloaded="no">
-        <autodoc>RunWizard(WizardPage firstPage) -&gt; bool</autodoc>
+        <autodoc>RunWizard(self, WizardPage firstPage) -&gt; bool</autodoc>
         <paramlist>
           <param name="firstPage" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentPage" type="WizardPage" overloaded="no">
         <paramlist>
           <param name="firstPage" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentPage" type="WizardPage" overloaded="no">
-        <autodoc>GetCurrentPage() -&gt; WizardPage</autodoc>
+        <autodoc>GetCurrentPage(self) -&gt; WizardPage</autodoc>
       </method>
       <method name="SetPageSize" type="" overloaded="no">
       </method>
       <method name="SetPageSize" type="" overloaded="no">
-        <autodoc>SetPageSize(Size size)</autodoc>
+        <autodoc>SetPageSize(self, Size size)</autodoc>
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetPageSize" type="Size" overloaded="no">
         <paramlist>
           <param name="size" type="Size" default=""/>
         </paramlist>
       </method>
       <method name="GetPageSize" type="Size" overloaded="no">
-        <autodoc>GetPageSize() -&gt; Size</autodoc>
+        <autodoc>GetPageSize(self) -&gt; Size</autodoc>
       </method>
       <method name="FitToPage" type="" overloaded="no">
       </method>
       <method name="FitToPage" type="" overloaded="no">
-        <autodoc>FitToPage(WizardPage firstPage)</autodoc>
+        <autodoc>FitToPage(self, WizardPage firstPage)</autodoc>
         <paramlist>
           <param name="firstPage" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="GetPageAreaSizer" type="Sizer" overloaded="no">
         <paramlist>
           <param name="firstPage" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="GetPageAreaSizer" type="Sizer" overloaded="no">
-        <autodoc>GetPageAreaSizer() -&gt; Sizer</autodoc>
+        <autodoc>GetPageAreaSizer(self) -&gt; Sizer</autodoc>
       </method>
       <method name="SetBorder" type="" overloaded="no">
       </method>
       <method name="SetBorder" type="" overloaded="no">
-        <autodoc>SetBorder(int border)</autodoc>
+        <autodoc>SetBorder(self, int border)</autodoc>
         <paramlist>
           <param name="border" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsRunning" type="bool" overloaded="no">
         <paramlist>
           <param name="border" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IsRunning" type="bool" overloaded="no">
-        <autodoc>IsRunning() -&gt; bool</autodoc>
+        <autodoc>IsRunning(self) -&gt; bool</autodoc>
       </method>
       <method name="ShowPage" type="bool" overloaded="no">
       </method>
       <method name="ShowPage" type="bool" overloaded="no">
-        <autodoc>ShowPage(WizardPage page, bool goingForward=True) -&gt; bool</autodoc>
+        <autodoc>ShowPage(self, WizardPage page, bool goingForward=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="page" type="WizardPage" default=""/>
           <param name="goingForward" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="HasNextPage" type="bool" overloaded="no">
         <paramlist>
           <param name="page" type="WizardPage" default=""/>
           <param name="goingForward" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="HasNextPage" type="bool" overloaded="no">
-        <autodoc>HasNextPage(WizardPage page) -&gt; bool</autodoc>
+        <autodoc>HasNextPage(self, WizardPage page) -&gt; bool</autodoc>
         <paramlist>
           <param name="page" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="HasPrevPage" type="bool" overloaded="no">
         <paramlist>
           <param name="page" type="WizardPage" default=""/>
         </paramlist>
       </method>
       <method name="HasPrevPage" type="bool" overloaded="no">
-        <autodoc>HasPrevPage(WizardPage page) -&gt; bool</autodoc>
+        <autodoc>HasPrevPage(self, WizardPage page) -&gt; bool</autodoc>
         <paramlist>
           <param name="page" type="WizardPage" default=""/>
         </paramlist>
         <paramlist>
           <param name="page" type="WizardPage" default=""/>
         </paramlist>
@@ -28655,12 +31682,13 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     </class>
   </module>
   <module name="glcanvas">
     </class>
   </module>
   <module name="glcanvas">
-    <import name="core"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_core"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <class name="GLContext" oldname="wxGLContext" module="glcanvas">
       <baseclass name="Object"/>
       <constructor name="GLContext" overloaded="no">
     <class name="GLContext" oldname="wxGLContext" module="glcanvas">
       <baseclass name="Object"/>
       <constructor name="GLContext" overloaded="no">
-        <autodoc>__init__(bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, 
+        <autodoc>__init__(self, bool isRGB, GLCanvas win, wxPalette palette=wxNullPalette, 
     GLContext other=None) -&gt; GLContext</autodoc>
         <paramlist>
           <param name="isRGB" type="bool" default=""/>
     GLContext other=None) -&gt; GLContext</autodoc>
         <paramlist>
           <param name="isRGB" type="bool" default=""/>
@@ -28670,43 +31698,43 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <destructor name="~wxGLContext" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxGLContext" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetCurrent" type="" overloaded="no">
       </destructor>
       <method name="SetCurrent" type="" overloaded="no">
-        <autodoc>SetCurrent()</autodoc>
+        <autodoc>SetCurrent(self)</autodoc>
       </method>
       <method name="SetColour" type="" overloaded="no">
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(String colour)</autodoc>
+        <autodoc>SetColour(self, String colour)</autodoc>
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SwapBuffers" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SwapBuffers" type="" overloaded="no">
-        <autodoc>SwapBuffers()</autodoc>
+        <autodoc>SwapBuffers(self)</autodoc>
       </method>
       <method name="SetupPixelFormat" type="" overloaded="no">
       </method>
       <method name="SetupPixelFormat" type="" overloaded="no">
-        <autodoc>SetupPixelFormat()</autodoc>
+        <autodoc>SetupPixelFormat(self)</autodoc>
       </method>
       <method name="SetupPalette" type="" overloaded="no">
       </method>
       <method name="SetupPalette" type="" overloaded="no">
-        <autodoc>SetupPalette(wxPalette palette)</autodoc>
+        <autodoc>SetupPalette(self, wxPalette palette)</autodoc>
         <paramlist>
           <param name="palette" type="Palette" default=""/>
         </paramlist>
       </method>
       <method name="CreateDefaultPalette" type="Palette" overloaded="no">
         <paramlist>
           <param name="palette" type="Palette" default=""/>
         </paramlist>
       </method>
       <method name="CreateDefaultPalette" type="Palette" overloaded="no">
-        <autodoc>CreateDefaultPalette() -&gt; wxPalette</autodoc>
+        <autodoc>CreateDefaultPalette(self) -&gt; wxPalette</autodoc>
       </method>
       <method name="GetPalette" type="Palette" overloaded="no">
       </method>
       <method name="GetPalette" type="Palette" overloaded="no">
-        <autodoc>GetPalette() -&gt; wxPalette</autodoc>
+        <autodoc>GetPalette(self) -&gt; wxPalette</autodoc>
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
       </method>
       <method name="GetWindow" type="Window" overloaded="no">
-        <autodoc>GetWindow() -&gt; Window</autodoc>
+        <autodoc>GetWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
     <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas">
       <baseclass name="Window"/>
       <constructor name="GLCanvas" overloaded="no">
       </method>
     </class>
     <class name="GLCanvas" oldname="wxGLCanvas" module="glcanvas">
       <baseclass name="Window"/>
       <constructor name="GLCanvas" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0, String name=GLCanvasNameStr, 
     int attribList=None, wxPalette palette=wxNullPalette) -&gt; GLCanvas</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=0, String name=GLCanvasNameStr, 
     int attribList=None, wxPalette palette=wxNullPalette) -&gt; GLCanvas</autodoc>
         <paramlist>
@@ -28738,175 +31766,181 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <method name="SetCurrent" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetCurrent" type="" overloaded="no">
-        <autodoc>SetCurrent()</autodoc>
+        <autodoc>SetCurrent(self)</autodoc>
       </method>
       <method name="SetColour" type="" overloaded="no">
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(String colour)</autodoc>
+        <autodoc>SetColour(self, String colour)</autodoc>
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SwapBuffers" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SwapBuffers" type="" overloaded="no">
-        <autodoc>SwapBuffers()</autodoc>
+        <autodoc>SwapBuffers(self)</autodoc>
       </method>
       <method name="GetContext" type="GLContext" overloaded="no">
       </method>
       <method name="GetContext" type="GLContext" overloaded="no">
-        <autodoc>GetContext() -&gt; GLContext</autodoc>
+        <autodoc>GetContext(self) -&gt; GLContext</autodoc>
       </method>
     </class>
   </module>
   <module name="ogl">
       </method>
     </class>
   </module>
   <module name="ogl">
-    <import name="windows"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_windows"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
+    <pythoncode>
+    import warnings
+    warnings.warn("This module is deprecated.  Please use the wx.lib.ogl package instead.",    
+                  DeprecationWarning, stacklevel=2)
+</pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl">
       <baseclass name="Object"/>
       <constructor name="ShapeRegion" overloaded="no">
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <class name="ShapeRegion" oldname="wxShapeRegion" module="ogl">
       <baseclass name="Object"/>
       <constructor name="ShapeRegion" overloaded="no">
-        <autodoc>__init__() -&gt; ShapeRegion</autodoc>
+        <autodoc>__init__(self) -&gt; ShapeRegion</autodoc>
       </constructor>
       <method name="SetText" type="" overloaded="no">
       </constructor>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String s)</autodoc>
+        <autodoc>SetText(self, String s)</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font f)</autodoc>
+        <autodoc>SetFont(self, Font f)</autodoc>
         <paramlist>
           <param name="f" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetMinSize" type="" overloaded="no">
         <paramlist>
           <param name="f" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetMinSize" type="" overloaded="no">
-        <autodoc>SetMinSize(double w, double h)</autodoc>
+        <autodoc>SetMinSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(double w, double h)</autodoc>
+        <autodoc>SetSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(double x, double y)</autodoc>
+        <autodoc>SetPosition(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetProportions" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetProportions" type="" overloaded="no">
-        <autodoc>SetProportions(double x, double y)</autodoc>
+        <autodoc>SetProportions(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetFormatMode" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetFormatMode" type="" overloaded="no">
-        <autodoc>SetFormatMode(int mode)</autodoc>
+        <autodoc>SetFormatMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetName" type="" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetName" type="" overloaded="no">
-        <autodoc>SetName(String s)</autodoc>
+        <autodoc>SetName(self, String s)</autodoc>
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
         <paramlist>
           <param name="s" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetColour" type="" overloaded="no">
-        <autodoc>SetColour(String col)</autodoc>
+        <autodoc>SetColour(self, String col)</autodoc>
         <paramlist>
           <param name="col" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetText" type="String" overloaded="no">
         <paramlist>
           <param name="col" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont() -&gt; Font</autodoc>
+        <autodoc>GetFont(self) -&gt; Font</autodoc>
       </method>
       <method name="GetMinSize" type="" overloaded="no">
       </method>
       <method name="GetMinSize" type="" overloaded="no">
-        <autodoc>GetMinSize(double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetMinSize(self, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetProportion" type="" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetProportion" type="" overloaded="no">
-        <autodoc>GetProportion(double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetProportion(self, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="" overloaded="no">
-        <autodoc>GetSize(double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetSize(self, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetPosition" type="" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetPosition" type="" overloaded="no">
-        <autodoc>GetPosition(double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetPosition(self, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetFormatMode" type="int" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetFormatMode" type="int" overloaded="no">
-        <autodoc>GetFormatMode() -&gt; int</autodoc>
+        <autodoc>GetFormatMode(self) -&gt; int</autodoc>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetColour" type="String" overloaded="no">
       </method>
       <method name="GetColour" type="String" overloaded="no">
-        <autodoc>GetColour() -&gt; String</autodoc>
+        <autodoc>GetColour(self) -&gt; String</autodoc>
       </method>
       <method name="GetActualColourObject" type="Colour" overloaded="no">
       </method>
       <method name="GetActualColourObject" type="Colour" overloaded="no">
-        <autodoc>GetActualColourObject() -&gt; Colour</autodoc>
+        <autodoc>GetActualColourObject(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetFormattedText" type="wxList" overloaded="no">
       </method>
       <method name="GetFormattedText" type="wxList" overloaded="no">
-        <autodoc>GetFormattedText() -&gt; wxList</autodoc>
+        <autodoc>GetFormattedText(self) -&gt; wxList</autodoc>
       </method>
       <method name="GetPenColour" type="String" overloaded="no">
       </method>
       <method name="GetPenColour" type="String" overloaded="no">
-        <autodoc>GetPenColour() -&gt; String</autodoc>
+        <autodoc>GetPenColour(self) -&gt; String</autodoc>
       </method>
       <method name="GetPenStyle" type="int" overloaded="no">
       </method>
       <method name="GetPenStyle" type="int" overloaded="no">
-        <autodoc>GetPenStyle() -&gt; int</autodoc>
+        <autodoc>GetPenStyle(self) -&gt; int</autodoc>
       </method>
       <method name="SetPenStyle" type="" overloaded="no">
       </method>
       <method name="SetPenStyle" type="" overloaded="no">
-        <autodoc>SetPenStyle(int style)</autodoc>
+        <autodoc>SetPenStyle(self, int style)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPenColour" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPenColour" type="" overloaded="no">
-        <autodoc>SetPenColour(String col)</autodoc>
+        <autodoc>SetPenColour(self, String col)</autodoc>
         <paramlist>
           <param name="col" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetActualPen" type="Pen" overloaded="no">
         <paramlist>
           <param name="col" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetActualPen" type="Pen" overloaded="no">
-        <autodoc>GetActualPen() -&gt; wxPen</autodoc>
+        <autodoc>GetActualPen(self) -&gt; wxPen</autodoc>
       </method>
       <method name="GetWidth" type="double" overloaded="no">
       </method>
       <method name="GetWidth" type="double" overloaded="no">
-        <autodoc>GetWidth() -&gt; double</autodoc>
+        <autodoc>GetWidth(self) -&gt; double</autodoc>
       </method>
       <method name="GetHeight" type="double" overloaded="no">
       </method>
       <method name="GetHeight" type="double" overloaded="no">
-        <autodoc>GetHeight() -&gt; double</autodoc>
+        <autodoc>GetHeight(self) -&gt; double</autodoc>
       </method>
       <method name="ClearText" type="" overloaded="no">
       </method>
       <method name="ClearText" type="" overloaded="no">
-        <autodoc>ClearText()</autodoc>
+        <autodoc>ClearText(self)</autodoc>
       </method>
     </class>
     <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl">
       <baseclass name="Object"/>
       <constructor name="AttachmentPoint" overloaded="no">
       </method>
     </class>
     <class name="AttachmentPoint" oldname="wxAttachmentPoint" module="ogl">
       <baseclass name="Object"/>
       <constructor name="AttachmentPoint" overloaded="no">
-        <autodoc>__init__(int id=0, double x=0.0, double y=0.0) -&gt; AttachmentPoint</autodoc>
+        <autodoc>__init__(self, int id=0, double x=0.0, double y=0.0) -&gt; AttachmentPoint</autodoc>
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="x" type="double" default="0.0"/>
         <paramlist>
           <param name="id" type="int" default="0"/>
           <param name="x" type="double" default="0.0"/>
@@ -28920,94 +31954,94 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl">
       <baseclass name="Object"/>
       <constructor name="PyShapeEvtHandler" overloaded="no">
     <class name="PyShapeEvtHandler" oldname="wxPyShapeEvtHandler" module="ogl">
       <baseclass name="Object"/>
       <constructor name="PyShapeEvtHandler" overloaded="no">
-        <autodoc>__init__(PyShapeEvtHandler prev=None, PyShape shape=None) -&gt; PyShapeEvtHandler</autodoc>
+        <autodoc>__init__(self, PyShapeEvtHandler prev=None, PyShape shape=None) -&gt; PyShapeEvtHandler</autodoc>
         <paramlist>
           <param name="prev" type="PyShapeEvtHandler" default="NULL"/>
           <param name="shape" type="wxPyShape" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="prev" type="PyShapeEvtHandler" default="NULL"/>
           <param name="shape" type="wxPyShape" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="_setOORInfo" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="_setOORInfo" type="" overloaded="no">
-        <autodoc>_setOORInfo(PyObject _self)</autodoc>
+        <autodoc>_setOORInfo(self, PyObject _self)</autodoc>
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetShape" type="" overloaded="no">
         <paramlist>
           <param name="_self" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetShape" type="" overloaded="no">
-        <autodoc>SetShape(PyShape sh)</autodoc>
+        <autodoc>SetShape(self, PyShape sh)</autodoc>
         <paramlist>
           <param name="sh" type="wxPyShape" default=""/>
         </paramlist>
       </method>
       <method name="GetShape" type="wxPyShape" overloaded="no">
         <paramlist>
           <param name="sh" type="wxPyShape" default=""/>
         </paramlist>
       </method>
       <method name="GetShape" type="wxPyShape" overloaded="no">
-        <autodoc>GetShape() -&gt; PyShape</autodoc>
+        <autodoc>GetShape(self) -&gt; PyShape</autodoc>
       </method>
       <method name="SetPreviousHandler" type="" overloaded="no">
       </method>
       <method name="SetPreviousHandler" type="" overloaded="no">
-        <autodoc>SetPreviousHandler(PyShapeEvtHandler handler)</autodoc>
+        <autodoc>SetPreviousHandler(self, PyShapeEvtHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="PyShapeEvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no">
         <paramlist>
           <param name="handler" type="PyShapeEvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="GetPreviousHandler" type="PyShapeEvtHandler" overloaded="no">
-        <autodoc>GetPreviousHandler() -&gt; PyShapeEvtHandler</autodoc>
+        <autodoc>GetPreviousHandler(self) -&gt; PyShapeEvtHandler</autodoc>
       </method>
       <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no">
       </method>
       <method name="CreateNewCopy" type="PyShapeEvtHandler" overloaded="no">
-        <autodoc>CreateNewCopy() -&gt; PyShapeEvtHandler</autodoc>
+        <autodoc>CreateNewCopy(self) -&gt; PyShapeEvtHandler</autodoc>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29016,7 +32050,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29025,7 +32059,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29034,14 +32068,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -29053,7 +32087,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -29065,7 +32099,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -29075,7 +32109,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29084,7 +32118,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29093,7 +32127,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -29103,7 +32137,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29112,7 +32146,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29121,7 +32155,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -29131,26 +32165,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -29162,7 +32196,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -29173,7 +32207,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -29184,14 +32218,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -29201,34 +32235,34 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyShape" oldname="wxPyShape" module="ogl">
       <baseclass name="PyShapeEvtHandler"/>
       <constructor name="PyShape" overloaded="no">
     <class name="PyShape" oldname="wxPyShape" module="ogl">
       <baseclass name="PyShapeEvtHandler"/>
       <constructor name="PyShape" overloaded="no">
-        <autodoc>__init__(PyShapeCanvas can=None) -&gt; PyShape</autodoc>
+        <autodoc>__init__(self, PyShapeCanvas can=None) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="can" type="wxPyShapeCanvas" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="can" type="wxPyShapeCanvas" default="NULL"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetBoundingBoxMax" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetBoundingBoxMax" type="" overloaded="no">
-        <autodoc>GetBoundingBoxMax(double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetBoundingBoxMax(self, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetBoundingBoxMin" type="" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetBoundingBoxMin" type="" overloaded="no">
-        <autodoc>GetBoundingBoxMin(double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetBoundingBoxMin(self, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetPerimeterPoint" type="bool" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetPerimeterPoint" type="bool" overloaded="no">
-        <autodoc>GetPerimeterPoint(double x1, double y1, double x2, double y2, double OUTPUT, 
+        <autodoc>GetPerimeterPoint(self, double x1, double y1, double x2, double y2, double OUTPUT, 
     double OUTPUT) -&gt; bool</autodoc>
         <paramlist>
           <param name="x1" type="double" default=""/>
     double OUTPUT) -&gt; bool</autodoc>
         <paramlist>
           <param name="x1" type="double" default=""/>
@@ -29240,192 +32274,192 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
         </paramlist>
       </method>
       <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
-        <autodoc>GetCanvas() -&gt; PyShapeCanvas</autodoc>
+        <autodoc>GetCanvas(self) -&gt; PyShapeCanvas</autodoc>
       </method>
       <method name="SetCanvas" type="" overloaded="no">
       </method>
       <method name="SetCanvas" type="" overloaded="no">
-        <autodoc>SetCanvas(PyShapeCanvas the_canvas)</autodoc>
+        <autodoc>SetCanvas(self, PyShapeCanvas the_canvas)</autodoc>
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="AddToCanvas" type="" overloaded="no">
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="AddToCanvas" type="" overloaded="no">
-        <autodoc>AddToCanvas(PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc>
+        <autodoc>AddToCanvas(self, PyShapeCanvas the_canvas, PyShape addAfter=None)</autodoc>
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="InsertInCanvas" type="" overloaded="no">
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="InsertInCanvas" type="" overloaded="no">
-        <autodoc>InsertInCanvas(PyShapeCanvas the_canvas)</autodoc>
+        <autodoc>InsertInCanvas(self, PyShapeCanvas the_canvas)</autodoc>
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="RemoveFromCanvas" type="" overloaded="no">
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="RemoveFromCanvas" type="" overloaded="no">
-        <autodoc>RemoveFromCanvas(PyShapeCanvas the_canvas)</autodoc>
+        <autodoc>RemoveFromCanvas(self, PyShapeCanvas the_canvas)</autodoc>
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="GetX" type="double" overloaded="no">
         <paramlist>
           <param name="the_canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="GetX" type="double" overloaded="no">
-        <autodoc>GetX() -&gt; double</autodoc>
+        <autodoc>GetX(self) -&gt; double</autodoc>
       </method>
       <method name="GetY" type="double" overloaded="no">
       </method>
       <method name="GetY" type="double" overloaded="no">
-        <autodoc>GetY() -&gt; double</autodoc>
+        <autodoc>GetY(self) -&gt; double</autodoc>
       </method>
       <method name="SetX" type="" overloaded="no">
       </method>
       <method name="SetX" type="" overloaded="no">
-        <autodoc>SetX(double x)</autodoc>
+        <autodoc>SetX(self, double x)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetY" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetY" type="" overloaded="no">
-        <autodoc>SetY(double y)</autodoc>
+        <autodoc>SetY(self, double y)</autodoc>
         <paramlist>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetParent" type="PyShape" overloaded="no">
         <paramlist>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetParent" type="PyShape" overloaded="no">
-        <autodoc>GetParent() -&gt; PyShape</autodoc>
+        <autodoc>GetParent(self) -&gt; PyShape</autodoc>
       </method>
       <method name="SetParent" type="" overloaded="no">
       </method>
       <method name="SetParent" type="" overloaded="no">
-        <autodoc>SetParent(PyShape p)</autodoc>
+        <autodoc>SetParent(self, PyShape p)</autodoc>
         <paramlist>
           <param name="p" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="GetTopAncestor" type="PyShape" overloaded="no">
         <paramlist>
           <param name="p" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="GetTopAncestor" type="PyShape" overloaded="no">
-        <autodoc>GetTopAncestor() -&gt; PyShape</autodoc>
+        <autodoc>GetTopAncestor(self) -&gt; PyShape</autodoc>
       </method>
       <method name="GetChildren" type="PyObject" overloaded="no">
       </method>
       <method name="GetChildren" type="PyObject" overloaded="no">
-        <autodoc>GetChildren() -&gt; PyObject</autodoc>
+        <autodoc>GetChildren(self) -&gt; PyObject</autodoc>
       </method>
       <method name="Unlink" type="" overloaded="no">
       </method>
       <method name="Unlink" type="" overloaded="no">
-        <autodoc>Unlink()</autodoc>
+        <autodoc>Unlink(self)</autodoc>
       </method>
       <method name="SetDrawHandles" type="" overloaded="no">
       </method>
       <method name="SetDrawHandles" type="" overloaded="no">
-        <autodoc>SetDrawHandles(bool drawH)</autodoc>
+        <autodoc>SetDrawHandles(self, bool drawH)</autodoc>
         <paramlist>
           <param name="drawH" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDrawHandles" type="bool" overloaded="no">
         <paramlist>
           <param name="drawH" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDrawHandles" type="bool" overloaded="no">
-        <autodoc>GetDrawHandles() -&gt; bool</autodoc>
+        <autodoc>GetDrawHandles(self) -&gt; bool</autodoc>
       </method>
       <method name="MakeControlPoints" type="" overloaded="no">
       </method>
       <method name="MakeControlPoints" type="" overloaded="no">
-        <autodoc>MakeControlPoints()</autodoc>
+        <autodoc>MakeControlPoints(self)</autodoc>
       </method>
       <method name="DeleteControlPoints" type="" overloaded="no">
       </method>
       <method name="DeleteControlPoints" type="" overloaded="no">
-        <autodoc>DeleteControlPoints(DC dc=None)</autodoc>
+        <autodoc>DeleteControlPoints(self, DC dc=None)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default="NULL"/>
         </paramlist>
       </method>
       <method name="ResetControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default="NULL"/>
         </paramlist>
       </method>
       <method name="ResetControlPoints" type="" overloaded="no">
-        <autodoc>ResetControlPoints()</autodoc>
+        <autodoc>ResetControlPoints(self)</autodoc>
       </method>
       <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no">
       </method>
       <method name="GetEventHandler" type="PyShapeEvtHandler" overloaded="no">
-        <autodoc>GetEventHandler() -&gt; PyShapeEvtHandler</autodoc>
+        <autodoc>GetEventHandler(self) -&gt; PyShapeEvtHandler</autodoc>
       </method>
       <method name="SetEventHandler" type="" overloaded="no">
       </method>
       <method name="SetEventHandler" type="" overloaded="no">
-        <autodoc>SetEventHandler(PyShapeEvtHandler handler)</autodoc>
+        <autodoc>SetEventHandler(self, PyShapeEvtHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="PyShapeEvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="MakeMandatoryControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="handler" type="PyShapeEvtHandler" default=""/>
         </paramlist>
       </method>
       <method name="MakeMandatoryControlPoints" type="" overloaded="no">
-        <autodoc>MakeMandatoryControlPoints()</autodoc>
+        <autodoc>MakeMandatoryControlPoints(self)</autodoc>
       </method>
       <method name="ResetMandatoryControlPoints" type="" overloaded="no">
       </method>
       <method name="ResetMandatoryControlPoints" type="" overloaded="no">
-        <autodoc>ResetMandatoryControlPoints()</autodoc>
+        <autodoc>ResetMandatoryControlPoints(self)</autodoc>
       </method>
       <method name="Recompute" type="bool" overloaded="no">
       </method>
       <method name="Recompute" type="bool" overloaded="no">
-        <autodoc>Recompute() -&gt; bool</autodoc>
+        <autodoc>Recompute(self) -&gt; bool</autodoc>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
       </method>
       <method name="CalculateSize" type="" overloaded="no">
-        <autodoc>CalculateSize()</autodoc>
+        <autodoc>CalculateSize(self)</autodoc>
       </method>
       <method name="Select" type="" overloaded="no">
       </method>
       <method name="Select" type="" overloaded="no">
-        <autodoc>Select(bool select=True, DC dc=None)</autodoc>
+        <autodoc>Select(self, bool select=True, DC dc=None)</autodoc>
         <paramlist>
           <param name="select" type="bool" default="True"/>
           <param name="dc" type="DC" default="NULL"/>
         </paramlist>
       </method>
       <method name="SetHighlight" type="" overloaded="no">
         <paramlist>
           <param name="select" type="bool" default="True"/>
           <param name="dc" type="DC" default="NULL"/>
         </paramlist>
       </method>
       <method name="SetHighlight" type="" overloaded="no">
-        <autodoc>SetHighlight(bool hi=True, bool recurse=False)</autodoc>
+        <autodoc>SetHighlight(self, bool hi=True, bool recurse=False)</autodoc>
         <paramlist>
           <param name="hi" type="bool" default="True"/>
           <param name="recurse" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="IsHighlighted" type="bool" overloaded="no">
         <paramlist>
           <param name="hi" type="bool" default="True"/>
           <param name="recurse" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="IsHighlighted" type="bool" overloaded="no">
-        <autodoc>IsHighlighted() -&gt; bool</autodoc>
+        <autodoc>IsHighlighted(self) -&gt; bool</autodoc>
       </method>
       <method name="Selected" type="bool" overloaded="no">
       </method>
       <method name="Selected" type="bool" overloaded="no">
-        <autodoc>Selected() -&gt; bool</autodoc>
+        <autodoc>Selected(self) -&gt; bool</autodoc>
       </method>
       <method name="AncestorSelected" type="bool" overloaded="no">
       </method>
       <method name="AncestorSelected" type="bool" overloaded="no">
-        <autodoc>AncestorSelected() -&gt; bool</autodoc>
+        <autodoc>AncestorSelected(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSensitivityFilter" type="" overloaded="no">
       </method>
       <method name="SetSensitivityFilter" type="" overloaded="no">
-        <autodoc>SetSensitivityFilter(int sens=OP_ALL, bool recursive=False)</autodoc>
+        <autodoc>SetSensitivityFilter(self, int sens=OP_ALL, bool recursive=False)</autodoc>
         <paramlist>
           <param name="sens" type="int" default="OP_ALL"/>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetSensitivityFilter" type="int" overloaded="no">
         <paramlist>
           <param name="sens" type="int" default="OP_ALL"/>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetSensitivityFilter" type="int" overloaded="no">
-        <autodoc>GetSensitivityFilter() -&gt; int</autodoc>
+        <autodoc>GetSensitivityFilter(self) -&gt; int</autodoc>
       </method>
       <method name="SetDraggable" type="" overloaded="no">
       </method>
       <method name="SetDraggable" type="" overloaded="no">
-        <autodoc>SetDraggable(bool drag, bool recursive=False)</autodoc>
+        <autodoc>SetDraggable(self, bool drag, bool recursive=False)</autodoc>
         <paramlist>
           <param name="drag" type="bool" default=""/>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SetFixedSize" type="" overloaded="no">
         <paramlist>
           <param name="drag" type="bool" default=""/>
           <param name="recursive" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="SetFixedSize" type="" overloaded="no">
-        <autodoc>SetFixedSize(bool x, bool y)</autodoc>
+        <autodoc>SetFixedSize(self, bool x, bool y)</autodoc>
         <paramlist>
           <param name="x" type="bool" default=""/>
           <param name="y" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetFixedSize" type="" overloaded="no">
         <paramlist>
           <param name="x" type="bool" default=""/>
           <param name="y" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetFixedSize" type="" overloaded="no">
-        <autodoc>GetFixedSize(bool OUTPUT, bool OUTPUT)</autodoc>
+        <autodoc>GetFixedSize(self, bool OUTPUT, bool OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="bool" default=""/>
           <param name="OUTPUT" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetFixedWidth" type="bool" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="bool" default=""/>
           <param name="OUTPUT" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetFixedWidth" type="bool" overloaded="no">
-        <autodoc>GetFixedWidth() -&gt; bool</autodoc>
+        <autodoc>GetFixedWidth(self) -&gt; bool</autodoc>
       </method>
       <method name="GetFixedHeight" type="bool" overloaded="no">
       </method>
       <method name="GetFixedHeight" type="bool" overloaded="no">
-        <autodoc>GetFixedHeight() -&gt; bool</autodoc>
+        <autodoc>GetFixedHeight(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSpaceAttachments" type="" overloaded="no">
       </method>
       <method name="SetSpaceAttachments" type="" overloaded="no">
-        <autodoc>SetSpaceAttachments(bool sp)</autodoc>
+        <autodoc>SetSpaceAttachments(self, bool sp)</autodoc>
         <paramlist>
           <param name="sp" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetSpaceAttachments" type="bool" overloaded="no">
         <paramlist>
           <param name="sp" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetSpaceAttachments" type="bool" overloaded="no">
-        <autodoc>GetSpaceAttachments() -&gt; bool</autodoc>
+        <autodoc>GetSpaceAttachments(self) -&gt; bool</autodoc>
       </method>
       <method name="SetShadowMode" type="" overloaded="no">
       </method>
       <method name="SetShadowMode" type="" overloaded="no">
-        <autodoc>SetShadowMode(int mode, bool redraw=False)</autodoc>
+        <autodoc>SetShadowMode(self, int mode, bool redraw=False)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
           <param name="redraw" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetShadowMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
           <param name="redraw" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetShadowMode" type="int" overloaded="no">
-        <autodoc>GetShadowMode() -&gt; int</autodoc>
+        <autodoc>GetShadowMode(self) -&gt; int</autodoc>
       </method>
       <method name="HitTest" type="bool" overloaded="no">
       </method>
       <method name="HitTest" type="bool" overloaded="no">
-        <autodoc>HitTest(double x, double y, int OUTPUT, double OUTPUT) -&gt; bool</autodoc>
+        <autodoc>HitTest(self, double x, double y, int OUTPUT, double OUTPUT) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29434,76 +32468,76 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="SetCentreResize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetCentreResize" type="" overloaded="no">
-        <autodoc>SetCentreResize(bool cr)</autodoc>
+        <autodoc>SetCentreResize(self, bool cr)</autodoc>
         <paramlist>
           <param name="cr" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetCentreResize" type="bool" overloaded="no">
         <paramlist>
           <param name="cr" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetCentreResize" type="bool" overloaded="no">
-        <autodoc>GetCentreResize() -&gt; bool</autodoc>
+        <autodoc>GetCentreResize(self) -&gt; bool</autodoc>
       </method>
       <method name="SetMaintainAspectRatio" type="" overloaded="no">
       </method>
       <method name="SetMaintainAspectRatio" type="" overloaded="no">
-        <autodoc>SetMaintainAspectRatio(bool ar)</autodoc>
+        <autodoc>SetMaintainAspectRatio(self, bool ar)</autodoc>
         <paramlist>
           <param name="ar" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetMaintainAspectRatio" type="bool" overloaded="no">
         <paramlist>
           <param name="ar" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetMaintainAspectRatio" type="bool" overloaded="no">
-        <autodoc>GetMaintainAspectRatio() -&gt; bool</autodoc>
+        <autodoc>GetMaintainAspectRatio(self) -&gt; bool</autodoc>
       </method>
       <method name="GetLines" type="PyObject" overloaded="no">
       </method>
       <method name="GetLines" type="PyObject" overloaded="no">
-        <autodoc>GetLines() -&gt; PyObject</autodoc>
+        <autodoc>GetLines(self) -&gt; PyObject</autodoc>
       </method>
       <method name="SetDisableLabel" type="" overloaded="no">
       </method>
       <method name="SetDisableLabel" type="" overloaded="no">
-        <autodoc>SetDisableLabel(bool flag)</autodoc>
+        <autodoc>SetDisableLabel(self, bool flag)</autodoc>
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDisableLabel" type="bool" overloaded="no">
         <paramlist>
           <param name="flag" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDisableLabel" type="bool" overloaded="no">
-        <autodoc>GetDisableLabel() -&gt; bool</autodoc>
+        <autodoc>GetDisableLabel(self) -&gt; bool</autodoc>
       </method>
       <method name="SetAttachmentMode" type="" overloaded="no">
       </method>
       <method name="SetAttachmentMode" type="" overloaded="no">
-        <autodoc>SetAttachmentMode(int mode)</autodoc>
+        <autodoc>SetAttachmentMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAttachmentMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAttachmentMode" type="int" overloaded="no">
-        <autodoc>GetAttachmentMode() -&gt; int</autodoc>
+        <autodoc>GetAttachmentMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetId" type="" overloaded="no">
       </method>
       <method name="SetId" type="" overloaded="no">
-        <autodoc>SetId(long i)</autodoc>
+        <autodoc>SetId(self, long i)</autodoc>
         <paramlist>
           <param name="i" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="long" overloaded="no">
         <paramlist>
           <param name="i" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetId" type="long" overloaded="no">
-        <autodoc>GetId() -&gt; long</autodoc>
+        <autodoc>GetId(self) -&gt; long</autodoc>
       </method>
       <method name="SetPen" type="" overloaded="no">
       </method>
       <method name="SetPen" type="" overloaded="no">
-        <autodoc>SetPen(wxPen pen)</autodoc>
+        <autodoc>SetPen(self, wxPen pen)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="SetBrush" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="SetBrush" type="" overloaded="no">
-        <autodoc>SetBrush(wxBrush brush)</autodoc>
+        <autodoc>SetBrush(self, wxBrush brush)</autodoc>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="Show" type="" overloaded="no">
-        <autodoc>Show(bool show)</autodoc>
+        <autodoc>Show(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsShown" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="IsShown" type="bool" overloaded="no">
-        <autodoc>IsShown() -&gt; bool</autodoc>
+        <autodoc>IsShown(self) -&gt; bool</autodoc>
       </method>
       <method name="Move" type="" overloaded="no">
       </method>
       <method name="Move" type="" overloaded="no">
-        <autodoc>Move(DC dc, double x1, double y1, bool display=True)</autodoc>
+        <autodoc>Move(self, DC dc, double x1, double y1, bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x1" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x1" type="double" default=""/>
@@ -29512,40 +32546,40 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="Erase" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Erase" type="" overloaded="no">
-        <autodoc>Erase(DC dc)</autodoc>
+        <autodoc>Erase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="EraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="EraseContents" type="" overloaded="no">
-        <autodoc>EraseContents(DC dc)</autodoc>
+        <autodoc>EraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="Draw" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="Draw" type="" overloaded="no">
-        <autodoc>Draw(DC dc)</autodoc>
+        <autodoc>Draw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="Flash" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="Flash" type="" overloaded="no">
-        <autodoc>Flash()</autodoc>
+        <autodoc>Flash(self)</autodoc>
       </method>
       <method name="MoveLinks" type="" overloaded="no">
       </method>
       <method name="MoveLinks" type="" overloaded="no">
-        <autodoc>MoveLinks(DC dc)</autodoc>
+        <autodoc>MoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DrawContents" type="" overloaded="no">
-        <autodoc>DrawContents(DC dc)</autodoc>
+        <autodoc>DrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(double x, double y, bool recursive=True)</autodoc>
+        <autodoc>SetSize(self, double x, double y, bool recursive=True)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29553,26 +32587,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="SetAttachmentSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetAttachmentSize" type="" overloaded="no">
-        <autodoc>SetAttachmentSize(double x, double y)</autodoc>
+        <autodoc>SetAttachmentSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Attach" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Attach" type="" overloaded="no">
-        <autodoc>Attach(PyShapeCanvas can)</autodoc>
+        <autodoc>Attach(self, PyShapeCanvas can)</autodoc>
         <paramlist>
           <param name="can" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
         <paramlist>
           <param name="can" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="Detach" type="" overloaded="no">
-        <autodoc>Detach()</autodoc>
+        <autodoc>Detach(self)</autodoc>
       </method>
       <method name="Constrain" type="bool" overloaded="no">
       </method>
       <method name="Constrain" type="bool" overloaded="no">
-        <autodoc>Constrain() -&gt; bool</autodoc>
+        <autodoc>Constrain(self) -&gt; bool</autodoc>
       </method>
       <method name="AddLine" type="" overloaded="no">
       </method>
       <method name="AddLine" type="" overloaded="no">
-        <autodoc>AddLine(PyLineShape line, PyShape other, int attachFrom=0, 
+        <autodoc>AddLine(self, PyLineShape line, PyShape other, int attachFrom=0, 
     int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc>
         <paramlist>
           <param name="line" type="wxPyLineShape" default=""/>
     int attachTo=0, int positionFrom=-1, int positionTo=-1)</autodoc>
         <paramlist>
           <param name="line" type="wxPyLineShape" default=""/>
@@ -29584,28 +32618,28 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetLinePosition" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetLinePosition" type="int" overloaded="no">
-        <autodoc>GetLinePosition(PyLineShape line) -&gt; int</autodoc>
+        <autodoc>GetLinePosition(self, PyLineShape line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="wxPyLineShape" default=""/>
         </paramlist>
       </method>
       <method name="AddText" type="" overloaded="no">
         <paramlist>
           <param name="line" type="wxPyLineShape" default=""/>
         </paramlist>
       </method>
       <method name="AddText" type="" overloaded="no">
-        <autodoc>AddText(String string)</autodoc>
+        <autodoc>AddText(self, String string)</autodoc>
         <paramlist>
           <param name="string" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPen" type="Pen" overloaded="no">
         <paramlist>
           <param name="string" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetPen" type="Pen" overloaded="no">
-        <autodoc>GetPen() -&gt; wxPen</autodoc>
+        <autodoc>GetPen(self) -&gt; wxPen</autodoc>
       </method>
       <method name="GetBrush" type="Brush" overloaded="no">
       </method>
       <method name="GetBrush" type="Brush" overloaded="no">
-        <autodoc>GetBrush() -&gt; wxBrush</autodoc>
+        <autodoc>GetBrush(self) -&gt; wxBrush</autodoc>
       </method>
       <method name="SetDefaultRegionSize" type="" overloaded="no">
       </method>
       <method name="SetDefaultRegionSize" type="" overloaded="no">
-        <autodoc>SetDefaultRegionSize()</autodoc>
+        <autodoc>SetDefaultRegionSize(self)</autodoc>
       </method>
       <method name="FormatText" type="" overloaded="no">
       </method>
       <method name="FormatText" type="" overloaded="no">
-        <autodoc>FormatText(DC dc, String s, int regionId=0)</autodoc>
+        <autodoc>FormatText(self, DC dc, String s, int regionId=0)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="s" type="String" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="s" type="String" default=""/>
@@ -29613,114 +32647,114 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="SetFormatMode" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetFormatMode" type="" overloaded="no">
-        <autodoc>SetFormatMode(int mode, int regionId=0)</autodoc>
+        <autodoc>SetFormatMode(self, int mode, int regionId=0)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetFormatMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetFormatMode" type="int" overloaded="no">
-        <autodoc>GetFormatMode(int regionId=0) -&gt; int</autodoc>
+        <autodoc>GetFormatMode(self, int regionId=0) -&gt; int</autodoc>
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font, int regionId=0)</autodoc>
+        <autodoc>SetFont(self, Font font, int regionId=0)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont(int regionId=0) -&gt; Font</autodoc>
+        <autodoc>GetFont(self, int regionId=0) -&gt; Font</autodoc>
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(String colour, int regionId=0)</autodoc>
+        <autodoc>SetTextColour(self, String colour, int regionId=0)</autodoc>
         <paramlist>
           <param name="colour" type="String" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetTextColour" type="String" overloaded="no">
         <paramlist>
           <param name="colour" type="String" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetTextColour" type="String" overloaded="no">
-        <autodoc>GetTextColour(int regionId=0) -&gt; String</autodoc>
+        <autodoc>GetTextColour(self, int regionId=0) -&gt; String</autodoc>
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetNumberOfTextRegions" type="int" overloaded="no">
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetNumberOfTextRegions" type="int" overloaded="no">
-        <autodoc>GetNumberOfTextRegions() -&gt; int</autodoc>
+        <autodoc>GetNumberOfTextRegions(self) -&gt; int</autodoc>
       </method>
       <method name="SetRegionName" type="" overloaded="no">
       </method>
       <method name="SetRegionName" type="" overloaded="no">
-        <autodoc>SetRegionName(String name, int regionId=0)</autodoc>
+        <autodoc>SetRegionName(self, String name, int regionId=0)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetRegionName" type="String" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetRegionName" type="String" overloaded="no">
-        <autodoc>GetRegionName(int regionId) -&gt; String</autodoc>
+        <autodoc>GetRegionName(self, int regionId) -&gt; String</autodoc>
         <paramlist>
           <param name="regionId" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRegionId" type="int" overloaded="no">
         <paramlist>
           <param name="regionId" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetRegionId" type="int" overloaded="no">
-        <autodoc>GetRegionId(String name) -&gt; int</autodoc>
+        <autodoc>GetRegionId(self, String name) -&gt; int</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="NameRegions" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="NameRegions" type="" overloaded="no">
-        <autodoc>NameRegions(String parentName=EmptyString)</autodoc>
+        <autodoc>NameRegions(self, String parentName=EmptyString)</autodoc>
         <paramlist>
           <param name="parentName" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetRegions" type="PyObject" overloaded="no">
         <paramlist>
           <param name="parentName" type="String" default="wxPyEmptyString"/>
         </paramlist>
       </method>
       <method name="GetRegions" type="PyObject" overloaded="no">
-        <autodoc>GetRegions() -&gt; PyObject</autodoc>
+        <autodoc>GetRegions(self) -&gt; PyObject</autodoc>
       </method>
       <method name="AddRegion" type="" overloaded="no">
       </method>
       <method name="AddRegion" type="" overloaded="no">
-        <autodoc>AddRegion(ShapeRegion region)</autodoc>
+        <autodoc>AddRegion(self, ShapeRegion region)</autodoc>
         <paramlist>
           <param name="region" type="ShapeRegion" default=""/>
         </paramlist>
       </method>
       <method name="ClearRegions" type="" overloaded="no">
         <paramlist>
           <param name="region" type="ShapeRegion" default=""/>
         </paramlist>
       </method>
       <method name="ClearRegions" type="" overloaded="no">
-        <autodoc>ClearRegions()</autodoc>
+        <autodoc>ClearRegions(self)</autodoc>
       </method>
       <method name="AssignNewIds" type="" overloaded="no">
       </method>
       <method name="AssignNewIds" type="" overloaded="no">
-        <autodoc>AssignNewIds()</autodoc>
+        <autodoc>AssignNewIds(self)</autodoc>
       </method>
       <method name="FindRegion" type="PyShape" overloaded="no">
       </method>
       <method name="FindRegion" type="PyShape" overloaded="no">
-        <autodoc>FindRegion(String regionName, int OUTPUT) -&gt; PyShape</autodoc>
+        <autodoc>FindRegion(self, String regionName, int OUTPUT) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="regionName" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindRegionNames" type="" overloaded="no">
         <paramlist>
           <param name="regionName" type="String" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="FindRegionNames" type="" overloaded="no">
-        <autodoc>FindRegionNames(wxStringList list)</autodoc>
+        <autodoc>FindRegionNames(self, wxStringList list)</autodoc>
         <paramlist>
           <param name="list" type="wxStringList" default=""/>
         </paramlist>
       </method>
       <method name="ClearText" type="" overloaded="no">
         <paramlist>
           <param name="list" type="wxStringList" default=""/>
         </paramlist>
       </method>
       <method name="ClearText" type="" overloaded="no">
-        <autodoc>ClearText(int regionId=0)</autodoc>
+        <autodoc>ClearText(self, int regionId=0)</autodoc>
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RemoveLine" type="" overloaded="no">
         <paramlist>
           <param name="regionId" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="RemoveLine" type="" overloaded="no">
-        <autodoc>RemoveLine(PyLineShape line)</autodoc>
+        <autodoc>RemoveLine(self, PyLineShape line)</autodoc>
         <paramlist>
           <param name="line" type="wxPyLineShape" default=""/>
         </paramlist>
       </method>
       <method name="GetAttachmentPosition" type="bool" overloaded="no">
         <paramlist>
           <param name="line" type="wxPyLineShape" default=""/>
         </paramlist>
       </method>
       <method name="GetAttachmentPosition" type="bool" overloaded="no">
-        <autodoc>GetAttachmentPosition(int attachment, double OUTPUT, double OUTPUT, int nth=0, 
+        <autodoc>GetAttachmentPosition(self, int attachment, double OUTPUT, double OUTPUT, int nth=0, 
     int no_arcs=1, PyLineShape line=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
     int no_arcs=1, PyLineShape line=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
@@ -29732,19 +32766,19 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetNumberOfAttachments" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetNumberOfAttachments" type="int" overloaded="no">
-        <autodoc>GetNumberOfAttachments() -&gt; int</autodoc>
+        <autodoc>GetNumberOfAttachments(self) -&gt; int</autodoc>
       </method>
       <method name="AttachmentIsValid" type="bool" overloaded="no">
       </method>
       <method name="AttachmentIsValid" type="bool" overloaded="no">
-        <autodoc>AttachmentIsValid(int attachment) -&gt; bool</autodoc>
+        <autodoc>AttachmentIsValid(self, int attachment) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAttachments" type="PyObject" overloaded="no">
         <paramlist>
           <param name="attachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAttachments" type="PyObject" overloaded="no">
-        <autodoc>GetAttachments() -&gt; PyObject</autodoc>
+        <autodoc>GetAttachments(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetAttachmentPositionEdge" type="bool" overloaded="no">
       </method>
       <method name="GetAttachmentPositionEdge" type="bool" overloaded="no">
-        <autodoc>GetAttachmentPositionEdge(int attachment, double OUTPUT, double OUTPUT, int nth=0, 
+        <autodoc>GetAttachmentPositionEdge(self, int attachment, double OUTPUT, double OUTPUT, int nth=0, 
     int no_arcs=1, PyLineShape line=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
     int no_arcs=1, PyLineShape line=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
@@ -29756,7 +32790,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no">
         </paramlist>
       </method>
       <method name="CalcSimpleAttachment" type="RealPoint" overloaded="no">
-        <autodoc>CalcSimpleAttachment(RealPoint pt1, RealPoint pt2, int nth, int noArcs, 
+        <autodoc>CalcSimpleAttachment(self, RealPoint pt1, RealPoint pt2, int nth, int noArcs, 
     PyLineShape line) -&gt; RealPoint</autodoc>
         <paramlist>
           <param name="pt1" type="RealPoint" default=""/>
     PyLineShape line) -&gt; RealPoint</autodoc>
         <paramlist>
           <param name="pt1" type="RealPoint" default=""/>
@@ -29767,7 +32801,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="AttachmentSortTest" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="AttachmentSortTest" type="bool" overloaded="no">
-        <autodoc>AttachmentSortTest(int attachmentPoint, RealPoint pt1, RealPoint pt2) -&gt; bool</autodoc>
+        <autodoc>AttachmentSortTest(self, int attachmentPoint, RealPoint pt1, RealPoint pt2) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachmentPoint" type="int" default=""/>
           <param name="pt1" type="RealPoint" default=""/>
         <paramlist>
           <param name="attachmentPoint" type="int" default=""/>
           <param name="pt1" type="RealPoint" default=""/>
@@ -29775,7 +32809,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="EraseLinks" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="EraseLinks" type="" overloaded="no">
-        <autodoc>EraseLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc>
+        <autodoc>EraseLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="attachment" type="int" default="-1"/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="attachment" type="int" default="-1"/>
@@ -29783,7 +32817,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="DrawLinks" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawLinks" type="" overloaded="no">
-        <autodoc>DrawLinks(DC dc, int attachment=-1, bool recurse=False)</autodoc>
+        <autodoc>DrawLinks(self, DC dc, int attachment=-1, bool recurse=False)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="attachment" type="int" default="-1"/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="attachment" type="int" default="-1"/>
@@ -29791,7 +32825,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="MoveLineToNewAttachment" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="MoveLineToNewAttachment" type="bool" overloaded="no">
-        <autodoc>MoveLineToNewAttachment(DC dc, PyLineShape to_move, double x, double y) -&gt; bool</autodoc>
+        <autodoc>MoveLineToNewAttachment(self, DC dc, PyLineShape to_move, double x, double y) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="to_move" type="wxPyLineShape" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="to_move" type="wxPyLineShape" default=""/>
@@ -29800,19 +32834,19 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="ApplyAttachmentOrdering" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="ApplyAttachmentOrdering" type="" overloaded="no">
-        <autodoc>ApplyAttachmentOrdering(PyObject linesToSort)</autodoc>
+        <autodoc>ApplyAttachmentOrdering(self, PyObject linesToSort)</autodoc>
         <paramlist>
           <param name="linesToSort" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no">
         <paramlist>
           <param name="linesToSort" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchingAttachmentRoot" type="RealPoint" overloaded="no">
-        <autodoc>GetBranchingAttachmentRoot(int attachment) -&gt; RealPoint</autodoc>
+        <autodoc>GetBranchingAttachmentRoot(self, int attachment) -&gt; RealPoint</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no">
         <paramlist>
           <param name="attachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchingAttachmentInfo" type="bool" overloaded="no">
-        <autodoc>GetBranchingAttachmentInfo(int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, 
+        <autodoc>GetBranchingAttachmentInfo(self, int attachment, RealPoint root, RealPoint neck, RealPoint shoulder1, 
     RealPoint shoulder2) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
     RealPoint shoulder2) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
@@ -29823,7 +32857,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBranchingAttachmentPoint" type="bool" overloaded="no">
-        <autodoc>GetBranchingAttachmentPoint(int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -&gt; bool</autodoc>
+        <autodoc>GetBranchingAttachmentPoint(self, int attachment, int n, RealPoint attachmentPoint, RealPoint stemPoint) -&gt; bool</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
           <param name="n" type="int" default=""/>
         <paramlist>
           <param name="attachment" type="int" default=""/>
           <param name="n" type="int" default=""/>
@@ -29832,89 +32866,89 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetAttachmentLineCount" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAttachmentLineCount" type="int" overloaded="no">
-        <autodoc>GetAttachmentLineCount(int attachment) -&gt; int</autodoc>
+        <autodoc>GetAttachmentLineCount(self, int attachment) -&gt; int</autodoc>
         <paramlist>
           <param name="attachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetBranchNeckLength" type="" overloaded="no">
         <paramlist>
           <param name="attachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetBranchNeckLength" type="" overloaded="no">
-        <autodoc>SetBranchNeckLength(int len)</autodoc>
+        <autodoc>SetBranchNeckLength(self, int len)</autodoc>
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchNeckLength" type="int" overloaded="no">
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchNeckLength" type="int" overloaded="no">
-        <autodoc>GetBranchNeckLength() -&gt; int</autodoc>
+        <autodoc>GetBranchNeckLength(self) -&gt; int</autodoc>
       </method>
       <method name="SetBranchStemLength" type="" overloaded="no">
       </method>
       <method name="SetBranchStemLength" type="" overloaded="no">
-        <autodoc>SetBranchStemLength(int len)</autodoc>
+        <autodoc>SetBranchStemLength(self, int len)</autodoc>
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchStemLength" type="int" overloaded="no">
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchStemLength" type="int" overloaded="no">
-        <autodoc>GetBranchStemLength() -&gt; int</autodoc>
+        <autodoc>GetBranchStemLength(self) -&gt; int</autodoc>
       </method>
       <method name="SetBranchSpacing" type="" overloaded="no">
       </method>
       <method name="SetBranchSpacing" type="" overloaded="no">
-        <autodoc>SetBranchSpacing(int len)</autodoc>
+        <autodoc>SetBranchSpacing(self, int len)</autodoc>
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchSpacing" type="int" overloaded="no">
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchSpacing" type="int" overloaded="no">
-        <autodoc>GetBranchSpacing() -&gt; int</autodoc>
+        <autodoc>GetBranchSpacing(self) -&gt; int</autodoc>
       </method>
       <method name="SetBranchStyle" type="" overloaded="no">
       </method>
       <method name="SetBranchStyle" type="" overloaded="no">
-        <autodoc>SetBranchStyle(long style)</autodoc>
+        <autodoc>SetBranchStyle(self, long style)</autodoc>
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchStyle" type="long" overloaded="no">
         <paramlist>
           <param name="style" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetBranchStyle" type="long" overloaded="no">
-        <autodoc>GetBranchStyle() -&gt; long</autodoc>
+        <autodoc>GetBranchStyle(self) -&gt; long</autodoc>
       </method>
       <method name="PhysicalToLogicalAttachment" type="int" overloaded="no">
       </method>
       <method name="PhysicalToLogicalAttachment" type="int" overloaded="no">
-        <autodoc>PhysicalToLogicalAttachment(int physicalAttachment) -&gt; int</autodoc>
+        <autodoc>PhysicalToLogicalAttachment(self, int physicalAttachment) -&gt; int</autodoc>
         <paramlist>
           <param name="physicalAttachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToPhysicalAttachment" type="int" overloaded="no">
         <paramlist>
           <param name="physicalAttachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LogicalToPhysicalAttachment" type="int" overloaded="no">
-        <autodoc>LogicalToPhysicalAttachment(int logicalAttachment) -&gt; int</autodoc>
+        <autodoc>LogicalToPhysicalAttachment(self, int logicalAttachment) -&gt; int</autodoc>
         <paramlist>
           <param name="logicalAttachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Draggable" type="bool" overloaded="no">
         <paramlist>
           <param name="logicalAttachment" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Draggable" type="bool" overloaded="no">
-        <autodoc>Draggable() -&gt; bool</autodoc>
+        <autodoc>Draggable(self) -&gt; bool</autodoc>
       </method>
       <method name="HasDescendant" type="bool" overloaded="no">
       </method>
       <method name="HasDescendant" type="bool" overloaded="no">
-        <autodoc>HasDescendant(PyShape image) -&gt; bool</autodoc>
+        <autodoc>HasDescendant(self, PyShape image) -&gt; bool</autodoc>
         <paramlist>
           <param name="image" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="CreateNewCopy" type="PyShape" overloaded="no">
         <paramlist>
           <param name="image" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="CreateNewCopy" type="PyShape" overloaded="no">
-        <autodoc>CreateNewCopy(bool resetMapping=True, bool recompute=True) -&gt; PyShape</autodoc>
+        <autodoc>CreateNewCopy(self, bool resetMapping=True, bool recompute=True) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="resetMapping" type="bool" default="True"/>
           <param name="recompute" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Copy" type="" overloaded="no">
         <paramlist>
           <param name="resetMapping" type="bool" default="True"/>
           <param name="recompute" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="Copy" type="" overloaded="no">
-        <autodoc>Copy(PyShape copy)</autodoc>
+        <autodoc>Copy(self, PyShape copy)</autodoc>
         <paramlist>
           <param name="copy" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="CopyWithHandler" type="" overloaded="no">
         <paramlist>
           <param name="copy" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="CopyWithHandler" type="" overloaded="no">
-        <autodoc>CopyWithHandler(PyShape copy)</autodoc>
+        <autodoc>CopyWithHandler(self, PyShape copy)</autodoc>
         <paramlist>
           <param name="copy" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="Rotate" type="" overloaded="no">
         <paramlist>
           <param name="copy" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="Rotate" type="" overloaded="no">
-        <autodoc>Rotate(double x, double y, double theta)</autodoc>
+        <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -29922,83 +32956,83 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetRotation" type="double" overloaded="no">
         </paramlist>
       </method>
       <method name="GetRotation" type="double" overloaded="no">
-        <autodoc>GetRotation() -&gt; double</autodoc>
+        <autodoc>GetRotation(self) -&gt; double</autodoc>
       </method>
       <method name="SetRotation" type="" overloaded="no">
       </method>
       <method name="SetRotation" type="" overloaded="no">
-        <autodoc>SetRotation(double rotation)</autodoc>
+        <autodoc>SetRotation(self, double rotation)</autodoc>
         <paramlist>
           <param name="rotation" type="double" default=""/>
         </paramlist>
       </method>
       <method name="ClearAttachments" type="" overloaded="no">
         <paramlist>
           <param name="rotation" type="double" default=""/>
         </paramlist>
       </method>
       <method name="ClearAttachments" type="" overloaded="no">
-        <autodoc>ClearAttachments()</autodoc>
+        <autodoc>ClearAttachments(self)</autodoc>
       </method>
       <method name="Recentre" type="" overloaded="no">
       </method>
       <method name="Recentre" type="" overloaded="no">
-        <autodoc>Recentre(DC dc)</autodoc>
+        <autodoc>Recentre(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="ClearPointList" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="ClearPointList" type="" overloaded="no">
-        <autodoc>ClearPointList(wxList list)</autodoc>
+        <autodoc>ClearPointList(self, wxList list)</autodoc>
         <paramlist>
           <param name="list" type="wxList" default=""/>
         </paramlist>
       </method>
       <method name="GetBackgroundPen" type="Pen" overloaded="no">
         <paramlist>
           <param name="list" type="wxList" default=""/>
         </paramlist>
       </method>
       <method name="GetBackgroundPen" type="Pen" overloaded="no">
-        <autodoc>GetBackgroundPen() -&gt; wxPen</autodoc>
+        <autodoc>GetBackgroundPen(self) -&gt; wxPen</autodoc>
       </method>
       <method name="GetBackgroundBrush" type="Brush" overloaded="no">
       </method>
       <method name="GetBackgroundBrush" type="Brush" overloaded="no">
-        <autodoc>GetBackgroundBrush() -&gt; wxBrush</autodoc>
+        <autodoc>GetBackgroundBrush(self) -&gt; wxBrush</autodoc>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=False)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=False)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30007,7 +33041,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30016,7 +33050,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30025,14 +33059,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -30044,7 +33078,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -30056,7 +33090,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -30066,7 +33100,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30075,7 +33109,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30084,7 +33118,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -30094,7 +33128,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30103,7 +33137,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30112,7 +33146,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -30122,26 +33156,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -30153,7 +33187,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -30164,7 +33198,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -30175,14 +33209,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -30192,13 +33226,13 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl">
       <baseclass name="Object"/>
       <constructor name="PseudoMetaFile" overloaded="no">
     <class name="PseudoMetaFile" oldname="wxPseudoMetaFile" module="ogl">
       <baseclass name="Object"/>
       <constructor name="PseudoMetaFile" overloaded="no">
-        <autodoc>__init__() -&gt; PseudoMetaFile</autodoc>
+        <autodoc>__init__(self) -&gt; PseudoMetaFile</autodoc>
       </constructor>
       <destructor name="~wxPseudoMetaFile" overloaded="no">
       </constructor>
       <destructor name="~wxPseudoMetaFile" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Draw" type="" overloaded="no">
       </destructor>
       <method name="Draw" type="" overloaded="no">
-        <autodoc>Draw(DC dc, double xoffset, double yoffset)</autodoc>
+        <autodoc>Draw(self, DC dc, double xoffset, double yoffset)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="xoffset" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="xoffset" type="double" default=""/>
@@ -30206,37 +33240,37 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="Copy" type="" overloaded="no">
       </method>
       <method name="Copy" type="" overloaded="no">
-        <autodoc>Copy(PseudoMetaFile copy)</autodoc>
+        <autodoc>Copy(self, PseudoMetaFile copy)</autodoc>
         <paramlist>
           <param name="copy" type="PseudoMetaFile" default=""/>
         </paramlist>
       </method>
       <method name="Scale" type="" overloaded="no">
         <paramlist>
           <param name="copy" type="PseudoMetaFile" default=""/>
         </paramlist>
       </method>
       <method name="Scale" type="" overloaded="no">
-        <autodoc>Scale(double sx, double sy)</autodoc>
+        <autodoc>Scale(self, double sx, double sy)</autodoc>
         <paramlist>
           <param name="sx" type="double" default=""/>
           <param name="sy" type="double" default=""/>
         </paramlist>
       </method>
       <method name="ScaleTo" type="" overloaded="no">
         <paramlist>
           <param name="sx" type="double" default=""/>
           <param name="sy" type="double" default=""/>
         </paramlist>
       </method>
       <method name="ScaleTo" type="" overloaded="no">
-        <autodoc>ScaleTo(double w, double h)</autodoc>
+        <autodoc>ScaleTo(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Translate" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Translate" type="" overloaded="no">
-        <autodoc>Translate(double x, double y)</autodoc>
+        <autodoc>Translate(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Rotate" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Rotate" type="" overloaded="no">
-        <autodoc>Rotate(double x, double y, double theta)</autodoc>
+        <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30244,7 +33278,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="LoadFromMetaFile" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadFromMetaFile" type="bool" overloaded="no">
-        <autodoc>LoadFromMetaFile(String filename, double width, double height) -&gt; bool</autodoc>
+        <autodoc>LoadFromMetaFile(self, String filename, double width, double height) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="width" type="double" default=""/>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="width" type="double" default=""/>
@@ -30252,7 +33286,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetBounds" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBounds" type="" overloaded="no">
-        <autodoc>GetBounds(double minX, double minY, double maxX, double maxY)</autodoc>
+        <autodoc>GetBounds(self, double minX, double minY, double maxX, double maxY)</autodoc>
         <paramlist>
           <param name="minX" type="double" default=""/>
           <param name="minY" type="double" default=""/>
         <paramlist>
           <param name="minX" type="double" default=""/>
           <param name="minY" type="double" default=""/>
@@ -30261,79 +33295,79 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
-        <autodoc>CalculateSize(PyDrawnShape shape)</autodoc>
+        <autodoc>CalculateSize(self, PyDrawnShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="wxPyDrawnShape" default=""/>
         </paramlist>
       </method>
       <method name="SetRotateable" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="wxPyDrawnShape" default=""/>
         </paramlist>
       </method>
       <method name="SetRotateable" type="" overloaded="no">
-        <autodoc>SetRotateable(bool rot)</autodoc>
+        <autodoc>SetRotateable(self, bool rot)</autodoc>
         <paramlist>
           <param name="rot" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetRotateable" type="bool" overloaded="no">
         <paramlist>
           <param name="rot" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetRotateable" type="bool" overloaded="no">
-        <autodoc>GetRotateable() -&gt; bool</autodoc>
+        <autodoc>GetRotateable(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSize" type="" overloaded="no">
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(double w, double h)</autodoc>
+        <autodoc>SetSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetFillBrush" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetFillBrush" type="" overloaded="no">
-        <autodoc>SetFillBrush(wxBrush brush)</autodoc>
+        <autodoc>SetFillBrush(self, wxBrush brush)</autodoc>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="GetFillBrush" type="Brush" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
         </paramlist>
       </method>
       <method name="GetFillBrush" type="Brush" overloaded="no">
-        <autodoc>GetFillBrush() -&gt; wxBrush</autodoc>
+        <autodoc>GetFillBrush(self) -&gt; wxBrush</autodoc>
       </method>
       <method name="SetOutlinePen" type="" overloaded="no">
       </method>
       <method name="SetOutlinePen" type="" overloaded="no">
-        <autodoc>SetOutlinePen(wxPen pen)</autodoc>
+        <autodoc>SetOutlinePen(self, wxPen pen)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="GetOutlinePen" type="Pen" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="GetOutlinePen" type="Pen" overloaded="no">
-        <autodoc>GetOutlinePen() -&gt; wxPen</autodoc>
+        <autodoc>GetOutlinePen(self) -&gt; wxPen</autodoc>
       </method>
       <method name="SetOutlineOp" type="" overloaded="no">
       </method>
       <method name="SetOutlineOp" type="" overloaded="no">
-        <autodoc>SetOutlineOp(int op)</autodoc>
+        <autodoc>SetOutlineOp(self, int op)</autodoc>
         <paramlist>
           <param name="op" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetOutlineOp" type="int" overloaded="no">
         <paramlist>
           <param name="op" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetOutlineOp" type="int" overloaded="no">
-        <autodoc>GetOutlineOp() -&gt; int</autodoc>
+        <autodoc>GetOutlineOp(self) -&gt; int</autodoc>
       </method>
       <method name="IsValid" type="bool" overloaded="no">
       </method>
       <method name="IsValid" type="bool" overloaded="no">
-        <autodoc>IsValid() -&gt; bool</autodoc>
+        <autodoc>IsValid(self) -&gt; bool</autodoc>
       </method>
       <method name="DrawLine" type="" overloaded="no">
       </method>
       <method name="DrawLine" type="" overloaded="no">
-        <autodoc>DrawLine(Point pt1, Point pt2)</autodoc>
+        <autodoc>DrawLine(self, Point pt1, Point pt2)</autodoc>
         <paramlist>
           <param name="pt1" type="Point" default=""/>
           <param name="pt2" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawRectangle" type="" overloaded="no">
         <paramlist>
           <param name="pt1" type="Point" default=""/>
           <param name="pt2" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawRectangle" type="" overloaded="no">
-        <autodoc>DrawRectangle(Rect rect)</autodoc>
+        <autodoc>DrawRectangle(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DrawRoundedRectangle" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DrawRoundedRectangle" type="" overloaded="no">
-        <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc>
+        <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="DrawArc" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="DrawArc" type="" overloaded="no">
-        <autodoc>DrawArc(Point centrePt, Point startPt, Point endPt)</autodoc>
+        <autodoc>DrawArc(self, Point centrePt, Point startPt, Point endPt)</autodoc>
         <paramlist>
           <param name="centrePt" type="Point" default=""/>
           <param name="startPt" type="Point" default=""/>
         <paramlist>
           <param name="centrePt" type="Point" default=""/>
           <param name="startPt" type="Point" default=""/>
@@ -30341,7 +33375,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="DrawEllipticArc" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawEllipticArc" type="" overloaded="no">
-        <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc>
+        <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="startAngle" type="double" default=""/>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="startAngle" type="double" default=""/>
@@ -30349,89 +33383,89 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="DrawEllipse" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawEllipse" type="" overloaded="no">
-        <autodoc>DrawEllipse(Rect rect)</autodoc>
+        <autodoc>DrawEllipse(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DrawPoint" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DrawPoint" type="" overloaded="no">
-        <autodoc>DrawPoint(Point pt)</autodoc>
+        <autodoc>DrawPoint(self, Point pt)</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawText" type="" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawText" type="" overloaded="no">
-        <autodoc>DrawText(String text, Point pt)</autodoc>
+        <autodoc>DrawText(self, String text, Point pt)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawLines" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawLines" type="" overloaded="no">
-        <autodoc>DrawLines(int PCOUNT, Point points)</autodoc>
+        <autodoc>DrawLines(self, int points, Point points_array)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="PCOUNT" type="int" default=""/>
-          <param name="points" type="Point" default=""/>
+          <param name="points" type="int" default=""/>
+          <param name="points_array" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawPolygon" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawPolygon" type="" overloaded="no">
-        <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc>
+        <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="PCOUNT" type="int" default=""/>
-          <param name="points" type="Point" default=""/>
+          <param name="points" type="int" default=""/>
+          <param name="points_array" type="Point" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="DrawSpline" type="" overloaded="no">
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="DrawSpline" type="" overloaded="no">
-        <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc>
+        <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="PCOUNT" type="int" default=""/>
-          <param name="points" type="Point" default=""/>
+          <param name="points" type="int" default=""/>
+          <param name="points_array" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="SetClippingRect" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetClippingRect" type="" overloaded="no">
-        <autodoc>SetClippingRect(Rect rect)</autodoc>
+        <autodoc>SetClippingRect(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DestroyClippingRect" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DestroyClippingRect" type="" overloaded="no">
-        <autodoc>DestroyClippingRect()</autodoc>
+        <autodoc>DestroyClippingRect(self)</autodoc>
       </method>
       <method name="SetPen" type="" overloaded="no">
       </method>
       <method name="SetPen" type="" overloaded="no">
-        <autodoc>SetPen(wxPen pen, bool isOutline=FALSE)</autodoc>
+        <autodoc>SetPen(self, wxPen pen, bool isOutline=FALSE)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
           <param name="isOutline" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetBrush" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
           <param name="isOutline" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetBrush" type="" overloaded="no">
-        <autodoc>SetBrush(wxBrush brush, bool isFill=FALSE)</autodoc>
+        <autodoc>SetBrush(self, wxBrush brush, bool isFill=FALSE)</autodoc>
         <paramlist>
           <param name="brush" type="Brush" default=""/>
           <param name="isFill" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
         <paramlist>
           <param name="brush" type="Brush" default=""/>
           <param name="isFill" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetFont" type="" overloaded="no">
-        <autodoc>SetFont(Font font)</autodoc>
+        <autodoc>SetFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetTextColour" type="" overloaded="no">
-        <autodoc>SetTextColour(Colour colour)</autodoc>
+        <autodoc>SetTextColour(self, Colour colour)</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundColour" type="" overloaded="no">
-        <autodoc>SetBackgroundColour(Colour colour)</autodoc>
+        <autodoc>SetBackgroundColour(self, Colour colour)</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundMode" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetBackgroundMode" type="" overloaded="no">
-        <autodoc>SetBackgroundMode(int mode)</autodoc>
+        <autodoc>SetBackgroundMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
@@ -30440,76 +33474,76 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyRectangleShape" overloaded="no">
     <class name="PyRectangleShape" oldname="wxPyRectangleShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyRectangleShape" overloaded="no">
-        <autodoc>__init__(double width=0.0, double height=0.0) -&gt; PyRectangleShape</autodoc>
+        <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyRectangleShape</autodoc>
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetCornerRadius" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetCornerRadius" type="" overloaded="no">
-        <autodoc>SetCornerRadius(double radius)</autodoc>
+        <autodoc>SetCornerRadius(self, double radius)</autodoc>
         <paramlist>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetCornerRadius" type="double" overloaded="no">
         <paramlist>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetCornerRadius" type="double" overloaded="no">
-        <autodoc>GetCornerRadius() -&gt; double</autodoc>
+        <autodoc>GetCornerRadius(self) -&gt; double</autodoc>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30518,7 +33552,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30527,7 +33561,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30536,14 +33570,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -30555,7 +33589,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -30567,7 +33601,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -30577,7 +33611,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30586,7 +33620,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30595,7 +33629,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -30605,7 +33639,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30614,7 +33648,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30623,7 +33657,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -30633,26 +33667,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -30664,7 +33698,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -30675,7 +33709,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="wxPyControlPoint" default=""/>
@@ -30686,14 +33720,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -30703,7 +33737,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyControlPoint" overloaded="no">
     <class name="PyControlPoint" oldname="wxPyControlPoint" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyControlPoint" overloaded="no">
-        <autodoc>__init__(PyShapeCanvas the_canvas=None, PyShape object=None, 
+        <autodoc>__init__(self, PyShapeCanvas the_canvas=None, PyShape object=None, 
     double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, 
     int the_type=0) -&gt; PyControlPoint</autodoc>
         <paramlist>
     double size=0.0, double the_xoffset=0.0, double the_yoffset=0.0, 
     int the_type=0) -&gt; PyControlPoint</autodoc>
         <paramlist>
@@ -30716,66 +33750,66 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetCornerRadius" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetCornerRadius" type="" overloaded="no">
-        <autodoc>SetCornerRadius(double radius)</autodoc>
+        <autodoc>SetCornerRadius(self, double radius)</autodoc>
         <paramlist>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
         <paramlist>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30784,7 +33818,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30793,7 +33827,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30802,14 +33836,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -30821,7 +33855,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -30833,7 +33867,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -30843,7 +33877,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30852,7 +33886,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30861,7 +33895,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -30871,7 +33905,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30880,7 +33914,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -30889,7 +33923,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -30899,26 +33933,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -30930,7 +33964,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -30941,7 +33975,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -30952,14 +33986,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -30969,81 +34003,81 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyBitmapShape" overloaded="no">
     <class name="PyBitmapShape" oldname="wxPyBitmapShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyBitmapShape" overloaded="no">
-        <autodoc>__init__() -&gt; PyBitmapShape</autodoc>
+        <autodoc>__init__(self) -&gt; PyBitmapShape</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap() -&gt; Bitmap</autodoc>
+        <autodoc>GetBitmap(self) -&gt; Bitmap</autodoc>
       </method>
       <method name="GetFilename" type="String" overloaded="no">
       </method>
       <method name="GetFilename" type="String" overloaded="no">
-        <autodoc>GetFilename() -&gt; String</autodoc>
+        <autodoc>GetFilename(self) -&gt; String</autodoc>
       </method>
       <method name="SetBitmap" type="" overloaded="no">
       </method>
       <method name="SetBitmap" type="" overloaded="no">
-        <autodoc>SetBitmap(Bitmap bitmap)</autodoc>
+        <autodoc>SetBitmap(self, Bitmap bitmap)</autodoc>
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetFilename" type="" overloaded="no">
         <paramlist>
           <param name="bitmap" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetFilename" type="" overloaded="no">
-        <autodoc>SetFilename(String filename)</autodoc>
+        <autodoc>SetFilename(self, String filename)</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31052,7 +34086,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31061,7 +34095,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31070,14 +34104,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -31089,7 +34123,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -31101,7 +34135,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -31111,7 +34145,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31120,7 +34154,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31129,7 +34163,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -31139,7 +34173,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31148,7 +34182,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31157,7 +34191,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -31167,26 +34201,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31198,7 +34232,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31209,7 +34243,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31220,14 +34254,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -31237,23 +34271,23 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyDrawnShape" overloaded="no">
     <class name="PyDrawnShape" oldname="wxPyDrawnShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyDrawnShape" overloaded="no">
-        <autodoc>__init__() -&gt; PyDrawnShape</autodoc>
+        <autodoc>__init__(self) -&gt; PyDrawnShape</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
-        <autodoc>CalculateSize()</autodoc>
+        <autodoc>CalculateSize(self)</autodoc>
       </method>
       <method name="DestroyClippingRect" type="" overloaded="no">
       </method>
       <method name="DestroyClippingRect" type="" overloaded="no">
-        <autodoc>DestroyClippingRect()</autodoc>
+        <autodoc>DestroyClippingRect(self)</autodoc>
       </method>
       <method name="DrawArc" type="" overloaded="no">
       </method>
       <method name="DrawArc" type="" overloaded="no">
-        <autodoc>DrawArc(Point centrePoint, Point startPoint, Point endPoint)</autodoc>
+        <autodoc>DrawArc(self, Point centrePoint, Point startPoint, Point endPoint)</autodoc>
         <paramlist>
           <param name="centrePoint" type="Point" default=""/>
           <param name="startPoint" type="Point" default=""/>
         <paramlist>
           <param name="centrePoint" type="Point" default=""/>
           <param name="startPoint" type="Point" default=""/>
@@ -31261,13 +34295,13 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="DrawAtAngle" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawAtAngle" type="" overloaded="no">
-        <autodoc>DrawAtAngle(int angle)</autodoc>
+        <autodoc>DrawAtAngle(self, int angle)</autodoc>
         <paramlist>
           <param name="angle" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DrawEllipticArc" type="" overloaded="no">
         <paramlist>
           <param name="angle" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DrawEllipticArc" type="" overloaded="no">
-        <autodoc>DrawEllipticArc(Rect rect, double startAngle, double endAngle)</autodoc>
+        <autodoc>DrawEllipticArc(self, Rect rect, double startAngle, double endAngle)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="startAngle" type="double" default=""/>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="startAngle" type="double" default=""/>
@@ -31275,77 +34309,77 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="DrawLine" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawLine" type="" overloaded="no">
-        <autodoc>DrawLine(Point point1, Point point2)</autodoc>
+        <autodoc>DrawLine(self, Point point1, Point point2)</autodoc>
         <paramlist>
           <param name="point1" type="Point" default=""/>
           <param name="point2" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawLines" type="" overloaded="no">
         <paramlist>
           <param name="point1" type="Point" default=""/>
           <param name="point2" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawLines" type="" overloaded="no">
-        <autodoc>DrawLines(int PCOUNT, Point points)</autodoc>
+        <autodoc>DrawLines(self, int points, Point points_array)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="PCOUNT" type="int" default=""/>
-          <param name="points" type="Point" default=""/>
+          <param name="points" type="int" default=""/>
+          <param name="points_array" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawPoint" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawPoint" type="" overloaded="no">
-        <autodoc>DrawPoint(Point point)</autodoc>
+        <autodoc>DrawPoint(self, Point point)</autodoc>
         <paramlist>
           <param name="point" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawPolygon" type="" overloaded="no">
         <paramlist>
           <param name="point" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawPolygon" type="" overloaded="no">
-        <autodoc>DrawPolygon(int PCOUNT, Point points, int flags=0)</autodoc>
+        <autodoc>DrawPolygon(self, int points, Point points_array, int flags=0)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="PCOUNT" type="int" default=""/>
-          <param name="points" type="Point" default=""/>
+          <param name="points" type="int" default=""/>
+          <param name="points_array" type="Point" default=""/>
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="DrawRectangle" type="" overloaded="no">
           <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="DrawRectangle" type="" overloaded="no">
-        <autodoc>DrawRectangle(Rect rect)</autodoc>
+        <autodoc>DrawRectangle(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DrawRoundedRectangle" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="DrawRoundedRectangle" type="" overloaded="no">
-        <autodoc>DrawRoundedRectangle(Rect rect, double radius)</autodoc>
+        <autodoc>DrawRoundedRectangle(self, Rect rect, double radius)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="DrawSpline" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
           <param name="radius" type="double" default=""/>
         </paramlist>
       </method>
       <method name="DrawSpline" type="" overloaded="no">
-        <autodoc>DrawSpline(int PCOUNT, Point points)</autodoc>
+        <autodoc>DrawSpline(self, int points, Point points_array)</autodoc>
         <paramlist>
         <paramlist>
-          <param name="PCOUNT" type="int" default=""/>
-          <param name="points" type="Point" default=""/>
+          <param name="points" type="int" default=""/>
+          <param name="points_array" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="DrawText" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="DrawText" type="" overloaded="no">
-        <autodoc>DrawText(String text, Point point)</autodoc>
+        <autodoc>DrawText(self, String text, Point point)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="point" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetAngle" type="int" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="point" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="GetAngle" type="int" overloaded="no">
-        <autodoc>GetAngle() -&gt; int</autodoc>
+        <autodoc>GetAngle(self) -&gt; int</autodoc>
       </method>
       <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
       </method>
       <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
-        <autodoc>GetMetaFile() -&gt; PseudoMetaFile</autodoc>
+        <autodoc>GetMetaFile(self) -&gt; PseudoMetaFile</autodoc>
       </method>
       <method name="GetRotation" type="double" overloaded="no">
       </method>
       <method name="GetRotation" type="double" overloaded="no">
-        <autodoc>GetRotation() -&gt; double</autodoc>
+        <autodoc>GetRotation(self) -&gt; double</autodoc>
       </method>
       <method name="LoadFromMetaFile" type="bool" overloaded="no">
       </method>
       <method name="LoadFromMetaFile" type="bool" overloaded="no">
-        <autodoc>LoadFromMetaFile(String filename) -&gt; bool</autodoc>
+        <autodoc>LoadFromMetaFile(self, String filename) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Rotate" type="" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="Rotate" type="" overloaded="no">
-        <autodoc>Rotate(double x, double y, double theta)</autodoc>
+        <autodoc>Rotate(self, double x, double y, double theta)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31353,117 +34387,117 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="SetClippingRect" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetClippingRect" type="" overloaded="no">
-        <autodoc>SetClippingRect(Rect rect)</autodoc>
+        <autodoc>SetClippingRect(self, Rect rect)</autodoc>
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnBackgroundColour" type="" overloaded="no">
         <paramlist>
           <param name="rect" type="Rect" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnBackgroundColour" type="" overloaded="no">
-        <autodoc>SetDrawnBackgroundColour(Colour colour)</autodoc>
+        <autodoc>SetDrawnBackgroundColour(self, Colour colour)</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnBackgroundMode" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnBackgroundMode" type="" overloaded="no">
-        <autodoc>SetDrawnBackgroundMode(int mode)</autodoc>
+        <autodoc>SetDrawnBackgroundMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnBrush" type="" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnBrush" type="" overloaded="no">
-        <autodoc>SetDrawnBrush(wxBrush pen, bool isOutline=FALSE)</autodoc>
+        <autodoc>SetDrawnBrush(self, wxBrush pen, bool isOutline=FALSE)</autodoc>
         <paramlist>
           <param name="pen" type="Brush" default=""/>
           <param name="isOutline" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetDrawnFont" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Brush" default=""/>
           <param name="isOutline" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetDrawnFont" type="" overloaded="no">
-        <autodoc>SetDrawnFont(Font font)</autodoc>
+        <autodoc>SetDrawnFont(self, Font font)</autodoc>
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnPen" type="" overloaded="no">
         <paramlist>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="SetDrawnPen" type="" overloaded="no">
-        <autodoc>SetDrawnPen(wxPen pen, bool isOutline=FALSE)</autodoc>
+        <autodoc>SetDrawnPen(self, wxPen pen, bool isOutline=FALSE)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
           <param name="isOutline" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetDrawnTextColour" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
           <param name="isOutline" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="SetDrawnTextColour" type="" overloaded="no">
-        <autodoc>SetDrawnTextColour(Colour colour)</autodoc>
+        <autodoc>SetDrawnTextColour(self, Colour colour)</autodoc>
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="Scale" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="Scale" type="" overloaded="no">
-        <autodoc>Scale(double sx, double sy)</autodoc>
+        <autodoc>Scale(self, double sx, double sy)</autodoc>
         <paramlist>
           <param name="sx" type="double" default=""/>
           <param name="sy" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetSaveToFile" type="" overloaded="no">
         <paramlist>
           <param name="sx" type="double" default=""/>
           <param name="sy" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetSaveToFile" type="" overloaded="no">
-        <autodoc>SetSaveToFile(bool save)</autodoc>
+        <autodoc>SetSaveToFile(self, bool save)</autodoc>
         <paramlist>
           <param name="save" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Translate" type="" overloaded="no">
         <paramlist>
           <param name="save" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Translate" type="" overloaded="no">
-        <autodoc>Translate(double x, double y)</autodoc>
+        <autodoc>Translate(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31472,7 +34506,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31481,7 +34515,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31490,14 +34524,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -31509,7 +34543,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -31521,7 +34555,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -31531,7 +34565,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31540,7 +34574,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31549,7 +34583,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -31559,7 +34593,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31568,7 +34602,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31577,7 +34611,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -31587,26 +34621,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31618,7 +34652,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31629,7 +34663,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31640,14 +34674,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -31657,7 +34691,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl">
       <baseclass name="Object"/>
       <constructor name="OGLConstraint" overloaded="no">
     <class name="OGLConstraint" oldname="wxOGLConstraint" module="ogl">
       <baseclass name="Object"/>
       <constructor name="OGLConstraint" overloaded="no">
-        <autodoc>__init__(int type, PyShape constraining, PyObject constrained) -&gt; OGLConstraint</autodoc>
+        <autodoc>__init__(self, int type, PyShape constraining, PyObject constrained) -&gt; OGLConstraint</autodoc>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="constraining" type="PyShape" default=""/>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="constraining" type="PyShape" default=""/>
@@ -31665,17 +34699,17 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <method name="Evaluate" type="bool" overloaded="no">
         </paramlist>
       </constructor>
       <method name="Evaluate" type="bool" overloaded="no">
-        <autodoc>Evaluate() -&gt; bool</autodoc>
+        <autodoc>Evaluate(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSpacing" type="" overloaded="no">
       </method>
       <method name="SetSpacing" type="" overloaded="no">
-        <autodoc>SetSpacing(double x, double y)</autodoc>
+        <autodoc>SetSpacing(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Equals" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="Equals" type="bool" overloaded="no">
-        <autodoc>Equals(double a, double b) -&gt; bool</autodoc>
+        <autodoc>Equals(self, double a, double b) -&gt; bool</autodoc>
         <paramlist>
           <param name="a" type="double" default=""/>
           <param name="b" type="double" default=""/>
         <paramlist>
           <param name="a" type="double" default=""/>
           <param name="b" type="double" default=""/>
@@ -31685,30 +34719,30 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyCompositeShape" overloaded="no">
     <class name="PyCompositeShape" oldname="wxPyCompositeShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyCompositeShape" overloaded="no">
-        <autodoc>__init__() -&gt; PyCompositeShape</autodoc>
+        <autodoc>__init__(self) -&gt; PyCompositeShape</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddChild" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddChild" type="" overloaded="no">
-        <autodoc>AddChild(PyShape child, PyShape addAfter=None)</autodoc>
+        <autodoc>AddChild(self, PyShape child, PyShape addAfter=None)</autodoc>
         <paramlist>
           <param name="child" type="PyShape" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="AddConstraint" type="OGLConstraint" overloaded="no">
         <paramlist>
           <param name="child" type="PyShape" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="AddConstraint" type="OGLConstraint" overloaded="no">
-        <autodoc>AddConstraint(OGLConstraint constraint) -&gt; OGLConstraint</autodoc>
+        <autodoc>AddConstraint(self, OGLConstraint constraint) -&gt; OGLConstraint</autodoc>
         <paramlist>
           <param name="constraint" type="OGLConstraint" default=""/>
         </paramlist>
       </method>
       <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no">
         <paramlist>
           <param name="constraint" type="OGLConstraint" default=""/>
         </paramlist>
       </method>
       <method name="AddConstrainedShapes" type="OGLConstraint" overloaded="no">
-        <autodoc>AddConstrainedShapes(int type, PyShape constraining, PyObject constrained) -&gt; OGLConstraint</autodoc>
+        <autodoc>AddConstrainedShapes(self, int type, PyShape constraining, PyObject constrained) -&gt; OGLConstraint</autodoc>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="constraining" type="PyShape" default=""/>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="constraining" type="PyShape" default=""/>
@@ -31716,7 +34750,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no">
         </paramlist>
       </method>
       <method name="AddSimpleConstraint" type="OGLConstraint" overloaded="no">
-        <autodoc>AddSimpleConstraint(int type, PyShape constraining, PyShape constrained) -&gt; OGLConstraint</autodoc>
+        <autodoc>AddSimpleConstraint(self, int type, PyShape constraining, PyShape constrained) -&gt; OGLConstraint</autodoc>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="constraining" type="PyShape" default=""/>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="constraining" type="PyShape" default=""/>
@@ -31724,95 +34758,95 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="CalculateSize" type="" overloaded="no">
-        <autodoc>CalculateSize()</autodoc>
+        <autodoc>CalculateSize(self)</autodoc>
       </method>
       <method name="ContainsDivision" type="bool" overloaded="no">
       </method>
       <method name="ContainsDivision" type="bool" overloaded="no">
-        <autodoc>ContainsDivision(PyDivisionShape division) -&gt; bool</autodoc>
+        <autodoc>ContainsDivision(self, PyDivisionShape division) -&gt; bool</autodoc>
         <paramlist>
           <param name="division" type="wxPyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="DeleteConstraint" type="" overloaded="no">
         <paramlist>
           <param name="division" type="wxPyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="DeleteConstraint" type="" overloaded="no">
-        <autodoc>DeleteConstraint(OGLConstraint constraint)</autodoc>
+        <autodoc>DeleteConstraint(self, OGLConstraint constraint)</autodoc>
         <paramlist>
           <param name="constraint" type="OGLConstraint" default=""/>
         </paramlist>
       </method>
       <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no">
         <paramlist>
           <param name="constraint" type="OGLConstraint" default=""/>
         </paramlist>
       </method>
       <method name="DeleteConstraintsInvolvingChild" type="" overloaded="no">
-        <autodoc>DeleteConstraintsInvolvingChild(PyShape child)</autodoc>
+        <autodoc>DeleteConstraintsInvolvingChild(self, PyShape child)</autodoc>
         <paramlist>
           <param name="child" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="FindContainerImage" type="PyShape" overloaded="no">
         <paramlist>
           <param name="child" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="FindContainerImage" type="PyShape" overloaded="no">
-        <autodoc>FindContainerImage() -&gt; PyShape</autodoc>
+        <autodoc>FindContainerImage(self) -&gt; PyShape</autodoc>
       </method>
       <method name="GetConstraints" type="PyObject" overloaded="no">
       </method>
       <method name="GetConstraints" type="PyObject" overloaded="no">
-        <autodoc>GetConstraints() -&gt; PyObject</autodoc>
+        <autodoc>GetConstraints(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetDivisions" type="PyObject" overloaded="no">
       </method>
       <method name="GetDivisions" type="PyObject" overloaded="no">
-        <autodoc>GetDivisions() -&gt; PyObject</autodoc>
+        <autodoc>GetDivisions(self) -&gt; PyObject</autodoc>
       </method>
       <method name="MakeContainer" type="" overloaded="no">
       </method>
       <method name="MakeContainer" type="" overloaded="no">
-        <autodoc>MakeContainer()</autodoc>
+        <autodoc>MakeContainer(self)</autodoc>
       </method>
       <method name="Recompute" type="bool" overloaded="no">
       </method>
       <method name="Recompute" type="bool" overloaded="no">
-        <autodoc>Recompute() -&gt; bool</autodoc>
+        <autodoc>Recompute(self) -&gt; bool</autodoc>
       </method>
       <method name="RemoveChild" type="" overloaded="no">
       </method>
       <method name="RemoveChild" type="" overloaded="no">
-        <autodoc>RemoveChild(PyShape child)</autodoc>
+        <autodoc>RemoveChild(self, PyShape child)</autodoc>
         <paramlist>
           <param name="child" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
         <paramlist>
           <param name="child" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31821,7 +34855,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31830,7 +34864,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31839,14 +34873,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -31858,7 +34892,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -31870,7 +34904,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -31880,7 +34914,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31889,7 +34923,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31898,7 +34932,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -31908,7 +34942,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31917,7 +34951,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -31926,7 +34960,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -31936,26 +34970,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31967,7 +35001,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31978,7 +35012,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -31989,14 +35023,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -32006,73 +35040,73 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyDividedShape" overloaded="no">
     <class name="PyDividedShape" oldname="wxPyDividedShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyDividedShape" overloaded="no">
-        <autodoc>__init__(double width=0.0, double height=0.0) -&gt; PyDividedShape</autodoc>
+        <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyDividedShape</autodoc>
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="EditRegions" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="EditRegions" type="" overloaded="no">
-        <autodoc>EditRegions()</autodoc>
+        <autodoc>EditRegions(self)</autodoc>
       </method>
       <method name="SetRegionSizes" type="" overloaded="no">
       </method>
       <method name="SetRegionSizes" type="" overloaded="no">
-        <autodoc>SetRegionSizes()</autodoc>
+        <autodoc>SetRegionSizes(self)</autodoc>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32081,7 +35115,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32090,7 +35124,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32099,14 +35133,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -32118,7 +35152,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -32130,7 +35164,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -32140,7 +35174,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32149,7 +35183,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32158,7 +35192,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -32168,7 +35202,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32177,7 +35211,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32186,7 +35220,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -32196,26 +35230,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32227,7 +35261,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32238,7 +35272,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32249,14 +35283,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -32266,81 +35300,81 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl">
       <baseclass name="PyCompositeShape"/>
       <constructor name="PyDivisionShape" overloaded="no">
     <class name="PyDivisionShape" oldname="wxPyDivisionShape" module="ogl">
       <baseclass name="PyCompositeShape"/>
       <constructor name="PyDivisionShape" overloaded="no">
-        <autodoc>__init__() -&gt; PyDivisionShape</autodoc>
+        <autodoc>__init__(self) -&gt; PyDivisionShape</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AdjustBottom" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AdjustBottom" type="" overloaded="no">
-        <autodoc>AdjustBottom(double bottom, bool test)</autodoc>
+        <autodoc>AdjustBottom(self, double bottom, bool test)</autodoc>
         <paramlist>
           <param name="bottom" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AdjustLeft" type="" overloaded="no">
         <paramlist>
           <param name="bottom" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AdjustLeft" type="" overloaded="no">
-        <autodoc>AdjustLeft(double left, bool test)</autodoc>
+        <autodoc>AdjustLeft(self, double left, bool test)</autodoc>
         <paramlist>
           <param name="left" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AdjustRight" type="" overloaded="no">
         <paramlist>
           <param name="left" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AdjustRight" type="" overloaded="no">
-        <autodoc>AdjustRight(double right, bool test)</autodoc>
+        <autodoc>AdjustRight(self, double right, bool test)</autodoc>
         <paramlist>
           <param name="right" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AdjustTop" type="" overloaded="no">
         <paramlist>
           <param name="right" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AdjustTop" type="" overloaded="no">
-        <autodoc>AdjustTop(double top, bool test)</autodoc>
+        <autodoc>AdjustTop(self, double top, bool test)</autodoc>
         <paramlist>
           <param name="top" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Divide" type="" overloaded="no">
         <paramlist>
           <param name="top" type="double" default=""/>
           <param name="test" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Divide" type="" overloaded="no">
-        <autodoc>Divide(int direction)</autodoc>
+        <autodoc>Divide(self, int direction)</autodoc>
         <paramlist>
           <param name="direction" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EditEdge" type="" overloaded="no">
         <paramlist>
           <param name="direction" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EditEdge" type="" overloaded="no">
-        <autodoc>EditEdge(int side)</autodoc>
+        <autodoc>EditEdge(self, int side)</autodoc>
         <paramlist>
           <param name="side" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBottomSide" type="PyDivisionShape" overloaded="no">
         <paramlist>
           <param name="side" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBottomSide" type="PyDivisionShape" overloaded="no">
-        <autodoc>GetBottomSide() -&gt; PyDivisionShape</autodoc>
+        <autodoc>GetBottomSide(self) -&gt; PyDivisionShape</autodoc>
       </method>
       <method name="GetHandleSide" type="int" overloaded="no">
       </method>
       <method name="GetHandleSide" type="int" overloaded="no">
-        <autodoc>GetHandleSide() -&gt; int</autodoc>
+        <autodoc>GetHandleSide(self) -&gt; int</autodoc>
       </method>
       <method name="GetLeftSide" type="PyDivisionShape" overloaded="no">
       </method>
       <method name="GetLeftSide" type="PyDivisionShape" overloaded="no">
-        <autodoc>GetLeftSide() -&gt; PyDivisionShape</autodoc>
+        <autodoc>GetLeftSide(self) -&gt; PyDivisionShape</autodoc>
       </method>
       <method name="GetLeftSideColour" type="String" overloaded="no">
       </method>
       <method name="GetLeftSideColour" type="String" overloaded="no">
-        <autodoc>GetLeftSideColour() -&gt; String</autodoc>
+        <autodoc>GetLeftSideColour(self) -&gt; String</autodoc>
       </method>
       <method name="GetLeftSidePen" type="Pen" overloaded="no">
       </method>
       <method name="GetLeftSidePen" type="Pen" overloaded="no">
-        <autodoc>GetLeftSidePen() -&gt; wxPen</autodoc>
+        <autodoc>GetLeftSidePen(self) -&gt; wxPen</autodoc>
       </method>
       <method name="GetRightSide" type="PyDivisionShape" overloaded="no">
       </method>
       <method name="GetRightSide" type="PyDivisionShape" overloaded="no">
-        <autodoc>GetRightSide() -&gt; PyDivisionShape</autodoc>
+        <autodoc>GetRightSide(self) -&gt; PyDivisionShape</autodoc>
       </method>
       <method name="GetTopSide" type="PyDivisionShape" overloaded="no">
       </method>
       <method name="GetTopSide" type="PyDivisionShape" overloaded="no">
-        <autodoc>GetTopSide() -&gt; PyDivisionShape</autodoc>
+        <autodoc>GetTopSide(self) -&gt; PyDivisionShape</autodoc>
       </method>
       <method name="GetTopSidePen" type="Pen" overloaded="no">
       </method>
       <method name="GetTopSidePen" type="Pen" overloaded="no">
-        <autodoc>GetTopSidePen() -&gt; wxPen</autodoc>
+        <autodoc>GetTopSidePen(self) -&gt; wxPen</autodoc>
       </method>
       <method name="ResizeAdjoining" type="" overloaded="no">
       </method>
       <method name="ResizeAdjoining" type="" overloaded="no">
-        <autodoc>ResizeAdjoining(int side, double newPos, bool test)</autodoc>
+        <autodoc>ResizeAdjoining(self, int side, double newPos, bool test)</autodoc>
         <paramlist>
           <param name="side" type="int" default=""/>
           <param name="newPos" type="double" default=""/>
         <paramlist>
           <param name="side" type="int" default=""/>
           <param name="newPos" type="double" default=""/>
@@ -32348,114 +35382,114 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="PopupMenu" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="PopupMenu" type="" overloaded="no">
-        <autodoc>PopupMenu(double x, double y)</autodoc>
+        <autodoc>PopupMenu(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetBottomSide" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetBottomSide" type="" overloaded="no">
-        <autodoc>SetBottomSide(PyDivisionShape shape)</autodoc>
+        <autodoc>SetBottomSide(self, PyDivisionShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetHandleSide" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetHandleSide" type="" overloaded="no">
-        <autodoc>SetHandleSide(int side)</autodoc>
+        <autodoc>SetHandleSide(self, int side)</autodoc>
         <paramlist>
           <param name="side" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftSide" type="" overloaded="no">
         <paramlist>
           <param name="side" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftSide" type="" overloaded="no">
-        <autodoc>SetLeftSide(PyDivisionShape shape)</autodoc>
+        <autodoc>SetLeftSide(self, PyDivisionShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftSideColour" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftSideColour" type="" overloaded="no">
-        <autodoc>SetLeftSideColour(String colour)</autodoc>
+        <autodoc>SetLeftSideColour(self, String colour)</autodoc>
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftSidePen" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLeftSidePen" type="" overloaded="no">
-        <autodoc>SetLeftSidePen(wxPen pen)</autodoc>
+        <autodoc>SetLeftSidePen(self, wxPen pen)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="SetRightSide" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="SetRightSide" type="" overloaded="no">
-        <autodoc>SetRightSide(PyDivisionShape shape)</autodoc>
+        <autodoc>SetRightSide(self, PyDivisionShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetTopSide" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetTopSide" type="" overloaded="no">
-        <autodoc>SetTopSide(PyDivisionShape shape)</autodoc>
+        <autodoc>SetTopSide(self, PyDivisionShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetTopSideColour" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyDivisionShape" default=""/>
         </paramlist>
       </method>
       <method name="SetTopSideColour" type="" overloaded="no">
-        <autodoc>SetTopSideColour(String colour)</autodoc>
+        <autodoc>SetTopSideColour(self, String colour)</autodoc>
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetTopSidePen" type="" overloaded="no">
         <paramlist>
           <param name="colour" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetTopSidePen" type="" overloaded="no">
-        <autodoc>SetTopSidePen(wxPen pen)</autodoc>
+        <autodoc>SetTopSidePen(self, wxPen pen)</autodoc>
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
         <paramlist>
           <param name="pen" type="Pen" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32464,7 +35498,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32473,7 +35507,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32482,14 +35516,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -32501,7 +35535,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -32513,7 +35547,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -32523,7 +35557,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32532,7 +35566,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32541,7 +35575,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -32551,7 +35585,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32560,7 +35594,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32569,7 +35603,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -32579,26 +35613,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32610,7 +35644,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32621,7 +35655,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32632,14 +35666,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -32649,64 +35683,64 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyEllipseShape" overloaded="no">
     <class name="PyEllipseShape" oldname="wxPyEllipseShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyEllipseShape" overloaded="no">
-        <autodoc>__init__(double width=0.0, double height=0.0) -&gt; PyEllipseShape</autodoc>
+        <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyEllipseShape</autodoc>
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32715,7 +35749,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32724,7 +35758,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32733,14 +35767,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -32752,7 +35786,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -32764,7 +35798,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -32774,7 +35808,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32783,7 +35817,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32792,7 +35826,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -32802,7 +35836,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32811,7 +35845,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32820,7 +35854,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -32830,26 +35864,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32861,7 +35895,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32872,7 +35906,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -32883,14 +35917,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -32900,63 +35934,63 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl">
       <baseclass name="PyEllipseShape"/>
       <constructor name="PyCircleShape" overloaded="no">
     <class name="PyCircleShape" oldname="wxPyCircleShape" module="ogl">
       <baseclass name="PyEllipseShape"/>
       <constructor name="PyCircleShape" overloaded="no">
-        <autodoc>__init__(double width=0.0) -&gt; PyCircleShape</autodoc>
+        <autodoc>__init__(self, double width=0.0) -&gt; PyCircleShape</autodoc>
         <paramlist>
           <param name="width" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="width" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32965,7 +35999,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32974,7 +36008,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -32983,14 +36017,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -33002,7 +36036,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -33014,7 +36048,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -33024,7 +36058,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33033,7 +36067,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33042,7 +36076,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -33052,7 +36086,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33061,7 +36095,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33070,7 +36104,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -33080,26 +36114,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -33111,7 +36145,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -33122,7 +36156,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -33133,14 +36167,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -33150,7 +36184,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="ArrowHead" oldname="wxArrowHead" module="ogl">
       <baseclass name="Object"/>
       <constructor name="ArrowHead" overloaded="no">
     <class name="ArrowHead" oldname="wxArrowHead" module="ogl">
       <baseclass name="Object"/>
       <constructor name="ArrowHead" overloaded="no">
-        <autodoc>__init__(int type=0, int end=0, double size=0.0, double dist=0.0, 
+        <autodoc>__init__(self, int type=0, int end=0, double size=0.0, double dist=0.0, 
     String name=EmptyString, PseudoMetaFile mf=None, 
     long arrowId=-1) -&gt; ArrowHead</autodoc>
         <paramlist>
     String name=EmptyString, PseudoMetaFile mf=None, 
     long arrowId=-1) -&gt; ArrowHead</autodoc>
         <paramlist>
@@ -33164,67 +36198,67 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <destructor name="~wxArrowHead" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxArrowHead" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="_GetType" type="int" overloaded="no">
       </destructor>
       <method name="_GetType" type="int" overloaded="no">
-        <autodoc>_GetType() -&gt; int</autodoc>
+        <autodoc>_GetType(self) -&gt; int</autodoc>
       </method>
       <method name="GetPosition" type="int" overloaded="no">
       </method>
       <method name="GetPosition" type="int" overloaded="no">
-        <autodoc>GetPosition() -&gt; int</autodoc>
+        <autodoc>GetPosition(self) -&gt; int</autodoc>
       </method>
       <method name="SetPosition" type="" overloaded="no">
       </method>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(int pos)</autodoc>
+        <autodoc>SetPosition(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetXOffset" type="double" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetXOffset" type="double" overloaded="no">
-        <autodoc>GetXOffset() -&gt; double</autodoc>
+        <autodoc>GetXOffset(self) -&gt; double</autodoc>
       </method>
       <method name="GetYOffset" type="double" overloaded="no">
       </method>
       <method name="GetYOffset" type="double" overloaded="no">
-        <autodoc>GetYOffset() -&gt; double</autodoc>
+        <autodoc>GetYOffset(self) -&gt; double</autodoc>
       </method>
       <method name="GetSpacing" type="double" overloaded="no">
       </method>
       <method name="GetSpacing" type="double" overloaded="no">
-        <autodoc>GetSpacing() -&gt; double</autodoc>
+        <autodoc>GetSpacing(self) -&gt; double</autodoc>
       </method>
       <method name="GetSize" type="double" overloaded="no">
       </method>
       <method name="GetSize" type="double" overloaded="no">
-        <autodoc>GetSize() -&gt; double</autodoc>
+        <autodoc>GetSize(self) -&gt; double</autodoc>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="SetXOffset" type="" overloaded="no">
       </method>
       <method name="SetXOffset" type="" overloaded="no">
-        <autodoc>SetXOffset(double x)</autodoc>
+        <autodoc>SetXOffset(self, double x)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetYOffset" type="" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetYOffset" type="" overloaded="no">
-        <autodoc>SetYOffset(double y)</autodoc>
+        <autodoc>SetYOffset(self, double y)</autodoc>
         <paramlist>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
         <paramlist>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="GetMetaFile" type="PseudoMetaFile" overloaded="no">
-        <autodoc>GetMetaFile() -&gt; PseudoMetaFile</autodoc>
+        <autodoc>GetMetaFile(self) -&gt; PseudoMetaFile</autodoc>
       </method>
       <method name="GetId" type="long" overloaded="no">
       </method>
       <method name="GetId" type="long" overloaded="no">
-        <autodoc>GetId() -&gt; long</autodoc>
+        <autodoc>GetId(self) -&gt; long</autodoc>
       </method>
       <method name="GetArrowEnd" type="int" overloaded="no">
       </method>
       <method name="GetArrowEnd" type="int" overloaded="no">
-        <autodoc>GetArrowEnd() -&gt; int</autodoc>
+        <autodoc>GetArrowEnd(self) -&gt; int</autodoc>
       </method>
       <method name="GetArrowSize" type="double" overloaded="no">
       </method>
       <method name="GetArrowSize" type="double" overloaded="no">
-        <autodoc>GetArrowSize() -&gt; double</autodoc>
+        <autodoc>GetArrowSize(self) -&gt; double</autodoc>
       </method>
       <method name="SetSize" type="" overloaded="no">
       </method>
       <method name="SetSize" type="" overloaded="no">
-        <autodoc>SetSize(double size)</autodoc>
+        <autodoc>SetSize(self, double size)</autodoc>
         <paramlist>
           <param name="size" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetSpacing" type="" overloaded="no">
         <paramlist>
           <param name="size" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetSpacing" type="" overloaded="no">
-        <autodoc>SetSpacing(double sp)</autodoc>
+        <autodoc>SetSpacing(self, double sp)</autodoc>
         <paramlist>
           <param name="sp" type="double" default=""/>
         </paramlist>
         <paramlist>
           <param name="sp" type="double" default=""/>
         </paramlist>
@@ -33233,17 +36267,17 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyLineShape" oldname="wxPyLineShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyLineShape" overloaded="no">
     <class name="PyLineShape" oldname="wxPyLineShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyLineShape" overloaded="no">
-        <autodoc>__init__() -&gt; PyLineShape</autodoc>
+        <autodoc>__init__(self) -&gt; PyLineShape</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddArrow" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddArrow" type="" overloaded="no">
-        <autodoc>AddArrow(int type, int end=ARROW_POSITION_END, double arrowSize=10.0, 
+        <autodoc>AddArrow(self, int type, int end=ARROW_POSITION_END, double arrowSize=10.0, 
     double xOffset=0.0, String name=EmptyString, 
     PseudoMetaFile mf=None, long arrowId=-1)</autodoc>
         <paramlist>
     double xOffset=0.0, String name=EmptyString, 
     PseudoMetaFile mf=None, long arrowId=-1)</autodoc>
         <paramlist>
@@ -33257,7 +36291,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="AddArrowOrdered" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="AddArrowOrdered" type="" overloaded="no">
-        <autodoc>AddArrowOrdered(ArrowHead arrow, PyObject referenceList, int end)</autodoc>
+        <autodoc>AddArrowOrdered(self, ArrowHead arrow, PyObject referenceList, int end)</autodoc>
         <paramlist>
           <param name="arrow" type="ArrowHead" default=""/>
           <param name="referenceList" type="PyObject" default=""/>
         <paramlist>
           <param name="arrow" type="ArrowHead" default=""/>
           <param name="referenceList" type="PyObject" default=""/>
@@ -33265,19 +36299,19 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="ClearArrow" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="ClearArrow" type="bool" overloaded="no">
-        <autodoc>ClearArrow(String name) -&gt; bool</autodoc>
+        <autodoc>ClearArrow(self, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ClearArrowsAtPosition" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ClearArrowsAtPosition" type="" overloaded="no">
-        <autodoc>ClearArrowsAtPosition(int position=-1)</autodoc>
+        <autodoc>ClearArrowsAtPosition(self, int position=-1)</autodoc>
         <paramlist>
           <param name="position" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="DrawArrow" type="" overloaded="no">
         <paramlist>
           <param name="position" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="DrawArrow" type="" overloaded="no">
-        <autodoc>DrawArrow(DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc>
+        <autodoc>DrawArrow(self, DC dc, ArrowHead arrow, double xOffset, bool proportionalOffset)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="arrow" type="ArrowHead" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="arrow" type="ArrowHead" default=""/>
@@ -33286,29 +36320,29 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="DeleteArrowHeadId" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="DeleteArrowHeadId" type="bool" overloaded="no">
-        <autodoc>DeleteArrowHeadId(long arrowId) -&gt; bool</autodoc>
+        <autodoc>DeleteArrowHeadId(self, long arrowId) -&gt; bool</autodoc>
         <paramlist>
           <param name="arrowId" type="long" default=""/>
         </paramlist>
       </method>
       <method name="DeleteArrowHead" type="bool" overloaded="no">
         <paramlist>
           <param name="arrowId" type="long" default=""/>
         </paramlist>
       </method>
       <method name="DeleteArrowHead" type="bool" overloaded="no">
-        <autodoc>DeleteArrowHead(int position, String name) -&gt; bool</autodoc>
+        <autodoc>DeleteArrowHead(self, int position, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DeleteLineControlPoint" type="bool" overloaded="no">
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DeleteLineControlPoint" type="bool" overloaded="no">
-        <autodoc>DeleteLineControlPoint() -&gt; bool</autodoc>
+        <autodoc>DeleteLineControlPoint(self) -&gt; bool</autodoc>
       </method>
       <method name="DrawArrows" type="" overloaded="no">
       </method>
       <method name="DrawArrows" type="" overloaded="no">
-        <autodoc>DrawArrows(DC dc)</autodoc>
+        <autodoc>DrawArrows(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DrawRegion" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DrawRegion" type="" overloaded="no">
-        <autodoc>DrawRegion(DC dc, ShapeRegion region, double x, double y)</autodoc>
+        <autodoc>DrawRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="region" type="ShapeRegion" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="region" type="ShapeRegion" default=""/>
@@ -33317,7 +36351,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="EraseRegion" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="EraseRegion" type="" overloaded="no">
-        <autodoc>EraseRegion(DC dc, ShapeRegion region, double x, double y)</autodoc>
+        <autodoc>EraseRegion(self, DC dc, ShapeRegion region, double x, double y)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="region" type="ShapeRegion" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="region" type="ShapeRegion" default=""/>
@@ -33326,20 +36360,20 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="FindArrowHeadId" type="ArrowHead" overloaded="no">
         </paramlist>
       </method>
       <method name="FindArrowHeadId" type="ArrowHead" overloaded="no">
-        <autodoc>FindArrowHeadId(long arrowId) -&gt; ArrowHead</autodoc>
+        <autodoc>FindArrowHeadId(self, long arrowId) -&gt; ArrowHead</autodoc>
         <paramlist>
           <param name="arrowId" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindArrowHead" type="ArrowHead" overloaded="no">
         <paramlist>
           <param name="arrowId" type="long" default=""/>
         </paramlist>
       </method>
       <method name="FindArrowHead" type="ArrowHead" overloaded="no">
-        <autodoc>FindArrowHead(int position, String name) -&gt; ArrowHead</autodoc>
+        <autodoc>FindArrowHead(self, int position, String name) -&gt; ArrowHead</autodoc>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindLineEndPoints" type="" overloaded="no">
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="FindLineEndPoints" type="" overloaded="no">
-        <autodoc>FindLineEndPoints(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>FindLineEndPoints(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
@@ -33348,17 +36382,17 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="FindLinePosition" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="FindLinePosition" type="int" overloaded="no">
-        <autodoc>FindLinePosition(double x, double y) -&gt; int</autodoc>
+        <autodoc>FindLinePosition(self, double x, double y) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="FindMinimumWidth" type="double" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="FindMinimumWidth" type="double" overloaded="no">
-        <autodoc>FindMinimumWidth() -&gt; double</autodoc>
+        <autodoc>FindMinimumWidth(self) -&gt; double</autodoc>
       </method>
       <method name="FindNth" type="" overloaded="no">
       </method>
       <method name="FindNth" type="" overloaded="no">
-        <autodoc>FindNth(PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc>
+        <autodoc>FindNth(self, PyShape image, int OUTPUT, int OUTPUT, bool incoming)</autodoc>
         <paramlist>
           <param name="image" type="PyShape" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="image" type="PyShape" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -33367,13 +36401,13 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetAttachmentFrom" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAttachmentFrom" type="int" overloaded="no">
-        <autodoc>GetAttachmentFrom() -&gt; int</autodoc>
+        <autodoc>GetAttachmentFrom(self) -&gt; int</autodoc>
       </method>
       <method name="GetAttachmentTo" type="int" overloaded="no">
       </method>
       <method name="GetAttachmentTo" type="int" overloaded="no">
-        <autodoc>GetAttachmentTo() -&gt; int</autodoc>
+        <autodoc>GetAttachmentTo(self) -&gt; int</autodoc>
       </method>
       <method name="GetEnds" type="" overloaded="no">
       </method>
       <method name="GetEnds" type="" overloaded="no">
-        <autodoc>GetEnds(double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetEnds(self, double OUTPUT, double OUTPUT, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         <paramlist>
           <param name="OUTPUT" type="double" default=""/>
           <param name="OUTPUT" type="double" default=""/>
@@ -33382,10 +36416,10 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetFrom" type="PyShape" overloaded="no">
         </paramlist>
       </method>
       <method name="GetFrom" type="PyShape" overloaded="no">
-        <autodoc>GetFrom() -&gt; PyShape</autodoc>
+        <autodoc>GetFrom(self) -&gt; PyShape</autodoc>
       </method>
       <method name="GetLabelPosition" type="" overloaded="no">
       </method>
       <method name="GetLabelPosition" type="" overloaded="no">
-        <autodoc>GetLabelPosition(int position, double OUTPUT, double OUTPUT)</autodoc>
+        <autodoc>GetLabelPosition(self, int position, double OUTPUT, double OUTPUT)</autodoc>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="OUTPUT" type="double" default=""/>
         <paramlist>
           <param name="position" type="int" default=""/>
           <param name="OUTPUT" type="double" default=""/>
@@ -33393,62 +36427,68 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetNextControlPoint" type="RealPoint" overloaded="no">
         </paramlist>
       </method>
       <method name="GetNextControlPoint" type="RealPoint" overloaded="no">
-        <autodoc>GetNextControlPoint(PyShape shape) -&gt; RealPoint</autodoc>
+        <autodoc>GetNextControlPoint(self, PyShape shape) -&gt; RealPoint</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="GetTo" type="PyShape" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="GetTo" type="PyShape" overloaded="no">
-        <autodoc>GetTo() -&gt; PyShape</autodoc>
+        <autodoc>GetTo(self) -&gt; PyShape</autodoc>
       </method>
       <method name="Initialise" type="" overloaded="no">
       </method>
       <method name="Initialise" type="" overloaded="no">
-        <autodoc>Initialise()</autodoc>
+        <autodoc>Initialise(self)</autodoc>
       </method>
       <method name="InsertLineControlPoint" type="" overloaded="no">
       </method>
       <method name="InsertLineControlPoint" type="" overloaded="no">
-        <autodoc>InsertLineControlPoint(DC dc)</autodoc>
+        <autodoc>InsertLineControlPoint(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="IsEnd" type="bool" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="IsEnd" type="bool" overloaded="no">
-        <autodoc>IsEnd(PyShape shape) -&gt; bool</autodoc>
+        <autodoc>IsEnd(self, PyShape shape) -&gt; bool</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="IsSpline" type="bool" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="IsSpline" type="bool" overloaded="no">
-        <autodoc>IsSpline() -&gt; bool</autodoc>
+        <autodoc>IsSpline(self) -&gt; bool</autodoc>
       </method>
       <method name="MakeLineControlPoints" type="" overloaded="no">
       </method>
       <method name="MakeLineControlPoints" type="" overloaded="no">
-        <autodoc>MakeLineControlPoints(int n)</autodoc>
+        <autodoc>MakeLineControlPoints(self, int n)</autodoc>
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineControlPoints" type="PyObject" overloaded="no">
         <paramlist>
           <param name="n" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineControlPoints" type="PyObject" overloaded="no">
-        <autodoc>GetLineControlPoints() -&gt; PyObject</autodoc>
+        <autodoc>GetLineControlPoints(self) -&gt; PyObject</autodoc>
+      </method>
+      <method name="SetLineControlPoints" type="" overloaded="no">
+        <autodoc>SetLineControlPoints(self, PyObject list)</autodoc>
+        <paramlist>
+          <param name="list" type="PyObject" default=""/>
+        </paramlist>
       </method>
       <method name="SetAttachmentFrom" type="" overloaded="no">
       </method>
       <method name="SetAttachmentFrom" type="" overloaded="no">
-        <autodoc>SetAttachmentFrom(int fromAttach)</autodoc>
+        <autodoc>SetAttachmentFrom(self, int fromAttach)</autodoc>
         <paramlist>
           <param name="fromAttach" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAttachments" type="" overloaded="no">
         <paramlist>
           <param name="fromAttach" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAttachments" type="" overloaded="no">
-        <autodoc>SetAttachments(int fromAttach, int toAttach)</autodoc>
+        <autodoc>SetAttachments(self, int fromAttach, int toAttach)</autodoc>
         <paramlist>
           <param name="fromAttach" type="int" default=""/>
           <param name="toAttach" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAttachmentTo" type="" overloaded="no">
         <paramlist>
           <param name="fromAttach" type="int" default=""/>
           <param name="toAttach" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAttachmentTo" type="" overloaded="no">
-        <autodoc>SetAttachmentTo(int toAttach)</autodoc>
+        <autodoc>SetAttachmentTo(self, int toAttach)</autodoc>
         <paramlist>
           <param name="toAttach" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetEnds" type="" overloaded="no">
         <paramlist>
           <param name="toAttach" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetEnds" type="" overloaded="no">
-        <autodoc>SetEnds(double x1, double y1, double x2, double y2)</autodoc>
+        <autodoc>SetEnds(self, double x1, double y1, double x2, double y2)</autodoc>
         <paramlist>
           <param name="x1" type="double" default=""/>
           <param name="y1" type="double" default=""/>
         <paramlist>
           <param name="x1" type="double" default=""/>
           <param name="y1" type="double" default=""/>
@@ -33457,115 +36497,115 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="SetFrom" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetFrom" type="" overloaded="no">
-        <autodoc>SetFrom(PyShape object)</autodoc>
+        <autodoc>SetFrom(self, PyShape object)</autodoc>
         <paramlist>
           <param name="object" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="SetIgnoreOffsets" type="" overloaded="no">
         <paramlist>
           <param name="object" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="SetIgnoreOffsets" type="" overloaded="no">
-        <autodoc>SetIgnoreOffsets(bool ignore)</autodoc>
+        <autodoc>SetIgnoreOffsets(self, bool ignore)</autodoc>
         <paramlist>
           <param name="ignore" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSpline" type="" overloaded="no">
         <paramlist>
           <param name="ignore" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSpline" type="" overloaded="no">
-        <autodoc>SetSpline(bool spline)</autodoc>
+        <autodoc>SetSpline(self, bool spline)</autodoc>
         <paramlist>
           <param name="spline" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetTo" type="" overloaded="no">
         <paramlist>
           <param name="spline" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetTo" type="" overloaded="no">
-        <autodoc>SetTo(PyShape object)</autodoc>
+        <autodoc>SetTo(self, PyShape object)</autodoc>
         <paramlist>
           <param name="object" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="Straighten" type="" overloaded="no">
         <paramlist>
           <param name="object" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="Straighten" type="" overloaded="no">
-        <autodoc>Straighten(DC dc=None)</autodoc>
+        <autodoc>Straighten(self, DC dc=None)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default="NULL"/>
         </paramlist>
       </method>
       <method name="Unlink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default="NULL"/>
         </paramlist>
       </method>
       <method name="Unlink" type="" overloaded="no">
-        <autodoc>Unlink()</autodoc>
+        <autodoc>Unlink(self)</autodoc>
       </method>
       <method name="SetAlignmentOrientation" type="" overloaded="no">
       </method>
       <method name="SetAlignmentOrientation" type="" overloaded="no">
-        <autodoc>SetAlignmentOrientation(bool isEnd, bool isHoriz)</autodoc>
+        <autodoc>SetAlignmentOrientation(self, bool isEnd, bool isHoriz)</autodoc>
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
           <param name="isHoriz" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetAlignmentType" type="" overloaded="no">
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
           <param name="isHoriz" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetAlignmentType" type="" overloaded="no">
-        <autodoc>SetAlignmentType(bool isEnd, int alignType)</autodoc>
+        <autodoc>SetAlignmentType(self, bool isEnd, int alignType)</autodoc>
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
           <param name="alignType" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignmentOrientation" type="bool" overloaded="no">
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
           <param name="alignType" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignmentOrientation" type="bool" overloaded="no">
-        <autodoc>GetAlignmentOrientation(bool isEnd) -&gt; bool</autodoc>
+        <autodoc>GetAlignmentOrientation(self, bool isEnd) -&gt; bool</autodoc>
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignmentType" type="int" overloaded="no">
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignmentType" type="int" overloaded="no">
-        <autodoc>GetAlignmentType(bool isEnd) -&gt; int</autodoc>
+        <autodoc>GetAlignmentType(self, bool isEnd) -&gt; int</autodoc>
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignmentStart" type="int" overloaded="no">
         <paramlist>
           <param name="isEnd" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetAlignmentStart" type="int" overloaded="no">
-        <autodoc>GetAlignmentStart() -&gt; int</autodoc>
+        <autodoc>GetAlignmentStart(self) -&gt; int</autodoc>
       </method>
       <method name="GetAlignmentEnd" type="int" overloaded="no">
       </method>
       <method name="GetAlignmentEnd" type="int" overloaded="no">
-        <autodoc>GetAlignmentEnd() -&gt; int</autodoc>
+        <autodoc>GetAlignmentEnd(self) -&gt; int</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33574,7 +36614,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33583,7 +36623,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33592,14 +36632,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -33611,7 +36651,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -33623,7 +36663,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -33633,7 +36673,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33642,7 +36682,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33651,7 +36691,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -33661,7 +36701,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33670,7 +36710,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33679,7 +36719,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -33689,26 +36729,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -33720,7 +36760,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -33731,7 +36771,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -33742,14 +36782,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -33759,108 +36799,108 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyPolygonShape" overloaded="no">
     <class name="PyPolygonShape" oldname="wxPyPolygonShape" module="ogl">
       <baseclass name="PyShape"/>
       <constructor name="PyPolygonShape" overloaded="no">
-        <autodoc>__init__() -&gt; PyPolygonShape</autodoc>
+        <autodoc>__init__(self) -&gt; PyPolygonShape</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="PyObject" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="Create" type="PyObject" overloaded="no">
-        <autodoc>Create(PyObject points) -&gt; PyObject</autodoc>
+        <autodoc>Create(self, PyObject points) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="points" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddPolygonPoint" type="" overloaded="no">
         <paramlist>
           <param name="points" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddPolygonPoint" type="" overloaded="no">
-        <autodoc>AddPolygonPoint(int pos=0)</autodoc>
+        <autodoc>AddPolygonPoint(self, int pos=0)</autodoc>
         <paramlist>
           <param name="pos" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="CalculatePolygonCentre" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="CalculatePolygonCentre" type="" overloaded="no">
-        <autodoc>CalculatePolygonCentre()</autodoc>
+        <autodoc>CalculatePolygonCentre(self)</autodoc>
       </method>
       <method name="DeletePolygonPoint" type="" overloaded="no">
       </method>
       <method name="DeletePolygonPoint" type="" overloaded="no">
-        <autodoc>DeletePolygonPoint(int pos=0)</autodoc>
+        <autodoc>DeletePolygonPoint(self, int pos=0)</autodoc>
         <paramlist>
           <param name="pos" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetPoints" type="PyObject" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetPoints" type="PyObject" overloaded="no">
-        <autodoc>GetPoints() -&gt; PyObject</autodoc>
+        <autodoc>GetPoints(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetOriginalPoints" type="PyObject" overloaded="no">
       </method>
       <method name="GetOriginalPoints" type="PyObject" overloaded="no">
-        <autodoc>GetOriginalPoints() -&gt; PyObject</autodoc>
+        <autodoc>GetOriginalPoints(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetOriginalWidth" type="double" overloaded="no">
       </method>
       <method name="GetOriginalWidth" type="double" overloaded="no">
-        <autodoc>GetOriginalWidth() -&gt; double</autodoc>
+        <autodoc>GetOriginalWidth(self) -&gt; double</autodoc>
       </method>
       <method name="GetOriginalHeight" type="double" overloaded="no">
       </method>
       <method name="GetOriginalHeight" type="double" overloaded="no">
-        <autodoc>GetOriginalHeight() -&gt; double</autodoc>
+        <autodoc>GetOriginalHeight(self) -&gt; double</autodoc>
       </method>
       <method name="SetOriginalWidth" type="" overloaded="no">
       </method>
       <method name="SetOriginalWidth" type="" overloaded="no">
-        <autodoc>SetOriginalWidth(double w)</autodoc>
+        <autodoc>SetOriginalWidth(self, double w)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetOriginalHeight" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetOriginalHeight" type="" overloaded="no">
-        <autodoc>SetOriginalHeight(double h)</autodoc>
+        <autodoc>SetOriginalHeight(self, double h)</autodoc>
         <paramlist>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="UpdateOriginalPoints" type="" overloaded="no">
         <paramlist>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="UpdateOriginalPoints" type="" overloaded="no">
-        <autodoc>UpdateOriginalPoints()</autodoc>
+        <autodoc>UpdateOriginalPoints(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33869,7 +36909,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33878,7 +36918,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33887,14 +36927,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -33906,7 +36946,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -33918,7 +36958,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -33928,7 +36968,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33937,7 +36977,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33946,7 +36986,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -33956,7 +36996,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33965,7 +37005,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -33974,7 +37014,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -33984,26 +37024,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -34015,7 +37055,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -34026,7 +37066,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -34037,14 +37077,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -34054,67 +37094,67 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyTextShape" oldname="wxPyTextShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyTextShape" overloaded="no">
     <class name="PyTextShape" oldname="wxPyTextShape" module="ogl">
       <baseclass name="PyRectangleShape"/>
       <constructor name="PyTextShape" overloaded="no">
-        <autodoc>__init__(double width=0.0, double height=0.0) -&gt; PyTextShape</autodoc>
+        <autodoc>__init__(self, double width=0.0, double height=0.0) -&gt; PyTextShape</autodoc>
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         <paramlist>
           <param name="width" type="double" default="0.0"/>
           <param name="height" type="double" default="0.0"/>
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDelete" type="" overloaded="no">
-        <autodoc>base_OnDelete()</autodoc>
+        <autodoc>base_OnDelete(self)</autodoc>
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
       </method>
       <method name="base_OnDraw" type="" overloaded="no">
-        <autodoc>base_OnDraw(DC dc)</autodoc>
+        <autodoc>base_OnDraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawContents" type="" overloaded="no">
-        <autodoc>base_OnDrawContents(DC dc)</autodoc>
+        <autodoc>base_OnDrawContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnDrawBranches" type="" overloaded="no">
-        <autodoc>base_OnDrawBranches(DC dc, bool erase=FALSE)</autodoc>
+        <autodoc>base_OnDrawBranches(self, DC dc, bool erase=FALSE)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="erase" type="bool" default="FALSE"/>
         </paramlist>
       </method>
       <method name="base_OnMoveLinks" type="" overloaded="no">
-        <autodoc>base_OnMoveLinks(DC dc)</autodoc>
+        <autodoc>base_OnMoveLinks(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnErase" type="" overloaded="no">
-        <autodoc>base_OnErase(DC dc)</autodoc>
+        <autodoc>base_OnErase(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseContents" type="" overloaded="no">
-        <autodoc>base_OnEraseContents(DC dc)</autodoc>
+        <autodoc>base_OnEraseContents(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnHighlight" type="" overloaded="no">
-        <autodoc>base_OnHighlight(DC dc)</autodoc>
+        <autodoc>base_OnHighlight(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34123,7 +37163,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftDoubleClick" type="" overloaded="no">
-        <autodoc>base_OnLeftDoubleClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnLeftDoubleClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34132,7 +37172,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34141,14 +37181,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSize" type="" overloaded="no">
-        <autodoc>base_OnSize(double x, double y)</autodoc>
+        <autodoc>base_OnSize(self, double x, double y)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMovePre" type="bool" overloaded="no">
-        <autodoc>base_OnMovePre(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePre(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True) -&gt; bool</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -34160,7 +37200,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnMovePost" type="" overloaded="no">
-        <autodoc>base_OnMovePost(DC dc, double x, double y, double old_x, double old_y, 
+        <autodoc>base_OnMovePost(self, DC dc, double x, double y, double old_x, double old_y, 
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
     bool display=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
@@ -34172,7 +37212,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -34182,7 +37222,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34191,7 +37231,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34200,7 +37240,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -34210,7 +37250,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34219,7 +37259,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0, int attachment=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0, int attachment=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34228,7 +37268,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawOutline" type="" overloaded="no">
-        <autodoc>base_OnDrawOutline(DC dc, double x, double y, double w, double h)</autodoc>
+        <autodoc>base_OnDrawOutline(self, DC dc, double x, double y, double w, double h)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x" type="double" default=""/>
@@ -34238,26 +37278,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDrawControlPoints" type="" overloaded="no">
-        <autodoc>base_OnDrawControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnDrawControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEraseControlPoints" type="" overloaded="no">
-        <autodoc>base_OnEraseControlPoints(DC dc)</autodoc>
+        <autodoc>base_OnEraseControlPoints(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="base_OnMoveLink" type="" overloaded="no">
-        <autodoc>base_OnMoveLink(DC dc, bool moveControlPoints=True)</autodoc>
+        <autodoc>base_OnMoveLink(self, DC dc, bool moveControlPoints=True)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="moveControlPoints" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="base_OnSizingDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingDragLeft(PyControlPoint pt, bool draw, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingDragLeft(self, PyControlPoint pt, bool draw, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -34269,7 +37309,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingBeginDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingBeginDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -34280,7 +37320,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnSizingEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnSizingEndDragLeft(PyControlPoint pt, double x, double y, int keys=0, 
+        <autodoc>base_OnSizingEndDragLeft(self, PyControlPoint pt, double x, double y, int keys=0, 
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
     int attachment=0)</autodoc>
         <paramlist>
           <param name="pt" type="PyControlPoint" default=""/>
@@ -34291,14 +37331,14 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginSize" type="" overloaded="no">
-        <autodoc>base_OnBeginSize(double w, double h)</autodoc>
+        <autodoc>base_OnBeginSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         </paramlist>
       </method>
       <method name="base_OnEndSize" type="" overloaded="no">
-        <autodoc>base_OnEndSize(double w, double h)</autodoc>
+        <autodoc>base_OnEndSize(self, double w, double h)</autodoc>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
         <paramlist>
           <param name="w" type="double" default=""/>
           <param name="h" type="double" default=""/>
@@ -34308,26 +37348,26 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="Diagram" oldname="wxDiagram" module="ogl">
       <baseclass name="Object"/>
       <constructor name="Diagram" overloaded="no">
     <class name="Diagram" oldname="wxDiagram" module="ogl">
       <baseclass name="Object"/>
       <constructor name="Diagram" overloaded="no">
-        <autodoc>__init__() -&gt; Diagram</autodoc>
+        <autodoc>__init__(self) -&gt; Diagram</autodoc>
       </constructor>
       <method name="AddShape" type="" overloaded="no">
       </constructor>
       <method name="AddShape" type="" overloaded="no">
-        <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc>
+        <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear(DC dc)</autodoc>
+        <autodoc>Clear(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllShapes" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllShapes" type="" overloaded="no">
-        <autodoc>DeleteAllShapes()</autodoc>
+        <autodoc>DeleteAllShapes(self)</autodoc>
       </method>
       <method name="DrawOutline" type="" overloaded="no">
       </method>
       <method name="DrawOutline" type="" overloaded="no">
-        <autodoc>DrawOutline(DC dc, double x1, double y1, double x2, double y2)</autodoc>
+        <autodoc>DrawOutline(self, DC dc, double x1, double y1, double x2, double y2)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x1" type="double" default=""/>
         <paramlist>
           <param name="dc" type="DC" default=""/>
           <param name="x1" type="double" default=""/>
@@ -34337,97 +37377,97 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="FindShape" type="PyShape" overloaded="no">
         </paramlist>
       </method>
       <method name="FindShape" type="PyShape" overloaded="no">
-        <autodoc>FindShape(long id) -&gt; PyShape</autodoc>
+        <autodoc>FindShape(self, long id) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="id" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
         <paramlist>
           <param name="id" type="long" default=""/>
         </paramlist>
       </method>
       <method name="GetCanvas" type="wxPyShapeCanvas" overloaded="no">
-        <autodoc>GetCanvas() -&gt; PyShapeCanvas</autodoc>
+        <autodoc>GetCanvas(self) -&gt; PyShapeCanvas</autodoc>
       </method>
       <method name="GetCount" type="int" overloaded="no">
       </method>
       <method name="GetCount" type="int" overloaded="no">
-        <autodoc>GetCount() -&gt; int</autodoc>
+        <autodoc>GetCount(self) -&gt; int</autodoc>
       </method>
       <method name="GetGridSpacing" type="double" overloaded="no">
       </method>
       <method name="GetGridSpacing" type="double" overloaded="no">
-        <autodoc>GetGridSpacing() -&gt; double</autodoc>
+        <autodoc>GetGridSpacing(self) -&gt; double</autodoc>
       </method>
       <method name="GetMouseTolerance" type="int" overloaded="no">
       </method>
       <method name="GetMouseTolerance" type="int" overloaded="no">
-        <autodoc>GetMouseTolerance() -&gt; int</autodoc>
+        <autodoc>GetMouseTolerance(self) -&gt; int</autodoc>
       </method>
       <method name="GetShapeList" type="PyObject" overloaded="no">
       </method>
       <method name="GetShapeList" type="PyObject" overloaded="no">
-        <autodoc>GetShapeList() -&gt; PyObject</autodoc>
+        <autodoc>GetShapeList(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetQuickEditMode" type="bool" overloaded="no">
       </method>
       <method name="GetQuickEditMode" type="bool" overloaded="no">
-        <autodoc>GetQuickEditMode() -&gt; bool</autodoc>
+        <autodoc>GetQuickEditMode(self) -&gt; bool</autodoc>
       </method>
       <method name="GetSnapToGrid" type="bool" overloaded="no">
       </method>
       <method name="GetSnapToGrid" type="bool" overloaded="no">
-        <autodoc>GetSnapToGrid() -&gt; bool</autodoc>
+        <autodoc>GetSnapToGrid(self) -&gt; bool</autodoc>
       </method>
       <method name="InsertShape" type="" overloaded="no">
       </method>
       <method name="InsertShape" type="" overloaded="no">
-        <autodoc>InsertShape(PyShape shape)</autodoc>
+        <autodoc>InsertShape(self, PyShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="RecentreAll" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="RecentreAll" type="" overloaded="no">
-        <autodoc>RecentreAll(DC dc)</autodoc>
+        <autodoc>RecentreAll(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="Redraw" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="Redraw" type="" overloaded="no">
-        <autodoc>Redraw(DC dc)</autodoc>
+        <autodoc>Redraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="RemoveAllShapes" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="RemoveAllShapes" type="" overloaded="no">
-        <autodoc>RemoveAllShapes()</autodoc>
+        <autodoc>RemoveAllShapes(self)</autodoc>
       </method>
       <method name="RemoveShape" type="" overloaded="no">
       </method>
       <method name="RemoveShape" type="" overloaded="no">
-        <autodoc>RemoveShape(PyShape shape)</autodoc>
+        <autodoc>RemoveShape(self, PyShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="SetCanvas" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="SetCanvas" type="" overloaded="no">
-        <autodoc>SetCanvas(PyShapeCanvas canvas)</autodoc>
+        <autodoc>SetCanvas(self, PyShapeCanvas canvas)</autodoc>
         <paramlist>
           <param name="canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="SetGridSpacing" type="" overloaded="no">
         <paramlist>
           <param name="canvas" type="wxPyShapeCanvas" default=""/>
         </paramlist>
       </method>
       <method name="SetGridSpacing" type="" overloaded="no">
-        <autodoc>SetGridSpacing(double spacing)</autodoc>
+        <autodoc>SetGridSpacing(self, double spacing)</autodoc>
         <paramlist>
           <param name="spacing" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetMouseTolerance" type="" overloaded="no">
         <paramlist>
           <param name="spacing" type="double" default=""/>
         </paramlist>
       </method>
       <method name="SetMouseTolerance" type="" overloaded="no">
-        <autodoc>SetMouseTolerance(int tolerance)</autodoc>
+        <autodoc>SetMouseTolerance(self, int tolerance)</autodoc>
         <paramlist>
           <param name="tolerance" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetQuickEditMode" type="" overloaded="no">
         <paramlist>
           <param name="tolerance" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetQuickEditMode" type="" overloaded="no">
-        <autodoc>SetQuickEditMode(bool mode)</autodoc>
+        <autodoc>SetQuickEditMode(self, bool mode)</autodoc>
         <paramlist>
           <param name="mode" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSnapToGrid" type="" overloaded="no">
         <paramlist>
           <param name="mode" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSnapToGrid" type="" overloaded="no">
-        <autodoc>SetSnapToGrid(bool snap)</autodoc>
+        <autodoc>SetSnapToGrid(self, bool snap)</autodoc>
         <paramlist>
           <param name="snap" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ShowAll" type="" overloaded="no">
         <paramlist>
           <param name="snap" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ShowAll" type="" overloaded="no">
-        <autodoc>ShowAll(bool show)</autodoc>
+        <autodoc>ShowAll(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Snap" type="" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="Snap" type="" overloaded="no">
-        <autodoc>Snap(double INOUT, double INOUT)</autodoc>
+        <autodoc>Snap(self, double INOUT, double INOUT)</autodoc>
         <paramlist>
           <param name="INOUT" type="double" default=""/>
           <param name="INOUT" type="double" default=""/>
         <paramlist>
           <param name="INOUT" type="double" default=""/>
           <param name="INOUT" type="double" default=""/>
@@ -34437,7 +37477,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
     <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl">
       <baseclass name="ScrolledWindow"/>
       <constructor name="PyShapeCanvas" overloaded="no">
     <class name="PyShapeCanvas" oldname="wxPyShapeCanvas" module="ogl">
       <baseclass name="ScrolledWindow"/>
       <constructor name="PyShapeCanvas" overloaded="no">
-        <autodoc>__init__(Window parent=None, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent=None, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=BORDER, 
     String name=wxPyShapeCanvasNameStr) -&gt; PyShapeCanvas</autodoc>
         <paramlist>
     Size size=DefaultSize, long style=BORDER, 
     String name=wxPyShapeCanvasNameStr) -&gt; PyShapeCanvas</autodoc>
         <paramlist>
@@ -34450,21 +37490,21 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddShape" type="" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="AddShape" type="" overloaded="no">
-        <autodoc>AddShape(PyShape shape, PyShape addAfter=None)</autodoc>
+        <autodoc>AddShape(self, PyShape shape, PyShape addAfter=None)</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="FindShape" type="PyShape" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
           <param name="addAfter" type="PyShape" default="NULL"/>
         </paramlist>
       </method>
       <method name="FindShape" type="PyShape" overloaded="no">
-        <autodoc>FindShape(double x1, double y, int OUTPUT, wxClassInfo info=None, 
+        <autodoc>FindShape(self, double x1, double y, int OUTPUT, wxClassInfo info=None, 
     PyShape notImage=None) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="x1" type="double" default=""/>
     PyShape notImage=None) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="x1" type="double" default=""/>
@@ -34475,7 +37515,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no">
         </paramlist>
       </method>
       <method name="FindFirstSensitiveShape" type="PyShape" overloaded="no">
-        <autodoc>FindFirstSensitiveShape(double x1, double y, int OUTPUT, int op) -&gt; PyShape</autodoc>
+        <autodoc>FindFirstSensitiveShape(self, double x1, double y, int OUTPUT, int op) -&gt; PyShape</autodoc>
         <paramlist>
           <param name="x1" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x1" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34484,19 +37524,19 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="GetDiagram" type="Diagram" overloaded="no">
         </paramlist>
       </method>
       <method name="GetDiagram" type="Diagram" overloaded="no">
-        <autodoc>GetDiagram() -&gt; Diagram</autodoc>
+        <autodoc>GetDiagram(self) -&gt; Diagram</autodoc>
       </method>
       <method name="GetQuickEditMode" type="bool" overloaded="no">
       </method>
       <method name="GetQuickEditMode" type="bool" overloaded="no">
-        <autodoc>GetQuickEditMode() -&gt; bool</autodoc>
+        <autodoc>GetQuickEditMode(self) -&gt; bool</autodoc>
       </method>
       <method name="InsertShape" type="" overloaded="no">
       </method>
       <method name="InsertShape" type="" overloaded="no">
-        <autodoc>InsertShape(PyShape shape)</autodoc>
+        <autodoc>InsertShape(self, PyShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="base_OnBeginDragLeft" type="" overloaded="no">
-        <autodoc>base_OnBeginDragLeft(double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnBeginDragLeft(self, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34504,7 +37544,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnBeginDragRight" type="" overloaded="no">
-        <autodoc>base_OnBeginDragRight(double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnBeginDragRight(self, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34512,7 +37552,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragLeft" type="" overloaded="no">
-        <autodoc>base_OnEndDragLeft(double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnEndDragLeft(self, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34520,7 +37560,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnEndDragRight" type="" overloaded="no">
-        <autodoc>base_OnEndDragRight(double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnEndDragRight(self, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34528,7 +37568,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragLeft" type="" overloaded="no">
-        <autodoc>base_OnDragLeft(bool draw, double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnDragLeft(self, bool draw, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -34537,7 +37577,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnDragRight" type="" overloaded="no">
-        <autodoc>base_OnDragRight(bool draw, double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnDragRight(self, bool draw, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
         <paramlist>
           <param name="draw" type="bool" default=""/>
           <param name="x" type="double" default=""/>
@@ -34546,7 +37586,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnLeftClick" type="" overloaded="no">
-        <autodoc>base_OnLeftClick(double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnLeftClick(self, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34554,7 +37594,7 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="base_OnRightClick" type="" overloaded="no">
-        <autodoc>base_OnRightClick(double x, double y, int keys=0)</autodoc>
+        <autodoc>base_OnRightClick(self, double x, double y, int keys=0)</autodoc>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
         <paramlist>
           <param name="x" type="double" default=""/>
           <param name="y" type="double" default=""/>
@@ -34562,25 +37602,25 @@ EVT_WIZARD_FINISHED      = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
         </paramlist>
       </method>
       <method name="Redraw" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Redraw" type="" overloaded="no">
-        <autodoc>Redraw(DC dc)</autodoc>
+        <autodoc>Redraw(self, DC dc)</autodoc>
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="RemoveShape" type="" overloaded="no">
         <paramlist>
           <param name="dc" type="DC" default=""/>
         </paramlist>
       </method>
       <method name="RemoveShape" type="" overloaded="no">
-        <autodoc>RemoveShape(PyShape shape)</autodoc>
+        <autodoc>RemoveShape(self, PyShape shape)</autodoc>
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="SetDiagram" type="" overloaded="no">
         <paramlist>
           <param name="shape" type="PyShape" default=""/>
         </paramlist>
       </method>
       <method name="SetDiagram" type="" overloaded="no">
-        <autodoc>SetDiagram(Diagram diagram)</autodoc>
+        <autodoc>SetDiagram(self, Diagram diagram)</autodoc>
         <paramlist>
           <param name="diagram" type="Diagram" default=""/>
         </paramlist>
       </method>
       <method name="Snap" type="" overloaded="no">
         <paramlist>
           <param name="diagram" type="Diagram" default=""/>
         </paramlist>
       </method>
       <method name="Snap" type="" overloaded="no">
-        <autodoc>Snap(double INOUT, double INOUT)</autodoc>
+        <autodoc>Snap(self, double INOUT, double INOUT)</autodoc>
         <paramlist>
           <param name="INOUT" type="double" default=""/>
           <param name="INOUT" type="double" default=""/>
         <paramlist>
           <param name="INOUT" type="double" default=""/>
           <param name="INOUT" type="double" default=""/>
@@ -34613,17 +37653,18 @@ ControlPoint =      PyControlPoint
     </method>
   </module>
   <module name="stc">
     </method>
   </module>
   <module name="stc">
-    <import name="core"/>
-    <import name="misc"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_core"/>
+    <import name="_misc"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
       <baseclass name="Control"/>
       <constructor name="StyledTextCtrl" overloaded="no">
     <class name="StyledTextCtrl" oldname="wxStyledTextCtrl" module="stc">
       <baseclass name="Control"/>
       <constructor name="StyledTextCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=STCNameStr) -&gt; StyledTextCtrl</autodoc>
+        <autodoc>__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=STCNameStr) -&gt; StyledTextCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="wxID_ANY"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -34634,11 +37675,11 @@ ControlPoint =      PyControlPoint
         <autodoc>PreStyledTextCtrl() -&gt; StyledTextCtrl</autodoc>
       </constructor>
       <method name="Create" type="" overloaded="no">
         <autodoc>PreStyledTextCtrl() -&gt; StyledTextCtrl</autodoc>
       </constructor>
       <method name="Create" type="" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=0, String name=wxSTCNameStr)</autodoc>
+        <autodoc>Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=0, String name=wxSTCNameStr)</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="wxID_ANY"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="0"/>
@@ -34646,195 +37687,195 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="AddText" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="AddText" type="" overloaded="no">
-        <autodoc>AddText(String text)</autodoc>
+        <autodoc>AddText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddStyledText" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddStyledText" type="" overloaded="no">
-        <autodoc>AddStyledText(wxMemoryBuffer data)</autodoc>
+        <autodoc>AddStyledText(self, wxMemoryBuffer data)</autodoc>
         <paramlist>
           <param name="data" type="wxMemoryBuffer" default=""/>
         </paramlist>
       </method>
       <method name="InsertText" type="" overloaded="no">
         <paramlist>
           <param name="data" type="wxMemoryBuffer" default=""/>
         </paramlist>
       </method>
       <method name="InsertText" type="" overloaded="no">
-        <autodoc>InsertText(int pos, String text)</autodoc>
+        <autodoc>InsertText(self, int pos, String text)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ClearAll" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ClearAll" type="" overloaded="no">
-        <autodoc>ClearAll()</autodoc>
+        <autodoc>ClearAll(self)</autodoc>
       </method>
       <method name="ClearDocumentStyle" type="" overloaded="no">
       </method>
       <method name="ClearDocumentStyle" type="" overloaded="no">
-        <autodoc>ClearDocumentStyle()</autodoc>
+        <autodoc>ClearDocumentStyle(self)</autodoc>
       </method>
       <method name="GetLength" type="int" overloaded="no">
       </method>
       <method name="GetLength" type="int" overloaded="no">
-        <autodoc>GetLength() -&gt; int</autodoc>
+        <autodoc>GetLength(self) -&gt; int</autodoc>
       </method>
       <method name="GetCharAt" type="int" overloaded="no">
       </method>
       <method name="GetCharAt" type="int" overloaded="no">
-        <autodoc>GetCharAt(int pos) -&gt; int</autodoc>
+        <autodoc>GetCharAt(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentPos" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentPos" type="int" overloaded="no">
-        <autodoc>GetCurrentPos() -&gt; int</autodoc>
+        <autodoc>GetCurrentPos(self) -&gt; int</autodoc>
       </method>
       <method name="GetAnchor" type="int" overloaded="no">
       </method>
       <method name="GetAnchor" type="int" overloaded="no">
-        <autodoc>GetAnchor() -&gt; int</autodoc>
+        <autodoc>GetAnchor(self) -&gt; int</autodoc>
       </method>
       <method name="GetStyleAt" type="int" overloaded="no">
       </method>
       <method name="GetStyleAt" type="int" overloaded="no">
-        <autodoc>GetStyleAt(int pos) -&gt; int</autodoc>
+        <autodoc>GetStyleAt(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Redo" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="Redo" type="" overloaded="no">
-        <autodoc>Redo()</autodoc>
+        <autodoc>Redo(self)</autodoc>
       </method>
       <method name="SetUndoCollection" type="" overloaded="no">
       </method>
       <method name="SetUndoCollection" type="" overloaded="no">
-        <autodoc>SetUndoCollection(bool collectUndo)</autodoc>
+        <autodoc>SetUndoCollection(self, bool collectUndo)</autodoc>
         <paramlist>
           <param name="collectUndo" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
         <paramlist>
           <param name="collectUndo" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SelectAll" type="" overloaded="no">
-        <autodoc>SelectAll()</autodoc>
+        <autodoc>SelectAll(self)</autodoc>
       </method>
       <method name="SetSavePoint" type="" overloaded="no">
       </method>
       <method name="SetSavePoint" type="" overloaded="no">
-        <autodoc>SetSavePoint()</autodoc>
+        <autodoc>SetSavePoint(self)</autodoc>
       </method>
       <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no">
       </method>
       <method name="GetStyledText" type="wxMemoryBuffer" overloaded="no">
-        <autodoc>GetStyledText(int startPos, int endPos) -&gt; wxMemoryBuffer</autodoc>
+        <autodoc>GetStyledText(self, int startPos, int endPos) -&gt; wxMemoryBuffer</autodoc>
         <paramlist>
           <param name="startPos" type="int" default=""/>
           <param name="endPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CanRedo" type="bool" overloaded="no">
         <paramlist>
           <param name="startPos" type="int" default=""/>
           <param name="endPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CanRedo" type="bool" overloaded="no">
-        <autodoc>CanRedo() -&gt; bool</autodoc>
+        <autodoc>CanRedo(self) -&gt; bool</autodoc>
       </method>
       <method name="MarkerLineFromHandle" type="int" overloaded="no">
       </method>
       <method name="MarkerLineFromHandle" type="int" overloaded="no">
-        <autodoc>MarkerLineFromHandle(int handle) -&gt; int</autodoc>
+        <autodoc>MarkerLineFromHandle(self, int handle) -&gt; int</autodoc>
         <paramlist>
           <param name="handle" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDeleteHandle" type="" overloaded="no">
         <paramlist>
           <param name="handle" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDeleteHandle" type="" overloaded="no">
-        <autodoc>MarkerDeleteHandle(int handle)</autodoc>
+        <autodoc>MarkerDeleteHandle(self, int handle)</autodoc>
         <paramlist>
           <param name="handle" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetUndoCollection" type="bool" overloaded="no">
         <paramlist>
           <param name="handle" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetUndoCollection" type="bool" overloaded="no">
-        <autodoc>GetUndoCollection() -&gt; bool</autodoc>
+        <autodoc>GetUndoCollection(self) -&gt; bool</autodoc>
       </method>
       <method name="GetViewWhiteSpace" type="int" overloaded="no">
       </method>
       <method name="GetViewWhiteSpace" type="int" overloaded="no">
-        <autodoc>GetViewWhiteSpace() -&gt; int</autodoc>
+        <autodoc>GetViewWhiteSpace(self) -&gt; int</autodoc>
       </method>
       <method name="SetViewWhiteSpace" type="" overloaded="no">
       </method>
       <method name="SetViewWhiteSpace" type="" overloaded="no">
-        <autodoc>SetViewWhiteSpace(int viewWS)</autodoc>
+        <autodoc>SetViewWhiteSpace(self, int viewWS)</autodoc>
         <paramlist>
           <param name="viewWS" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PositionFromPoint" type="int" overloaded="no">
         <paramlist>
           <param name="viewWS" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PositionFromPoint" type="int" overloaded="no">
-        <autodoc>PositionFromPoint(Point pt) -&gt; int</autodoc>
+        <autodoc>PositionFromPoint(self, Point pt) -&gt; int</autodoc>
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="PositionFromPointClose" type="int" overloaded="no">
         <paramlist>
           <param name="pt" type="Point" default=""/>
         </paramlist>
       </method>
       <method name="PositionFromPointClose" type="int" overloaded="no">
-        <autodoc>PositionFromPointClose(int x, int y) -&gt; int</autodoc>
+        <autodoc>PositionFromPointClose(self, int x, int y) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GotoLine" type="" overloaded="no">
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GotoLine" type="" overloaded="no">
-        <autodoc>GotoLine(int line)</autodoc>
+        <autodoc>GotoLine(self, int line)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GotoPos" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GotoPos" type="" overloaded="no">
-        <autodoc>GotoPos(int pos)</autodoc>
+        <autodoc>GotoPos(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAnchor" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetAnchor" type="" overloaded="no">
-        <autodoc>SetAnchor(int posAnchor)</autodoc>
+        <autodoc>SetAnchor(self, int posAnchor)</autodoc>
         <paramlist>
           <param name="posAnchor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCurLine" type="String" overloaded="no">
         <paramlist>
           <param name="posAnchor" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCurLine" type="String" overloaded="no">
-        <autodoc>GetCurLine(int OUTPUT) -&gt; String</autodoc>
+        <autodoc>GetCurLine(self, int OUTPUT) -&gt; String</autodoc>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEndStyled" type="int" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEndStyled" type="int" overloaded="no">
-        <autodoc>GetEndStyled() -&gt; int</autodoc>
+        <autodoc>GetEndStyled(self) -&gt; int</autodoc>
       </method>
       <method name="ConvertEOLs" type="" overloaded="no">
       </method>
       <method name="ConvertEOLs" type="" overloaded="no">
-        <autodoc>ConvertEOLs(int eolMode)</autodoc>
+        <autodoc>ConvertEOLs(self, int eolMode)</autodoc>
         <paramlist>
           <param name="eolMode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEOLMode" type="int" overloaded="no">
         <paramlist>
           <param name="eolMode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEOLMode" type="int" overloaded="no">
-        <autodoc>GetEOLMode() -&gt; int</autodoc>
+        <autodoc>GetEOLMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetEOLMode" type="" overloaded="no">
       </method>
       <method name="SetEOLMode" type="" overloaded="no">
-        <autodoc>SetEOLMode(int eolMode)</autodoc>
+        <autodoc>SetEOLMode(self, int eolMode)</autodoc>
         <paramlist>
           <param name="eolMode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StartStyling" type="" overloaded="no">
         <paramlist>
           <param name="eolMode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StartStyling" type="" overloaded="no">
-        <autodoc>StartStyling(int pos, int mask)</autodoc>
+        <autodoc>StartStyling(self, int pos, int mask)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="mask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyling" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="mask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetStyling" type="" overloaded="no">
-        <autodoc>SetStyling(int length, int style)</autodoc>
+        <autodoc>SetStyling(self, int length, int style)</autodoc>
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBufferedDraw" type="bool" overloaded="no">
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetBufferedDraw" type="bool" overloaded="no">
-        <autodoc>GetBufferedDraw() -&gt; bool</autodoc>
+        <autodoc>GetBufferedDraw(self) -&gt; bool</autodoc>
       </method>
       <method name="SetBufferedDraw" type="" overloaded="no">
       </method>
       <method name="SetBufferedDraw" type="" overloaded="no">
-        <autodoc>SetBufferedDraw(bool buffered)</autodoc>
+        <autodoc>SetBufferedDraw(self, bool buffered)</autodoc>
         <paramlist>
           <param name="buffered" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetTabWidth" type="" overloaded="no">
         <paramlist>
           <param name="buffered" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetTabWidth" type="" overloaded="no">
-        <autodoc>SetTabWidth(int tabWidth)</autodoc>
+        <autodoc>SetTabWidth(self, int tabWidth)</autodoc>
         <paramlist>
           <param name="tabWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetTabWidth" type="int" overloaded="no">
         <paramlist>
           <param name="tabWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetTabWidth" type="int" overloaded="no">
-        <autodoc>GetTabWidth() -&gt; int</autodoc>
+        <autodoc>GetTabWidth(self) -&gt; int</autodoc>
       </method>
       <method name="SetCodePage" type="" overloaded="no">
       </method>
       <method name="SetCodePage" type="" overloaded="no">
-        <autodoc>SetCodePage(int codePage)</autodoc>
+        <autodoc>SetCodePage(self, int codePage)</autodoc>
         <paramlist>
           <param name="codePage" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDefine" type="" overloaded="no">
         <paramlist>
           <param name="codePage" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDefine" type="" overloaded="no">
-        <autodoc>MarkerDefine(int markerNumber, int markerSymbol, Colour foreground=wxNullColour, 
+        <autodoc>MarkerDefine(self, int markerNumber, int markerSymbol, Colour foreground=wxNullColour, 
     Colour background=wxNullColour)</autodoc>
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
     Colour background=wxNullColour)</autodoc>
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
@@ -34844,223 +37885,223 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="MarkerSetForeground" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="MarkerSetForeground" type="" overloaded="no">
-        <autodoc>MarkerSetForeground(int markerNumber, Colour fore)</autodoc>
+        <autodoc>MarkerSetForeground(self, int markerNumber, Colour fore)</autodoc>
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="MarkerSetBackground" type="" overloaded="no">
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="MarkerSetBackground" type="" overloaded="no">
-        <autodoc>MarkerSetBackground(int markerNumber, Colour back)</autodoc>
+        <autodoc>MarkerSetBackground(self, int markerNumber, Colour back)</autodoc>
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="MarkerAdd" type="int" overloaded="no">
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="MarkerAdd" type="int" overloaded="no">
-        <autodoc>MarkerAdd(int line, int markerNumber) -&gt; int</autodoc>
+        <autodoc>MarkerAdd(self, int line, int markerNumber) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="markerNumber" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDelete" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="markerNumber" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDelete" type="" overloaded="no">
-        <autodoc>MarkerDelete(int line, int markerNumber)</autodoc>
+        <autodoc>MarkerDelete(self, int line, int markerNumber)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="markerNumber" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDeleteAll" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="markerNumber" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDeleteAll" type="" overloaded="no">
-        <autodoc>MarkerDeleteAll(int markerNumber)</autodoc>
+        <autodoc>MarkerDeleteAll(self, int markerNumber)</autodoc>
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerGet" type="int" overloaded="no">
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerGet" type="int" overloaded="no">
-        <autodoc>MarkerGet(int line) -&gt; int</autodoc>
+        <autodoc>MarkerGet(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerNext" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerNext" type="int" overloaded="no">
-        <autodoc>MarkerNext(int lineStart, int markerMask) -&gt; int</autodoc>
+        <autodoc>MarkerNext(self, int lineStart, int markerMask) -&gt; int</autodoc>
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="markerMask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerPrevious" type="int" overloaded="no">
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="markerMask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerPrevious" type="int" overloaded="no">
-        <autodoc>MarkerPrevious(int lineStart, int markerMask) -&gt; int</autodoc>
+        <autodoc>MarkerPrevious(self, int lineStart, int markerMask) -&gt; int</autodoc>
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="markerMask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDefineBitmap" type="" overloaded="no">
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="markerMask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="MarkerDefineBitmap" type="" overloaded="no">
-        <autodoc>MarkerDefineBitmap(int markerNumber, Bitmap bmp)</autodoc>
+        <autodoc>MarkerDefineBitmap(self, int markerNumber, Bitmap bmp)</autodoc>
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginType" type="" overloaded="no">
         <paramlist>
           <param name="markerNumber" type="int" default=""/>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginType" type="" overloaded="no">
-        <autodoc>SetMarginType(int margin, int marginType)</autodoc>
+        <autodoc>SetMarginType(self, int margin, int marginType)</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="marginType" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginType" type="int" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="marginType" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginType" type="int" overloaded="no">
-        <autodoc>GetMarginType(int margin) -&gt; int</autodoc>
+        <autodoc>GetMarginType(self, int margin) -&gt; int</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginWidth" type="" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginWidth" type="" overloaded="no">
-        <autodoc>SetMarginWidth(int margin, int pixelWidth)</autodoc>
+        <autodoc>SetMarginWidth(self, int margin, int pixelWidth)</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginWidth" type="int" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginWidth" type="int" overloaded="no">
-        <autodoc>GetMarginWidth(int margin) -&gt; int</autodoc>
+        <autodoc>GetMarginWidth(self, int margin) -&gt; int</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginMask" type="" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginMask" type="" overloaded="no">
-        <autodoc>SetMarginMask(int margin, int mask)</autodoc>
+        <autodoc>SetMarginMask(self, int margin, int mask)</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="mask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginMask" type="int" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="mask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginMask" type="int" overloaded="no">
-        <autodoc>GetMarginMask(int margin) -&gt; int</autodoc>
+        <autodoc>GetMarginMask(self, int margin) -&gt; int</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginSensitive" type="" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMarginSensitive" type="" overloaded="no">
-        <autodoc>SetMarginSensitive(int margin, bool sensitive)</autodoc>
+        <autodoc>SetMarginSensitive(self, int margin, bool sensitive)</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="sensitive" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginSensitive" type="bool" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
           <param name="sensitive" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginSensitive" type="bool" overloaded="no">
-        <autodoc>GetMarginSensitive(int margin) -&gt; bool</autodoc>
+        <autodoc>GetMarginSensitive(self, int margin) -&gt; bool</autodoc>
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleClearAll" type="" overloaded="no">
         <paramlist>
           <param name="margin" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleClearAll" type="" overloaded="no">
-        <autodoc>StyleClearAll()</autodoc>
+        <autodoc>StyleClearAll(self)</autodoc>
       </method>
       <method name="StyleSetForeground" type="" overloaded="no">
       </method>
       <method name="StyleSetForeground" type="" overloaded="no">
-        <autodoc>StyleSetForeground(int style, Colour fore)</autodoc>
+        <autodoc>StyleSetForeground(self, int style, Colour fore)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetBackground" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetBackground" type="" overloaded="no">
-        <autodoc>StyleSetBackground(int style, Colour back)</autodoc>
+        <autodoc>StyleSetBackground(self, int style, Colour back)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetBold" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetBold" type="" overloaded="no">
-        <autodoc>StyleSetBold(int style, bool bold)</autodoc>
+        <autodoc>StyleSetBold(self, int style, bool bold)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="bold" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetItalic" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="bold" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetItalic" type="" overloaded="no">
-        <autodoc>StyleSetItalic(int style, bool italic)</autodoc>
+        <autodoc>StyleSetItalic(self, int style, bool italic)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="italic" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetSize" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="italic" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetSize" type="" overloaded="no">
-        <autodoc>StyleSetSize(int style, int sizePoints)</autodoc>
+        <autodoc>StyleSetSize(self, int style, int sizePoints)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="sizePoints" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetFaceName" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="sizePoints" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetFaceName" type="" overloaded="no">
-        <autodoc>StyleSetFaceName(int style, String fontName)</autodoc>
+        <autodoc>StyleSetFaceName(self, int style, String fontName)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="fontName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetEOLFilled" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="fontName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetEOLFilled" type="" overloaded="no">
-        <autodoc>StyleSetEOLFilled(int style, bool filled)</autodoc>
+        <autodoc>StyleSetEOLFilled(self, int style, bool filled)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="filled" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleResetDefault" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="filled" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleResetDefault" type="" overloaded="no">
-        <autodoc>StyleResetDefault()</autodoc>
+        <autodoc>StyleResetDefault(self)</autodoc>
       </method>
       <method name="StyleSetUnderline" type="" overloaded="no">
       </method>
       <method name="StyleSetUnderline" type="" overloaded="no">
-        <autodoc>StyleSetUnderline(int style, bool underline)</autodoc>
+        <autodoc>StyleSetUnderline(self, int style, bool underline)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="underline" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetCase" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="underline" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetCase" type="" overloaded="no">
-        <autodoc>StyleSetCase(int style, int caseForce)</autodoc>
+        <autodoc>StyleSetCase(self, int style, int caseForce)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="caseForce" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetCharacterSet" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="caseForce" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetCharacterSet" type="" overloaded="no">
-        <autodoc>StyleSetCharacterSet(int style, int characterSet)</autodoc>
+        <autodoc>StyleSetCharacterSet(self, int style, int characterSet)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="characterSet" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetHotSpot" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="characterSet" type="int" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetHotSpot" type="" overloaded="no">
-        <autodoc>StyleSetHotSpot(int style, bool hotspot)</autodoc>
+        <autodoc>StyleSetHotSpot(self, int style, bool hotspot)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="hotspot" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSelForeground" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="hotspot" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetSelForeground" type="" overloaded="no">
-        <autodoc>SetSelForeground(bool useSetting, Colour fore)</autodoc>
+        <autodoc>SetSelForeground(self, bool useSetting, Colour fore)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetSelBackground" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetSelBackground" type="" overloaded="no">
-        <autodoc>SetSelBackground(bool useSetting, Colour back)</autodoc>
+        <autodoc>SetSelBackground(self, bool useSetting, Colour back)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCaretForeground" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetCaretForeground" type="" overloaded="no">
-        <autodoc>SetCaretForeground(Colour fore)</autodoc>
+        <autodoc>SetCaretForeground(self, Colour fore)</autodoc>
         <paramlist>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="CmdKeyAssign" type="" overloaded="no">
         <paramlist>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="CmdKeyAssign" type="" overloaded="no">
-        <autodoc>CmdKeyAssign(int key, int modifiers, int cmd)</autodoc>
+        <autodoc>CmdKeyAssign(self, int key, int modifiers, int cmd)</autodoc>
         <paramlist>
           <param name="key" type="int" default=""/>
           <param name="modifiers" type="int" default=""/>
         <paramlist>
           <param name="key" type="int" default=""/>
           <param name="modifiers" type="int" default=""/>
@@ -35068,386 +38109,386 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="CmdKeyClear" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="CmdKeyClear" type="" overloaded="no">
-        <autodoc>CmdKeyClear(int key, int modifiers)</autodoc>
+        <autodoc>CmdKeyClear(self, int key, int modifiers)</autodoc>
         <paramlist>
           <param name="key" type="int" default=""/>
           <param name="modifiers" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CmdKeyClearAll" type="" overloaded="no">
         <paramlist>
           <param name="key" type="int" default=""/>
           <param name="modifiers" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CmdKeyClearAll" type="" overloaded="no">
-        <autodoc>CmdKeyClearAll()</autodoc>
+        <autodoc>CmdKeyClearAll(self)</autodoc>
       </method>
       <method name="SetStyleBytes" type="" overloaded="no">
       </method>
       <method name="SetStyleBytes" type="" overloaded="no">
-        <autodoc>SetStyleBytes(int length, char styleBytes)</autodoc>
+        <autodoc>SetStyleBytes(self, int length, char styleBytes)</autodoc>
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="styleBytes" type="char" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetVisible" type="" overloaded="no">
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="styleBytes" type="char" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetVisible" type="" overloaded="no">
-        <autodoc>StyleSetVisible(int style, bool visible)</autodoc>
+        <autodoc>StyleSetVisible(self, int style, bool visible)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="visible" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetCaretPeriod" type="int" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="visible" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetCaretPeriod" type="int" overloaded="no">
-        <autodoc>GetCaretPeriod() -&gt; int</autodoc>
+        <autodoc>GetCaretPeriod(self) -&gt; int</autodoc>
       </method>
       <method name="SetCaretPeriod" type="" overloaded="no">
       </method>
       <method name="SetCaretPeriod" type="" overloaded="no">
-        <autodoc>SetCaretPeriod(int periodMilliseconds)</autodoc>
+        <autodoc>SetCaretPeriod(self, int periodMilliseconds)</autodoc>
         <paramlist>
           <param name="periodMilliseconds" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWordChars" type="" overloaded="no">
         <paramlist>
           <param name="periodMilliseconds" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWordChars" type="" overloaded="no">
-        <autodoc>SetWordChars(String characters)</autodoc>
+        <autodoc>SetWordChars(self, String characters)</autodoc>
         <paramlist>
           <param name="characters" type="String" default=""/>
         </paramlist>
       </method>
       <method name="BeginUndoAction" type="" overloaded="no">
         <paramlist>
           <param name="characters" type="String" default=""/>
         </paramlist>
       </method>
       <method name="BeginUndoAction" type="" overloaded="no">
-        <autodoc>BeginUndoAction()</autodoc>
+        <autodoc>BeginUndoAction(self)</autodoc>
       </method>
       <method name="EndUndoAction" type="" overloaded="no">
       </method>
       <method name="EndUndoAction" type="" overloaded="no">
-        <autodoc>EndUndoAction()</autodoc>
+        <autodoc>EndUndoAction(self)</autodoc>
       </method>
       <method name="IndicatorSetStyle" type="" overloaded="no">
       </method>
       <method name="IndicatorSetStyle" type="" overloaded="no">
-        <autodoc>IndicatorSetStyle(int indic, int style)</autodoc>
+        <autodoc>IndicatorSetStyle(self, int indic, int style)</autodoc>
         <paramlist>
           <param name="indic" type="int" default=""/>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IndicatorGetStyle" type="int" overloaded="no">
         <paramlist>
           <param name="indic" type="int" default=""/>
           <param name="style" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IndicatorGetStyle" type="int" overloaded="no">
-        <autodoc>IndicatorGetStyle(int indic) -&gt; int</autodoc>
+        <autodoc>IndicatorGetStyle(self, int indic) -&gt; int</autodoc>
         <paramlist>
           <param name="indic" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IndicatorSetForeground" type="" overloaded="no">
         <paramlist>
           <param name="indic" type="int" default=""/>
         </paramlist>
       </method>
       <method name="IndicatorSetForeground" type="" overloaded="no">
-        <autodoc>IndicatorSetForeground(int indic, Colour fore)</autodoc>
+        <autodoc>IndicatorSetForeground(self, int indic, Colour fore)</autodoc>
         <paramlist>
           <param name="indic" type="int" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="IndicatorGetForeground" type="Colour" overloaded="no">
         <paramlist>
           <param name="indic" type="int" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="IndicatorGetForeground" type="Colour" overloaded="no">
-        <autodoc>IndicatorGetForeground(int indic) -&gt; Colour</autodoc>
+        <autodoc>IndicatorGetForeground(self, int indic) -&gt; Colour</autodoc>
         <paramlist>
           <param name="indic" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWhitespaceForeground" type="" overloaded="no">
         <paramlist>
           <param name="indic" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWhitespaceForeground" type="" overloaded="no">
-        <autodoc>SetWhitespaceForeground(bool useSetting, Colour fore)</autodoc>
+        <autodoc>SetWhitespaceForeground(self, bool useSetting, Colour fore)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetWhitespaceBackground" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetWhitespaceBackground" type="" overloaded="no">
-        <autodoc>SetWhitespaceBackground(bool useSetting, Colour back)</autodoc>
+        <autodoc>SetWhitespaceBackground(self, bool useSetting, Colour back)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetStyleBits" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetStyleBits" type="" overloaded="no">
-        <autodoc>SetStyleBits(int bits)</autodoc>
+        <autodoc>SetStyleBits(self, int bits)</autodoc>
         <paramlist>
           <param name="bits" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStyleBits" type="int" overloaded="no">
         <paramlist>
           <param name="bits" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStyleBits" type="int" overloaded="no">
-        <autodoc>GetStyleBits() -&gt; int</autodoc>
+        <autodoc>GetStyleBits(self) -&gt; int</autodoc>
       </method>
       <method name="SetLineState" type="" overloaded="no">
       </method>
       <method name="SetLineState" type="" overloaded="no">
-        <autodoc>SetLineState(int line, int state)</autodoc>
+        <autodoc>SetLineState(self, int line, int state)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="state" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineState" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="state" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineState" type="int" overloaded="no">
-        <autodoc>GetLineState(int line) -&gt; int</autodoc>
+        <autodoc>GetLineState(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaxLineState" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMaxLineState" type="int" overloaded="no">
-        <autodoc>GetMaxLineState() -&gt; int</autodoc>
+        <autodoc>GetMaxLineState(self) -&gt; int</autodoc>
       </method>
       <method name="GetCaretLineVisible" type="bool" overloaded="no">
       </method>
       <method name="GetCaretLineVisible" type="bool" overloaded="no">
-        <autodoc>GetCaretLineVisible() -&gt; bool</autodoc>
+        <autodoc>GetCaretLineVisible(self) -&gt; bool</autodoc>
       </method>
       <method name="SetCaretLineVisible" type="" overloaded="no">
       </method>
       <method name="SetCaretLineVisible" type="" overloaded="no">
-        <autodoc>SetCaretLineVisible(bool show)</autodoc>
+        <autodoc>SetCaretLineVisible(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetCaretLineBack" type="Colour" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetCaretLineBack" type="Colour" overloaded="no">
-        <autodoc>GetCaretLineBack() -&gt; Colour</autodoc>
+        <autodoc>GetCaretLineBack(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetCaretLineBack" type="" overloaded="no">
       </method>
       <method name="SetCaretLineBack" type="" overloaded="no">
-        <autodoc>SetCaretLineBack(Colour back)</autodoc>
+        <autodoc>SetCaretLineBack(self, Colour back)</autodoc>
         <paramlist>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetChangeable" type="" overloaded="no">
         <paramlist>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetChangeable" type="" overloaded="no">
-        <autodoc>StyleSetChangeable(int style, bool changeable)</autodoc>
+        <autodoc>StyleSetChangeable(self, int style, bool changeable)</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="changeable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompShow" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="changeable" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompShow" type="" overloaded="no">
-        <autodoc>AutoCompShow(int lenEntered, String itemList)</autodoc>
+        <autodoc>AutoCompShow(self, int lenEntered, String itemList)</autodoc>
         <paramlist>
           <param name="lenEntered" type="int" default=""/>
           <param name="itemList" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompCancel" type="" overloaded="no">
         <paramlist>
           <param name="lenEntered" type="int" default=""/>
           <param name="itemList" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompCancel" type="" overloaded="no">
-        <autodoc>AutoCompCancel()</autodoc>
+        <autodoc>AutoCompCancel(self)</autodoc>
       </method>
       <method name="AutoCompActive" type="bool" overloaded="no">
       </method>
       <method name="AutoCompActive" type="bool" overloaded="no">
-        <autodoc>AutoCompActive() -&gt; bool</autodoc>
+        <autodoc>AutoCompActive(self) -&gt; bool</autodoc>
       </method>
       <method name="AutoCompPosStart" type="int" overloaded="no">
       </method>
       <method name="AutoCompPosStart" type="int" overloaded="no">
-        <autodoc>AutoCompPosStart() -&gt; int</autodoc>
+        <autodoc>AutoCompPosStart(self) -&gt; int</autodoc>
       </method>
       <method name="AutoCompComplete" type="" overloaded="no">
       </method>
       <method name="AutoCompComplete" type="" overloaded="no">
-        <autodoc>AutoCompComplete()</autodoc>
+        <autodoc>AutoCompComplete(self)</autodoc>
       </method>
       <method name="AutoCompStops" type="" overloaded="no">
       </method>
       <method name="AutoCompStops" type="" overloaded="no">
-        <autodoc>AutoCompStops(String characterSet)</autodoc>
+        <autodoc>AutoCompStops(self, String characterSet)</autodoc>
         <paramlist>
           <param name="characterSet" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetSeparator" type="" overloaded="no">
         <paramlist>
           <param name="characterSet" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetSeparator" type="" overloaded="no">
-        <autodoc>AutoCompSetSeparator(int separatorCharacter)</autodoc>
+        <autodoc>AutoCompSetSeparator(self, int separatorCharacter)</autodoc>
         <paramlist>
           <param name="separatorCharacter" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetSeparator" type="int" overloaded="no">
         <paramlist>
           <param name="separatorCharacter" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetSeparator" type="int" overloaded="no">
-        <autodoc>AutoCompGetSeparator() -&gt; int</autodoc>
+        <autodoc>AutoCompGetSeparator(self) -&gt; int</autodoc>
       </method>
       <method name="AutoCompSelect" type="" overloaded="no">
       </method>
       <method name="AutoCompSelect" type="" overloaded="no">
-        <autodoc>AutoCompSelect(String text)</autodoc>
+        <autodoc>AutoCompSelect(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetCancelAtStart" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetCancelAtStart" type="" overloaded="no">
-        <autodoc>AutoCompSetCancelAtStart(bool cancel)</autodoc>
+        <autodoc>AutoCompSetCancelAtStart(self, bool cancel)</autodoc>
         <paramlist>
           <param name="cancel" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no">
         <paramlist>
           <param name="cancel" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetCancelAtStart" type="bool" overloaded="no">
-        <autodoc>AutoCompGetCancelAtStart() -&gt; bool</autodoc>
+        <autodoc>AutoCompGetCancelAtStart(self) -&gt; bool</autodoc>
       </method>
       <method name="AutoCompSetFillUps" type="" overloaded="no">
       </method>
       <method name="AutoCompSetFillUps" type="" overloaded="no">
-        <autodoc>AutoCompSetFillUps(String characterSet)</autodoc>
+        <autodoc>AutoCompSetFillUps(self, String characterSet)</autodoc>
         <paramlist>
           <param name="characterSet" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetChooseSingle" type="" overloaded="no">
         <paramlist>
           <param name="characterSet" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetChooseSingle" type="" overloaded="no">
-        <autodoc>AutoCompSetChooseSingle(bool chooseSingle)</autodoc>
+        <autodoc>AutoCompSetChooseSingle(self, bool chooseSingle)</autodoc>
         <paramlist>
           <param name="chooseSingle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetChooseSingle" type="bool" overloaded="no">
         <paramlist>
           <param name="chooseSingle" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetChooseSingle" type="bool" overloaded="no">
-        <autodoc>AutoCompGetChooseSingle() -&gt; bool</autodoc>
+        <autodoc>AutoCompGetChooseSingle(self) -&gt; bool</autodoc>
       </method>
       <method name="AutoCompSetIgnoreCase" type="" overloaded="no">
       </method>
       <method name="AutoCompSetIgnoreCase" type="" overloaded="no">
-        <autodoc>AutoCompSetIgnoreCase(bool ignoreCase)</autodoc>
+        <autodoc>AutoCompSetIgnoreCase(self, bool ignoreCase)</autodoc>
         <paramlist>
           <param name="ignoreCase" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no">
         <paramlist>
           <param name="ignoreCase" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetIgnoreCase" type="bool" overloaded="no">
-        <autodoc>AutoCompGetIgnoreCase() -&gt; bool</autodoc>
+        <autodoc>AutoCompGetIgnoreCase(self) -&gt; bool</autodoc>
       </method>
       <method name="UserListShow" type="" overloaded="no">
       </method>
       <method name="UserListShow" type="" overloaded="no">
-        <autodoc>UserListShow(int listType, String itemList)</autodoc>
+        <autodoc>UserListShow(self, int listType, String itemList)</autodoc>
         <paramlist>
           <param name="listType" type="int" default=""/>
           <param name="itemList" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetAutoHide" type="" overloaded="no">
         <paramlist>
           <param name="listType" type="int" default=""/>
           <param name="itemList" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompSetAutoHide" type="" overloaded="no">
-        <autodoc>AutoCompSetAutoHide(bool autoHide)</autodoc>
+        <autodoc>AutoCompSetAutoHide(self, bool autoHide)</autodoc>
         <paramlist>
           <param name="autoHide" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetAutoHide" type="bool" overloaded="no">
         <paramlist>
           <param name="autoHide" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetAutoHide" type="bool" overloaded="no">
-        <autodoc>AutoCompGetAutoHide() -&gt; bool</autodoc>
+        <autodoc>AutoCompGetAutoHide(self) -&gt; bool</autodoc>
       </method>
       <method name="AutoCompSetDropRestOfWord" type="" overloaded="no">
       </method>
       <method name="AutoCompSetDropRestOfWord" type="" overloaded="no">
-        <autodoc>AutoCompSetDropRestOfWord(bool dropRestOfWord)</autodoc>
+        <autodoc>AutoCompSetDropRestOfWord(self, bool dropRestOfWord)</autodoc>
         <paramlist>
           <param name="dropRestOfWord" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no">
         <paramlist>
           <param name="dropRestOfWord" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="AutoCompGetDropRestOfWord" type="bool" overloaded="no">
-        <autodoc>AutoCompGetDropRestOfWord() -&gt; bool</autodoc>
+        <autodoc>AutoCompGetDropRestOfWord(self) -&gt; bool</autodoc>
       </method>
       <method name="RegisterImage" type="" overloaded="no">
       </method>
       <method name="RegisterImage" type="" overloaded="no">
-        <autodoc>RegisterImage(int type, Bitmap bmp)</autodoc>
+        <autodoc>RegisterImage(self, int type, Bitmap bmp)</autodoc>
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="ClearRegisteredImages" type="" overloaded="no">
         <paramlist>
           <param name="type" type="int" default=""/>
           <param name="bmp" type="Bitmap" default=""/>
         </paramlist>
       </method>
       <method name="ClearRegisteredImages" type="" overloaded="no">
-        <autodoc>ClearRegisteredImages()</autodoc>
+        <autodoc>ClearRegisteredImages(self)</autodoc>
       </method>
       <method name="AutoCompGetTypeSeparator" type="int" overloaded="no">
       </method>
       <method name="AutoCompGetTypeSeparator" type="int" overloaded="no">
-        <autodoc>AutoCompGetTypeSeparator() -&gt; int</autodoc>
+        <autodoc>AutoCompGetTypeSeparator(self) -&gt; int</autodoc>
       </method>
       <method name="AutoCompSetTypeSeparator" type="" overloaded="no">
       </method>
       <method name="AutoCompSetTypeSeparator" type="" overloaded="no">
-        <autodoc>AutoCompSetTypeSeparator(int separatorCharacter)</autodoc>
+        <autodoc>AutoCompSetTypeSeparator(self, int separatorCharacter)</autodoc>
         <paramlist>
           <param name="separatorCharacter" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetIndent" type="" overloaded="no">
         <paramlist>
           <param name="separatorCharacter" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetIndent" type="" overloaded="no">
-        <autodoc>SetIndent(int indentSize)</autodoc>
+        <autodoc>SetIndent(self, int indentSize)</autodoc>
         <paramlist>
           <param name="indentSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetIndent" type="int" overloaded="no">
         <paramlist>
           <param name="indentSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetIndent" type="int" overloaded="no">
-        <autodoc>GetIndent() -&gt; int</autodoc>
+        <autodoc>GetIndent(self) -&gt; int</autodoc>
       </method>
       <method name="SetUseTabs" type="" overloaded="no">
       </method>
       <method name="SetUseTabs" type="" overloaded="no">
-        <autodoc>SetUseTabs(bool useTabs)</autodoc>
+        <autodoc>SetUseTabs(self, bool useTabs)</autodoc>
         <paramlist>
           <param name="useTabs" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseTabs" type="bool" overloaded="no">
         <paramlist>
           <param name="useTabs" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseTabs" type="bool" overloaded="no">
-        <autodoc>GetUseTabs() -&gt; bool</autodoc>
+        <autodoc>GetUseTabs(self) -&gt; bool</autodoc>
       </method>
       <method name="SetLineIndentation" type="" overloaded="no">
       </method>
       <method name="SetLineIndentation" type="" overloaded="no">
-        <autodoc>SetLineIndentation(int line, int indentSize)</autodoc>
+        <autodoc>SetLineIndentation(self, int line, int indentSize)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="indentSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineIndentation" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="indentSize" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineIndentation" type="int" overloaded="no">
-        <autodoc>GetLineIndentation(int line) -&gt; int</autodoc>
+        <autodoc>GetLineIndentation(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineIndentPosition" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineIndentPosition" type="int" overloaded="no">
-        <autodoc>GetLineIndentPosition(int line) -&gt; int</autodoc>
+        <autodoc>GetLineIndentPosition(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColumn" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColumn" type="int" overloaded="no">
-        <autodoc>GetColumn(int pos) -&gt; int</autodoc>
+        <autodoc>GetColumn(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetUseHorizontalScrollBar" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetUseHorizontalScrollBar" type="" overloaded="no">
-        <autodoc>SetUseHorizontalScrollBar(bool show)</autodoc>
+        <autodoc>SetUseHorizontalScrollBar(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseHorizontalScrollBar" type="bool" overloaded="no">
-        <autodoc>GetUseHorizontalScrollBar() -&gt; bool</autodoc>
+        <autodoc>GetUseHorizontalScrollBar(self) -&gt; bool</autodoc>
       </method>
       <method name="SetIndentationGuides" type="" overloaded="no">
       </method>
       <method name="SetIndentationGuides" type="" overloaded="no">
-        <autodoc>SetIndentationGuides(bool show)</autodoc>
+        <autodoc>SetIndentationGuides(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetIndentationGuides" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetIndentationGuides" type="bool" overloaded="no">
-        <autodoc>GetIndentationGuides() -&gt; bool</autodoc>
+        <autodoc>GetIndentationGuides(self) -&gt; bool</autodoc>
       </method>
       <method name="SetHighlightGuide" type="" overloaded="no">
       </method>
       <method name="SetHighlightGuide" type="" overloaded="no">
-        <autodoc>SetHighlightGuide(int column)</autodoc>
+        <autodoc>SetHighlightGuide(self, int column)</autodoc>
         <paramlist>
           <param name="column" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetHighlightGuide" type="int" overloaded="no">
         <paramlist>
           <param name="column" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetHighlightGuide" type="int" overloaded="no">
-        <autodoc>GetHighlightGuide() -&gt; int</autodoc>
+        <autodoc>GetHighlightGuide(self) -&gt; int</autodoc>
       </method>
       <method name="GetLineEndPosition" type="int" overloaded="no">
       </method>
       <method name="GetLineEndPosition" type="int" overloaded="no">
-        <autodoc>GetLineEndPosition(int line) -&gt; int</autodoc>
+        <autodoc>GetLineEndPosition(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCodePage" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCodePage" type="int" overloaded="no">
-        <autodoc>GetCodePage() -&gt; int</autodoc>
+        <autodoc>GetCodePage(self) -&gt; int</autodoc>
       </method>
       <method name="GetCaretForeground" type="Colour" overloaded="no">
       </method>
       <method name="GetCaretForeground" type="Colour" overloaded="no">
-        <autodoc>GetCaretForeground() -&gt; Colour</autodoc>
+        <autodoc>GetCaretForeground(self) -&gt; Colour</autodoc>
       </method>
       <method name="GetReadOnly" type="bool" overloaded="no">
       </method>
       <method name="GetReadOnly" type="bool" overloaded="no">
-        <autodoc>GetReadOnly() -&gt; bool</autodoc>
+        <autodoc>GetReadOnly(self) -&gt; bool</autodoc>
       </method>
       <method name="SetCurrentPos" type="" overloaded="no">
       </method>
       <method name="SetCurrentPos" type="" overloaded="no">
-        <autodoc>SetCurrentPos(int pos)</autodoc>
+        <autodoc>SetCurrentPos(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionStart" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionStart" type="" overloaded="no">
-        <autodoc>SetSelectionStart(int pos)</autodoc>
+        <autodoc>SetSelectionStart(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionStart" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionStart" type="int" overloaded="no">
-        <autodoc>GetSelectionStart() -&gt; int</autodoc>
+        <autodoc>GetSelectionStart(self) -&gt; int</autodoc>
       </method>
       <method name="SetSelectionEnd" type="" overloaded="no">
       </method>
       <method name="SetSelectionEnd" type="" overloaded="no">
-        <autodoc>SetSelectionEnd(int pos)</autodoc>
+        <autodoc>SetSelectionEnd(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionEnd" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionEnd" type="int" overloaded="no">
-        <autodoc>GetSelectionEnd() -&gt; int</autodoc>
+        <autodoc>GetSelectionEnd(self) -&gt; int</autodoc>
       </method>
       <method name="SetPrintMagnification" type="" overloaded="no">
       </method>
       <method name="SetPrintMagnification" type="" overloaded="no">
-        <autodoc>SetPrintMagnification(int magnification)</autodoc>
+        <autodoc>SetPrintMagnification(self, int magnification)</autodoc>
         <paramlist>
           <param name="magnification" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintMagnification" type="int" overloaded="no">
         <paramlist>
           <param name="magnification" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintMagnification" type="int" overloaded="no">
-        <autodoc>GetPrintMagnification() -&gt; int</autodoc>
+        <autodoc>GetPrintMagnification(self) -&gt; int</autodoc>
       </method>
       <method name="SetPrintColourMode" type="" overloaded="no">
       </method>
       <method name="SetPrintColourMode" type="" overloaded="no">
-        <autodoc>SetPrintColourMode(int mode)</autodoc>
+        <autodoc>SetPrintColourMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintColourMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintColourMode" type="int" overloaded="no">
-        <autodoc>GetPrintColourMode() -&gt; int</autodoc>
+        <autodoc>GetPrintColourMode(self) -&gt; int</autodoc>
       </method>
       <method name="FindText" type="int" overloaded="no">
       </method>
       <method name="FindText" type="int" overloaded="no">
-        <autodoc>FindText(int minPos, int maxPos, String text, int flags=0) -&gt; int</autodoc>
+        <autodoc>FindText(self, int minPos, int maxPos, String text, int flags=0) -&gt; int</autodoc>
         <paramlist>
           <param name="minPos" type="int" default=""/>
           <param name="maxPos" type="int" default=""/>
         <paramlist>
           <param name="minPos" type="int" default=""/>
           <param name="maxPos" type="int" default=""/>
@@ -35456,7 +38497,7 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="FormatRange" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="FormatRange" type="int" overloaded="no">
-        <autodoc>FormatRange(bool doDraw, int startPos, int endPos, DC draw, DC target, 
+        <autodoc>FormatRange(self, bool doDraw, int startPos, int endPos, DC draw, DC target, 
     Rect renderRect, Rect pageRect) -&gt; int</autodoc>
         <paramlist>
           <param name="doDraw" type="bool" default=""/>
     Rect renderRect, Rect pageRect) -&gt; int</autodoc>
         <paramlist>
           <param name="doDraw" type="bool" default=""/>
@@ -35469,1095 +38510,1095 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="GetFirstVisibleLine" type="int" overloaded="no">
         </paramlist>
       </method>
       <method name="GetFirstVisibleLine" type="int" overloaded="no">
-        <autodoc>GetFirstVisibleLine() -&gt; int</autodoc>
+        <autodoc>GetFirstVisibleLine(self) -&gt; int</autodoc>
       </method>
       <method name="GetLine" type="String" overloaded="no">
       </method>
       <method name="GetLine" type="String" overloaded="no">
-        <autodoc>GetLine(int line) -&gt; String</autodoc>
+        <autodoc>GetLine(self, int line) -&gt; String</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineCount" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineCount" type="int" overloaded="no">
-        <autodoc>GetLineCount() -&gt; int</autodoc>
+        <autodoc>GetLineCount(self) -&gt; int</autodoc>
       </method>
       <method name="SetMarginLeft" type="" overloaded="no">
       </method>
       <method name="SetMarginLeft" type="" overloaded="no">
-        <autodoc>SetMarginLeft(int pixelWidth)</autodoc>
+        <autodoc>SetMarginLeft(self, int pixelWidth)</autodoc>
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginLeft" type="int" overloaded="no">
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginLeft" type="int" overloaded="no">
-        <autodoc>GetMarginLeft() -&gt; int</autodoc>
+        <autodoc>GetMarginLeft(self) -&gt; int</autodoc>
       </method>
       <method name="SetMarginRight" type="" overloaded="no">
       </method>
       <method name="SetMarginRight" type="" overloaded="no">
-        <autodoc>SetMarginRight(int pixelWidth)</autodoc>
+        <autodoc>SetMarginRight(self, int pixelWidth)</autodoc>
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginRight" type="int" overloaded="no">
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMarginRight" type="int" overloaded="no">
-        <autodoc>GetMarginRight() -&gt; int</autodoc>
+        <autodoc>GetMarginRight(self) -&gt; int</autodoc>
       </method>
       <method name="GetModify" type="bool" overloaded="no">
       </method>
       <method name="GetModify" type="bool" overloaded="no">
-        <autodoc>GetModify() -&gt; bool</autodoc>
+        <autodoc>GetModify(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSelection" type="" overloaded="no">
       </method>
       <method name="SetSelection" type="" overloaded="no">
-        <autodoc>SetSelection(int start, int end)</autodoc>
+        <autodoc>SetSelection(self, int start, int end)</autodoc>
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedText" type="String" overloaded="no">
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectedText" type="String" overloaded="no">
-        <autodoc>GetSelectedText() -&gt; String</autodoc>
+        <autodoc>GetSelectedText(self) -&gt; String</autodoc>
       </method>
       <method name="GetTextRange" type="String" overloaded="no">
       </method>
       <method name="GetTextRange" type="String" overloaded="no">
-        <autodoc>GetTextRange(int startPos, int endPos) -&gt; String</autodoc>
+        <autodoc>GetTextRange(self, int startPos, int endPos) -&gt; String</autodoc>
         <paramlist>
           <param name="startPos" type="int" default=""/>
           <param name="endPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="HideSelection" type="" overloaded="no">
         <paramlist>
           <param name="startPos" type="int" default=""/>
           <param name="endPos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="HideSelection" type="" overloaded="no">
-        <autodoc>HideSelection(bool normal)</autodoc>
+        <autodoc>HideSelection(self, bool normal)</autodoc>
         <paramlist>
           <param name="normal" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="LineFromPosition" type="int" overloaded="no">
         <paramlist>
           <param name="normal" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="LineFromPosition" type="int" overloaded="no">
-        <autodoc>LineFromPosition(int pos) -&gt; int</autodoc>
+        <autodoc>LineFromPosition(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PositionFromLine" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PositionFromLine" type="int" overloaded="no">
-        <autodoc>PositionFromLine(int line) -&gt; int</autodoc>
+        <autodoc>PositionFromLine(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LineScroll" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LineScroll" type="" overloaded="no">
-        <autodoc>LineScroll(int columns, int lines)</autodoc>
+        <autodoc>LineScroll(self, int columns, int lines)</autodoc>
         <paramlist>
           <param name="columns" type="int" default=""/>
           <param name="lines" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnsureCaretVisible" type="" overloaded="no">
         <paramlist>
           <param name="columns" type="int" default=""/>
           <param name="lines" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnsureCaretVisible" type="" overloaded="no">
-        <autodoc>EnsureCaretVisible()</autodoc>
+        <autodoc>EnsureCaretVisible(self)</autodoc>
       </method>
       <method name="ReplaceSelection" type="" overloaded="no">
       </method>
       <method name="ReplaceSelection" type="" overloaded="no">
-        <autodoc>ReplaceSelection(String text)</autodoc>
+        <autodoc>ReplaceSelection(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetReadOnly" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetReadOnly" type="" overloaded="no">
-        <autodoc>SetReadOnly(bool readOnly)</autodoc>
+        <autodoc>SetReadOnly(self, bool readOnly)</autodoc>
         <paramlist>
           <param name="readOnly" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="CanPaste" type="bool" overloaded="no">
         <paramlist>
           <param name="readOnly" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="CanPaste" type="bool" overloaded="no">
-        <autodoc>CanPaste() -&gt; bool</autodoc>
+        <autodoc>CanPaste(self) -&gt; bool</autodoc>
       </method>
       <method name="CanUndo" type="bool" overloaded="no">
       </method>
       <method name="CanUndo" type="bool" overloaded="no">
-        <autodoc>CanUndo() -&gt; bool</autodoc>
+        <autodoc>CanUndo(self) -&gt; bool</autodoc>
       </method>
       <method name="EmptyUndoBuffer" type="" overloaded="no">
       </method>
       <method name="EmptyUndoBuffer" type="" overloaded="no">
-        <autodoc>EmptyUndoBuffer()</autodoc>
+        <autodoc>EmptyUndoBuffer(self)</autodoc>
       </method>
       <method name="Undo" type="" overloaded="no">
       </method>
       <method name="Undo" type="" overloaded="no">
-        <autodoc>Undo()</autodoc>
+        <autodoc>Undo(self)</autodoc>
       </method>
       <method name="Cut" type="" overloaded="no">
       </method>
       <method name="Cut" type="" overloaded="no">
-        <autodoc>Cut()</autodoc>
+        <autodoc>Cut(self)</autodoc>
       </method>
       <method name="Copy" type="" overloaded="no">
       </method>
       <method name="Copy" type="" overloaded="no">
-        <autodoc>Copy()</autodoc>
+        <autodoc>Copy(self)</autodoc>
       </method>
       <method name="Paste" type="" overloaded="no">
       </method>
       <method name="Paste" type="" overloaded="no">
-        <autodoc>Paste()</autodoc>
+        <autodoc>Paste(self)</autodoc>
       </method>
       <method name="Clear" type="" overloaded="no">
       </method>
       <method name="Clear" type="" overloaded="no">
-        <autodoc>Clear()</autodoc>
+        <autodoc>Clear(self)</autodoc>
       </method>
       <method name="SetText" type="" overloaded="no">
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String text)</autodoc>
+        <autodoc>SetText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetText" type="String" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetTextLength" type="int" overloaded="no">
       </method>
       <method name="GetTextLength" type="int" overloaded="no">
-        <autodoc>GetTextLength() -&gt; int</autodoc>
+        <autodoc>GetTextLength(self) -&gt; int</autodoc>
       </method>
       <method name="SetOvertype" type="" overloaded="no">
       </method>
       <method name="SetOvertype" type="" overloaded="no">
-        <autodoc>SetOvertype(bool overtype)</autodoc>
+        <autodoc>SetOvertype(self, bool overtype)</autodoc>
         <paramlist>
           <param name="overtype" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetOvertype" type="bool" overloaded="no">
         <paramlist>
           <param name="overtype" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetOvertype" type="bool" overloaded="no">
-        <autodoc>GetOvertype() -&gt; bool</autodoc>
+        <autodoc>GetOvertype(self) -&gt; bool</autodoc>
       </method>
       <method name="SetCaretWidth" type="" overloaded="no">
       </method>
       <method name="SetCaretWidth" type="" overloaded="no">
-        <autodoc>SetCaretWidth(int pixelWidth)</autodoc>
+        <autodoc>SetCaretWidth(self, int pixelWidth)</autodoc>
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCaretWidth" type="int" overloaded="no">
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetCaretWidth" type="int" overloaded="no">
-        <autodoc>GetCaretWidth() -&gt; int</autodoc>
+        <autodoc>GetCaretWidth(self) -&gt; int</autodoc>
       </method>
       <method name="SetTargetStart" type="" overloaded="no">
       </method>
       <method name="SetTargetStart" type="" overloaded="no">
-        <autodoc>SetTargetStart(int pos)</autodoc>
+        <autodoc>SetTargetStart(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetTargetStart" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetTargetStart" type="int" overloaded="no">
-        <autodoc>GetTargetStart() -&gt; int</autodoc>
+        <autodoc>GetTargetStart(self) -&gt; int</autodoc>
       </method>
       <method name="SetTargetEnd" type="" overloaded="no">
       </method>
       <method name="SetTargetEnd" type="" overloaded="no">
-        <autodoc>SetTargetEnd(int pos)</autodoc>
+        <autodoc>SetTargetEnd(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetTargetEnd" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetTargetEnd" type="int" overloaded="no">
-        <autodoc>GetTargetEnd() -&gt; int</autodoc>
+        <autodoc>GetTargetEnd(self) -&gt; int</autodoc>
       </method>
       <method name="ReplaceTarget" type="int" overloaded="no">
       </method>
       <method name="ReplaceTarget" type="int" overloaded="no">
-        <autodoc>ReplaceTarget(String text) -&gt; int</autodoc>
+        <autodoc>ReplaceTarget(self, String text) -&gt; int</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ReplaceTargetRE" type="int" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="ReplaceTargetRE" type="int" overloaded="no">
-        <autodoc>ReplaceTargetRE(String text) -&gt; int</autodoc>
+        <autodoc>ReplaceTargetRE(self, String text) -&gt; int</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SearchInTarget" type="int" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SearchInTarget" type="int" overloaded="no">
-        <autodoc>SearchInTarget(String text) -&gt; int</autodoc>
+        <autodoc>SearchInTarget(self, String text) -&gt; int</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetSearchFlags" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetSearchFlags" type="" overloaded="no">
-        <autodoc>SetSearchFlags(int flags)</autodoc>
+        <autodoc>SetSearchFlags(self, int flags)</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSearchFlags" type="int" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSearchFlags" type="int" overloaded="no">
-        <autodoc>GetSearchFlags() -&gt; int</autodoc>
+        <autodoc>GetSearchFlags(self) -&gt; int</autodoc>
       </method>
       <method name="CallTipShow" type="" overloaded="no">
       </method>
       <method name="CallTipShow" type="" overloaded="no">
-        <autodoc>CallTipShow(int pos, String definition)</autodoc>
+        <autodoc>CallTipShow(self, int pos, String definition)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="definition" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CallTipCancel" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="definition" type="String" default=""/>
         </paramlist>
       </method>
       <method name="CallTipCancel" type="" overloaded="no">
-        <autodoc>CallTipCancel()</autodoc>
+        <autodoc>CallTipCancel(self)</autodoc>
       </method>
       <method name="CallTipActive" type="bool" overloaded="no">
       </method>
       <method name="CallTipActive" type="bool" overloaded="no">
-        <autodoc>CallTipActive() -&gt; bool</autodoc>
+        <autodoc>CallTipActive(self) -&gt; bool</autodoc>
       </method>
       <method name="CallTipPosAtStart" type="int" overloaded="no">
       </method>
       <method name="CallTipPosAtStart" type="int" overloaded="no">
-        <autodoc>CallTipPosAtStart() -&gt; int</autodoc>
+        <autodoc>CallTipPosAtStart(self) -&gt; int</autodoc>
       </method>
       <method name="CallTipSetHighlight" type="" overloaded="no">
       </method>
       <method name="CallTipSetHighlight" type="" overloaded="no">
-        <autodoc>CallTipSetHighlight(int start, int end)</autodoc>
+        <autodoc>CallTipSetHighlight(self, int start, int end)</autodoc>
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CallTipSetBackground" type="" overloaded="no">
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CallTipSetBackground" type="" overloaded="no">
-        <autodoc>CallTipSetBackground(Colour back)</autodoc>
+        <autodoc>CallTipSetBackground(self, Colour back)</autodoc>
         <paramlist>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="CallTipSetForeground" type="" overloaded="no">
         <paramlist>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="CallTipSetForeground" type="" overloaded="no">
-        <autodoc>CallTipSetForeground(Colour fore)</autodoc>
+        <autodoc>CallTipSetForeground(self, Colour fore)</autodoc>
         <paramlist>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="CallTipSetForegroundHighlight" type="" overloaded="no">
         <paramlist>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="CallTipSetForegroundHighlight" type="" overloaded="no">
-        <autodoc>CallTipSetForegroundHighlight(Colour fore)</autodoc>
+        <autodoc>CallTipSetForegroundHighlight(self, Colour fore)</autodoc>
         <paramlist>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="VisibleFromDocLine" type="int" overloaded="no">
         <paramlist>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="VisibleFromDocLine" type="int" overloaded="no">
-        <autodoc>VisibleFromDocLine(int line) -&gt; int</autodoc>
+        <autodoc>VisibleFromDocLine(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DocLineFromVisible" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DocLineFromVisible" type="int" overloaded="no">
-        <autodoc>DocLineFromVisible(int lineDisplay) -&gt; int</autodoc>
+        <autodoc>DocLineFromVisible(self, int lineDisplay) -&gt; int</autodoc>
         <paramlist>
           <param name="lineDisplay" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldLevel" type="" overloaded="no">
         <paramlist>
           <param name="lineDisplay" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldLevel" type="" overloaded="no">
-        <autodoc>SetFoldLevel(int line, int level)</autodoc>
+        <autodoc>SetFoldLevel(self, int line, int level)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="level" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFoldLevel" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="level" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFoldLevel" type="int" overloaded="no">
-        <autodoc>GetFoldLevel(int line) -&gt; int</autodoc>
+        <autodoc>GetFoldLevel(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLastChild" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLastChild" type="int" overloaded="no">
-        <autodoc>GetLastChild(int line, int level) -&gt; int</autodoc>
+        <autodoc>GetLastChild(self, int line, int level) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="level" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFoldParent" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="level" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetFoldParent" type="int" overloaded="no">
-        <autodoc>GetFoldParent(int line) -&gt; int</autodoc>
+        <autodoc>GetFoldParent(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ShowLines" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ShowLines" type="" overloaded="no">
-        <autodoc>ShowLines(int lineStart, int lineEnd)</autodoc>
+        <autodoc>ShowLines(self, int lineStart, int lineEnd)</autodoc>
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="lineEnd" type="int" default=""/>
         </paramlist>
       </method>
       <method name="HideLines" type="" overloaded="no">
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="lineEnd" type="int" default=""/>
         </paramlist>
       </method>
       <method name="HideLines" type="" overloaded="no">
-        <autodoc>HideLines(int lineStart, int lineEnd)</autodoc>
+        <autodoc>HideLines(self, int lineStart, int lineEnd)</autodoc>
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="lineEnd" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineVisible" type="bool" overloaded="no">
         <paramlist>
           <param name="lineStart" type="int" default=""/>
           <param name="lineEnd" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineVisible" type="bool" overloaded="no">
-        <autodoc>GetLineVisible(int line) -&gt; bool</autodoc>
+        <autodoc>GetLineVisible(self, int line) -&gt; bool</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldExpanded" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldExpanded" type="" overloaded="no">
-        <autodoc>SetFoldExpanded(int line, bool expanded)</autodoc>
+        <autodoc>SetFoldExpanded(self, int line, bool expanded)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="expanded" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetFoldExpanded" type="bool" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
           <param name="expanded" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetFoldExpanded" type="bool" overloaded="no">
-        <autodoc>GetFoldExpanded(int line) -&gt; bool</autodoc>
+        <autodoc>GetFoldExpanded(self, int line) -&gt; bool</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ToggleFold" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ToggleFold" type="" overloaded="no">
-        <autodoc>ToggleFold(int line)</autodoc>
+        <autodoc>ToggleFold(self, int line)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisible" type="" overloaded="no">
-        <autodoc>EnsureVisible(int line)</autodoc>
+        <autodoc>EnsureVisible(self, int line)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldFlags" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldFlags" type="" overloaded="no">
-        <autodoc>SetFoldFlags(int flags)</autodoc>
+        <autodoc>SetFoldFlags(self, int flags)</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
       </method>
       <method name="EnsureVisibleEnforcePolicy" type="" overloaded="no">
-        <autodoc>EnsureVisibleEnforcePolicy(int line)</autodoc>
+        <autodoc>EnsureVisibleEnforcePolicy(self, int line)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetTabIndents" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetTabIndents" type="" overloaded="no">
-        <autodoc>SetTabIndents(bool tabIndents)</autodoc>
+        <autodoc>SetTabIndents(self, bool tabIndents)</autodoc>
         <paramlist>
           <param name="tabIndents" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetTabIndents" type="bool" overloaded="no">
         <paramlist>
           <param name="tabIndents" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetTabIndents" type="bool" overloaded="no">
-        <autodoc>GetTabIndents() -&gt; bool</autodoc>
+        <autodoc>GetTabIndents(self) -&gt; bool</autodoc>
       </method>
       <method name="SetBackSpaceUnIndents" type="" overloaded="no">
       </method>
       <method name="SetBackSpaceUnIndents" type="" overloaded="no">
-        <autodoc>SetBackSpaceUnIndents(bool bsUnIndents)</autodoc>
+        <autodoc>SetBackSpaceUnIndents(self, bool bsUnIndents)</autodoc>
         <paramlist>
           <param name="bsUnIndents" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetBackSpaceUnIndents" type="bool" overloaded="no">
         <paramlist>
           <param name="bsUnIndents" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetBackSpaceUnIndents" type="bool" overloaded="no">
-        <autodoc>GetBackSpaceUnIndents() -&gt; bool</autodoc>
+        <autodoc>GetBackSpaceUnIndents(self) -&gt; bool</autodoc>
       </method>
       <method name="SetMouseDwellTime" type="" overloaded="no">
       </method>
       <method name="SetMouseDwellTime" type="" overloaded="no">
-        <autodoc>SetMouseDwellTime(int periodMilliseconds)</autodoc>
+        <autodoc>SetMouseDwellTime(self, int periodMilliseconds)</autodoc>
         <paramlist>
           <param name="periodMilliseconds" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMouseDwellTime" type="int" overloaded="no">
         <paramlist>
           <param name="periodMilliseconds" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetMouseDwellTime" type="int" overloaded="no">
-        <autodoc>GetMouseDwellTime() -&gt; int</autodoc>
+        <autodoc>GetMouseDwellTime(self) -&gt; int</autodoc>
       </method>
       <method name="WordStartPosition" type="int" overloaded="no">
       </method>
       <method name="WordStartPosition" type="int" overloaded="no">
-        <autodoc>WordStartPosition(int pos, bool onlyWordCharacters) -&gt; int</autodoc>
+        <autodoc>WordStartPosition(self, int pos, bool onlyWordCharacters) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="onlyWordCharacters" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="WordEndPosition" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="onlyWordCharacters" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="WordEndPosition" type="int" overloaded="no">
-        <autodoc>WordEndPosition(int pos, bool onlyWordCharacters) -&gt; int</autodoc>
+        <autodoc>WordEndPosition(self, int pos, bool onlyWordCharacters) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="onlyWordCharacters" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetWrapMode" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
           <param name="onlyWordCharacters" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetWrapMode" type="" overloaded="no">
-        <autodoc>SetWrapMode(int mode)</autodoc>
+        <autodoc>SetWrapMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetWrapMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetWrapMode" type="int" overloaded="no">
-        <autodoc>GetWrapMode() -&gt; int</autodoc>
+        <autodoc>GetWrapMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetLayoutCache" type="" overloaded="no">
       </method>
       <method name="SetLayoutCache" type="" overloaded="no">
-        <autodoc>SetLayoutCache(int mode)</autodoc>
+        <autodoc>SetLayoutCache(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLayoutCache" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLayoutCache" type="int" overloaded="no">
-        <autodoc>GetLayoutCache() -&gt; int</autodoc>
+        <autodoc>GetLayoutCache(self) -&gt; int</autodoc>
       </method>
       <method name="SetScrollWidth" type="" overloaded="no">
       </method>
       <method name="SetScrollWidth" type="" overloaded="no">
-        <autodoc>SetScrollWidth(int pixelWidth)</autodoc>
+        <autodoc>SetScrollWidth(self, int pixelWidth)</autodoc>
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollWidth" type="int" overloaded="no">
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetScrollWidth" type="int" overloaded="no">
-        <autodoc>GetScrollWidth() -&gt; int</autodoc>
+        <autodoc>GetScrollWidth(self) -&gt; int</autodoc>
       </method>
       <method name="TextWidth" type="int" overloaded="no">
       </method>
       <method name="TextWidth" type="int" overloaded="no">
-        <autodoc>TextWidth(int style, String text) -&gt; int</autodoc>
+        <autodoc>TextWidth(self, int style, String text) -&gt; int</autodoc>
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetEndAtLastLine" type="" overloaded="no">
         <paramlist>
           <param name="style" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetEndAtLastLine" type="" overloaded="no">
-        <autodoc>SetEndAtLastLine(bool endAtLastLine)</autodoc>
+        <autodoc>SetEndAtLastLine(self, bool endAtLastLine)</autodoc>
         <paramlist>
           <param name="endAtLastLine" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetEndAtLastLine" type="int" overloaded="no">
         <paramlist>
           <param name="endAtLastLine" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetEndAtLastLine" type="int" overloaded="no">
-        <autodoc>GetEndAtLastLine() -&gt; int</autodoc>
+        <autodoc>GetEndAtLastLine(self) -&gt; int</autodoc>
       </method>
       <method name="TextHeight" type="int" overloaded="no">
       </method>
       <method name="TextHeight" type="int" overloaded="no">
-        <autodoc>TextHeight(int line) -&gt; int</autodoc>
+        <autodoc>TextHeight(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetUseVerticalScrollBar" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetUseVerticalScrollBar" type="" overloaded="no">
-        <autodoc>SetUseVerticalScrollBar(bool show)</autodoc>
+        <autodoc>SetUseVerticalScrollBar(self, bool show)</autodoc>
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseVerticalScrollBar" type="bool" overloaded="no">
         <paramlist>
           <param name="show" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseVerticalScrollBar" type="bool" overloaded="no">
-        <autodoc>GetUseVerticalScrollBar() -&gt; bool</autodoc>
+        <autodoc>GetUseVerticalScrollBar(self) -&gt; bool</autodoc>
       </method>
       <method name="AppendText" type="" overloaded="no">
       </method>
       <method name="AppendText" type="" overloaded="no">
-        <autodoc>AppendText(int length, String text)</autodoc>
+        <autodoc>AppendText(self, int length, String text)</autodoc>
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTwoPhaseDraw" type="bool" overloaded="no">
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetTwoPhaseDraw" type="bool" overloaded="no">
-        <autodoc>GetTwoPhaseDraw() -&gt; bool</autodoc>
+        <autodoc>GetTwoPhaseDraw(self) -&gt; bool</autodoc>
       </method>
       <method name="SetTwoPhaseDraw" type="" overloaded="no">
       </method>
       <method name="SetTwoPhaseDraw" type="" overloaded="no">
-        <autodoc>SetTwoPhaseDraw(bool twoPhase)</autodoc>
+        <autodoc>SetTwoPhaseDraw(self, bool twoPhase)</autodoc>
         <paramlist>
           <param name="twoPhase" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="TargetFromSelection" type="" overloaded="no">
         <paramlist>
           <param name="twoPhase" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="TargetFromSelection" type="" overloaded="no">
-        <autodoc>TargetFromSelection()</autodoc>
+        <autodoc>TargetFromSelection(self)</autodoc>
       </method>
       <method name="LinesJoin" type="" overloaded="no">
       </method>
       <method name="LinesJoin" type="" overloaded="no">
-        <autodoc>LinesJoin()</autodoc>
+        <autodoc>LinesJoin(self)</autodoc>
       </method>
       <method name="LinesSplit" type="" overloaded="no">
       </method>
       <method name="LinesSplit" type="" overloaded="no">
-        <autodoc>LinesSplit(int pixelWidth)</autodoc>
+        <autodoc>LinesSplit(self, int pixelWidth)</autodoc>
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldMarginColour" type="" overloaded="no">
         <paramlist>
           <param name="pixelWidth" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldMarginColour" type="" overloaded="no">
-        <autodoc>SetFoldMarginColour(bool useSetting, Colour back)</autodoc>
+        <autodoc>SetFoldMarginColour(self, bool useSetting, Colour back)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldMarginHiColour" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldMarginHiColour" type="" overloaded="no">
-        <autodoc>SetFoldMarginHiColour(bool useSetting, Colour fore)</autodoc>
+        <autodoc>SetFoldMarginHiColour(self, bool useSetting, Colour fore)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="LineDown" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="LineDown" type="" overloaded="no">
-        <autodoc>LineDown()</autodoc>
+        <autodoc>LineDown(self)</autodoc>
         <docstring>This is just a wrapper for ScrollLines(1).</docstring>
       </method>
       <method name="LineDownExtend" type="" overloaded="no">
         <docstring>This is just a wrapper for ScrollLines(1).</docstring>
       </method>
       <method name="LineDownExtend" type="" overloaded="no">
-        <autodoc>LineDownExtend()</autodoc>
+        <autodoc>LineDownExtend(self)</autodoc>
       </method>
       <method name="LineUp" type="" overloaded="no">
       </method>
       <method name="LineUp" type="" overloaded="no">
-        <autodoc>LineUp()</autodoc>
+        <autodoc>LineUp(self)</autodoc>
         <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
       </method>
       <method name="LineUpExtend" type="" overloaded="no">
         <docstring>This is just a wrapper for ScrollLines(-1).</docstring>
       </method>
       <method name="LineUpExtend" type="" overloaded="no">
-        <autodoc>LineUpExtend()</autodoc>
+        <autodoc>LineUpExtend(self)</autodoc>
       </method>
       <method name="CharLeft" type="" overloaded="no">
       </method>
       <method name="CharLeft" type="" overloaded="no">
-        <autodoc>CharLeft()</autodoc>
+        <autodoc>CharLeft(self)</autodoc>
       </method>
       <method name="CharLeftExtend" type="" overloaded="no">
       </method>
       <method name="CharLeftExtend" type="" overloaded="no">
-        <autodoc>CharLeftExtend()</autodoc>
+        <autodoc>CharLeftExtend(self)</autodoc>
       </method>
       <method name="CharRight" type="" overloaded="no">
       </method>
       <method name="CharRight" type="" overloaded="no">
-        <autodoc>CharRight()</autodoc>
+        <autodoc>CharRight(self)</autodoc>
       </method>
       <method name="CharRightExtend" type="" overloaded="no">
       </method>
       <method name="CharRightExtend" type="" overloaded="no">
-        <autodoc>CharRightExtend()</autodoc>
+        <autodoc>CharRightExtend(self)</autodoc>
       </method>
       <method name="WordLeft" type="" overloaded="no">
       </method>
       <method name="WordLeft" type="" overloaded="no">
-        <autodoc>WordLeft()</autodoc>
+        <autodoc>WordLeft(self)</autodoc>
       </method>
       <method name="WordLeftExtend" type="" overloaded="no">
       </method>
       <method name="WordLeftExtend" type="" overloaded="no">
-        <autodoc>WordLeftExtend()</autodoc>
+        <autodoc>WordLeftExtend(self)</autodoc>
       </method>
       <method name="WordRight" type="" overloaded="no">
       </method>
       <method name="WordRight" type="" overloaded="no">
-        <autodoc>WordRight()</autodoc>
+        <autodoc>WordRight(self)</autodoc>
       </method>
       <method name="WordRightExtend" type="" overloaded="no">
       </method>
       <method name="WordRightExtend" type="" overloaded="no">
-        <autodoc>WordRightExtend()</autodoc>
+        <autodoc>WordRightExtend(self)</autodoc>
       </method>
       <method name="Home" type="" overloaded="no">
       </method>
       <method name="Home" type="" overloaded="no">
-        <autodoc>Home()</autodoc>
+        <autodoc>Home(self)</autodoc>
       </method>
       <method name="HomeExtend" type="" overloaded="no">
       </method>
       <method name="HomeExtend" type="" overloaded="no">
-        <autodoc>HomeExtend()</autodoc>
+        <autodoc>HomeExtend(self)</autodoc>
       </method>
       <method name="LineEnd" type="" overloaded="no">
       </method>
       <method name="LineEnd" type="" overloaded="no">
-        <autodoc>LineEnd()</autodoc>
+        <autodoc>LineEnd(self)</autodoc>
       </method>
       <method name="LineEndExtend" type="" overloaded="no">
       </method>
       <method name="LineEndExtend" type="" overloaded="no">
-        <autodoc>LineEndExtend()</autodoc>
+        <autodoc>LineEndExtend(self)</autodoc>
       </method>
       <method name="DocumentStart" type="" overloaded="no">
       </method>
       <method name="DocumentStart" type="" overloaded="no">
-        <autodoc>DocumentStart()</autodoc>
+        <autodoc>DocumentStart(self)</autodoc>
       </method>
       <method name="DocumentStartExtend" type="" overloaded="no">
       </method>
       <method name="DocumentStartExtend" type="" overloaded="no">
-        <autodoc>DocumentStartExtend()</autodoc>
+        <autodoc>DocumentStartExtend(self)</autodoc>
       </method>
       <method name="DocumentEnd" type="" overloaded="no">
       </method>
       <method name="DocumentEnd" type="" overloaded="no">
-        <autodoc>DocumentEnd()</autodoc>
+        <autodoc>DocumentEnd(self)</autodoc>
       </method>
       <method name="DocumentEndExtend" type="" overloaded="no">
       </method>
       <method name="DocumentEndExtend" type="" overloaded="no">
-        <autodoc>DocumentEndExtend()</autodoc>
+        <autodoc>DocumentEndExtend(self)</autodoc>
       </method>
       <method name="PageUp" type="" overloaded="no">
       </method>
       <method name="PageUp" type="" overloaded="no">
-        <autodoc>PageUp()</autodoc>
+        <autodoc>PageUp(self)</autodoc>
         <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
       </method>
       <method name="PageUpExtend" type="" overloaded="no">
         <docstring>This is just a wrapper for ScrollPages(-1).</docstring>
       </method>
       <method name="PageUpExtend" type="" overloaded="no">
-        <autodoc>PageUpExtend()</autodoc>
+        <autodoc>PageUpExtend(self)</autodoc>
       </method>
       <method name="PageDown" type="" overloaded="no">
       </method>
       <method name="PageDown" type="" overloaded="no">
-        <autodoc>PageDown()</autodoc>
+        <autodoc>PageDown(self)</autodoc>
         <docstring>This is just a wrapper for ScrollPages(1).</docstring>
       </method>
       <method name="PageDownExtend" type="" overloaded="no">
         <docstring>This is just a wrapper for ScrollPages(1).</docstring>
       </method>
       <method name="PageDownExtend" type="" overloaded="no">
-        <autodoc>PageDownExtend()</autodoc>
+        <autodoc>PageDownExtend(self)</autodoc>
       </method>
       <method name="EditToggleOvertype" type="" overloaded="no">
       </method>
       <method name="EditToggleOvertype" type="" overloaded="no">
-        <autodoc>EditToggleOvertype()</autodoc>
+        <autodoc>EditToggleOvertype(self)</autodoc>
       </method>
       <method name="Cancel" type="" overloaded="no">
       </method>
       <method name="Cancel" type="" overloaded="no">
-        <autodoc>Cancel()</autodoc>
+        <autodoc>Cancel(self)</autodoc>
       </method>
       <method name="DeleteBack" type="" overloaded="no">
       </method>
       <method name="DeleteBack" type="" overloaded="no">
-        <autodoc>DeleteBack()</autodoc>
+        <autodoc>DeleteBack(self)</autodoc>
       </method>
       <method name="Tab" type="" overloaded="no">
       </method>
       <method name="Tab" type="" overloaded="no">
-        <autodoc>Tab()</autodoc>
+        <autodoc>Tab(self)</autodoc>
       </method>
       <method name="BackTab" type="" overloaded="no">
       </method>
       <method name="BackTab" type="" overloaded="no">
-        <autodoc>BackTab()</autodoc>
+        <autodoc>BackTab(self)</autodoc>
       </method>
       <method name="NewLine" type="" overloaded="no">
       </method>
       <method name="NewLine" type="" overloaded="no">
-        <autodoc>NewLine()</autodoc>
+        <autodoc>NewLine(self)</autodoc>
       </method>
       <method name="FormFeed" type="" overloaded="no">
       </method>
       <method name="FormFeed" type="" overloaded="no">
-        <autodoc>FormFeed()</autodoc>
+        <autodoc>FormFeed(self)</autodoc>
       </method>
       <method name="VCHome" type="" overloaded="no">
       </method>
       <method name="VCHome" type="" overloaded="no">
-        <autodoc>VCHome()</autodoc>
+        <autodoc>VCHome(self)</autodoc>
       </method>
       <method name="VCHomeExtend" type="" overloaded="no">
       </method>
       <method name="VCHomeExtend" type="" overloaded="no">
-        <autodoc>VCHomeExtend()</autodoc>
+        <autodoc>VCHomeExtend(self)</autodoc>
       </method>
       <method name="ZoomIn" type="" overloaded="no">
       </method>
       <method name="ZoomIn" type="" overloaded="no">
-        <autodoc>ZoomIn()</autodoc>
+        <autodoc>ZoomIn(self)</autodoc>
       </method>
       <method name="ZoomOut" type="" overloaded="no">
       </method>
       <method name="ZoomOut" type="" overloaded="no">
-        <autodoc>ZoomOut()</autodoc>
+        <autodoc>ZoomOut(self)</autodoc>
       </method>
       <method name="DelWordLeft" type="" overloaded="no">
       </method>
       <method name="DelWordLeft" type="" overloaded="no">
-        <autodoc>DelWordLeft()</autodoc>
+        <autodoc>DelWordLeft(self)</autodoc>
       </method>
       <method name="DelWordRight" type="" overloaded="no">
       </method>
       <method name="DelWordRight" type="" overloaded="no">
-        <autodoc>DelWordRight()</autodoc>
+        <autodoc>DelWordRight(self)</autodoc>
       </method>
       <method name="LineCut" type="" overloaded="no">
       </method>
       <method name="LineCut" type="" overloaded="no">
-        <autodoc>LineCut()</autodoc>
+        <autodoc>LineCut(self)</autodoc>
       </method>
       <method name="LineDelete" type="" overloaded="no">
       </method>
       <method name="LineDelete" type="" overloaded="no">
-        <autodoc>LineDelete()</autodoc>
+        <autodoc>LineDelete(self)</autodoc>
       </method>
       <method name="LineTranspose" type="" overloaded="no">
       </method>
       <method name="LineTranspose" type="" overloaded="no">
-        <autodoc>LineTranspose()</autodoc>
+        <autodoc>LineTranspose(self)</autodoc>
       </method>
       <method name="LineDuplicate" type="" overloaded="no">
       </method>
       <method name="LineDuplicate" type="" overloaded="no">
-        <autodoc>LineDuplicate()</autodoc>
+        <autodoc>LineDuplicate(self)</autodoc>
       </method>
       <method name="LowerCase" type="" overloaded="no">
       </method>
       <method name="LowerCase" type="" overloaded="no">
-        <autodoc>LowerCase()</autodoc>
+        <autodoc>LowerCase(self)</autodoc>
       </method>
       <method name="UpperCase" type="" overloaded="no">
       </method>
       <method name="UpperCase" type="" overloaded="no">
-        <autodoc>UpperCase()</autodoc>
+        <autodoc>UpperCase(self)</autodoc>
       </method>
       <method name="LineScrollDown" type="" overloaded="no">
       </method>
       <method name="LineScrollDown" type="" overloaded="no">
-        <autodoc>LineScrollDown()</autodoc>
+        <autodoc>LineScrollDown(self)</autodoc>
       </method>
       <method name="LineScrollUp" type="" overloaded="no">
       </method>
       <method name="LineScrollUp" type="" overloaded="no">
-        <autodoc>LineScrollUp()</autodoc>
+        <autodoc>LineScrollUp(self)</autodoc>
       </method>
       <method name="DeleteBackNotLine" type="" overloaded="no">
       </method>
       <method name="DeleteBackNotLine" type="" overloaded="no">
-        <autodoc>DeleteBackNotLine()</autodoc>
+        <autodoc>DeleteBackNotLine(self)</autodoc>
       </method>
       <method name="HomeDisplay" type="" overloaded="no">
       </method>
       <method name="HomeDisplay" type="" overloaded="no">
-        <autodoc>HomeDisplay()</autodoc>
+        <autodoc>HomeDisplay(self)</autodoc>
       </method>
       <method name="HomeDisplayExtend" type="" overloaded="no">
       </method>
       <method name="HomeDisplayExtend" type="" overloaded="no">
-        <autodoc>HomeDisplayExtend()</autodoc>
+        <autodoc>HomeDisplayExtend(self)</autodoc>
       </method>
       <method name="LineEndDisplay" type="" overloaded="no">
       </method>
       <method name="LineEndDisplay" type="" overloaded="no">
-        <autodoc>LineEndDisplay()</autodoc>
+        <autodoc>LineEndDisplay(self)</autodoc>
       </method>
       <method name="LineEndDisplayExtend" type="" overloaded="no">
       </method>
       <method name="LineEndDisplayExtend" type="" overloaded="no">
-        <autodoc>LineEndDisplayExtend()</autodoc>
+        <autodoc>LineEndDisplayExtend(self)</autodoc>
       </method>
       <method name="HomeWrap" type="" overloaded="no">
       </method>
       <method name="HomeWrap" type="" overloaded="no">
-        <autodoc>HomeWrap()</autodoc>
+        <autodoc>HomeWrap(self)</autodoc>
       </method>
       <method name="HomeWrapExtend" type="" overloaded="no">
       </method>
       <method name="HomeWrapExtend" type="" overloaded="no">
-        <autodoc>HomeWrapExtend()</autodoc>
+        <autodoc>HomeWrapExtend(self)</autodoc>
       </method>
       <method name="LineEndWrap" type="" overloaded="no">
       </method>
       <method name="LineEndWrap" type="" overloaded="no">
-        <autodoc>LineEndWrap()</autodoc>
+        <autodoc>LineEndWrap(self)</autodoc>
       </method>
       <method name="LineEndWrapExtend" type="" overloaded="no">
       </method>
       <method name="LineEndWrapExtend" type="" overloaded="no">
-        <autodoc>LineEndWrapExtend()</autodoc>
+        <autodoc>LineEndWrapExtend(self)</autodoc>
       </method>
       <method name="VCHomeWrap" type="" overloaded="no">
       </method>
       <method name="VCHomeWrap" type="" overloaded="no">
-        <autodoc>VCHomeWrap()</autodoc>
+        <autodoc>VCHomeWrap(self)</autodoc>
       </method>
       <method name="VCHomeWrapExtend" type="" overloaded="no">
       </method>
       <method name="VCHomeWrapExtend" type="" overloaded="no">
-        <autodoc>VCHomeWrapExtend()</autodoc>
+        <autodoc>VCHomeWrapExtend(self)</autodoc>
       </method>
       <method name="LineCopy" type="" overloaded="no">
       </method>
       <method name="LineCopy" type="" overloaded="no">
-        <autodoc>LineCopy()</autodoc>
+        <autodoc>LineCopy(self)</autodoc>
       </method>
       <method name="MoveCaretInsideView" type="" overloaded="no">
       </method>
       <method name="MoveCaretInsideView" type="" overloaded="no">
-        <autodoc>MoveCaretInsideView()</autodoc>
+        <autodoc>MoveCaretInsideView(self)</autodoc>
       </method>
       <method name="LineLength" type="int" overloaded="no">
       </method>
       <method name="LineLength" type="int" overloaded="no">
-        <autodoc>LineLength(int line) -&gt; int</autodoc>
+        <autodoc>LineLength(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BraceHighlight" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BraceHighlight" type="" overloaded="no">
-        <autodoc>BraceHighlight(int pos1, int pos2)</autodoc>
+        <autodoc>BraceHighlight(self, int pos1, int pos2)</autodoc>
         <paramlist>
           <param name="pos1" type="int" default=""/>
           <param name="pos2" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BraceBadLight" type="" overloaded="no">
         <paramlist>
           <param name="pos1" type="int" default=""/>
           <param name="pos2" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BraceBadLight" type="" overloaded="no">
-        <autodoc>BraceBadLight(int pos)</autodoc>
+        <autodoc>BraceBadLight(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BraceMatch" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="BraceMatch" type="int" overloaded="no">
-        <autodoc>BraceMatch(int pos) -&gt; int</autodoc>
+        <autodoc>BraceMatch(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetViewEOL" type="bool" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetViewEOL" type="bool" overloaded="no">
-        <autodoc>GetViewEOL() -&gt; bool</autodoc>
+        <autodoc>GetViewEOL(self) -&gt; bool</autodoc>
       </method>
       <method name="SetViewEOL" type="" overloaded="no">
       </method>
       <method name="SetViewEOL" type="" overloaded="no">
-        <autodoc>SetViewEOL(bool visible)</autodoc>
+        <autodoc>SetViewEOL(self, bool visible)</autodoc>
         <paramlist>
           <param name="visible" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDocPointer" type="" overloaded="no">
         <paramlist>
           <param name="visible" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetDocPointer" type="" overloaded="no">
-        <autodoc>GetDocPointer() -&gt; void</autodoc>
+        <autodoc>GetDocPointer(self) -&gt; void</autodoc>
       </method>
       <method name="SetDocPointer" type="" overloaded="no">
       </method>
       <method name="SetDocPointer" type="" overloaded="no">
-        <autodoc>SetDocPointer(void docPointer)</autodoc>
+        <autodoc>SetDocPointer(self, void docPointer)</autodoc>
         <paramlist>
           <param name="docPointer" type="" default=""/>
         </paramlist>
       </method>
       <method name="SetModEventMask" type="" overloaded="no">
         <paramlist>
           <param name="docPointer" type="" default=""/>
         </paramlist>
       </method>
       <method name="SetModEventMask" type="" overloaded="no">
-        <autodoc>SetModEventMask(int mask)</autodoc>
+        <autodoc>SetModEventMask(self, int mask)</autodoc>
         <paramlist>
           <param name="mask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeColumn" type="int" overloaded="no">
         <paramlist>
           <param name="mask" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeColumn" type="int" overloaded="no">
-        <autodoc>GetEdgeColumn() -&gt; int</autodoc>
+        <autodoc>GetEdgeColumn(self) -&gt; int</autodoc>
       </method>
       <method name="SetEdgeColumn" type="" overloaded="no">
       </method>
       <method name="SetEdgeColumn" type="" overloaded="no">
-        <autodoc>SetEdgeColumn(int column)</autodoc>
+        <autodoc>SetEdgeColumn(self, int column)</autodoc>
         <paramlist>
           <param name="column" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeMode" type="int" overloaded="no">
         <paramlist>
           <param name="column" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeMode" type="int" overloaded="no">
-        <autodoc>GetEdgeMode() -&gt; int</autodoc>
+        <autodoc>GetEdgeMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetEdgeMode" type="" overloaded="no">
       </method>
       <method name="SetEdgeMode" type="" overloaded="no">
-        <autodoc>SetEdgeMode(int mode)</autodoc>
+        <autodoc>SetEdgeMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetEdgeColour" type="Colour" overloaded="no">
-        <autodoc>GetEdgeColour() -&gt; Colour</autodoc>
+        <autodoc>GetEdgeColour(self) -&gt; Colour</autodoc>
       </method>
       <method name="SetEdgeColour" type="" overloaded="no">
       </method>
       <method name="SetEdgeColour" type="" overloaded="no">
-        <autodoc>SetEdgeColour(Colour edgeColour)</autodoc>
+        <autodoc>SetEdgeColour(self, Colour edgeColour)</autodoc>
         <paramlist>
           <param name="edgeColour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SearchAnchor" type="" overloaded="no">
         <paramlist>
           <param name="edgeColour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SearchAnchor" type="" overloaded="no">
-        <autodoc>SearchAnchor()</autodoc>
+        <autodoc>SearchAnchor(self)</autodoc>
       </method>
       <method name="SearchNext" type="int" overloaded="no">
       </method>
       <method name="SearchNext" type="int" overloaded="no">
-        <autodoc>SearchNext(int flags, String text) -&gt; int</autodoc>
+        <autodoc>SearchNext(self, int flags, String text) -&gt; int</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SearchPrev" type="int" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SearchPrev" type="int" overloaded="no">
-        <autodoc>SearchPrev(int flags, String text) -&gt; int</autodoc>
+        <autodoc>SearchPrev(self, int flags, String text) -&gt; int</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LinesOnScreen" type="int" overloaded="no">
         <paramlist>
           <param name="flags" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LinesOnScreen" type="int" overloaded="no">
-        <autodoc>LinesOnScreen() -&gt; int</autodoc>
+        <autodoc>LinesOnScreen(self) -&gt; int</autodoc>
       </method>
       <method name="UsePopUp" type="" overloaded="no">
       </method>
       <method name="UsePopUp" type="" overloaded="no">
-        <autodoc>UsePopUp(bool allowPopUp)</autodoc>
+        <autodoc>UsePopUp(self, bool allowPopUp)</autodoc>
         <paramlist>
           <param name="allowPopUp" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SelectionIsRectangle" type="bool" overloaded="no">
         <paramlist>
           <param name="allowPopUp" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SelectionIsRectangle" type="bool" overloaded="no">
-        <autodoc>SelectionIsRectangle() -&gt; bool</autodoc>
+        <autodoc>SelectionIsRectangle(self) -&gt; bool</autodoc>
       </method>
       <method name="SetZoom" type="" overloaded="no">
       </method>
       <method name="SetZoom" type="" overloaded="no">
-        <autodoc>SetZoom(int zoom)</autodoc>
+        <autodoc>SetZoom(self, int zoom)</autodoc>
         <paramlist>
           <param name="zoom" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetZoom" type="int" overloaded="no">
         <paramlist>
           <param name="zoom" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetZoom" type="int" overloaded="no">
-        <autodoc>GetZoom() -&gt; int</autodoc>
+        <autodoc>GetZoom(self) -&gt; int</autodoc>
       </method>
       <method name="CreateDocument" type="" overloaded="no">
       </method>
       <method name="CreateDocument" type="" overloaded="no">
-        <autodoc>CreateDocument() -&gt; void</autodoc>
+        <autodoc>CreateDocument(self) -&gt; void</autodoc>
       </method>
       <method name="AddRefDocument" type="" overloaded="no">
       </method>
       <method name="AddRefDocument" type="" overloaded="no">
-        <autodoc>AddRefDocument(void docPointer)</autodoc>
+        <autodoc>AddRefDocument(self, void docPointer)</autodoc>
         <paramlist>
           <param name="docPointer" type="" default=""/>
         </paramlist>
       </method>
       <method name="ReleaseDocument" type="" overloaded="no">
         <paramlist>
           <param name="docPointer" type="" default=""/>
         </paramlist>
       </method>
       <method name="ReleaseDocument" type="" overloaded="no">
-        <autodoc>ReleaseDocument(void docPointer)</autodoc>
+        <autodoc>ReleaseDocument(self, void docPointer)</autodoc>
         <paramlist>
           <param name="docPointer" type="" default=""/>
         </paramlist>
       </method>
       <method name="GetModEventMask" type="int" overloaded="no">
         <paramlist>
           <param name="docPointer" type="" default=""/>
         </paramlist>
       </method>
       <method name="GetModEventMask" type="int" overloaded="no">
-        <autodoc>GetModEventMask() -&gt; int</autodoc>
+        <autodoc>GetModEventMask(self) -&gt; int</autodoc>
       </method>
       <method name="SetSTCFocus" type="" overloaded="no">
       </method>
       <method name="SetSTCFocus" type="" overloaded="no">
-        <autodoc>SetSTCFocus(bool focus)</autodoc>
+        <autodoc>SetSTCFocus(self, bool focus)</autodoc>
         <paramlist>
           <param name="focus" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetSTCFocus" type="bool" overloaded="no">
         <paramlist>
           <param name="focus" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetSTCFocus" type="bool" overloaded="no">
-        <autodoc>GetSTCFocus() -&gt; bool</autodoc>
+        <autodoc>GetSTCFocus(self) -&gt; bool</autodoc>
       </method>
       <method name="SetStatus" type="" overloaded="no">
       </method>
       <method name="SetStatus" type="" overloaded="no">
-        <autodoc>SetStatus(int statusCode)</autodoc>
+        <autodoc>SetStatus(self, int statusCode)</autodoc>
         <paramlist>
           <param name="statusCode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStatus" type="int" overloaded="no">
         <paramlist>
           <param name="statusCode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetStatus" type="int" overloaded="no">
-        <autodoc>GetStatus() -&gt; int</autodoc>
+        <autodoc>GetStatus(self) -&gt; int</autodoc>
       </method>
       <method name="SetMouseDownCaptures" type="" overloaded="no">
       </method>
       <method name="SetMouseDownCaptures" type="" overloaded="no">
-        <autodoc>SetMouseDownCaptures(bool captures)</autodoc>
+        <autodoc>SetMouseDownCaptures(self, bool captures)</autodoc>
         <paramlist>
           <param name="captures" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetMouseDownCaptures" type="bool" overloaded="no">
         <paramlist>
           <param name="captures" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetMouseDownCaptures" type="bool" overloaded="no">
-        <autodoc>GetMouseDownCaptures() -&gt; bool</autodoc>
+        <autodoc>GetMouseDownCaptures(self) -&gt; bool</autodoc>
       </method>
       <method name="SetSTCCursor" type="" overloaded="no">
       </method>
       <method name="SetSTCCursor" type="" overloaded="no">
-        <autodoc>SetSTCCursor(int cursorType)</autodoc>
+        <autodoc>SetSTCCursor(self, int cursorType)</autodoc>
         <paramlist>
           <param name="cursorType" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSTCCursor" type="int" overloaded="no">
         <paramlist>
           <param name="cursorType" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSTCCursor" type="int" overloaded="no">
-        <autodoc>GetSTCCursor() -&gt; int</autodoc>
+        <autodoc>GetSTCCursor(self) -&gt; int</autodoc>
       </method>
       <method name="SetControlCharSymbol" type="" overloaded="no">
       </method>
       <method name="SetControlCharSymbol" type="" overloaded="no">
-        <autodoc>SetControlCharSymbol(int symbol)</autodoc>
+        <autodoc>SetControlCharSymbol(self, int symbol)</autodoc>
         <paramlist>
           <param name="symbol" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetControlCharSymbol" type="int" overloaded="no">
         <paramlist>
           <param name="symbol" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetControlCharSymbol" type="int" overloaded="no">
-        <autodoc>GetControlCharSymbol() -&gt; int</autodoc>
+        <autodoc>GetControlCharSymbol(self) -&gt; int</autodoc>
       </method>
       <method name="WordPartLeft" type="" overloaded="no">
       </method>
       <method name="WordPartLeft" type="" overloaded="no">
-        <autodoc>WordPartLeft()</autodoc>
+        <autodoc>WordPartLeft(self)</autodoc>
       </method>
       <method name="WordPartLeftExtend" type="" overloaded="no">
       </method>
       <method name="WordPartLeftExtend" type="" overloaded="no">
-        <autodoc>WordPartLeftExtend()</autodoc>
+        <autodoc>WordPartLeftExtend(self)</autodoc>
       </method>
       <method name="WordPartRight" type="" overloaded="no">
       </method>
       <method name="WordPartRight" type="" overloaded="no">
-        <autodoc>WordPartRight()</autodoc>
+        <autodoc>WordPartRight(self)</autodoc>
       </method>
       <method name="WordPartRightExtend" type="" overloaded="no">
       </method>
       <method name="WordPartRightExtend" type="" overloaded="no">
-        <autodoc>WordPartRightExtend()</autodoc>
+        <autodoc>WordPartRightExtend(self)</autodoc>
       </method>
       <method name="SetVisiblePolicy" type="" overloaded="no">
       </method>
       <method name="SetVisiblePolicy" type="" overloaded="no">
-        <autodoc>SetVisiblePolicy(int visiblePolicy, int visibleSlop)</autodoc>
+        <autodoc>SetVisiblePolicy(self, int visiblePolicy, int visibleSlop)</autodoc>
         <paramlist>
           <param name="visiblePolicy" type="int" default=""/>
           <param name="visibleSlop" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DelLineLeft" type="" overloaded="no">
         <paramlist>
           <param name="visiblePolicy" type="int" default=""/>
           <param name="visibleSlop" type="int" default=""/>
         </paramlist>
       </method>
       <method name="DelLineLeft" type="" overloaded="no">
-        <autodoc>DelLineLeft()</autodoc>
+        <autodoc>DelLineLeft(self)</autodoc>
       </method>
       <method name="DelLineRight" type="" overloaded="no">
       </method>
       <method name="DelLineRight" type="" overloaded="no">
-        <autodoc>DelLineRight()</autodoc>
+        <autodoc>DelLineRight(self)</autodoc>
       </method>
       <method name="SetXOffset" type="" overloaded="no">
       </method>
       <method name="SetXOffset" type="" overloaded="no">
-        <autodoc>SetXOffset(int newOffset)</autodoc>
+        <autodoc>SetXOffset(self, int newOffset)</autodoc>
         <paramlist>
           <param name="newOffset" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetXOffset" type="int" overloaded="no">
         <paramlist>
           <param name="newOffset" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetXOffset" type="int" overloaded="no">
-        <autodoc>GetXOffset() -&gt; int</autodoc>
+        <autodoc>GetXOffset(self) -&gt; int</autodoc>
       </method>
       <method name="ChooseCaretX" type="" overloaded="no">
       </method>
       <method name="ChooseCaretX" type="" overloaded="no">
-        <autodoc>ChooseCaretX()</autodoc>
+        <autodoc>ChooseCaretX(self)</autodoc>
       </method>
       <method name="SetXCaretPolicy" type="" overloaded="no">
       </method>
       <method name="SetXCaretPolicy" type="" overloaded="no">
-        <autodoc>SetXCaretPolicy(int caretPolicy, int caretSlop)</autodoc>
+        <autodoc>SetXCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc>
         <paramlist>
           <param name="caretPolicy" type="int" default=""/>
           <param name="caretSlop" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetYCaretPolicy" type="" overloaded="no">
         <paramlist>
           <param name="caretPolicy" type="int" default=""/>
           <param name="caretSlop" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetYCaretPolicy" type="" overloaded="no">
-        <autodoc>SetYCaretPolicy(int caretPolicy, int caretSlop)</autodoc>
+        <autodoc>SetYCaretPolicy(self, int caretPolicy, int caretSlop)</autodoc>
         <paramlist>
           <param name="caretPolicy" type="int" default=""/>
           <param name="caretSlop" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintWrapMode" type="" overloaded="no">
         <paramlist>
           <param name="caretPolicy" type="int" default=""/>
           <param name="caretSlop" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetPrintWrapMode" type="" overloaded="no">
-        <autodoc>SetPrintWrapMode(int mode)</autodoc>
+        <autodoc>SetPrintWrapMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintWrapMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetPrintWrapMode" type="int" overloaded="no">
-        <autodoc>GetPrintWrapMode() -&gt; int</autodoc>
+        <autodoc>GetPrintWrapMode(self) -&gt; int</autodoc>
       </method>
       <method name="SetHotspotActiveForeground" type="" overloaded="no">
       </method>
       <method name="SetHotspotActiveForeground" type="" overloaded="no">
-        <autodoc>SetHotspotActiveForeground(bool useSetting, Colour fore)</autodoc>
+        <autodoc>SetHotspotActiveForeground(self, bool useSetting, Colour fore)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetHotspotActiveBackground" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="fore" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetHotspotActiveBackground" type="" overloaded="no">
-        <autodoc>SetHotspotActiveBackground(bool useSetting, Colour back)</autodoc>
+        <autodoc>SetHotspotActiveBackground(self, bool useSetting, Colour back)</autodoc>
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetHotspotActiveUnderline" type="" overloaded="no">
         <paramlist>
           <param name="useSetting" type="bool" default=""/>
           <param name="back" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetHotspotActiveUnderline" type="" overloaded="no">
-        <autodoc>SetHotspotActiveUnderline(bool underline)</autodoc>
+        <autodoc>SetHotspotActiveUnderline(self, bool underline)</autodoc>
         <paramlist>
           <param name="underline" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetHotspotSingleLine" type="" overloaded="no">
         <paramlist>
           <param name="underline" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetHotspotSingleLine" type="" overloaded="no">
-        <autodoc>SetHotspotSingleLine(bool singleLine)</autodoc>
+        <autodoc>SetHotspotSingleLine(self, bool singleLine)</autodoc>
         <paramlist>
           <param name="singleLine" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ParaDown" type="" overloaded="no">
         <paramlist>
           <param name="singleLine" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="ParaDown" type="" overloaded="no">
-        <autodoc>ParaDown()</autodoc>
+        <autodoc>ParaDown(self)</autodoc>
       </method>
       <method name="ParaDownExtend" type="" overloaded="no">
       </method>
       <method name="ParaDownExtend" type="" overloaded="no">
-        <autodoc>ParaDownExtend()</autodoc>
+        <autodoc>ParaDownExtend(self)</autodoc>
       </method>
       <method name="ParaUp" type="" overloaded="no">
       </method>
       <method name="ParaUp" type="" overloaded="no">
-        <autodoc>ParaUp()</autodoc>
+        <autodoc>ParaUp(self)</autodoc>
       </method>
       <method name="ParaUpExtend" type="" overloaded="no">
       </method>
       <method name="ParaUpExtend" type="" overloaded="no">
-        <autodoc>ParaUpExtend()</autodoc>
+        <autodoc>ParaUpExtend(self)</autodoc>
       </method>
       <method name="PositionBefore" type="int" overloaded="no">
       </method>
       <method name="PositionBefore" type="int" overloaded="no">
-        <autodoc>PositionBefore(int pos) -&gt; int</autodoc>
+        <autodoc>PositionBefore(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PositionAfter" type="int" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PositionAfter" type="int" overloaded="no">
-        <autodoc>PositionAfter(int pos) -&gt; int</autodoc>
+        <autodoc>PositionAfter(self, int pos) -&gt; int</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CopyRange" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CopyRange" type="" overloaded="no">
-        <autodoc>CopyRange(int start, int end)</autodoc>
+        <autodoc>CopyRange(self, int start, int end)</autodoc>
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CopyText" type="" overloaded="no">
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="CopyText" type="" overloaded="no">
-        <autodoc>CopyText(int length, String text)</autodoc>
+        <autodoc>CopyText(self, int length, String text)</autodoc>
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionMode" type="" overloaded="no">
         <paramlist>
           <param name="length" type="int" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectionMode" type="" overloaded="no">
-        <autodoc>SetSelectionMode(int mode)</autodoc>
+        <autodoc>SetSelectionMode(self, int mode)</autodoc>
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionMode" type="int" overloaded="no">
         <paramlist>
           <param name="mode" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelectionMode" type="int" overloaded="no">
-        <autodoc>GetSelectionMode() -&gt; int</autodoc>
+        <autodoc>GetSelectionMode(self) -&gt; int</autodoc>
       </method>
       <method name="GetLineSelStartPosition" type="int" overloaded="no">
       </method>
       <method name="GetLineSelStartPosition" type="int" overloaded="no">
-        <autodoc>GetLineSelStartPosition(int line) -&gt; int</autodoc>
+        <autodoc>GetLineSelStartPosition(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineSelEndPosition" type="int" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLineSelEndPosition" type="int" overloaded="no">
-        <autodoc>GetLineSelEndPosition(int line) -&gt; int</autodoc>
+        <autodoc>GetLineSelEndPosition(self, int line) -&gt; int</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LineDownRectExtend" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="LineDownRectExtend" type="" overloaded="no">
-        <autodoc>LineDownRectExtend()</autodoc>
+        <autodoc>LineDownRectExtend(self)</autodoc>
       </method>
       <method name="LineUpRectExtend" type="" overloaded="no">
       </method>
       <method name="LineUpRectExtend" type="" overloaded="no">
-        <autodoc>LineUpRectExtend()</autodoc>
+        <autodoc>LineUpRectExtend(self)</autodoc>
       </method>
       <method name="CharLeftRectExtend" type="" overloaded="no">
       </method>
       <method name="CharLeftRectExtend" type="" overloaded="no">
-        <autodoc>CharLeftRectExtend()</autodoc>
+        <autodoc>CharLeftRectExtend(self)</autodoc>
       </method>
       <method name="CharRightRectExtend" type="" overloaded="no">
       </method>
       <method name="CharRightRectExtend" type="" overloaded="no">
-        <autodoc>CharRightRectExtend()</autodoc>
+        <autodoc>CharRightRectExtend(self)</autodoc>
       </method>
       <method name="HomeRectExtend" type="" overloaded="no">
       </method>
       <method name="HomeRectExtend" type="" overloaded="no">
-        <autodoc>HomeRectExtend()</autodoc>
+        <autodoc>HomeRectExtend(self)</autodoc>
       </method>
       <method name="VCHomeRectExtend" type="" overloaded="no">
       </method>
       <method name="VCHomeRectExtend" type="" overloaded="no">
-        <autodoc>VCHomeRectExtend()</autodoc>
+        <autodoc>VCHomeRectExtend(self)</autodoc>
       </method>
       <method name="LineEndRectExtend" type="" overloaded="no">
       </method>
       <method name="LineEndRectExtend" type="" overloaded="no">
-        <autodoc>LineEndRectExtend()</autodoc>
+        <autodoc>LineEndRectExtend(self)</autodoc>
       </method>
       <method name="PageUpRectExtend" type="" overloaded="no">
       </method>
       <method name="PageUpRectExtend" type="" overloaded="no">
-        <autodoc>PageUpRectExtend()</autodoc>
+        <autodoc>PageUpRectExtend(self)</autodoc>
       </method>
       <method name="PageDownRectExtend" type="" overloaded="no">
       </method>
       <method name="PageDownRectExtend" type="" overloaded="no">
-        <autodoc>PageDownRectExtend()</autodoc>
+        <autodoc>PageDownRectExtend(self)</autodoc>
       </method>
       <method name="StutteredPageUp" type="" overloaded="no">
       </method>
       <method name="StutteredPageUp" type="" overloaded="no">
-        <autodoc>StutteredPageUp()</autodoc>
+        <autodoc>StutteredPageUp(self)</autodoc>
       </method>
       <method name="StutteredPageUpExtend" type="" overloaded="no">
       </method>
       <method name="StutteredPageUpExtend" type="" overloaded="no">
-        <autodoc>StutteredPageUpExtend()</autodoc>
+        <autodoc>StutteredPageUpExtend(self)</autodoc>
       </method>
       <method name="StutteredPageDown" type="" overloaded="no">
       </method>
       <method name="StutteredPageDown" type="" overloaded="no">
-        <autodoc>StutteredPageDown()</autodoc>
+        <autodoc>StutteredPageDown(self)</autodoc>
       </method>
       <method name="StutteredPageDownExtend" type="" overloaded="no">
       </method>
       <method name="StutteredPageDownExtend" type="" overloaded="no">
-        <autodoc>StutteredPageDownExtend()</autodoc>
+        <autodoc>StutteredPageDownExtend(self)</autodoc>
       </method>
       <method name="WordLeftEnd" type="" overloaded="no">
       </method>
       <method name="WordLeftEnd" type="" overloaded="no">
-        <autodoc>WordLeftEnd()</autodoc>
+        <autodoc>WordLeftEnd(self)</autodoc>
       </method>
       <method name="WordLeftEndExtend" type="" overloaded="no">
       </method>
       <method name="WordLeftEndExtend" type="" overloaded="no">
-        <autodoc>WordLeftEndExtend()</autodoc>
+        <autodoc>WordLeftEndExtend(self)</autodoc>
       </method>
       <method name="WordRightEnd" type="" overloaded="no">
       </method>
       <method name="WordRightEnd" type="" overloaded="no">
-        <autodoc>WordRightEnd()</autodoc>
+        <autodoc>WordRightEnd(self)</autodoc>
       </method>
       <method name="WordRightEndExtend" type="" overloaded="no">
       </method>
       <method name="WordRightEndExtend" type="" overloaded="no">
-        <autodoc>WordRightEndExtend()</autodoc>
+        <autodoc>WordRightEndExtend(self)</autodoc>
       </method>
       <method name="SetWhitespaceChars" type="" overloaded="no">
       </method>
       <method name="SetWhitespaceChars" type="" overloaded="no">
-        <autodoc>SetWhitespaceChars(String characters)</autodoc>
+        <autodoc>SetWhitespaceChars(self, String characters)</autodoc>
         <paramlist>
           <param name="characters" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetCharsDefault" type="" overloaded="no">
         <paramlist>
           <param name="characters" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetCharsDefault" type="" overloaded="no">
-        <autodoc>SetCharsDefault()</autodoc>
+        <autodoc>SetCharsDefault(self)</autodoc>
       </method>
       <method name="AutoCompGetCurrent" type="int" overloaded="no">
       </method>
       <method name="AutoCompGetCurrent" type="int" overloaded="no">
-        <autodoc>AutoCompGetCurrent() -&gt; int</autodoc>
+        <autodoc>AutoCompGetCurrent(self) -&gt; int</autodoc>
       </method>
       <method name="StartRecord" type="" overloaded="no">
       </method>
       <method name="StartRecord" type="" overloaded="no">
-        <autodoc>StartRecord()</autodoc>
+        <autodoc>StartRecord(self)</autodoc>
       </method>
       <method name="StopRecord" type="" overloaded="no">
       </method>
       <method name="StopRecord" type="" overloaded="no">
-        <autodoc>StopRecord()</autodoc>
+        <autodoc>StopRecord(self)</autodoc>
       </method>
       <method name="SetLexer" type="" overloaded="no">
       </method>
       <method name="SetLexer" type="" overloaded="no">
-        <autodoc>SetLexer(int lexer)</autodoc>
+        <autodoc>SetLexer(self, int lexer)</autodoc>
         <paramlist>
           <param name="lexer" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLexer" type="int" overloaded="no">
         <paramlist>
           <param name="lexer" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetLexer" type="int" overloaded="no">
-        <autodoc>GetLexer() -&gt; int</autodoc>
+        <autodoc>GetLexer(self) -&gt; int</autodoc>
       </method>
       <method name="Colourise" type="" overloaded="no">
       </method>
       <method name="Colourise" type="" overloaded="no">
-        <autodoc>Colourise(int start, int end)</autodoc>
+        <autodoc>Colourise(self, int start, int end)</autodoc>
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetProperty" type="" overloaded="no">
         <paramlist>
           <param name="start" type="int" default=""/>
           <param name="end" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetProperty" type="" overloaded="no">
-        <autodoc>SetProperty(String key, String value)</autodoc>
+        <autodoc>SetProperty(self, String key, String value)</autodoc>
         <paramlist>
           <param name="key" type="String" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetKeyWords" type="" overloaded="no">
         <paramlist>
           <param name="key" type="String" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetKeyWords" type="" overloaded="no">
-        <autodoc>SetKeyWords(int keywordSet, String keyWords)</autodoc>
+        <autodoc>SetKeyWords(self, int keywordSet, String keyWords)</autodoc>
         <paramlist>
           <param name="keywordSet" type="int" default=""/>
           <param name="keyWords" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLexerLanguage" type="" overloaded="no">
         <paramlist>
           <param name="keywordSet" type="int" default=""/>
           <param name="keyWords" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLexerLanguage" type="" overloaded="no">
-        <autodoc>SetLexerLanguage(String language)</autodoc>
+        <autodoc>SetLexerLanguage(self, String language)</autodoc>
         <paramlist>
           <param name="language" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentLine" type="int" overloaded="no">
         <paramlist>
           <param name="language" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetCurrentLine" type="int" overloaded="no">
-        <autodoc>GetCurrentLine() -&gt; int</autodoc>
+        <autodoc>GetCurrentLine(self) -&gt; int</autodoc>
       </method>
       <method name="StyleSetSpec" type="" overloaded="no">
       </method>
       <method name="StyleSetSpec" type="" overloaded="no">
-        <autodoc>StyleSetSpec(int styleNum, String spec)</autodoc>
+        <autodoc>StyleSetSpec(self, int styleNum, String spec)</autodoc>
         <paramlist>
           <param name="styleNum" type="int" default=""/>
           <param name="spec" type="String" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetFont" type="" overloaded="no">
         <paramlist>
           <param name="styleNum" type="int" default=""/>
           <param name="spec" type="String" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetFont" type="" overloaded="no">
-        <autodoc>StyleSetFont(int styleNum, Font font)</autodoc>
+        <autodoc>StyleSetFont(self, int styleNum, Font font)</autodoc>
         <paramlist>
           <param name="styleNum" type="int" default=""/>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetFontAttr" type="" overloaded="no">
         <paramlist>
           <param name="styleNum" type="int" default=""/>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="StyleSetFontAttr" type="" overloaded="no">
-        <autodoc>StyleSetFontAttr(int styleNum, int size, String faceName, bool bold, 
+        <autodoc>StyleSetFontAttr(self, int styleNum, int size, String faceName, bool bold, 
     bool italic, bool underline)</autodoc>
         <paramlist>
           <param name="styleNum" type="int" default=""/>
     bool italic, bool underline)</autodoc>
         <paramlist>
           <param name="styleNum" type="int" default=""/>
@@ -36569,45 +39610,45 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="CmdKeyExecute" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="CmdKeyExecute" type="" overloaded="no">
-        <autodoc>CmdKeyExecute(int cmd)</autodoc>
+        <autodoc>CmdKeyExecute(self, int cmd)</autodoc>
         <paramlist>
           <param name="cmd" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
         <paramlist>
           <param name="cmd" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMargins" type="" overloaded="no">
-        <autodoc>SetMargins(int left, int right)</autodoc>
+        <autodoc>SetMargins(self, int left, int right)</autodoc>
         <paramlist>
           <param name="left" type="int" default=""/>
           <param name="right" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="" overloaded="no">
         <paramlist>
           <param name="left" type="int" default=""/>
           <param name="right" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetSelection" type="" overloaded="no">
-        <autodoc>GetSelection(int OUTPUT, int OUTPUT)</autodoc>
+        <autodoc>GetSelection(self, int OUTPUT, int OUTPUT)</autodoc>
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PointFromPosition" type="Point" overloaded="no">
         <paramlist>
           <param name="OUTPUT" type="int" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         </paramlist>
       </method>
       <method name="PointFromPosition" type="Point" overloaded="no">
-        <autodoc>PointFromPosition(int pos) -&gt; Point</autodoc>
+        <autodoc>PointFromPosition(self, int pos) -&gt; Point</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ScrollToLine" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ScrollToLine" type="" overloaded="no">
-        <autodoc>ScrollToLine(int line)</autodoc>
+        <autodoc>ScrollToLine(self, int line)</autodoc>
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ScrollToColumn" type="" overloaded="no">
         <paramlist>
           <param name="line" type="int" default=""/>
         </paramlist>
       </method>
       <method name="ScrollToColumn" type="" overloaded="no">
-        <autodoc>ScrollToColumn(int column)</autodoc>
+        <autodoc>ScrollToColumn(self, int column)</autodoc>
         <paramlist>
           <param name="column" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SendMsg" type="long" overloaded="no">
         <paramlist>
           <param name="column" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SendMsg" type="long" overloaded="no">
-        <autodoc>SendMsg(int msg, long wp=0, long lp=0) -&gt; long</autodoc>
+        <autodoc>SendMsg(self, int msg, long wp=0, long lp=0) -&gt; long</autodoc>
         <paramlist>
           <param name="msg" type="int" default=""/>
           <param name="wp" type="long" default="0"/>
         <paramlist>
           <param name="msg" type="int" default=""/>
           <param name="wp" type="long" default="0"/>
@@ -36615,40 +39656,40 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="SetVScrollBar" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetVScrollBar" type="" overloaded="no">
-        <autodoc>SetVScrollBar(wxScrollBar bar)</autodoc>
+        <autodoc>SetVScrollBar(self, wxScrollBar bar)</autodoc>
         <paramlist>
           <param name="bar" type="ScrollBar" default=""/>
         </paramlist>
       </method>
       <method name="SetHScrollBar" type="" overloaded="no">
         <paramlist>
           <param name="bar" type="ScrollBar" default=""/>
         </paramlist>
       </method>
       <method name="SetHScrollBar" type="" overloaded="no">
-        <autodoc>SetHScrollBar(wxScrollBar bar)</autodoc>
+        <autodoc>SetHScrollBar(self, wxScrollBar bar)</autodoc>
         <paramlist>
           <param name="bar" type="ScrollBar" default=""/>
         </paramlist>
       </method>
       <method name="GetLastKeydownProcessed" type="bool" overloaded="no">
         <paramlist>
           <param name="bar" type="ScrollBar" default=""/>
         </paramlist>
       </method>
       <method name="GetLastKeydownProcessed" type="bool" overloaded="no">
-        <autodoc>GetLastKeydownProcessed() -&gt; bool</autodoc>
+        <autodoc>GetLastKeydownProcessed(self) -&gt; bool</autodoc>
       </method>
       <method name="SetLastKeydownProcessed" type="" overloaded="no">
       </method>
       <method name="SetLastKeydownProcessed" type="" overloaded="no">
-        <autodoc>SetLastKeydownProcessed(bool val)</autodoc>
+        <autodoc>SetLastKeydownProcessed(self, bool val)</autodoc>
         <paramlist>
           <param name="val" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
         <paramlist>
           <param name="val" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SaveFile" type="bool" overloaded="no">
-        <autodoc>SaveFile(String filename) -&gt; bool</autodoc>
+        <autodoc>SaveFile(self, String filename) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadFile" type="bool" overloaded="no">
-        <autodoc>LoadFile(String filename) -&gt; bool</autodoc>
+        <autodoc>LoadFile(self, String filename) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DoDragOver" type="wxDragResult" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DoDragOver" type="wxDragResult" overloaded="no">
-        <autodoc>DoDragOver(int x, int y, int def) -&gt; int</autodoc>
+        <autodoc>DoDragOver(self, int x, int y, int def) -&gt; int</autodoc>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
         <paramlist>
           <param name="x" type="int" default=""/>
           <param name="y" type="int" default=""/>
@@ -36656,7 +39697,7 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="DoDropText" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="DoDropText" type="bool" overloaded="no">
-        <autodoc>DoDropText(long x, long y, String data) -&gt; bool</autodoc>
+        <autodoc>DoDropText(self, long x, long y, String data) -&gt; bool</autodoc>
         <paramlist>
           <param name="x" type="long" default=""/>
           <param name="y" type="long" default=""/>
         <paramlist>
           <param name="x" type="long" default=""/>
           <param name="y" type="long" default=""/>
@@ -36664,218 +39705,218 @@ ControlPoint =      PyControlPoint
         </paramlist>
       </method>
       <method name="SetUseAntiAliasing" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetUseAntiAliasing" type="" overloaded="no">
-        <autodoc>SetUseAntiAliasing(bool useAA)</autodoc>
+        <autodoc>SetUseAntiAliasing(self, bool useAA)</autodoc>
         <paramlist>
           <param name="useAA" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseAntiAliasing" type="bool" overloaded="no">
         <paramlist>
           <param name="useAA" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="GetUseAntiAliasing" type="bool" overloaded="no">
-        <autodoc>GetUseAntiAliasing() -&gt; bool</autodoc>
+        <autodoc>GetUseAntiAliasing(self) -&gt; bool</autodoc>
       </method>
     </class>
     <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc">
       <baseclass name="CommandEvent"/>
       <constructor name="StyledTextEvent" overloaded="no">
       </method>
     </class>
     <class name="StyledTextEvent" oldname="wxStyledTextEvent" module="stc">
       <baseclass name="CommandEvent"/>
       <constructor name="StyledTextEvent" overloaded="no">
-        <autodoc>__init__(wxEventType commandType=0, int id=0) -&gt; StyledTextEvent</autodoc>
+        <autodoc>__init__(self, wxEventType commandType=0, int id=0) -&gt; StyledTextEvent</autodoc>
         <paramlist>
           <param name="commandType" type="wxEventType" default="0"/>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxStyledTextEvent" overloaded="no">
         <paramlist>
           <param name="commandType" type="wxEventType" default="0"/>
           <param name="id" type="int" default="0"/>
         </paramlist>
       </constructor>
       <destructor name="~wxStyledTextEvent" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="SetPosition" type="" overloaded="no">
       </destructor>
       <method name="SetPosition" type="" overloaded="no">
-        <autodoc>SetPosition(int pos)</autodoc>
+        <autodoc>SetPosition(self, int pos)</autodoc>
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetKey" type="" overloaded="no">
         <paramlist>
           <param name="pos" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetKey" type="" overloaded="no">
-        <autodoc>SetKey(int k)</autodoc>
+        <autodoc>SetKey(self, int k)</autodoc>
         <paramlist>
           <param name="k" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetModifiers" type="" overloaded="no">
         <paramlist>
           <param name="k" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetModifiers" type="" overloaded="no">
-        <autodoc>SetModifiers(int m)</autodoc>
+        <autodoc>SetModifiers(self, int m)</autodoc>
         <paramlist>
           <param name="m" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetModificationType" type="" overloaded="no">
         <paramlist>
           <param name="m" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetModificationType" type="" overloaded="no">
-        <autodoc>SetModificationType(int t)</autodoc>
+        <autodoc>SetModificationType(self, int t)</autodoc>
         <paramlist>
           <param name="t" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
         <paramlist>
           <param name="t" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String t)</autodoc>
+        <autodoc>SetText(self, String t)</autodoc>
         <paramlist>
           <param name="t" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLength" type="" overloaded="no">
         <paramlist>
           <param name="t" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetLength" type="" overloaded="no">
-        <autodoc>SetLength(int len)</autodoc>
+        <autodoc>SetLength(self, int len)</autodoc>
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLinesAdded" type="" overloaded="no">
         <paramlist>
           <param name="len" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLinesAdded" type="" overloaded="no">
-        <autodoc>SetLinesAdded(int num)</autodoc>
+        <autodoc>SetLinesAdded(self, int num)</autodoc>
         <paramlist>
           <param name="num" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLine" type="" overloaded="no">
         <paramlist>
           <param name="num" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLine" type="" overloaded="no">
-        <autodoc>SetLine(int val)</autodoc>
+        <autodoc>SetLine(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldLevelNow" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldLevelNow" type="" overloaded="no">
-        <autodoc>SetFoldLevelNow(int val)</autodoc>
+        <autodoc>SetFoldLevelNow(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldLevelPrev" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetFoldLevelPrev" type="" overloaded="no">
-        <autodoc>SetFoldLevelPrev(int val)</autodoc>
+        <autodoc>SetFoldLevelPrev(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMargin" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMargin" type="" overloaded="no">
-        <autodoc>SetMargin(int val)</autodoc>
+        <autodoc>SetMargin(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMessage" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetMessage" type="" overloaded="no">
-        <autodoc>SetMessage(int val)</autodoc>
+        <autodoc>SetMessage(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWParam" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWParam" type="" overloaded="no">
-        <autodoc>SetWParam(int val)</autodoc>
+        <autodoc>SetWParam(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLParam" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetLParam" type="" overloaded="no">
-        <autodoc>SetLParam(int val)</autodoc>
+        <autodoc>SetLParam(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetListType" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetListType" type="" overloaded="no">
-        <autodoc>SetListType(int val)</autodoc>
+        <autodoc>SetListType(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetX" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetX" type="" overloaded="no">
-        <autodoc>SetX(int val)</autodoc>
+        <autodoc>SetX(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetY" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetY" type="" overloaded="no">
-        <autodoc>SetY(int val)</autodoc>
+        <autodoc>SetY(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDragText" type="" overloaded="no">
         <paramlist>
           <param name="val" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetDragText" type="" overloaded="no">
-        <autodoc>SetDragText(String val)</autodoc>
+        <autodoc>SetDragText(self, String val)</autodoc>
         <paramlist>
           <param name="val" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetDragAllowMove" type="" overloaded="no">
         <paramlist>
           <param name="val" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetDragAllowMove" type="" overloaded="no">
-        <autodoc>SetDragAllowMove(bool val)</autodoc>
+        <autodoc>SetDragAllowMove(self, bool val)</autodoc>
         <paramlist>
           <param name="val" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetDragResult" type="" overloaded="no">
         <paramlist>
           <param name="val" type="bool" default=""/>
         </paramlist>
       </method>
       <method name="SetDragResult" type="" overloaded="no">
-        <autodoc>SetDragResult(int val)</autodoc>
+        <autodoc>SetDragResult(self, int val)</autodoc>
         <paramlist>
           <param name="val" type="wxDragResult" default=""/>
         </paramlist>
       </method>
       <method name="GetPosition" type="int" overloaded="no">
         <paramlist>
           <param name="val" type="wxDragResult" default=""/>
         </paramlist>
       </method>
       <method name="GetPosition" type="int" overloaded="no">
-        <autodoc>GetPosition() -&gt; int</autodoc>
+        <autodoc>GetPosition(self) -&gt; int</autodoc>
       </method>
       <method name="GetKey" type="int" overloaded="no">
       </method>
       <method name="GetKey" type="int" overloaded="no">
-        <autodoc>GetKey() -&gt; int</autodoc>
+        <autodoc>GetKey(self) -&gt; int</autodoc>
       </method>
       <method name="GetModifiers" type="int" overloaded="no">
       </method>
       <method name="GetModifiers" type="int" overloaded="no">
-        <autodoc>GetModifiers() -&gt; int</autodoc>
+        <autodoc>GetModifiers(self) -&gt; int</autodoc>
       </method>
       <method name="GetModificationType" type="int" overloaded="no">
       </method>
       <method name="GetModificationType" type="int" overloaded="no">
-        <autodoc>GetModificationType() -&gt; int</autodoc>
+        <autodoc>GetModificationType(self) -&gt; int</autodoc>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetLength" type="int" overloaded="no">
       </method>
       <method name="GetLength" type="int" overloaded="no">
-        <autodoc>GetLength() -&gt; int</autodoc>
+        <autodoc>GetLength(self) -&gt; int</autodoc>
       </method>
       <method name="GetLinesAdded" type="int" overloaded="no">
       </method>
       <method name="GetLinesAdded" type="int" overloaded="no">
-        <autodoc>GetLinesAdded() -&gt; int</autodoc>
+        <autodoc>GetLinesAdded(self) -&gt; int</autodoc>
       </method>
       <method name="GetLine" type="int" overloaded="no">
       </method>
       <method name="GetLine" type="int" overloaded="no">
-        <autodoc>GetLine() -&gt; int</autodoc>
+        <autodoc>GetLine(self) -&gt; int</autodoc>
       </method>
       <method name="GetFoldLevelNow" type="int" overloaded="no">
       </method>
       <method name="GetFoldLevelNow" type="int" overloaded="no">
-        <autodoc>GetFoldLevelNow() -&gt; int</autodoc>
+        <autodoc>GetFoldLevelNow(self) -&gt; int</autodoc>
       </method>
       <method name="GetFoldLevelPrev" type="int" overloaded="no">
       </method>
       <method name="GetFoldLevelPrev" type="int" overloaded="no">
-        <autodoc>GetFoldLevelPrev() -&gt; int</autodoc>
+        <autodoc>GetFoldLevelPrev(self) -&gt; int</autodoc>
       </method>
       <method name="GetMargin" type="int" overloaded="no">
       </method>
       <method name="GetMargin" type="int" overloaded="no">
-        <autodoc>GetMargin() -&gt; int</autodoc>
+        <autodoc>GetMargin(self) -&gt; int</autodoc>
       </method>
       <method name="GetMessage" type="int" overloaded="no">
       </method>
       <method name="GetMessage" type="int" overloaded="no">
-        <autodoc>GetMessage() -&gt; int</autodoc>
+        <autodoc>GetMessage(self) -&gt; int</autodoc>
       </method>
       <method name="GetWParam" type="int" overloaded="no">
       </method>
       <method name="GetWParam" type="int" overloaded="no">
-        <autodoc>GetWParam() -&gt; int</autodoc>
+        <autodoc>GetWParam(self) -&gt; int</autodoc>
       </method>
       <method name="GetLParam" type="int" overloaded="no">
       </method>
       <method name="GetLParam" type="int" overloaded="no">
-        <autodoc>GetLParam() -&gt; int</autodoc>
+        <autodoc>GetLParam(self) -&gt; int</autodoc>
       </method>
       <method name="GetListType" type="int" overloaded="no">
       </method>
       <method name="GetListType" type="int" overloaded="no">
-        <autodoc>GetListType() -&gt; int</autodoc>
+        <autodoc>GetListType(self) -&gt; int</autodoc>
       </method>
       <method name="GetX" type="int" overloaded="no">
       </method>
       <method name="GetX" type="int" overloaded="no">
-        <autodoc>GetX() -&gt; int</autodoc>
+        <autodoc>GetX(self) -&gt; int</autodoc>
       </method>
       <method name="GetY" type="int" overloaded="no">
       </method>
       <method name="GetY" type="int" overloaded="no">
-        <autodoc>GetY() -&gt; int</autodoc>
+        <autodoc>GetY(self) -&gt; int</autodoc>
       </method>
       <method name="GetDragText" type="String" overloaded="no">
       </method>
       <method name="GetDragText" type="String" overloaded="no">
-        <autodoc>GetDragText() -&gt; String</autodoc>
+        <autodoc>GetDragText(self) -&gt; String</autodoc>
       </method>
       <method name="GetDragAllowMove" type="bool" overloaded="no">
       </method>
       <method name="GetDragAllowMove" type="bool" overloaded="no">
-        <autodoc>GetDragAllowMove() -&gt; bool</autodoc>
+        <autodoc>GetDragAllowMove(self) -&gt; bool</autodoc>
       </method>
       <method name="GetDragResult" type="wxDragResult" overloaded="no">
       </method>
       <method name="GetDragResult" type="wxDragResult" overloaded="no">
-        <autodoc>GetDragResult() -&gt; int</autodoc>
+        <autodoc>GetDragResult(self) -&gt; int</autodoc>
       </method>
       <method name="GetShift" type="bool" overloaded="no">
       </method>
       <method name="GetShift" type="bool" overloaded="no">
-        <autodoc>GetShift() -&gt; bool</autodoc>
+        <autodoc>GetShift(self) -&gt; bool</autodoc>
       </method>
       <method name="GetControl" type="bool" overloaded="no">
       </method>
       <method name="GetControl" type="bool" overloaded="no">
-        <autodoc>GetControl() -&gt; bool</autodoc>
+        <autodoc>GetControl(self) -&gt; bool</autodoc>
       </method>
       <method name="GetAlt" type="bool" overloaded="no">
       </method>
       <method name="GetAlt" type="bool" overloaded="no">
-        <autodoc>GetAlt() -&gt; bool</autodoc>
+        <autodoc>GetAlt(self) -&gt; bool</autodoc>
       </method>
       <method name="Clone" type="Event" overloaded="no">
       </method>
       <method name="Clone" type="Event" overloaded="no">
-        <autodoc>Clone() -&gt; Event</autodoc>
+        <autodoc>Clone(self) -&gt; Event</autodoc>
       </method>
     </class>
     <pythoncode>
       </method>
     </class>
     <pythoncode>
@@ -36892,7 +39933,6 @@ EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 )
 EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
 EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
 EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
 EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
 EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
 EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
-EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 )
 EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
 EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
 EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
 EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
 EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
 EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
@@ -36908,15 +39948,16 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
 </pythoncode>
   </module>
   <module name="xrc">
 </pythoncode>
   </module>
   <module name="xrc">
-    <import name="core"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_core"/>
+    <pythoncode> wx = _core </pythoncode>
+    <pythoncode> __docfilter__ = wx.__DocFilter(globals()) </pythoncode>
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <class name="XmlResource" oldname="wxXmlResource" module="xrc">
       <baseclass name="Object"/>
       <constructor name="XmlResource" overloaded="no">
     <pythoncode>
 #---------------------------------------------------------------------------
 </pythoncode>
     <class name="XmlResource" oldname="wxXmlResource" module="xrc">
       <baseclass name="Object"/>
       <constructor name="XmlResource" overloaded="no">
-        <autodoc>__init__(String filemask, int flags=XRC_USE_LOCALE) -&gt; XmlResource</autodoc>
+        <autodoc>__init__(self, String filemask, int flags=XRC_USE_LOCALE) -&gt; XmlResource</autodoc>
         <paramlist>
           <param name="filemask" type="String" default=""/>
           <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
         <paramlist>
           <param name="filemask" type="String" default=""/>
           <param name="flags" type="int" default="wxXRC_USE_LOCALE"/>
@@ -36929,37 +39970,37 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </constructor>
       <destructor name="~wxXmlResource" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxXmlResource" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Load" type="bool" overloaded="no">
       </destructor>
       <method name="Load" type="bool" overloaded="no">
-        <autodoc>Load(String filemask) -&gt; bool</autodoc>
+        <autodoc>Load(self, String filemask) -&gt; bool</autodoc>
         <paramlist>
           <param name="filemask" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadFromString" type="bool" overloaded="no">
         <paramlist>
           <param name="filemask" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadFromString" type="bool" overloaded="no">
-        <autodoc>LoadFromString(String data) -&gt; bool</autodoc>
+        <autodoc>LoadFromString(self, String data) -&gt; bool</autodoc>
         <paramlist>
           <param name="data" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InitAllHandlers" type="" overloaded="no">
         <paramlist>
           <param name="data" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InitAllHandlers" type="" overloaded="no">
-        <autodoc>InitAllHandlers()</autodoc>
+        <autodoc>InitAllHandlers(self)</autodoc>
       </method>
       <method name="AddHandler" type="" overloaded="no">
       </method>
       <method name="AddHandler" type="" overloaded="no">
-        <autodoc>AddHandler(XmlResourceHandler handler)</autodoc>
+        <autodoc>AddHandler(self, XmlResourceHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="wxPyXmlResourceHandler" default=""/>
         </paramlist>
       </method>
       <method name="InsertHandler" type="" overloaded="no">
         <paramlist>
           <param name="handler" type="wxPyXmlResourceHandler" default=""/>
         </paramlist>
       </method>
       <method name="InsertHandler" type="" overloaded="no">
-        <autodoc>InsertHandler(XmlResourceHandler handler)</autodoc>
+        <autodoc>InsertHandler(self, XmlResourceHandler handler)</autodoc>
         <paramlist>
           <param name="handler" type="wxPyXmlResourceHandler" default=""/>
         </paramlist>
       </method>
       <method name="ClearHandlers" type="" overloaded="no">
         <paramlist>
           <param name="handler" type="wxPyXmlResourceHandler" default=""/>
         </paramlist>
       </method>
       <method name="ClearHandlers" type="" overloaded="no">
-        <autodoc>ClearHandlers()</autodoc>
+        <autodoc>ClearHandlers(self)</autodoc>
       </method>
       <staticmethod name="AddSubclassFactory" type="" overloaded="no">
         <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc>
       </method>
       <staticmethod name="AddSubclassFactory" type="" overloaded="no">
         <autodoc>AddSubclassFactory(XmlSubclassFactory factory)</autodoc>
@@ -36968,40 +40009,40 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </staticmethod>
       <method name="LoadMenu" type="Menu" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="LoadMenu" type="Menu" overloaded="no">
-        <autodoc>LoadMenu(String name) -&gt; Menu</autodoc>
+        <autodoc>LoadMenu(self, String name) -&gt; Menu</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadMenuBar" type="MenuBar" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadMenuBar" type="MenuBar" overloaded="no">
-        <autodoc>LoadMenuBar(String name) -&gt; MenuBar</autodoc>
+        <autodoc>LoadMenuBar(self, String name) -&gt; MenuBar</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadMenuBarOnFrame" type="MenuBar" overloaded="no">
-        <autodoc>LoadMenuBarOnFrame(Window parent, String name) -&gt; MenuBar</autodoc>
+        <autodoc>LoadMenuBarOnFrame(self, Window parent, String name) -&gt; MenuBar</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadToolBar" type="ToolBar" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadToolBar" type="ToolBar" overloaded="no">
-        <autodoc>LoadToolBar(Window parent, String name) -&gt; wxToolBar</autodoc>
+        <autodoc>LoadToolBar(self, Window parent, String name) -&gt; wxToolBar</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadDialog" type="Dialog" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadDialog" type="Dialog" overloaded="no">
-        <autodoc>LoadDialog(Window parent, String name) -&gt; wxDialog</autodoc>
+        <autodoc>LoadDialog(self, Window parent, String name) -&gt; wxDialog</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadOnDialog" type="bool" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadOnDialog" type="bool" overloaded="no">
-        <autodoc>LoadOnDialog(wxDialog dlg, Window parent, String name) -&gt; bool</autodoc>
+        <autodoc>LoadOnDialog(self, wxDialog dlg, Window parent, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="dlg" type="Dialog" default=""/>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="dlg" type="Dialog" default=""/>
           <param name="parent" type="Window" default=""/>
@@ -37009,14 +40050,14 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </method>
       <method name="LoadPanel" type="Panel" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadPanel" type="Panel" overloaded="no">
-        <autodoc>LoadPanel(Window parent, String name) -&gt; wxPanel</autodoc>
+        <autodoc>LoadPanel(self, Window parent, String name) -&gt; wxPanel</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadOnPanel" type="bool" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadOnPanel" type="bool" overloaded="no">
-        <autodoc>LoadOnPanel(wxPanel panel, Window parent, String name) -&gt; bool</autodoc>
+        <autodoc>LoadOnPanel(self, wxPanel panel, Window parent, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="panel" type="Panel" default=""/>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="panel" type="Panel" default=""/>
           <param name="parent" type="Window" default=""/>
@@ -37024,14 +40065,14 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </method>
       <method name="LoadFrame" type="Frame" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadFrame" type="Frame" overloaded="no">
-        <autodoc>LoadFrame(Window parent, String name) -&gt; wxFrame</autodoc>
+        <autodoc>LoadFrame(self, Window parent, String name) -&gt; wxFrame</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadOnFrame" type="bool" overloaded="no">
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadOnFrame" type="bool" overloaded="no">
-        <autodoc>LoadOnFrame(wxFrame frame, Window parent, String name) -&gt; bool</autodoc>
+        <autodoc>LoadOnFrame(self, wxFrame frame, Window parent, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="frame" type="Frame" default=""/>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="frame" type="Frame" default=""/>
           <param name="parent" type="Window" default=""/>
@@ -37039,7 +40080,7 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </method>
       <method name="LoadObject" type="Object" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadObject" type="Object" overloaded="no">
-        <autodoc>LoadObject(Window parent, String name, String classname) -&gt; Object</autodoc>
+        <autodoc>LoadObject(self, Window parent, String name, String classname) -&gt; Object</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
         <paramlist>
           <param name="parent" type="Window" default=""/>
           <param name="name" type="String" default=""/>
@@ -37047,7 +40088,7 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </method>
       <method name="LoadOnObject" type="bool" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadOnObject" type="bool" overloaded="no">
-        <autodoc>LoadOnObject(Object instance, Window parent, String name, String classname) -&gt; bool</autodoc>
+        <autodoc>LoadOnObject(self, Object instance, Window parent, String name, String classname) -&gt; bool</autodoc>
         <paramlist>
           <param name="instance" type="Object" default=""/>
           <param name="parent" type="Window" default=""/>
         <paramlist>
           <param name="instance" type="Object" default=""/>
           <param name="parent" type="Window" default=""/>
@@ -37056,19 +40097,19 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </method>
       <method name="LoadBitmap" type="Bitmap" overloaded="no">
         </paramlist>
       </method>
       <method name="LoadBitmap" type="Bitmap" overloaded="no">
-        <autodoc>LoadBitmap(String name) -&gt; Bitmap</autodoc>
+        <autodoc>LoadBitmap(self, String name) -&gt; Bitmap</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadIcon" type="Icon" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="LoadIcon" type="Icon" overloaded="no">
-        <autodoc>LoadIcon(String name) -&gt; Icon</autodoc>
+        <autodoc>LoadIcon(self, String name) -&gt; Icon</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AttachUnknownControl" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AttachUnknownControl" type="bool" overloaded="no">
-        <autodoc>AttachUnknownControl(String name, Window control, Window parent=None) -&gt; bool</autodoc>
+        <autodoc>AttachUnknownControl(self, String name, Window control, Window parent=None) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="control" type="Window" default=""/>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="control" type="Window" default=""/>
@@ -37082,10 +40123,10 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </staticmethod>
       <method name="GetVersion" type="long" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="GetVersion" type="long" overloaded="no">
-        <autodoc>GetVersion() -&gt; long</autodoc>
+        <autodoc>GetVersion(self) -&gt; long</autodoc>
       </method>
       <method name="CompareVersion" type="int" overloaded="no">
       </method>
       <method name="CompareVersion" type="int" overloaded="no">
-        <autodoc>CompareVersion(int major, int minor, int release, int revision) -&gt; int</autodoc>
+        <autodoc>CompareVersion(self, int major, int minor, int release, int revision) -&gt; int</autodoc>
         <paramlist>
           <param name="major" type="int" default=""/>
           <param name="minor" type="int" default=""/>
         <paramlist>
           <param name="major" type="int" default=""/>
           <param name="minor" type="int" default=""/>
@@ -37103,10 +40144,10 @@ EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
         </paramlist>
       </staticmethod>
       <method name="GetFlags" type="int" overloaded="no">
         </paramlist>
       </staticmethod>
       <method name="GetFlags" type="int" overloaded="no">
-        <autodoc>GetFlags() -&gt; int</autodoc>
+        <autodoc>GetFlags(self) -&gt; int</autodoc>
       </method>
       <method name="SetFlags" type="" overloaded="no">
       </method>
       <method name="SetFlags" type="" overloaded="no">
-        <autodoc>SetFlags(int flags)</autodoc>
+        <autodoc>SetFlags(self, int flags)</autodoc>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
         <paramlist>
           <param name="flags" type="int" default=""/>
         </paramlist>
@@ -37124,10 +40165,10 @@ def XRCCTRL(window, str_id, *ignoreargs):
 </pythoncode>
     <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc">
       <constructor name="wxPyXmlSubclassFactory" overloaded="no">
 </pythoncode>
     <class name="XmlSubclassFactory" oldname="wxPyXmlSubclassFactory" module="xrc">
       <constructor name="wxPyXmlSubclassFactory" overloaded="no">
-        <autodoc>__init__() -&gt; XmlSubclassFactory</autodoc>
+        <autodoc>__init__(self) -&gt; XmlSubclassFactory</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
@@ -37139,7 +40180,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
 </pythoncode>
     <class name="XmlProperty" oldname="wxXmlProperty" module="xrc">
       <constructor name="XmlProperty" overloaded="no">
 </pythoncode>
     <class name="XmlProperty" oldname="wxXmlProperty" module="xrc">
       <constructor name="XmlProperty" overloaded="no">
-        <autodoc>__init__(String name=EmptyString, String value=EmptyString, 
+        <autodoc>__init__(self, String name=EmptyString, String value=EmptyString, 
     XmlProperty next=None) -&gt; XmlProperty</autodoc>
         <paramlist>
           <param name="name" type="String" default="wxPyEmptyString"/>
     XmlProperty next=None) -&gt; XmlProperty</autodoc>
         <paramlist>
           <param name="name" type="String" default="wxPyEmptyString"/>
@@ -37148,28 +40189,28 @@ def XRCCTRL(window, str_id, *ignoreargs):
         </paramlist>
       </constructor>
       <method name="GetName" type="String" overloaded="no">
         </paramlist>
       </constructor>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetValue" type="String" overloaded="no">
       </method>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
       <method name="GetNext" type="XmlProperty" overloaded="no">
       </method>
       <method name="GetNext" type="XmlProperty" overloaded="no">
-        <autodoc>GetNext() -&gt; XmlProperty</autodoc>
+        <autodoc>GetNext(self) -&gt; XmlProperty</autodoc>
       </method>
       <method name="SetName" type="" overloaded="no">
       </method>
       <method name="SetName" type="" overloaded="no">
-        <autodoc>SetName(String name)</autodoc>
+        <autodoc>SetName(self, String name)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(String value)</autodoc>
+        <autodoc>SetValue(self, String value)</autodoc>
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
         <paramlist>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
-        <autodoc>SetNext(XmlProperty next)</autodoc>
+        <autodoc>SetNext(self, XmlProperty next)</autodoc>
         <paramlist>
           <param name="next" type="XmlProperty" default=""/>
         </paramlist>
         <paramlist>
           <param name="next" type="XmlProperty" default=""/>
         </paramlist>
@@ -37177,7 +40218,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
     </class>
     <class name="XmlNode" oldname="wxXmlNode" module="xrc">
       <constructor name="XmlNode" overloaded="no">
     </class>
     <class name="XmlNode" oldname="wxXmlNode" module="xrc">
       <constructor name="XmlNode" overloaded="no">
-        <autodoc>__init__(XmlNode parent=None, int type=0, String name=EmptyString, 
+        <autodoc>__init__(self, XmlNode parent=None, int type=0, String name=EmptyString, 
     String content=EmptyString, XmlProperty props=None, 
     XmlNode next=None) -&gt; XmlNode</autodoc>
         <paramlist>
     String content=EmptyString, XmlProperty props=None, 
     XmlNode next=None) -&gt; XmlNode</autodoc>
         <paramlist>
@@ -37198,118 +40239,118 @@ def XRCCTRL(window, str_id, *ignoreargs):
         </paramlist>
       </constructor>
       <destructor name="~wxXmlNode" overloaded="no">
         </paramlist>
       </constructor>
       <destructor name="~wxXmlNode" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="AddChild" type="" overloaded="no">
       </destructor>
       <method name="AddChild" type="" overloaded="no">
-        <autodoc>AddChild(XmlNode child)</autodoc>
+        <autodoc>AddChild(self, XmlNode child)</autodoc>
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="InsertChild" type="" overloaded="no">
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="InsertChild" type="" overloaded="no">
-        <autodoc>InsertChild(XmlNode child, XmlNode before_node)</autodoc>
+        <autodoc>InsertChild(self, XmlNode child, XmlNode before_node)</autodoc>
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
           <param name="before_node" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="RemoveChild" type="bool" overloaded="no">
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
           <param name="before_node" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="RemoveChild" type="bool" overloaded="no">
-        <autodoc>RemoveChild(XmlNode child) -&gt; bool</autodoc>
+        <autodoc>RemoveChild(self, XmlNode child) -&gt; bool</autodoc>
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="AddProperty" type="" overloaded="no">
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="AddProperty" type="" overloaded="no">
-        <autodoc>AddProperty(XmlProperty prop)</autodoc>
+        <autodoc>AddProperty(self, XmlProperty prop)</autodoc>
         <paramlist>
           <param name="prop" type="XmlProperty" default=""/>
         </paramlist>
       </method>
       <method name="AddPropertyName" type="" overloaded="no">
         <paramlist>
           <param name="prop" type="XmlProperty" default=""/>
         </paramlist>
       </method>
       <method name="AddPropertyName" type="" overloaded="no">
-        <autodoc>AddPropertyName(String name, String value)</autodoc>
+        <autodoc>AddPropertyName(self, String name, String value)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DeleteProperty" type="bool" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="String" default=""/>
         </paramlist>
       </method>
       <method name="DeleteProperty" type="bool" overloaded="no">
-        <autodoc>DeleteProperty(String name) -&gt; bool</autodoc>
+        <autodoc>DeleteProperty(self, String name) -&gt; bool</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetType" type="wxXmlNodeType" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetType" type="wxXmlNodeType" overloaded="no">
-        <autodoc>GetType() -&gt; int</autodoc>
+        <autodoc>GetType(self) -&gt; int</autodoc>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetContent" type="String" overloaded="no">
       </method>
       <method name="GetContent" type="String" overloaded="no">
-        <autodoc>GetContent() -&gt; String</autodoc>
+        <autodoc>GetContent(self) -&gt; String</autodoc>
       </method>
       <method name="GetParent" type="XmlNode" overloaded="no">
       </method>
       <method name="GetParent" type="XmlNode" overloaded="no">
-        <autodoc>GetParent() -&gt; XmlNode</autodoc>
+        <autodoc>GetParent(self) -&gt; XmlNode</autodoc>
       </method>
       <method name="GetNext" type="XmlNode" overloaded="no">
       </method>
       <method name="GetNext" type="XmlNode" overloaded="no">
-        <autodoc>GetNext() -&gt; XmlNode</autodoc>
+        <autodoc>GetNext(self) -&gt; XmlNode</autodoc>
       </method>
       <method name="GetChildren" type="XmlNode" overloaded="no">
       </method>
       <method name="GetChildren" type="XmlNode" overloaded="no">
-        <autodoc>GetChildren() -&gt; XmlNode</autodoc>
+        <autodoc>GetChildren(self) -&gt; XmlNode</autodoc>
       </method>
       <method name="GetProperties" type="XmlProperty" overloaded="no">
       </method>
       <method name="GetProperties" type="XmlProperty" overloaded="no">
-        <autodoc>GetProperties() -&gt; XmlProperty</autodoc>
+        <autodoc>GetProperties(self) -&gt; XmlProperty</autodoc>
       </method>
       <method name="GetPropVal" type="String" overloaded="no">
       </method>
       <method name="GetPropVal" type="String" overloaded="no">
-        <autodoc>GetPropVal(String propName, String defaultVal) -&gt; String</autodoc>
+        <autodoc>GetPropVal(self, String propName, String defaultVal) -&gt; String</autodoc>
         <paramlist>
           <param name="propName" type="String" default=""/>
           <param name="defaultVal" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasProp" type="bool" overloaded="no">
         <paramlist>
           <param name="propName" type="String" default=""/>
           <param name="defaultVal" type="String" default=""/>
         </paramlist>
       </method>
       <method name="HasProp" type="bool" overloaded="no">
-        <autodoc>HasProp(String propName) -&gt; bool</autodoc>
+        <autodoc>HasProp(self, String propName) -&gt; bool</autodoc>
         <paramlist>
           <param name="propName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetType" type="" overloaded="no">
         <paramlist>
           <param name="propName" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetType" type="" overloaded="no">
-        <autodoc>SetType(int type)</autodoc>
+        <autodoc>SetType(self, int type)</autodoc>
         <paramlist>
           <param name="type" type="wxXmlNodeType" default=""/>
         </paramlist>
       </method>
       <method name="SetName" type="" overloaded="no">
         <paramlist>
           <param name="type" type="wxXmlNodeType" default=""/>
         </paramlist>
       </method>
       <method name="SetName" type="" overloaded="no">
-        <autodoc>SetName(String name)</autodoc>
+        <autodoc>SetName(self, String name)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetContent" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetContent" type="" overloaded="no">
-        <autodoc>SetContent(String con)</autodoc>
+        <autodoc>SetContent(self, String con)</autodoc>
         <paramlist>
           <param name="con" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetParent" type="" overloaded="no">
         <paramlist>
           <param name="con" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetParent" type="" overloaded="no">
-        <autodoc>SetParent(XmlNode parent)</autodoc>
+        <autodoc>SetParent(self, XmlNode parent)</autodoc>
         <paramlist>
           <param name="parent" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
         <paramlist>
           <param name="parent" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetNext" type="" overloaded="no">
-        <autodoc>SetNext(XmlNode next)</autodoc>
+        <autodoc>SetNext(self, XmlNode next)</autodoc>
         <paramlist>
           <param name="next" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetChildren" type="" overloaded="no">
         <paramlist>
           <param name="next" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetChildren" type="" overloaded="no">
-        <autodoc>SetChildren(XmlNode child)</autodoc>
+        <autodoc>SetChildren(self, XmlNode child)</autodoc>
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetProperties" type="" overloaded="no">
         <paramlist>
           <param name="child" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetProperties" type="" overloaded="no">
-        <autodoc>SetProperties(XmlProperty prop)</autodoc>
+        <autodoc>SetProperties(self, XmlProperty prop)</autodoc>
         <paramlist>
           <param name="prop" type="XmlProperty" default=""/>
         </paramlist>
         <paramlist>
           <param name="prop" type="XmlProperty" default=""/>
         </paramlist>
@@ -37318,7 +40359,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
     <class name="XmlDocument" oldname="wxXmlDocument" module="xrc">
       <baseclass name="Object"/>
       <constructor name="XmlDocument" overloaded="no">
     <class name="XmlDocument" oldname="wxXmlDocument" module="xrc">
       <baseclass name="Object"/>
       <constructor name="XmlDocument" overloaded="no">
-        <autodoc>__init__(String filename, String encoding=UTF8String) -&gt; XmlDocument</autodoc>
+        <autodoc>__init__(self, String filename, String encoding=UTF8String) -&gt; XmlDocument</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="encoding" type="String" default="wxPyUTF8String"/>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="encoding" type="String" default="wxPyUTF8String"/>
@@ -37335,60 +40376,60 @@ def XRCCTRL(window, str_id, *ignoreargs):
         <autodoc>EmptyXmlDocument() -&gt; XmlDocument</autodoc>
       </constructor>
       <destructor name="~wxXmlDocument" overloaded="no">
         <autodoc>EmptyXmlDocument() -&gt; XmlDocument</autodoc>
       </constructor>
       <destructor name="~wxXmlDocument" overloaded="no">
-        <autodoc>__del__()</autodoc>
+        <autodoc>__del__(self)</autodoc>
       </destructor>
       <method name="Load" type="bool" overloaded="no">
       </destructor>
       <method name="Load" type="bool" overloaded="no">
-        <autodoc>Load(String filename, String encoding=UTF8String) -&gt; bool</autodoc>
+        <autodoc>Load(self, String filename, String encoding=UTF8String) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="encoding" type="String" default="wxPyUTF8String"/>
         </paramlist>
       </method>
       <method name="LoadFromStream" type="bool" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
           <param name="encoding" type="String" default="wxPyUTF8String"/>
         </paramlist>
       </method>
       <method name="LoadFromStream" type="bool" overloaded="no">
-        <autodoc>LoadFromStream(InputStream stream, String encoding=UTF8String) -&gt; bool</autodoc>
+        <autodoc>LoadFromStream(self, InputStream stream, String encoding=UTF8String) -&gt; bool</autodoc>
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
           <param name="encoding" type="String" default="wxPyUTF8String"/>
         </paramlist>
       </method>
       <method name="Save" type="bool" overloaded="no">
         <paramlist>
           <param name="stream" type="wxInputStream" default=""/>
           <param name="encoding" type="String" default="wxPyUTF8String"/>
         </paramlist>
       </method>
       <method name="Save" type="bool" overloaded="no">
-        <autodoc>Save(String filename) -&gt; bool</autodoc>
+        <autodoc>Save(self, String filename) -&gt; bool</autodoc>
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SaveToStream" type="bool" overloaded="no">
         <paramlist>
           <param name="filename" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SaveToStream" type="bool" overloaded="no">
-        <autodoc>SaveToStream(OutputStream stream) -&gt; bool</autodoc>
+        <autodoc>SaveToStream(self, OutputStream stream) -&gt; bool</autodoc>
         <paramlist>
           <param name="stream" type="OutputStream" default=""/>
         </paramlist>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
         <paramlist>
           <param name="stream" type="OutputStream" default=""/>
         </paramlist>
       </method>
       <method name="IsOk" type="bool" overloaded="no">
-        <autodoc>IsOk() -&gt; bool</autodoc>
+        <autodoc>IsOk(self) -&gt; bool</autodoc>
       </method>
       <method name="GetRoot" type="XmlNode" overloaded="no">
       </method>
       <method name="GetRoot" type="XmlNode" overloaded="no">
-        <autodoc>GetRoot() -&gt; XmlNode</autodoc>
+        <autodoc>GetRoot(self) -&gt; XmlNode</autodoc>
       </method>
       <method name="GetVersion" type="String" overloaded="no">
       </method>
       <method name="GetVersion" type="String" overloaded="no">
-        <autodoc>GetVersion() -&gt; String</autodoc>
+        <autodoc>GetVersion(self) -&gt; String</autodoc>
       </method>
       <method name="GetFileEncoding" type="String" overloaded="no">
       </method>
       <method name="GetFileEncoding" type="String" overloaded="no">
-        <autodoc>GetFileEncoding() -&gt; String</autodoc>
+        <autodoc>GetFileEncoding(self) -&gt; String</autodoc>
       </method>
       <method name="SetRoot" type="" overloaded="no">
       </method>
       <method name="SetRoot" type="" overloaded="no">
-        <autodoc>SetRoot(XmlNode node)</autodoc>
+        <autodoc>SetRoot(self, XmlNode node)</autodoc>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetVersion" type="" overloaded="no">
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="SetVersion" type="" overloaded="no">
-        <autodoc>SetVersion(String version)</autodoc>
+        <autodoc>SetVersion(self, String version)</autodoc>
         <paramlist>
           <param name="version" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFileEncoding" type="" overloaded="no">
         <paramlist>
           <param name="version" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetFileEncoding" type="" overloaded="no">
-        <autodoc>SetFileEncoding(String encoding)</autodoc>
+        <autodoc>SetFileEncoding(self, String encoding)</autodoc>
         <paramlist>
           <param name="encoding" type="String" default=""/>
         </paramlist>
         <paramlist>
           <param name="encoding" type="String" default=""/>
         </paramlist>
@@ -37400,17 +40441,17 @@ def XRCCTRL(window, str_id, *ignoreargs):
     <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc">
       <baseclass name="Object"/>
       <constructor name="wxPyXmlResourceHandler" overloaded="no">
     <class name="XmlResourceHandler" oldname="wxPyXmlResourceHandler" module="xrc">
       <baseclass name="Object"/>
       <constructor name="wxPyXmlResourceHandler" overloaded="no">
-        <autodoc>__init__() -&gt; XmlResourceHandler</autodoc>
+        <autodoc>__init__(self) -&gt; XmlResourceHandler</autodoc>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="CreateResource" type="Object" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="CreateResource" type="Object" overloaded="no">
-        <autodoc>CreateResource(XmlNode node, Object parent, Object instance) -&gt; Object</autodoc>
+        <autodoc>CreateResource(self, XmlNode node, Object parent, Object instance) -&gt; Object</autodoc>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
           <param name="parent" type="Object" default=""/>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
           <param name="parent" type="Object" default=""/>
@@ -37418,134 +40459,134 @@ def XRCCTRL(window, str_id, *ignoreargs):
         </paramlist>
       </method>
       <method name="SetParentResource" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetParentResource" type="" overloaded="no">
-        <autodoc>SetParentResource(XmlResource res)</autodoc>
+        <autodoc>SetParentResource(self, XmlResource res)</autodoc>
         <paramlist>
           <param name="res" type="XmlResource" default=""/>
         </paramlist>
       </method>
       <method name="GetResource" type="XmlResource" overloaded="no">
         <paramlist>
           <param name="res" type="XmlResource" default=""/>
         </paramlist>
       </method>
       <method name="GetResource" type="XmlResource" overloaded="no">
-        <autodoc>GetResource() -&gt; XmlResource</autodoc>
+        <autodoc>GetResource(self) -&gt; XmlResource</autodoc>
       </method>
       <method name="GetNode" type="XmlNode" overloaded="no">
       </method>
       <method name="GetNode" type="XmlNode" overloaded="no">
-        <autodoc>GetNode() -&gt; XmlNode</autodoc>
+        <autodoc>GetNode(self) -&gt; XmlNode</autodoc>
       </method>
       <method name="GetClass" type="String" overloaded="no">
       </method>
       <method name="GetClass" type="String" overloaded="no">
-        <autodoc>GetClass() -&gt; String</autodoc>
+        <autodoc>GetClass(self) -&gt; String</autodoc>
       </method>
       <method name="GetParent" type="Object" overloaded="no">
       </method>
       <method name="GetParent" type="Object" overloaded="no">
-        <autodoc>GetParent() -&gt; Object</autodoc>
+        <autodoc>GetParent(self) -&gt; Object</autodoc>
       </method>
       <method name="GetInstance" type="Object" overloaded="no">
       </method>
       <method name="GetInstance" type="Object" overloaded="no">
-        <autodoc>GetInstance() -&gt; Object</autodoc>
+        <autodoc>GetInstance(self) -&gt; Object</autodoc>
       </method>
       <method name="GetParentAsWindow" type="Window" overloaded="no">
       </method>
       <method name="GetParentAsWindow" type="Window" overloaded="no">
-        <autodoc>GetParentAsWindow() -&gt; Window</autodoc>
+        <autodoc>GetParentAsWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="GetInstanceAsWindow" type="Window" overloaded="no">
       </method>
       <method name="GetInstanceAsWindow" type="Window" overloaded="no">
-        <autodoc>GetInstanceAsWindow() -&gt; Window</autodoc>
+        <autodoc>GetInstanceAsWindow(self) -&gt; Window</autodoc>
       </method>
       <method name="IsOfClass" type="bool" overloaded="no">
       </method>
       <method name="IsOfClass" type="bool" overloaded="no">
-        <autodoc>IsOfClass(XmlNode node, String classname) -&gt; bool</autodoc>
+        <autodoc>IsOfClass(self, XmlNode node, String classname) -&gt; bool</autodoc>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
           <param name="classname" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetNodeContent" type="String" overloaded="no">
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
           <param name="classname" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetNodeContent" type="String" overloaded="no">
-        <autodoc>GetNodeContent(XmlNode node) -&gt; String</autodoc>
+        <autodoc>GetNodeContent(self, XmlNode node) -&gt; String</autodoc>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="HasParam" type="bool" overloaded="no">
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
         </paramlist>
       </method>
       <method name="HasParam" type="bool" overloaded="no">
-        <autodoc>HasParam(String param) -&gt; bool</autodoc>
+        <autodoc>HasParam(self, String param) -&gt; bool</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetParamNode" type="XmlNode" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetParamNode" type="XmlNode" overloaded="no">
-        <autodoc>GetParamNode(String param) -&gt; XmlNode</autodoc>
+        <autodoc>GetParamNode(self, String param) -&gt; XmlNode</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetParamValue" type="String" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetParamValue" type="String" overloaded="no">
-        <autodoc>GetParamValue(String param) -&gt; String</autodoc>
+        <autodoc>GetParamValue(self, String param) -&gt; String</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddStyle" type="" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddStyle" type="" overloaded="no">
-        <autodoc>AddStyle(String name, int value)</autodoc>
+        <autodoc>AddStyle(self, String name, int value)</autodoc>
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AddWindowStyles" type="" overloaded="no">
         <paramlist>
           <param name="name" type="String" default=""/>
           <param name="value" type="int" default=""/>
         </paramlist>
       </method>
       <method name="AddWindowStyles" type="" overloaded="no">
-        <autodoc>AddWindowStyles()</autodoc>
+        <autodoc>AddWindowStyles(self)</autodoc>
       </method>
       <method name="GetStyle" type="int" overloaded="no">
       </method>
       <method name="GetStyle" type="int" overloaded="no">
-        <autodoc>GetStyle(String param=StyleString, int defaults=0) -&gt; int</autodoc>
+        <autodoc>GetStyle(self, String param=StyleString, int defaults=0) -&gt; int</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyStyleString"/>
           <param name="defaults" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetText" type="String" overloaded="no">
         <paramlist>
           <param name="param" type="String" default="wxPyStyleString"/>
           <param name="defaults" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText(String param, bool translate=True) -&gt; String</autodoc>
+        <autodoc>GetText(self, String param, bool translate=True) -&gt; String</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="translate" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetID" type="int" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="translate" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetID" type="int" overloaded="no">
-        <autodoc>GetID() -&gt; int</autodoc>
+        <autodoc>GetID(self) -&gt; int</autodoc>
       </method>
       <method name="GetName" type="String" overloaded="no">
       </method>
       <method name="GetName" type="String" overloaded="no">
-        <autodoc>GetName() -&gt; String</autodoc>
+        <autodoc>GetName(self) -&gt; String</autodoc>
       </method>
       <method name="GetBool" type="bool" overloaded="no">
       </method>
       <method name="GetBool" type="bool" overloaded="no">
-        <autodoc>GetBool(String param, bool defaultv=False) -&gt; bool</autodoc>
+        <autodoc>GetBool(self, String param, bool defaultv=False) -&gt; bool</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="defaultv" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetLong" type="long" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="defaultv" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="GetLong" type="long" overloaded="no">
-        <autodoc>GetLong(String param, long defaultv=0) -&gt; long</autodoc>
+        <autodoc>GetLong(self, String param, long defaultv=0) -&gt; long</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="defaultv" type="long" default="0"/>
         </paramlist>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="defaultv" type="long" default="0"/>
         </paramlist>
       </method>
       <method name="GetColour" type="Colour" overloaded="no">
-        <autodoc>GetColour(String param) -&gt; Colour</autodoc>
+        <autodoc>GetColour(self, String param) -&gt; Colour</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetSize" type="Size" overloaded="no">
-        <autodoc>GetSize(String param=SizeString) -&gt; Size</autodoc>
+        <autodoc>GetSize(self, String param=SizeString) -&gt; Size</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPySizeString"/>
         </paramlist>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
         <paramlist>
           <param name="param" type="String" default="wxPySizeString"/>
         </paramlist>
       </method>
       <method name="GetPosition" type="Point" overloaded="no">
-        <autodoc>GetPosition(String param=PosString) -&gt; Point</autodoc>
+        <autodoc>GetPosition(self, String param=PosString) -&gt; Point</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyPosString"/>
         </paramlist>
       </method>
       <method name="GetDimension" type="int" overloaded="no">
         <paramlist>
           <param name="param" type="String" default="wxPyPosString"/>
         </paramlist>
       </method>
       <method name="GetDimension" type="int" overloaded="no">
-        <autodoc>GetDimension(String param, int defaultv=0) -&gt; int</autodoc>
+        <autodoc>GetDimension(self, String param, int defaultv=0) -&gt; int</autodoc>
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="defaultv" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
         <paramlist>
           <param name="param" type="String" default=""/>
           <param name="defaultv" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetBitmap" type="Bitmap" overloaded="no">
-        <autodoc>GetBitmap(String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER, 
+        <autodoc>GetBitmap(self, String param=BitmapString, wxArtClient defaultArtClient=wxART_OTHER, 
     Size size=DefaultSize) -&gt; Bitmap</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyBitmapString"/>
     Size size=DefaultSize) -&gt; Bitmap</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyBitmapString"/>
@@ -37554,7 +40595,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
         </paramlist>
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
         </paramlist>
       </method>
       <method name="GetIcon" type="Icon" overloaded="no">
-        <autodoc>GetIcon(String param=IconString, wxArtClient defaultArtClient=wxART_OTHER, 
+        <autodoc>GetIcon(self, String param=IconString, wxArtClient defaultArtClient=wxART_OTHER, 
     Size size=DefaultSize) -&gt; Icon</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyIconString"/>
     Size size=DefaultSize) -&gt; Icon</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyIconString"/>
@@ -37563,33 +40604,33 @@ def XRCCTRL(window, str_id, *ignoreargs):
         </paramlist>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
         </paramlist>
       </method>
       <method name="GetFont" type="Font" overloaded="no">
-        <autodoc>GetFont(String param=FontString) -&gt; Font</autodoc>
+        <autodoc>GetFont(self, String param=FontString) -&gt; Font</autodoc>
         <paramlist>
           <param name="param" type="String" default="wxPyFontString"/>
         </paramlist>
       </method>
       <method name="SetupWindow" type="" overloaded="no">
         <paramlist>
           <param name="param" type="String" default="wxPyFontString"/>
         </paramlist>
       </method>
       <method name="SetupWindow" type="" overloaded="no">
-        <autodoc>SetupWindow(Window wnd)</autodoc>
+        <autodoc>SetupWindow(self, Window wnd)</autodoc>
         <paramlist>
           <param name="wnd" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="CreateChildren" type="" overloaded="no">
         <paramlist>
           <param name="wnd" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="CreateChildren" type="" overloaded="no">
-        <autodoc>CreateChildren(Object parent, bool this_hnd_only=False)</autodoc>
+        <autodoc>CreateChildren(self, Object parent, bool this_hnd_only=False)</autodoc>
         <paramlist>
           <param name="parent" type="Object" default=""/>
           <param name="this_hnd_only" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="CreateChildrenPrivately" type="" overloaded="no">
         <paramlist>
           <param name="parent" type="Object" default=""/>
           <param name="this_hnd_only" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="CreateChildrenPrivately" type="" overloaded="no">
-        <autodoc>CreateChildrenPrivately(Object parent, XmlNode rootnode=None)</autodoc>
+        <autodoc>CreateChildrenPrivately(self, Object parent, XmlNode rootnode=None)</autodoc>
         <paramlist>
           <param name="parent" type="Object" default=""/>
           <param name="rootnode" type="XmlNode" default="NULL"/>
         </paramlist>
       </method>
       <method name="CreateResFromNode" type="Object" overloaded="no">
         <paramlist>
           <param name="parent" type="Object" default=""/>
           <param name="rootnode" type="XmlNode" default="NULL"/>
         </paramlist>
       </method>
       <method name="CreateResFromNode" type="Object" overloaded="no">
-        <autodoc>CreateResFromNode(XmlNode node, Object parent, Object instance=None) -&gt; Object</autodoc>
+        <autodoc>CreateResFromNode(self, XmlNode node, Object parent, Object instance=None) -&gt; Object</autodoc>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
           <param name="parent" type="Object" default=""/>
         <paramlist>
           <param name="node" type="XmlNode" default=""/>
           <param name="parent" type="Object" default=""/>
@@ -37597,7 +40638,7 @@ def XRCCTRL(window, str_id, *ignoreargs):
         </paramlist>
       </method>
       <method name="GetCurFileSystem" type="FileSystem" overloaded="no">
         </paramlist>
       </method>
       <method name="GetCurFileSystem" type="FileSystem" overloaded="no">
-        <autodoc>GetCurFileSystem() -&gt; FileSystem</autodoc>
+        <autodoc>GetCurFileSystem(self) -&gt; FileSystem</autodoc>
       </method>
     </class>
     <pythoncode>#----------------------------------------------------------------------------
       </method>
     </class>
     <pythoncode>#----------------------------------------------------------------------------
@@ -37639,13 +40680,14 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
 </pythoncode>
   </module>
   <module name="gizmos">
 </pythoncode>
   </module>
   <module name="gizmos">
-    <import name="windows"/>
-    <import name="controls"/>
-    <pythoncode> wx = core </pythoncode>
+    <import name="_windows"/>
+    <import name="_controls"/>
+    <pythoncode> import wx </pythoncode>
+    <pythoncode> __docfilter__ = wx._core.__DocFilter(globals()) </pythoncode>
     <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos">
       <baseclass name="CommandEvent"/>
       <constructor name="DynamicSashSplitEvent" overloaded="no">
     <class name="DynamicSashSplitEvent" oldname="wxDynamicSashSplitEvent" module="gizmos">
       <baseclass name="CommandEvent"/>
       <constructor name="DynamicSashSplitEvent" overloaded="no">
-        <autodoc>__init__(Object target) -&gt; DynamicSashSplitEvent</autodoc>
+        <autodoc>__init__(self, Object target) -&gt; DynamicSashSplitEvent</autodoc>
         <paramlist>
           <param name="target" type="Object" default=""/>
         </paramlist>
         <paramlist>
           <param name="target" type="Object" default=""/>
         </paramlist>
@@ -37654,7 +40696,7 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
     <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos">
       <baseclass name="CommandEvent"/>
       <constructor name="DynamicSashUnifyEvent" overloaded="no">
     <class name="DynamicSashUnifyEvent" oldname="wxDynamicSashUnifyEvent" module="gizmos">
       <baseclass name="CommandEvent"/>
       <constructor name="DynamicSashUnifyEvent" overloaded="no">
-        <autodoc>__init__(Object target) -&gt; DynamicSashUnifyEvent</autodoc>
+        <autodoc>__init__(self, Object target) -&gt; DynamicSashUnifyEvent</autodoc>
         <paramlist>
           <param name="target" type="Object" default=""/>
         </paramlist>
         <paramlist>
           <param name="target" type="Object" default=""/>
         </paramlist>
@@ -37663,12 +40705,12 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
     <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos">
       <baseclass name="Window"/>
       <constructor name="DynamicSashWindow" overloaded="no">
     <class name="DynamicSashWindow" oldname="wxDynamicSashWindow" module="gizmos">
       <baseclass name="Window"/>
       <constructor name="DynamicSashWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, 
     String name=DynamicSashNameStr) -&gt; DynamicSashWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=DynamicSashNameStr) -&gt; DynamicSashWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
@@ -37679,12 +40721,12 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
         <autodoc>PreDynamicSashWindow() -&gt; DynamicSashWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreDynamicSashWindow() -&gt; DynamicSashWindow</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize
-    long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition
+    Size size=DefaultSize, long style=wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER, 
     String name=DynamicSashNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=DynamicSashNameStr) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
+          <param name="id" type="int" default="-1"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER"/>
@@ -37692,13 +40734,13 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python())
         </paramlist>
       </method>
       <method name="GetHScrollBar" type="ScrollBar" overloaded="no">
         </paramlist>
       </method>
       <method name="GetHScrollBar" type="ScrollBar" overloaded="no">
-        <autodoc>GetHScrollBar(Window child) -&gt; ScrollBar</autodoc>
+        <autodoc>GetHScrollBar(self, Window child) -&gt; ScrollBar</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetVScrollBar" type="ScrollBar" overloaded="no">
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetVScrollBar" type="ScrollBar" overloaded="no">
-        <autodoc>GetVScrollBar(Window child) -&gt; ScrollBar</autodoc>
+        <autodoc>GetVScrollBar(self, Window child) -&gt; ScrollBar</autodoc>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
         <paramlist>
           <param name="child" type="Window" default=""/>
         </paramlist>
@@ -37711,13 +40753,14 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
     <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos">
       <baseclass name="Panel"/>
       <constructor name="EditableListBox" overloaded="no">
     <class name="EditableListBox" oldname="wxEditableListBox" module="gizmos">
       <baseclass name="Panel"/>
       <constructor name="EditableListBox" overloaded="no">
-        <autodoc>__init__(Window parent, int id, String label, Point pos=DefaultPosition, 
-    Size size=DefaultSize, long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, 
+        <autodoc>__init__(self, Window parent, int id=-1, String label=EmptyString, 
+    Point pos=DefaultPosition, Size size=DefaultSize, 
+    long style=wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE, 
     String name=EditableListBoxNameStr) -&gt; EditableListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     String name=EditableListBoxNameStr) -&gt; EditableListBox</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
-          <param name="id" type="int" default=""/>
-          <param name="label" type="String" default=""/>
+          <param name="id" type="int" default="-1"/>
+          <param name="label" type="String" default="wxPyEmptyString"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/>
           <param name="pos" type="Point" default="wxDefaultPosition"/>
           <param name="size" type="Size" default="wxDefaultSize"/>
           <param name="style" type="long" default="wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE"/>
@@ -37725,37 +40768,37 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </constructor>
       <method name="SetStrings" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="SetStrings" type="" overloaded="no">
-        <autodoc>SetStrings(wxArrayString strings)</autodoc>
+        <autodoc>SetStrings(self, wxArrayString strings)</autodoc>
         <paramlist>
           <param name="strings" type="wxArrayString" default=""/>
         </paramlist>
       </method>
       <method name="GetStrings" type="PyObject" overloaded="no">
         <paramlist>
           <param name="strings" type="wxArrayString" default=""/>
         </paramlist>
       </method>
       <method name="GetStrings" type="PyObject" overloaded="no">
-        <autodoc>GetStrings() -&gt; PyObject</autodoc>
+        <autodoc>GetStrings(self) -&gt; PyObject</autodoc>
       </method>
       </method>
-      <method name="GetListCtrl" type="wxListCtrl" overloaded="no">
-        <autodoc>GetListCtrl() -&gt; wxListCtrl</autodoc>
+      <method name="GetListCtrl" type="ListCtrl" overloaded="no">
+        <autodoc>GetListCtrl(self) -&gt; ListCtrl</autodoc>
       </method>
       <method name="GetDelButton" type="BitmapButton" overloaded="no">
       </method>
       <method name="GetDelButton" type="BitmapButton" overloaded="no">
-        <autodoc>GetDelButton() -&gt; BitmapButton</autodoc>
+        <autodoc>GetDelButton(self) -&gt; BitmapButton</autodoc>
       </method>
       <method name="GetNewButton" type="BitmapButton" overloaded="no">
       </method>
       <method name="GetNewButton" type="BitmapButton" overloaded="no">
-        <autodoc>GetNewButton() -&gt; BitmapButton</autodoc>
+        <autodoc>GetNewButton(self) -&gt; BitmapButton</autodoc>
       </method>
       <method name="GetUpButton" type="BitmapButton" overloaded="no">
       </method>
       <method name="GetUpButton" type="BitmapButton" overloaded="no">
-        <autodoc>GetUpButton() -&gt; BitmapButton</autodoc>
+        <autodoc>GetUpButton(self) -&gt; BitmapButton</autodoc>
       </method>
       <method name="GetDownButton" type="BitmapButton" overloaded="no">
       </method>
       <method name="GetDownButton" type="BitmapButton" overloaded="no">
-        <autodoc>GetDownButton() -&gt; BitmapButton</autodoc>
+        <autodoc>GetDownButton(self) -&gt; BitmapButton</autodoc>
       </method>
       <method name="GetEditButton" type="BitmapButton" overloaded="no">
       </method>
       <method name="GetEditButton" type="BitmapButton" overloaded="no">
-        <autodoc>GetEditButton() -&gt; BitmapButton</autodoc>
+        <autodoc>GetEditButton(self) -&gt; BitmapButton</autodoc>
       </method>
     </class>
     <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos">
       <baseclass name="TreeCtrl"/>
       <constructor name="RemotelyScrolledTreeCtrl" overloaded="no">
       </method>
     </class>
     <class name="RemotelyScrolledTreeCtrl" oldname="wxRemotelyScrolledTreeCtrl" module="gizmos">
       <baseclass name="TreeCtrl"/>
       <constructor name="RemotelyScrolledTreeCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, 
+        <autodoc>__init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, 
     long style=TR_HAS_BUTTONS) -&gt; RemotelyScrolledTreeCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     long style=TR_HAS_BUTTONS) -&gt; RemotelyScrolledTreeCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -37766,35 +40809,35 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </constructor>
       <method name="HideVScrollbar" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="HideVScrollbar" type="" overloaded="no">
-        <autodoc>HideVScrollbar()</autodoc>
+        <autodoc>HideVScrollbar(self)</autodoc>
       </method>
       <method name="AdjustRemoteScrollbars" type="" overloaded="no">
       </method>
       <method name="AdjustRemoteScrollbars" type="" overloaded="no">
-        <autodoc>AdjustRemoteScrollbars()</autodoc>
+        <autodoc>AdjustRemoteScrollbars(self)</autodoc>
       </method>
       <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no">
       </method>
       <method name="GetScrolledWindow" type="ScrolledWindow" overloaded="no">
-        <autodoc>GetScrolledWindow() -&gt; ScrolledWindow</autodoc>
+        <autodoc>GetScrolledWindow(self) -&gt; ScrolledWindow</autodoc>
       </method>
       <method name="ScrollToLine" type="" overloaded="no">
       </method>
       <method name="ScrollToLine" type="" overloaded="no">
-        <autodoc>ScrollToLine(int posHoriz, int posVert)</autodoc>
+        <autodoc>ScrollToLine(self, int posHoriz, int posVert)</autodoc>
         <paramlist>
           <param name="posHoriz" type="int" default=""/>
           <param name="posVert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCompanionWindow" type="" overloaded="no">
         <paramlist>
           <param name="posHoriz" type="int" default=""/>
           <param name="posVert" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetCompanionWindow" type="" overloaded="no">
-        <autodoc>SetCompanionWindow(Window companion)</autodoc>
+        <autodoc>SetCompanionWindow(self, Window companion)</autodoc>
         <paramlist>
           <param name="companion" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetCompanionWindow" type="Window" overloaded="no">
         <paramlist>
           <param name="companion" type="Window" default=""/>
         </paramlist>
       </method>
       <method name="GetCompanionWindow" type="Window" overloaded="no">
-        <autodoc>GetCompanionWindow() -&gt; Window</autodoc>
+        <autodoc>GetCompanionWindow(self) -&gt; Window</autodoc>
       </method>
     </class>
     <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos">
       <baseclass name="Window"/>
       <constructor name="wxPyTreeCompanionWindow" overloaded="no">
       </method>
     </class>
     <class name="TreeCompanionWindow" oldname="wxPyTreeCompanionWindow" module="gizmos">
       <baseclass name="Window"/>
       <constructor name="wxPyTreeCompanionWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0) -&gt; TreeCompanionWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0) -&gt; TreeCompanionWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -37805,17 +40848,17 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </constructor>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetTreeCtrl" type="RemotelyScrolledTreeCtrl" overloaded="no">
-        <autodoc>GetTreeCtrl() -&gt; RemotelyScrolledTreeCtrl</autodoc>
+        <autodoc>GetTreeCtrl(self) -&gt; RemotelyScrolledTreeCtrl</autodoc>
       </method>
       <method name="SetTreeCtrl" type="" overloaded="no">
       </method>
       <method name="SetTreeCtrl" type="" overloaded="no">
-        <autodoc>SetTreeCtrl(RemotelyScrolledTreeCtrl treeCtrl)</autodoc>
+        <autodoc>SetTreeCtrl(self, RemotelyScrolledTreeCtrl treeCtrl)</autodoc>
         <paramlist>
           <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/>
         </paramlist>
         <paramlist>
           <param name="treeCtrl" type="RemotelyScrolledTreeCtrl" default=""/>
         </paramlist>
@@ -37824,7 +40867,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
     <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos">
       <baseclass name="SplitterWindow"/>
       <constructor name="ThinSplitterWindow" overloaded="no">
     <class name="ThinSplitterWindow" oldname="wxThinSplitterWindow" module="gizmos">
       <baseclass name="SplitterWindow"/>
       <constructor name="ThinSplitterWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -&gt; ThinSplitterWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=wxSP_3D|wxCLIP_CHILDREN) -&gt; ThinSplitterWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -37838,7 +40881,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
     <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos">
       <baseclass name="ScrolledWindow"/>
       <constructor name="SplitterScrolledWindow" overloaded="no">
     <class name="SplitterScrolledWindow" oldname="wxSplitterScrolledWindow" module="gizmos">
       <baseclass name="ScrolledWindow"/>
       <constructor name="SplitterScrolledWindow" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=0) -&gt; SplitterScrolledWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=0) -&gt; SplitterScrolledWindow</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -37852,7 +40895,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
     <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos">
       <baseclass name="Control"/>
       <constructor name="LEDNumberCtrl" overloaded="no">
     <class name="LEDNumberCtrl" oldname="wxLEDNumberCtrl" module="gizmos">
       <baseclass name="Control"/>
       <constructor name="LEDNumberCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -&gt; LEDNumberCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -&gt; LEDNumberCtrl</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -37866,7 +40909,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         <autodoc>PreLEDNumberCtrl() -&gt; LEDNumberCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreLEDNumberCtrl() -&gt; LEDNumberCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
     Size size=DefaultSize, long style=wxLED_ALIGN_LEFT|wxLED_DRAW_FADED) -&gt; bool</autodoc>
         <paramlist>
           <param name="parent" type="Window" default=""/>
@@ -37877,89 +40920,100 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no">
         </paramlist>
       </method>
       <method name="GetAlignment" type="wxLEDValueAlign" overloaded="no">
-        <autodoc>GetAlignment() -&gt; int</autodoc>
+        <autodoc>GetAlignment(self) -&gt; int</autodoc>
       </method>
       <method name="GetDrawFaded" type="bool" overloaded="no">
       </method>
       <method name="GetDrawFaded" type="bool" overloaded="no">
-        <autodoc>GetDrawFaded() -&gt; bool</autodoc>
+        <autodoc>GetDrawFaded(self) -&gt; bool</autodoc>
       </method>
       <method name="GetValue" type="String" overloaded="no">
       </method>
       <method name="GetValue" type="String" overloaded="no">
-        <autodoc>GetValue() -&gt; String</autodoc>
+        <autodoc>GetValue(self) -&gt; String</autodoc>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
       </method>
       <method name="SetAlignment" type="" overloaded="no">
-        <autodoc>SetAlignment(int Alignment, bool Redraw=true)</autodoc>
+        <autodoc>SetAlignment(self, int Alignment, bool Redraw=true)</autodoc>
         <paramlist>
           <param name="Alignment" type="wxLEDValueAlign" default=""/>
           <param name="Redraw" type="bool" default="true"/>
         </paramlist>
       </method>
       <method name="SetDrawFaded" type="" overloaded="no">
         <paramlist>
           <param name="Alignment" type="wxLEDValueAlign" default=""/>
           <param name="Redraw" type="bool" default="true"/>
         </paramlist>
       </method>
       <method name="SetDrawFaded" type="" overloaded="no">
-        <autodoc>SetDrawFaded(bool DrawFaded, bool Redraw=true)</autodoc>
+        <autodoc>SetDrawFaded(self, bool DrawFaded, bool Redraw=true)</autodoc>
         <paramlist>
           <param name="DrawFaded" type="bool" default=""/>
           <param name="Redraw" type="bool" default="true"/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
         <paramlist>
           <param name="DrawFaded" type="bool" default=""/>
           <param name="Redraw" type="bool" default="true"/>
         </paramlist>
       </method>
       <method name="SetValue" type="" overloaded="no">
-        <autodoc>SetValue(String Value, bool Redraw=true)</autodoc>
+        <autodoc>SetValue(self, String Value, bool Redraw=true)</autodoc>
         <paramlist>
           <param name="Value" type="String" default=""/>
           <param name="Redraw" type="bool" default="true"/>
         </paramlist>
       </method>
     </class>
         <paramlist>
           <param name="Value" type="String" default=""/>
           <param name="Redraw" type="bool" default="true"/>
         </paramlist>
       </method>
     </class>
+    <pythoncode> wx.TR_DONT_ADJUST_MAC = TR_DONT_ADJUST_MAC </pythoncode>
     <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos">
       <baseclass name="Object"/>
       <constructor name="TreeListColumnInfo" overloaded="no">
     <class name="TreeListColumnInfo" oldname="wxTreeListColumnInfo" module="gizmos">
       <baseclass name="Object"/>
       <constructor name="TreeListColumnInfo" overloaded="no">
-        <autodoc>__init__(String text=EmptyString, int image=-1, size_t width=100, 
-    int alignment=TL_ALIGN_LEFT) -&gt; TreeListColumnInfo</autodoc>
+        <autodoc>__init__(self, String text=EmptyString, int image=-1, size_t width=100, 
+    bool shown=True, int alignment=TL_ALIGN_LEFT) -&gt; TreeListColumnInfo</autodoc>
         <paramlist>
           <param name="text" type="String" default="wxPyEmptyString"/>
           <param name="image" type="int" default="-1"/>
           <param name="width" type="size_t" default="100"/>
         <paramlist>
           <param name="text" type="String" default="wxPyEmptyString"/>
           <param name="image" type="int" default="-1"/>
           <param name="width" type="size_t" default="100"/>
+          <param name="shown" type="bool" default="True"/>
           <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/>
         </paramlist>
       </constructor>
           <param name="alignment" type="wxTreeListColumnAlign" default="wxTL_ALIGN_LEFT"/>
         </paramlist>
       </constructor>
+      <method name="GetShown" type="bool" overloaded="no">
+        <autodoc>GetShown(self) -&gt; bool</autodoc>
+      </method>
       <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no">
       <method name="GetAlignment" type="wxTreeListColumnAlign" overloaded="no">
-        <autodoc>GetAlignment() -&gt; int</autodoc>
+        <autodoc>GetAlignment(self) -&gt; int</autodoc>
       </method>
       <method name="GetText" type="String" overloaded="no">
       </method>
       <method name="GetText" type="String" overloaded="no">
-        <autodoc>GetText() -&gt; String</autodoc>
+        <autodoc>GetText(self) -&gt; String</autodoc>
       </method>
       <method name="GetImage" type="int" overloaded="no">
       </method>
       <method name="GetImage" type="int" overloaded="no">
-        <autodoc>GetImage() -&gt; int</autodoc>
+        <autodoc>GetImage(self) -&gt; int</autodoc>
       </method>
       <method name="GetSelectedImage" type="int" overloaded="no">
       </method>
       <method name="GetSelectedImage" type="int" overloaded="no">
-        <autodoc>GetSelectedImage() -&gt; int</autodoc>
+        <autodoc>GetSelectedImage(self) -&gt; int</autodoc>
       </method>
       <method name="GetWidth" type="size_t" overloaded="no">
       </method>
       <method name="GetWidth" type="size_t" overloaded="no">
-        <autodoc>GetWidth() -&gt; size_t</autodoc>
+        <autodoc>GetWidth(self) -&gt; size_t</autodoc>
+      </method>
+      <method name="SetShown" type="" overloaded="no">
+        <autodoc>SetShown(self, bool shown)</autodoc>
+        <paramlist>
+          <param name="shown" type="bool" default=""/>
+        </paramlist>
       </method>
       <method name="SetAlignment" type="" overloaded="no">
       </method>
       <method name="SetAlignment" type="" overloaded="no">
-        <autodoc>SetAlignment(int alignment)</autodoc>
+        <autodoc>SetAlignment(self, int alignment)</autodoc>
         <paramlist>
           <param name="alignment" type="wxTreeListColumnAlign" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
         <paramlist>
           <param name="alignment" type="wxTreeListColumnAlign" default=""/>
         </paramlist>
       </method>
       <method name="SetText" type="" overloaded="no">
-        <autodoc>SetText(String text)</autodoc>
+        <autodoc>SetText(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetImage" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="SetImage" type="" overloaded="no">
-        <autodoc>SetImage(int image)</autodoc>
+        <autodoc>SetImage(self, int image)</autodoc>
         <paramlist>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectedImage" type="" overloaded="no">
         <paramlist>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetSelectedImage" type="" overloaded="no">
-        <autodoc>SetSelectedImage(int image)</autodoc>
+        <autodoc>SetSelectedImage(self, int image)</autodoc>
         <paramlist>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
         <paramlist>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="SetWidth" type="" overloaded="no">
-        <autodoc>SetWidth(size_t with)</autodoc>
+        <autodoc>SetWidth(self, size_t with)</autodoc>
         <paramlist>
           <param name="with" type="size_t" default=""/>
         </paramlist>
         <paramlist>
           <param name="with" type="size_t" default=""/>
         </paramlist>
@@ -37968,7 +41022,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
     <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos">
       <baseclass name="Control"/>
       <constructor name="wxPyTreeListCtrl" overloaded="no">
     <class name="TreeListCtrl" oldname="wxPyTreeListCtrl" module="gizmos">
       <baseclass name="Control"/>
       <constructor name="wxPyTreeListCtrl" overloaded="no">
-        <autodoc>__init__(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeListCtrlNameStr) -&gt; TreeListCtrl</autodoc>
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeListCtrlNameStr) -&gt; TreeListCtrl</autodoc>
@@ -37986,7 +41040,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         <autodoc>PreTreeListCtrl() -&gt; TreeListCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
         <autodoc>PreTreeListCtrl() -&gt; TreeListCtrl</autodoc>
       </constructor>
       <method name="Create" type="bool" overloaded="no">
-        <autodoc>Create(Window parent, int id=-1, Point pos=DefaultPosition, 
+        <autodoc>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, 
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeListCtrlNameStr) -&gt; bool</autodoc>
     Size size=DefaultSize, long style=TR_DEFAULT_STYLE, 
     Validator validator=DefaultValidator, 
     String name=TreeListCtrlNameStr) -&gt; bool</autodoc>
@@ -38002,205 +41056,209 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="_setCallbackInfo" type="" overloaded="no">
-        <autodoc>_setCallbackInfo(PyObject self, PyObject _class)</autodoc>
+        <autodoc>_setCallbackInfo(self, PyObject self, PyObject _class)</autodoc>
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="self" type="PyObject" default=""/>
           <param name="_class" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="GetCount" type="size_t" overloaded="no">
-        <autodoc>GetCount() -&gt; size_t</autodoc>
+        <autodoc>GetCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="GetIndent" type="unsigned int" overloaded="no">
       </method>
       <method name="GetIndent" type="unsigned int" overloaded="no">
-        <autodoc>GetIndent() -&gt; unsigned int</autodoc>
+        <autodoc>GetIndent(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="SetIndent" type="" overloaded="no">
       </method>
       <method name="SetIndent" type="" overloaded="no">
-        <autodoc>SetIndent(unsigned int indent)</autodoc>
+        <autodoc>SetIndent(self, unsigned int indent)</autodoc>
         <paramlist>
           <param name="indent" type="unsigned int" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="indent" type="unsigned int" default=""/>
         </paramlist>
       </method>
-      <method name="GetSpacing" type="unsigned int" overloaded="no">
-        <autodoc>GetSpacing() -&gt; unsigned int</autodoc>
-      </method>
-      <method name="SetSpacing" type="" overloaded="no">
-        <autodoc>SetSpacing(unsigned int spacing)</autodoc>
-        <paramlist>
-          <param name="spacing" type="unsigned int" default=""/>
-        </paramlist>
-      </method>
       <method name="GetLineSpacing" type="unsigned int" overloaded="no">
       <method name="GetLineSpacing" type="unsigned int" overloaded="no">
-        <autodoc>GetLineSpacing() -&gt; unsigned int</autodoc>
+        <autodoc>GetLineSpacing(self) -&gt; unsigned int</autodoc>
       </method>
       <method name="SetLineSpacing" type="" overloaded="no">
       </method>
       <method name="SetLineSpacing" type="" overloaded="no">
-        <autodoc>SetLineSpacing(unsigned int spacing)</autodoc>
+        <autodoc>SetLineSpacing(self, unsigned int spacing)</autodoc>
         <paramlist>
           <param name="spacing" type="unsigned int" default=""/>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
         <paramlist>
           <param name="spacing" type="unsigned int" default=""/>
         </paramlist>
       </method>
       <method name="GetImageList" type="ImageList" overloaded="no">
-        <autodoc>GetImageList() -&gt; ImageList</autodoc>
+        <autodoc>GetImageList(self) -&gt; ImageList</autodoc>
       </method>
       <method name="GetStateImageList" type="ImageList" overloaded="no">
       </method>
       <method name="GetStateImageList" type="ImageList" overloaded="no">
-        <autodoc>GetStateImageList() -&gt; ImageList</autodoc>
+        <autodoc>GetStateImageList(self) -&gt; ImageList</autodoc>
       </method>
       <method name="GetButtonsImageList" type="ImageList" overloaded="no">
       </method>
       <method name="GetButtonsImageList" type="ImageList" overloaded="no">
-        <autodoc>GetButtonsImageList() -&gt; ImageList</autodoc>
+        <autodoc>GetButtonsImageList(self) -&gt; ImageList</autodoc>
       </method>
       <method name="SetImageList" type="" overloaded="no">
       </method>
       <method name="SetImageList" type="" overloaded="no">
-        <autodoc>SetImageList(ImageList imageList)</autodoc>
+        <autodoc>SetImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="SetStateImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="SetStateImageList" type="" overloaded="no">
-        <autodoc>SetStateImageList(ImageList imageList)</autodoc>
+        <autodoc>SetStateImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="SetButtonsImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="SetButtonsImageList" type="" overloaded="no">
-        <autodoc>SetButtonsImageList(ImageList imageList)</autodoc>
+        <autodoc>SetButtonsImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignImageList" type="" overloaded="no">
-        <autodoc>AssignImageList(ImageList imageList)</autodoc>
+        <autodoc>AssignImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignStateImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignStateImageList" type="" overloaded="no">
-        <autodoc>AssignStateImageList(ImageList imageList)</autodoc>
+        <autodoc>AssignStateImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignButtonsImageList" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AssignButtonsImageList" type="" overloaded="no">
-        <autodoc>AssignButtonsImageList(ImageList imageList)</autodoc>
+        <autodoc>AssignButtonsImageList(self, ImageList imageList)</autodoc>
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AddColumn" type="" overloaded="no">
         <paramlist>
           <param name="imageList" type="ImageList" default=""/>
         </paramlist>
       </method>
       <method name="AddColumn" type="" overloaded="no">
-        <autodoc>AddColumn(String text)</autodoc>
+        <autodoc>AddColumn(self, String text)</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddColumnInfo" type="" overloaded="no">
         <paramlist>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="AddColumnInfo" type="" overloaded="no">
-        <autodoc>AddColumnInfo(TreeListColumnInfo col)</autodoc>
+        <autodoc>AddColumnInfo(self, TreeListColumnInfo col)</autodoc>
         <paramlist>
           <param name="col" type="TreeListColumnInfo" default=""/>
         </paramlist>
       </method>
       <method name="InsertColumn" type="" overloaded="no">
         <paramlist>
           <param name="col" type="TreeListColumnInfo" default=""/>
         </paramlist>
       </method>
       <method name="InsertColumn" type="" overloaded="no">
-        <autodoc>InsertColumn(size_t before, String text)</autodoc>
+        <autodoc>InsertColumn(self, size_t before, String text)</autodoc>
         <paramlist>
           <param name="before" type="size_t" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InsertColumnInfo" type="" overloaded="no">
         <paramlist>
           <param name="before" type="size_t" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="InsertColumnInfo" type="" overloaded="no">
-        <autodoc>InsertColumnInfo(size_t before, TreeListColumnInfo col)</autodoc>
+        <autodoc>InsertColumnInfo(self, size_t before, TreeListColumnInfo col)</autodoc>
         <paramlist>
           <param name="before" type="size_t" default=""/>
           <param name="col" type="TreeListColumnInfo" default=""/>
         </paramlist>
       </method>
       <method name="RemoveColumn" type="" overloaded="no">
         <paramlist>
           <param name="before" type="size_t" default=""/>
           <param name="col" type="TreeListColumnInfo" default=""/>
         </paramlist>
       </method>
       <method name="RemoveColumn" type="" overloaded="no">
-        <autodoc>RemoveColumn(size_t column)</autodoc>
+        <autodoc>RemoveColumn(self, size_t column)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnCount" type="size_t" overloaded="no">
-        <autodoc>GetColumnCount() -&gt; size_t</autodoc>
+        <autodoc>GetColumnCount(self) -&gt; size_t</autodoc>
       </method>
       <method name="SetColumnWidth" type="" overloaded="no">
       </method>
       <method name="SetColumnWidth" type="" overloaded="no">
-        <autodoc>SetColumnWidth(size_t column, size_t width)</autodoc>
+        <autodoc>SetColumnWidth(self, size_t column, size_t width)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="width" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnWidth" type="int" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="width" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnWidth" type="int" overloaded="no">
-        <autodoc>GetColumnWidth(size_t column) -&gt; int</autodoc>
+        <autodoc>GetColumnWidth(self, size_t column) -&gt; int</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetMainColumn" type="" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetMainColumn" type="" overloaded="no">
-        <autodoc>SetMainColumn(size_t column)</autodoc>
+        <autodoc>SetMainColumn(self, size_t column)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetMainColumn" type="size_t" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetMainColumn" type="size_t" overloaded="no">
-        <autodoc>GetMainColumn() -&gt; size_t</autodoc>
+        <autodoc>GetMainColumn(self) -&gt; size_t</autodoc>
       </method>
       <method name="SetColumnText" type="" overloaded="no">
       </method>
       <method name="SetColumnText" type="" overloaded="no">
-        <autodoc>SetColumnText(size_t column, String text)</autodoc>
+        <autodoc>SetColumnText(self, size_t column, String text)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnText" type="String" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="text" type="String" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnText" type="String" overloaded="no">
-        <autodoc>GetColumnText(size_t column) -&gt; String</autodoc>
+        <autodoc>GetColumnText(self, size_t column) -&gt; String</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetColumn" type="" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetColumn" type="" overloaded="no">
-        <autodoc>SetColumn(size_t column, TreeListColumnInfo info)</autodoc>
+        <autodoc>SetColumn(self, size_t column, TreeListColumnInfo info)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="info" type="TreeListColumnInfo" default=""/>
         </paramlist>
       </method>
       <method name="GetColumn" type="TreeListColumnInfo" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="info" type="TreeListColumnInfo" default=""/>
         </paramlist>
       </method>
       <method name="GetColumn" type="TreeListColumnInfo" overloaded="no">
-        <autodoc>GetColumn(size_t column) -&gt; TreeListColumnInfo</autodoc>
+        <autodoc>GetColumn(self, size_t column) -&gt; TreeListColumnInfo</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnAlignment" type="" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnAlignment" type="" overloaded="no">
-        <autodoc>SetColumnAlignment(size_t column, int align)</autodoc>
+        <autodoc>SetColumnAlignment(self, size_t column, int align)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="align" type="wxTreeListColumnAlign" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="align" type="wxTreeListColumnAlign" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnAlignment" type="wxTreeListColumnAlign" overloaded="no">
-        <autodoc>GetColumnAlignment(size_t column) -&gt; int</autodoc>
+        <autodoc>GetColumnAlignment(self, size_t column) -&gt; int</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnImage" type="" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="SetColumnImage" type="" overloaded="no">
-        <autodoc>SetColumnImage(size_t column, int image)</autodoc>
+        <autodoc>SetColumnImage(self, size_t column, int image)</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnImage" type="int" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
           <param name="image" type="int" default=""/>
         </paramlist>
       </method>
       <method name="GetColumnImage" type="int" overloaded="no">
-        <autodoc>GetColumnImage(size_t column) -&gt; int</autodoc>
+        <autodoc>GetColumnImage(self, size_t column) -&gt; int</autodoc>
+        <paramlist>
+          <param name="column" type="size_t" default=""/>
+        </paramlist>
+      </method>
+      <method name="ShowColumn" type="" overloaded="no">
+        <autodoc>ShowColumn(self, size_t column, bool shown)</autodoc>
+        <paramlist>
+          <param name="column" type="size_t" default=""/>
+          <param name="shown" type="bool" default=""/>
+        </paramlist>
+      </method>
+      <method name="IsColumnShown" type="bool" overloaded="no">
+        <autodoc>IsColumnShown(self, size_t column) -&gt; bool</autodoc>
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetItemText" type="String" overloaded="no">
         <paramlist>
           <param name="column" type="size_t" default=""/>
         </paramlist>
       </method>
       <method name="GetItemText" type="String" overloaded="no">
-        <autodoc>GetItemText(TreeItemId item, int column=-1) -&gt; String</autodoc>
+        <autodoc>GetItemText(self, TreeItemId item, int column=-1) -&gt; String</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="column" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="GetItemImage" type="int" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="column" type="int" default="-1"/>
         </paramlist>
       </method>
       <method name="GetItemImage" type="int" overloaded="no">
-        <autodoc>GetItemImage(TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -&gt; int</autodoc>
+        <autodoc>GetItemImage(self, TreeItemId item, int column=-1, int which=TreeItemIcon_Normal) -&gt; int</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="column" type="int" default="-1"/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="column" type="int" default="-1"/>
@@ -38208,7 +41266,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="SetItemText" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemText" type="" overloaded="no">
-        <autodoc>SetItemText(TreeItemId item, String text, int column=-1)</autodoc>
+        <autodoc>SetItemText(self, TreeItemId item, String text, int column=-1)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="text" type="String" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="text" type="String" default=""/>
@@ -38216,7 +41274,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="SetItemImage" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemImage" type="" overloaded="no">
-        <autodoc>SetItemImage(TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc>
+        <autodoc>SetItemImage(self, TreeItemId item, int image, int column=-1, int which=TreeItemIcon_Normal)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="image" type="int" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="image" type="int" default=""/>
@@ -38225,196 +41283,196 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="GetItemData" type="TreeItemData" overloaded="no">
         </paramlist>
       </method>
       <method name="GetItemData" type="TreeItemData" overloaded="no">
-        <autodoc>GetItemData(TreeItemId item) -&gt; TreeItemData</autodoc>
+        <autodoc>GetItemData(self, TreeItemId item) -&gt; TreeItemData</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SetItemData" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SetItemData" type="" overloaded="no">
-        <autodoc>SetItemData(TreeItemId item, TreeItemData data)</autodoc>
+        <autodoc>SetItemData(self, TreeItemId item, TreeItemData data)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="data" type="TreeItemData" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPyData" type="PyObject" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="data" type="TreeItemData" default=""/>
         </paramlist>
       </method>
       <method name="GetItemPyData" type="PyObject" overloaded="no">
-        <autodoc>GetItemPyData(TreeItemId item) -&gt; PyObject</autodoc>
+        <autodoc>GetItemPyData(self, TreeItemId item) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPyData" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SetItemPyData" type="" overloaded="no">
-        <autodoc>SetItemPyData(TreeItemId item, PyObject obj)</autodoc>
+        <autodoc>SetItemPyData(self, TreeItemId item, PyObject obj)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetItemHasChildren" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="obj" type="PyObject" default=""/>
         </paramlist>
       </method>
       <method name="SetItemHasChildren" type="" overloaded="no">
-        <autodoc>SetItemHasChildren(TreeItemId item, bool has=True)</autodoc>
+        <autodoc>SetItemHasChildren(self, TreeItemId item, bool has=True)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="has" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemBold" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="has" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemBold" type="" overloaded="no">
-        <autodoc>SetItemBold(TreeItemId item, bool bold=True)</autodoc>
+        <autodoc>SetItemBold(self, TreeItemId item, bool bold=True)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="bold" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemTextColour" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="bold" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="SetItemTextColour" type="" overloaded="no">
-        <autodoc>SetItemTextColour(TreeItemId item, Colour col)</autodoc>
+        <autodoc>SetItemTextColour(self, TreeItemId item, Colour colour)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
-          <param name="col" type="Colour" default=""/>
+          <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemBackgroundColour" type="" overloaded="no">
-        <autodoc>SetItemBackgroundColour(TreeItemId item, Colour col)</autodoc>
+        <autodoc>SetItemBackgroundColour(self, TreeItemId item, Colour colour)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
-          <param name="col" type="Colour" default=""/>
+          <param name="colour" type="Colour" default=""/>
         </paramlist>
       </method>
       <method name="SetItemFont" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="SetItemFont" type="" overloaded="no">
-        <autodoc>SetItemFont(TreeItemId item, Font font)</autodoc>
+        <autodoc>SetItemFont(self, TreeItemId item, Font font)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBold" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="font" type="Font" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBold" type="bool" overloaded="no">
-        <autodoc>GetItemBold(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>GetItemBold(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemTextColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemTextColour" type="Colour" overloaded="no">
-        <autodoc>GetItemTextColour(TreeItemId item) -&gt; Colour</autodoc>
+        <autodoc>GetItemTextColour(self, TreeItemId item) -&gt; Colour</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemBackgroundColour" type="Colour" overloaded="no">
-        <autodoc>GetItemBackgroundColour(TreeItemId item) -&gt; Colour</autodoc>
+        <autodoc>GetItemBackgroundColour(self, TreeItemId item) -&gt; Colour</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemFont" type="Font" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetItemFont" type="Font" overloaded="no">
-        <autodoc>GetItemFont(TreeItemId item) -&gt; Font</autodoc>
+        <autodoc>GetItemFont(self, TreeItemId item) -&gt; Font</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsVisible" type="bool" overloaded="no">
-        <autodoc>IsVisible(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsVisible(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ItemHasChildren" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ItemHasChildren" type="bool" overloaded="no">
-        <autodoc>ItemHasChildren(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>ItemHasChildren(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsExpanded" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsExpanded" type="bool" overloaded="no">
-        <autodoc>IsExpanded(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsExpanded(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsSelected" type="bool" overloaded="no">
-        <autodoc>IsSelected(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsSelected(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsBold" type="bool" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="IsBold" type="bool" overloaded="no">
-        <autodoc>IsBold(TreeItemId item) -&gt; bool</autodoc>
+        <autodoc>IsBold(self, TreeItemId item) -&gt; bool</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetChildrenCount" type="size_t" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetChildrenCount" type="size_t" overloaded="no">
-        <autodoc>GetChildrenCount(TreeItemId item, bool recursively=True) -&gt; size_t</autodoc>
+        <autodoc>GetChildrenCount(self, TreeItemId item, bool recursively=True) -&gt; size_t</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="recursively" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetRootItem" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="recursively" type="bool" default="True"/>
         </paramlist>
       </method>
       <method name="GetRootItem" type="TreeItemId" overloaded="no">
-        <autodoc>GetRootItem() -&gt; TreeItemId</autodoc>
+        <autodoc>GetRootItem(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetSelection" type="TreeItemId" overloaded="no">
       </method>
       <method name="GetSelection" type="TreeItemId" overloaded="no">
-        <autodoc>GetSelection() -&gt; TreeItemId</autodoc>
+        <autodoc>GetSelection(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetSelections" type="PyObject" overloaded="no">
       </method>
       <method name="GetSelections" type="PyObject" overloaded="no">
-        <autodoc>GetSelections() -&gt; PyObject</autodoc>
+        <autodoc>GetSelections(self) -&gt; PyObject</autodoc>
       </method>
       <method name="GetItemParent" type="TreeItemId" overloaded="no">
       </method>
       <method name="GetItemParent" type="TreeItemId" overloaded="no">
-        <autodoc>GetItemParent(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetItemParent(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstChild" type="PyObject" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstChild" type="PyObject" overloaded="no">
-        <autodoc>GetFirstChild(TreeItemId item) -&gt; PyObject</autodoc>
+        <autodoc>GetFirstChild(self, TreeItemId item) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextChild" type="PyObject" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextChild" type="PyObject" overloaded="no">
-        <autodoc>GetNextChild(TreeItemId item, long cookie) -&gt; PyObject</autodoc>
+        <autodoc>GetNextChild(self, TreeItemId item, void cookie) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
-          <param name="cookie" type="long" default=""/>
+          <param name="cookie" type="" default=""/>
         </paramlist>
       </method>
       <method name="GetLastChild" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="GetLastChild" type="TreeItemId" overloaded="no">
-        <autodoc>GetLastChild(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetLastChild(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextSibling" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNextSibling" type="TreeItemId" overloaded="no">
-        <autodoc>GetNextSibling(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetNextSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevSibling" type="TreeItemId" overloaded="no">
-        <autodoc>GetPrevSibling(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetPrevSibling(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetFirstVisibleItem" type="TreeItemId" overloaded="no">
-        <autodoc>GetFirstVisibleItem() -&gt; TreeItemId</autodoc>
+        <autodoc>GetFirstVisibleItem(self) -&gt; TreeItemId</autodoc>
       </method>
       <method name="GetNextVisible" type="TreeItemId" overloaded="no">
       </method>
       <method name="GetNextVisible" type="TreeItemId" overloaded="no">
-        <autodoc>GetNextVisible(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetNextVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetPrevVisible" type="TreeItemId" overloaded="no">
-        <autodoc>GetPrevVisible(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetPrevVisible(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNext" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="GetNext" type="TreeItemId" overloaded="no">
-        <autodoc>GetNext(TreeItemId item) -&gt; TreeItemId</autodoc>
+        <autodoc>GetNext(self, TreeItemId item) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="AddRoot" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="AddRoot" type="TreeItemId" overloaded="no">
-        <autodoc>AddRoot(String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
+        <autodoc>AddRoot(self, String text, int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="image" type="int" default="-1"/>
         <paramlist>
           <param name="text" type="String" default=""/>
           <param name="image" type="int" default="-1"/>
@@ -38423,7 +41481,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="PrependItem" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="PrependItem" type="TreeItemId" overloaded="no">
-        <autodoc>PrependItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
+        <autodoc>PrependItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -38434,7 +41492,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="InsertItem" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertItem" type="TreeItemId" overloaded="no">
-        <autodoc>InsertItem(TreeItemId parent, TreeItemId idPrevious, String text, 
+        <autodoc>InsertItem(self, TreeItemId parent, TreeItemId idPrevious, String text, 
     int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     int image=-1, int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -38446,7 +41504,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="InsertItemBefore" type="TreeItemId" overloaded="no">
-        <autodoc>InsertItemBefore(TreeItemId parent, size_t index, String text, int image=-1, 
+        <autodoc>InsertItemBefore(self, TreeItemId parent, size_t index, String text, int image=-1, 
     int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     int selectedImage=-1, TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -38458,7 +41516,7 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="AppendItem" type="TreeItemId" overloaded="no">
         </paramlist>
       </method>
       <method name="AppendItem" type="TreeItemId" overloaded="no">
-        <autodoc>AppendItem(TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
+        <autodoc>AppendItem(self, TreeItemId parent, String text, int image=-1, int selectedImage=-1, 
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
     TreeItemData data=None) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="parent" type="TreeItemId" default=""/>
@@ -38469,78 +41527,84 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="Delete" type="" overloaded="no">
         </paramlist>
       </method>
       <method name="Delete" type="" overloaded="no">
-        <autodoc>Delete(TreeItemId item)</autodoc>
+        <autodoc>Delete(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteChildren" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteChildren" type="" overloaded="no">
-        <autodoc>DeleteChildren(TreeItemId item)</autodoc>
+        <autodoc>DeleteChildren(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllItems" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="DeleteAllItems" type="" overloaded="no">
-        <autodoc>DeleteAllItems()</autodoc>
+        <autodoc>DeleteAllItems(self)</autodoc>
       </method>
       <method name="Expand" type="" overloaded="no">
       </method>
       <method name="Expand" type="" overloaded="no">
-        <autodoc>Expand(TreeItemId item)</autodoc>
+        <autodoc>Expand(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ExpandAll" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ExpandAll" type="" overloaded="no">
-        <autodoc>ExpandAll(TreeItemId item)</autodoc>
+        <autodoc>ExpandAll(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Collapse" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Collapse" type="" overloaded="no">
-        <autodoc>Collapse(TreeItemId item)</autodoc>
+        <autodoc>Collapse(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="CollapseAndReset" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="CollapseAndReset" type="" overloaded="no">
-        <autodoc>CollapseAndReset(TreeItemId item)</autodoc>
+        <autodoc>CollapseAndReset(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Toggle" type="" overloaded="no">
-        <autodoc>Toggle(TreeItemId item)</autodoc>
+        <autodoc>Toggle(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Unselect" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Unselect" type="" overloaded="no">
-        <autodoc>Unselect()</autodoc>
+        <autodoc>Unselect(self)</autodoc>
       </method>
       <method name="UnselectAll" type="" overloaded="no">
       </method>
       <method name="UnselectAll" type="" overloaded="no">
-        <autodoc>UnselectAll()</autodoc>
+        <autodoc>UnselectAll(self)</autodoc>
       </method>
       <method name="SelectItem" type="" overloaded="no">
       </method>
       <method name="SelectItem" type="" overloaded="no">
-        <autodoc>SelectItem(TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc>
+        <autodoc>SelectItem(self, TreeItemId item, bool unselect_others=True, bool extended_select=False)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="unselect_others" type="bool" default="True"/>
           <param name="extended_select" type="bool" default="False"/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="unselect_others" type="bool" default="True"/>
           <param name="extended_select" type="bool" default="False"/>
         </paramlist>
       </method>
+      <method name="SelectAll" type="" overloaded="no">
+        <autodoc>SelectAll(self, bool extended_select=False)</autodoc>
+        <paramlist>
+          <param name="extended_select" type="bool" default="False"/>
+        </paramlist>
+      </method>
       <method name="EnsureVisible" type="" overloaded="no">
       <method name="EnsureVisible" type="" overloaded="no">
-        <autodoc>EnsureVisible(TreeItemId item)</autodoc>
+        <autodoc>EnsureVisible(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ScrollTo" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="ScrollTo" type="" overloaded="no">
-        <autodoc>ScrollTo(TreeItemId item)</autodoc>
+        <autodoc>ScrollTo(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="TreeItemId" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="HitTest" type="TreeItemId" overloaded="no">
-        <autodoc>HitTest(Point point, int OUTPUT, int OUTPUT) -&gt; TreeItemId</autodoc>
+        <autodoc>HitTest(self, Point point, int OUTPUT, int OUTPUT) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="point" type="Point" default=""/>
           <param name="OUTPUT" type="int" default=""/>
         <paramlist>
           <param name="point" type="Point" default=""/>
           <param name="OUTPUT" type="int" default=""/>
@@ -38548,48 +41612,43 @@ EVT_DYNAMIC_SASH_UNIFY = wx.PyEventBinder( wxEVT_DYNAMIC_SASH_UNIFY, 1 )
         </paramlist>
       </method>
       <method name="GetBoundingRect" type="PyObject" overloaded="no">
         </paramlist>
       </method>
       <method name="GetBoundingRect" type="PyObject" overloaded="no">
-        <autodoc>GetBoundingRect(TreeItemId item, bool textOnly=False) -&gt; PyObject</autodoc>
+        <autodoc>GetBoundingRect(self, TreeItemId item, bool textOnly=False) -&gt; PyObject</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="textOnly" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="EditLabel" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
           <param name="textOnly" type="bool" default="False"/>
         </paramlist>
       </method>
       <method name="EditLabel" type="" overloaded="no">
-        <autodoc>EditLabel(TreeItemId item)</autodoc>
+        <autodoc>EditLabel(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Edit" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="Edit" type="" overloaded="no">
-        <autodoc>Edit(TreeItemId item)</autodoc>
+        <autodoc>Edit(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SortChildren" type="" overloaded="no">
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
       <method name="SortChildren" type="" overloaded="no">
-        <autodoc>SortChildren(TreeItemId item)</autodoc>
+        <autodoc>SortChildren(self, TreeItemId item)</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         </paramlist>
       </method>
-      <method name="GetItemSelectedImage" type="int" overloaded="no">
-        <autodoc>GetItemSelectedImage(TreeItemId item) -&gt; int</autodoc>
+      <method name="FindItem" type="TreeItemId" overloaded="no">
+        <autodoc>FindItem(self, TreeItemId item, String str, int flags=0) -&gt; TreeItemId</autodoc>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
         <paramlist>
           <param name="item" type="TreeItemId" default=""/>
-        </paramlist>
-      </method>
-      <method name="SetItemSelectedImage" type="" overloaded="no">
-        <autodoc>SetItemSelectedImage(TreeItemId item, int image)</autodoc>
-        <paramlist>
-          <param name="item" type="TreeItemId" default=""/>
-          <param name="image" type="int" default=""/>
+          <param name="str" type="String" default=""/>
+          <param name="flags" type="int" default="0"/>
         </paramlist>
       </method>
       <method name="GetHeaderWindow" type="Window" overloaded="no">
         </paramlist>
       </method>
       <method name="GetHeaderWindow" type="Window" overloaded="no">
-        <autodoc>GetHeaderWindow() -&gt; Window</autodoc>
+        <autodoc>GetHeaderWindow(self) -&gt; Window</autodoc>
       </method>
       </method>
-      <method name="GetMainWindow" type="Window" overloaded="no">
-        <autodoc>GetMainWindow() -&gt; Window</autodoc>
+      <method name="GetMainWindow" type="ScrolledWindow" overloaded="no">
+        <autodoc>GetMainWindow(self) -&gt; ScrolledWindow</autodoc>
       </method>
     </class>
   </module>
       </method>
     </class>
   </module>