From 768dc88a34454e5194a475143bf2473fcbe29d04 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 17 Aug 2003 19:47:00 +0000 Subject: [PATCH] textcontrol handling change for mac (execute event in mid stream) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/app.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index 3b9d29880f..0b32e7983b 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -87,8 +87,11 @@ public: bool IsExiting() { return !m_keepGoing ; } #if TARGET_CARBON + // the installed application event handler WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; } WXEVENTHANDLERREF MacGetCurrentEventHandlerCallRef() { return m_macCurrentEventHandlerCallRef ; } + void MacSetCurrentEvent( WXEVENTREF event , WXEVENTHANDLERCALLREF handler ) + { m_macCurrentEvent = event ; m_macCurrentEventHandlerCallRef = handler ; } #endif public: @@ -105,8 +108,8 @@ private: // mac specifics #if TARGET_CARBON - WXEVENTHANDLERREF m_macEventHandler ; - WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ; + WXEVENTHANDLERREF m_macEventHandler ; + WXEVENTHANDLERCALLREF m_macCurrentEventHandlerCallRef ; #endif WXEVENTREF m_macCurrentEvent ; -- 2.45.2