diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 27c9475165..8903da947f 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -1398,9 +1398,20 @@ no effect on other platforms. "Returns the background style of the window. :see: `SetBackgroundStyle`", ""); - + DocDeclStr( + bool , HasTransparentBackground(), + "Returns True if this window's background is transparent (as, for +example, for `wx.StaticText`) and should show the parent window's +background. + +This method is mostly used internally by the library itself and you +normally shouldn't have to call it. You may, however, have to override +it in your custom control classes to ensure that background is painted +correctly.", ""); + + DocDeclStr( virtual bool , SetCursor( const wxCursor &cursor ), "Sets the window's cursor. Notice that the window cursor also sets it