]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/frame.h
signned/unsigned fix
[wxWidgets.git] / include / wx / mac / frame.h
index 940b8b957cb21aa41bb8ec2ba34915ac10952892..95ddac84d1c2a0d6e323b03095e192d9ebfbcbc0 100644 (file)
@@ -101,6 +101,10 @@ public:
     wxMacToolTip* m_hwndToolTip ;
 #endif // tooltips
 
     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();
 protected:
     // common part of all ctors
     void Init();