]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/window.h
added wxSizerFlags::GetDefaultBorder()
[wxWidgets.git] / include / wx / mac / carbon / window.h
index 363767bdfcce6b6c7124ad3f0a36a320e3d961fe..f7f5e8b3370c94079a51931919631a84449df23f 100644 (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; }
@@ -138,6 +142,8 @@ public:
 
     bool AcceptsFocus() const;
 
+    virtual bool IsDoubleBuffered() const { return true; }
+
 public:
     static long         MacRemoveBordersFromStyle( long style ) ;
 
@@ -211,8 +217,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 +296,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 ;