]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
wxString::IsSameAs(char) added and documented as well as operator==(char)
[wxWidgets.git] / include / wx / generic / panelg.h
index a6e983e0244bc427e70b45050cf0e6943db746a3..a4c8029462a6a56e5d66c93839f3e57e92cd9a91 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/window.h"
 
 
 #include "wx/window.h"
 
-WXDLLEXPORT_DATA(extern const char*) wxPanelNameStr;
+WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
 
 
 class WXDLLEXPORT wxPanel : public wxWindow
 
 
 class WXDLLEXPORT wxPanel : public wxWindow
@@ -69,12 +69,12 @@ public:
     void OnFocus(wxFocusEvent& event);
 
         // called by wxWindow whenever it gets focus
     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
 
 protected:
     // the child which had the focus last time this panel was activated
-    wxWindow *m_lastFocus;
+    long m_lastFocus;
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPanel)
 
 private:
     DECLARE_DYNAMIC_CLASS(wxPanel)