diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 0ab6b88848..6562af4497 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -129,6 +129,7 @@ under the covers. Added wx.StandardPaths.GetDocumentsDir. +Added wx.RendererNative.DrawCheckButton. diff --git a/wxPython/src/_renderer.i b/wxPython/src/_renderer.i index 2735302ab4..c86aad1d01 100644 --- a/wxPython/src/_renderer.i +++ b/wxPython/src/_renderer.i @@ -183,7 +183,16 @@ you need. ``flags`` may have the ``wx.CONTROL_PRESSED`` or ``wx.CONTROL_CURRENT`` bit set.", ""); + DocDeclStr( + virtual void , DrawCheckButton(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0), + "Draw a check button. Flags may use wx.CONTROL_CHECKED, +wx.CONTROL_UNDETERMINED and wx.CONTROL_CURRENT.", ""); + + DocDeclStr( virtual wxSplitterRenderParams , GetSplitterParams(const wxWindow *win), "Get the splitter parameters, see `wx.SplitterRenderParams`.", "");