forwarding position changed events to peer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-02-24 14:06:15 +00:00
parent d289329218
commit 89a66f111b
3 changed files with 9 additions and 0 deletions

View File

@@ -500,7 +500,11 @@ public :
// Flash the control for the specified amount of time // Flash the control for the specified amount of time
virtual void Flash( ControlPartCode part , UInt32 ticks = 8 ) ; virtual void Flash( ControlPartCode part , UInt32 ticks = 8 ) ;
virtual void VisibilityChanged( bool shown ) ; virtual void VisibilityChanged( bool shown ) ;
virtual void SuperChangedPosition() ;
virtual void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle ) ; virtual void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle ) ;
virtual void SetBackground( const wxBrush &brush ) ; virtual void SetBackground( const wxBrush &brush ) ;
virtual ControlPartCode HandleKey( SInt16 keyCode, SInt16 charCode, EventModifiers modifiers ) ; virtual ControlPartCode HandleKey( SInt16 keyCode, SInt16 charCode, EventModifiers modifiers ) ;

View File

@@ -163,6 +163,7 @@ public:
virtual void MacVisibilityChanged() ; virtual void MacVisibilityChanged() ;
virtual void MacEnabledStateChanged() ; virtual void MacEnabledStateChanged() ;
virtual void MacSuperChangedPosition() ;
#ifndef __WXMAC_OSX__ #ifndef __WXMAC_OSX__
virtual void MacControlUserPaneDrawProc(wxInt16 part) ; virtual void MacControlUserPaneDrawProc(wxInt16 part) ;
virtual wxInt16 MacControlUserPaneHitTestProc(wxInt16 x, wxInt16 y) ; virtual wxInt16 MacControlUserPaneHitTestProc(wxInt16 x, wxInt16 y) ;

View File

@@ -903,6 +903,10 @@ void wxMacControl::VisibilityChanged(bool shown)
{ {
} }
void wxMacControl::SuperChangedPosition()
{
}
void wxMacControl::SetFont( const wxFont & font , const wxColour& foreground , long windowStyle ) void wxMacControl::SetFont( const wxFont & font , const wxColour& foreground , long windowStyle )
{ {
m_font = font ; m_font = font ;