X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7084589db4dcab0442fa652672fb4d5c0aa6949..6721fc3852ff183e0a59c990cf62ae595c036d05:/include/wx/os2/frame.h 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();