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:
Stefan Csomor
2006-08-11 04:04:36 +00:00
parent f18dcf044f
commit 29a7b4d041

View File

@@ -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 ;