X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7b51bc869213608fdad75c28fba1f245d43549f..7b108a5e8cae8552840b532e364536e2dbe47dc7:/include/wx/mac/frame.h diff --git a/include/wx/mac/frame.h b/include/wx/mac/frame.h index 940b8b957c..6434553ebe 100644 --- a/include/wx/mac/frame.h +++ b/include/wx/mac/frame.h @@ -12,7 +12,7 @@ #ifndef _WX_FRAME_H_ #define _WX_FRAME_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frame.h" #endif @@ -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();