Cured last focus bug (I hope); some wxMotif mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user