From 89a66f111b538f58612d12d4646c197e50fb3a1d Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 24 Feb 2005 14:06:15 +0000 Subject: [PATCH] forwarding position changed events to peer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/private.h | 4 ++++ include/wx/mac/carbon/textctrl.h | 1 + src/mac/carbon/utils.cpp | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/include/wx/mac/carbon/private.h b/include/wx/mac/carbon/private.h index 17426052d2..1ae59814b9 100644 --- a/include/wx/mac/carbon/private.h +++ b/include/wx/mac/carbon/private.h @@ -500,7 +500,11 @@ public : // Flash the control for the specified amount of time virtual void Flash( ControlPartCode part , UInt32 ticks = 8 ) ; + virtual void VisibilityChanged( bool shown ) ; + virtual void SuperChangedPosition() ; + + 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 ) ; diff --git a/include/wx/mac/carbon/textctrl.h b/include/wx/mac/carbon/textctrl.h index cace96463b..cd1ce78160 100644 --- a/include/wx/mac/carbon/textctrl.h +++ b/include/wx/mac/carbon/textctrl.h @@ -163,6 +163,7 @@ public: virtual void MacVisibilityChanged() ; virtual void MacEnabledStateChanged() ; + virtual void MacSuperChangedPosition() ; #ifndef __WXMAC_OSX__ virtual void MacControlUserPaneDrawProc(wxInt16 part) ; virtual wxInt16 MacControlUserPaneHitTestProc(wxInt16 x, wxInt16 y) ; diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 6139d8a3e1..6ccff5444c 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -903,6 +903,10 @@ void wxMacControl::VisibilityChanged(bool shown) { } +void wxMacControl::SuperChangedPosition() +{ +} + void wxMacControl::SetFont( const wxFont & font , const wxColour& foreground , long windowStyle ) { m_font = font ; -- 2.45.2