From: Robin Dunn Date: Mon, 20 Dec 2004 22:51:09 +0000 (+0000) Subject: Added a note to self to look at adding ProvidesBackground in the future X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6bda7508c6e41365b69fdf690b3070991098a7af Added a note to self to look at adding ProvidesBackground in the future git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 2a7c38d513..1800efb1d8 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -1355,7 +1355,15 @@ not be used at all.", ""); "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.", ""); - + +// TODO: +// // if the window shouldn't inherit its colour from the parent, override +// // this function to return true +// // +// // this is currently only used by wxMSW and wxUniv but should be useful for +// // the other ports too +// virtual bool ProvidesBackground() const; + // Set/get the background style. // Pass one of wxBG_STYLE_SYSTEM, wxBG_STYLE_COLOUR, wxBG_STYLE_CUSTOM