From b821344e132446232bbd459ada81415903550464 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 26 May 2002 07:49:32 +0000 Subject: [PATCH] added accessors for last focus git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/frame.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 940b8b957c..95ddac84d1 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -101,6 +101,10 @@ public: wxMacToolTip* m_hwndToolTip ; #endif // tooltips + // called by wxWindow whenever it gets focus + void SetLastFocus(wxWindow *win) { m_winLastFocused = win; } + wxWindow *GetLastFocus() const { return m_winLastFocused; } + protected: // common part of all ctors void Init(); -- 2.45.2