moved HasTransparentBackground() from wxUniv to common wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -777,6 +777,11 @@ public:
|
||||
virtual bool SetBackgroundStyle(wxBackgroundStyle style) { m_backgroundStyle = style; return true; }
|
||||
virtual wxBackgroundStyle GetBackgroundStyle() const { return m_backgroundStyle; }
|
||||
|
||||
// returns true if the control has "transparent" areas such as a
|
||||
// wxStaticText and wxCheckBox and the background should be adapted
|
||||
// from a parent window
|
||||
virtual bool HasTransparentBackground() { return false; }
|
||||
|
||||
// set/retrieve the font for the window (SetFont() returns true if the
|
||||
// font really changed)
|
||||
virtual bool SetFont(const wxFont& font) = 0;
|
||||
|
Reference in New Issue
Block a user