X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31e1bd370d2ded34d97f4824029adb924a0a58a4..c2ca375c5620209d77a88d2d378bdcdedbc82e7e:/include/wx/mac/carbon/window.h diff --git a/include/wx/mac/carbon/window.h b/include/wx/mac/carbon/window.h index 68a0a4f36b..097890bf33 100644 --- a/include/wx/mac/carbon/window.h +++ b/include/wx/mac/carbon/window.h @@ -55,7 +55,8 @@ public: virtual void Lower(); virtual bool Show( bool show = true ); - virtual bool Enable( bool enable = true ); + virtual void DoEnable( bool enable ); + virtual void OnEnabled( bool enabled ); virtual void SetFocus(); @@ -65,7 +66,8 @@ public: const wxRect *rect = NULL ); virtual void Freeze(); virtual void Thaw(); - + virtual bool IsFrozen() const; + virtual void Update() ; virtual void ClearBackground(); @@ -125,11 +127,6 @@ public: 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; } -#endif - // event handlers // -------------- void OnSetFocus( wxFocusEvent& event ); @@ -142,6 +139,8 @@ public: bool AcceptsFocus() const; + virtual bool IsDoubleBuffered() const { return true; } + public: static long MacRemoveBordersFromStyle( long style ) ; @@ -312,13 +311,8 @@ protected: void MacUpdateControlFont() ; void MacPropagateVisibilityChanged() ; - void MacPropagateEnabledStateChanged() ; void MacPropagateHiliteChanged() ; -#if WXWIN_COMPATIBILITY_2_4 - bool m_backgroundTransparent ; -#endif - // implement the base class pure virtuals virtual wxSize DoGetBestSize() const; virtual wxSize DoGetSizeFromClientSize( const wxSize & size ) const;