X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7b51bc869213608fdad75c28fba1f245d43549f..5d644707ca96dcaa63dc5a24c9eb5c2b7ee0b50d:/include/wx/mac/frame.h 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();