]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/frame.h
Further wxUniv fixes
[wxWidgets.git] / include / wx / os2 / frame.h
index dc64bf4ae7d41a4e01eb1443e34961f6d3dd43cc..23785ee564fd212b7ec437b99247ae366242b47e 100644 (file)
@@ -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();