]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
char handling fixed again
[wxWidgets.git] / include / wx / generic / panelg.h
index a6e983e0244bc427e70b45050cf0e6943db746a3..c60d17f393e0962c10da0a6d2bb7d5d61f4a36e7 100644 (file)
@@ -69,12 +69,12 @@ public:
     void OnFocus(wxFocusEvent& event);
 
         // called by wxWindow whenever it gets focus
-    void SetLastFocus(wxWindow *focus) { m_lastFocus = focus; }
-    wxWindow* GetLastFocus() const { return m_lastFocus; }
+    void SetLastFocus(long focus) { m_lastFocus = focus; }
+    long GetLastFocus() const { return m_lastFocus; }
 
 protected:
     // the child which had the focus last time this panel was activated
-    wxWindow *m_lastFocus;
+    long m_lastFocus;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPanel)