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:
@@ -101,8 +101,6 @@ public:
|
||||
// overridden base class virtuals
|
||||
virtual bool IsPressed() const { return m_isPressed; }
|
||||
|
||||
virtual bool HasTransparentBackground() { return true; }
|
||||
|
||||
protected:
|
||||
virtual void DoSet3StateValue(wxCheckBoxState WXUNUSED(state));
|
||||
virtual wxCheckBoxState DoGet3StateValue() const;
|
||||
|
@@ -51,8 +51,6 @@ public:
|
||||
// take account of this
|
||||
virtual wxPoint GetBoxAreaOrigin() const;
|
||||
|
||||
virtual bool HasTransparentBackground() { return true; }
|
||||
|
||||
protected:
|
||||
// draw the control
|
||||
virtual void DoDraw(wxControlRenderer *renderer);
|
||||
|
@@ -55,8 +55,6 @@ public:
|
||||
|
||||
virtual void SetLabel(const wxString& label);
|
||||
|
||||
virtual bool HasTransparentBackground() { return true; }
|
||||
|
||||
virtual bool IsFocused() const { return false; }
|
||||
|
||||
protected:
|
||||
|
@@ -144,11 +144,6 @@ public:
|
||||
// controls only
|
||||
virtual bool IsCanvasWindow() const { return false; }
|
||||
|
||||
// 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; }
|
||||
|
||||
// return true if this control can be highlighted when the mouse is over
|
||||
// it (the theme decides itself whether it is really highlighted or not)
|
||||
virtual bool CanBeHighlighted() const { return false; }
|
||||
|
Reference in New Issue
Block a user