X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7084589db4dcab0442fa652672fb4d5c0aa6949..217099990c2665d18d352c60058106da9a014ab8:/include/wx/os2/frame.h?ds=sidebyside diff --git a/include/wx/os2/frame.h b/include/wx/os2/frame.h index dc64bf4ae7..23785ee564 100644 --- a/include/wx/os2/frame.h +++ b/include/wx/os2/frame.h @@ -140,6 +140,12 @@ public: void SetToolTipCtrl(WXHWND hHwndTT) { m_hWndToolTip = hHwndTT; } #endif // tooltips + // + // Called by wxWindow whenever it gets focus + // + void SetLastFocus(wxWindow* pWin) { m_pWinLastFocused = pWin; } + wxWindow *GetLastFocus(void) const { return m_pWinLastFocused; } + void SetClient(WXHWND c_Hwnd); void SetClient(wxWindow* c_Window); wxWindow *GetClient();