we are always compositing on the supported OS versions, add transparency for individual controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -121,6 +121,10 @@ public:
|
||||
|
||||
virtual WXWidget GetHandle() const;
|
||||
|
||||
virtual bool SetTransparent(wxByte alpha);
|
||||
virtual bool CanSetTransparent();
|
||||
virtual wxByte GetTransparent() const ;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
bool GetTransparentBackground() const { return m_backgroundTransparent; }
|
||||
void SetTransparent(bool t = true) { m_backgroundTransparent = t; }
|
||||
@@ -290,6 +294,7 @@ protected:
|
||||
// insets of the mac control from the wx top left corner
|
||||
wxPoint m_macTopLeftInset ;
|
||||
wxPoint m_macBottomRightInset ;
|
||||
wxByte m_macAlpha ;
|
||||
|
||||
wxScrollBar* m_hScrollBar ;
|
||||
wxScrollBar* m_vScrollBar ;
|
||||
|
Reference in New Issue
Block a user