X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f916a19f14ce4f8d172f81344dd2b978dd29340..f33fee2ae6f5b5a2e8403fb037bd79072e973542:/include/wx/generic/panelg.h?ds=sidebyside diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index a6e983e024..a4c8029462 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -18,7 +18,7 @@ #include "wx/window.h" -WXDLLEXPORT_DATA(extern const char*) wxPanelNameStr; +WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr; class WXDLLEXPORT wxPanel : public wxWindow @@ -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)