]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
Added GetParser method to wxHtmlWindow
[wxWidgets.git] / include / wx / generic / panelg.h
index 5a813e3ddfc59e89856ed87aeaa8cd499c41c26f..f47c9afc4199667d95682efe0342a2d6ee58028b 100644 (file)
@@ -79,15 +79,15 @@ public:
     void OnFocus(wxFocusEvent& event);
 
         // called by wxWindow whenever it gets focus
-    void SetLastFocus(long focus) { m_lastFocus = focus; }
-    long GetLastFocus() const { return m_lastFocus; }
+    void SetLastFocus(wxWindow *win) { m_winLastFocused = win; }
+    wxWindow *GetLastFocus() const { return m_winLastFocused; }
 
 protected:
     // common part of all ctors
     void Init();
 
     // the child which had the focus last time this panel was activated
-    long m_lastFocus;
+    wxWindow *m_winLastFocused;
 
     // a default button or NULL
     wxButton *m_btnDefault;