From 4b60a5d70f7178960fa9c4de09c2bb13d6d7d04d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 13 Jan 2005 21:12:44 +0000 Subject: [PATCH] HasTransparentBackground git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_window.i | 11 +++++++++++ 1 file changed, 11 insertions(+) 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,8 +1398,19 @@ 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 ), -- 2.47.2