virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
+ virtual void Freeze() ;
+ virtual void Thaw() ;
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font ) ;
virtual void MacVisibilityChanged() ;
virtual void MacEnabledStateChanged() ;
+ virtual void MacHiliteChanged() ;
+ virtual wxInt32 MacControlHit( WXEVENTHANDLERREF handler , WXEVENTREF event ) ;
bool MacIsReallyShown() ;
bool MacIsReallyEnabled() ;
+ bool MacIsReallyHilited() ;
bool MacIsUserPane() { return m_macIsUserPane; }
bool MacGetBoundsForControl(const wxPoint& pos,
const wxSize& size,
int& x, int& y,
- int& w, int& h) const ;
+ int& w, int& h , bool adjustForOrigin ) const ;
// calculates the real window position and size from the native control
void MacGetPositionAndSizeFromControl(int& x, int& y,
int& w, int& h) const ;
+ // gets the inset from every part
+ virtual void MacGetContentAreaInset( int &left , int &top , int &right , int &bottom ) ;
+
protected:
// For controls like radiobuttons which are really composite
wxList m_subControls;
-
+ // number of calls to Freeze() minus number of calls to Thaw()
+ unsigned int m_frozenness;
+
WXWidget m_macControl ;
bool m_macIsUserPane ;
wxBrush m_macBackgroundBrush ;
void MacCreateScrollBars( long style ) ;
void MacRepositionScrollBars() ;
void MacUpdateControlFont() ;
+
void MacPropagateVisibilityChanged() ;
void MacPropagateEnabledStateChanged() ;
+ void MacPropagateHiliteChanged() ;
#if WXWIN_COMPATIBILITY_2_4