]> git.saurik.com Git - wxWidgets.git/commitdiff
textcontrol handling change for mac (execute event in mid stream)
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 17 Aug 2003 19:47:00 +0000 (19:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 17 Aug 2003 19:47:00 +0000 (19:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/app.h

index 3b9d29880fbba601eeee95db93ae5f8a6801e523..0b32e7983bc26e56435f7ac04d8bc674de9f9a3e 100644 (file)
@@ -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 ;