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();
const wxRect *rect = NULL );
virtual void Freeze();
virtual void Thaw();
-
+ virtual bool IsFrozen() const;
+
virtual void Update() ;
virtual void ClearBackground();
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 );
bool AcceptsFocus() const;
+ virtual bool IsDoubleBuffered() const { return true; }
+
public:
static long MacRemoveBordersFromStyle( long style ) ;
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;