X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/91b5f3bc571a190dd6d4170fb35d4b520ed64801..6e264973e636cc41915d166cb7eddf2a7e72cf9b:/include/wx/os2/frame.h diff --git a/include/wx/os2/frame.h b/include/wx/os2/frame.h index dd1851cbfb..23785ee564 100644 --- a/include/wx/os2/frame.h +++ b/include/wx/os2/frame.h @@ -66,7 +66,6 @@ public: // override some more virtuals virtual bool Show(bool bShow = TRUE); - virtual void RemoveChild(wxWindowBase* pChild); // event handlers void OnActivate(wxActivateEvent& rEvent); @@ -141,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();