X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..ad667945478cda0c0a33e154f1d4403402cffb9e:/include/wx/mac/carbon/window.h?ds=inline diff --git a/include/wx/mac/carbon/window.h b/include/wx/mac/carbon/window.h index 363767bdfc..16d5cfc663 100644 --- a/include/wx/mac/carbon/window.h +++ b/include/wx/mac/carbon/window.h @@ -65,7 +65,8 @@ public: const wxRect *rect = NULL ); virtual void Freeze(); virtual void Thaw(); - + virtual bool IsFrozen() const; + virtual void Update() ; virtual void ClearBackground(); @@ -121,6 +122,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; } @@ -138,6 +143,8 @@ public: bool AcceptsFocus() const; + virtual bool IsDoubleBuffered() const { return true; } + public: static long MacRemoveBordersFromStyle( long style ) ; @@ -211,8 +218,8 @@ public: // returns true if the grandchildren need to be clipped to the children's content area // (e.g., splitter windows) virtual bool MacClipGrandChildren() const { return false ; } - bool MacIsWindowScrollbar( const wxScrollBar* sb ) - { return (m_hScrollBar == sb || m_vScrollBar == sb) ; } + bool MacIsWindowScrollbar( const wxWindow* sb ) + { return ((wxWindow*)m_hScrollBar == sb || (wxWindow*)m_vScrollBar == sb) ; } virtual void MacInstallEventHandler(WXWidget native) ; void MacPostControlCreate(const wxPoint& pos, const wxSize& size) ; @@ -290,6 +297,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 ;