background handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -407,6 +407,7 @@ public :
|
||||
virtual void Flash( ControlPartCode part , UInt32 ticks = 8 ) ;
|
||||
virtual void VisibilityChanged( bool shown ) ;
|
||||
virtual void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle ) ;
|
||||
virtual void SetBackground( const wxBrush &brush ) ;
|
||||
virtual ControlPartCode HandleKey( SInt16 keyCode, SInt16 charCode, EventModifiers modifiers ) ;
|
||||
void SetActionProc( ControlActionUPP actionProc ) ;
|
||||
void SetViewSize( SInt32 viewSize ) ;
|
||||
|
@@ -155,6 +155,8 @@ public:
|
||||
void OnUpdatePaste(wxUpdateUIEvent& event);
|
||||
void OnUpdateUndo(wxUpdateUIEvent& event);
|
||||
void OnUpdateRedo(wxUpdateUIEvent& event);
|
||||
|
||||
void OnEraseBackground(wxEraseEvent& event) ;
|
||||
|
||||
virtual bool MacCanFocus() const { return true ; }
|
||||
virtual bool MacSetupCursor( const wxPoint& pt ) ;
|
||||
|
@@ -195,7 +195,7 @@ public:
|
||||
virtual void Update() ;
|
||||
virtual bool MacSetupCursor( const wxPoint& pt ) ;
|
||||
|
||||
virtual void MacSetBackgroundBrush( const wxBrush &brush ) { m_macBackgroundBrush = brush ; }
|
||||
virtual void MacSetBackgroundBrush( const wxBrush &brush ) ;
|
||||
const wxBrush& MacGetBackgroundBrush() const { return m_macBackgroundBrush ; }
|
||||
|
||||
// returns the visible region of this control in window ie non-client coordinates
|
||||
|
Reference in New Issue
Block a user