renamed HasFocus() to IsActive() to avoid confusion with FindFocus(); documented it; avoid code duplication in GTK1 version

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-26 14:32:09 +00:00
parent 801d040762
commit 6b30a44ed0
7 changed files with 16 additions and 9 deletions

View File

@@ -176,7 +176,7 @@ public:
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
// Is this the active frame (highlighted in the taskbar)?
virtual bool HasFocus()
virtual bool IsActive()
{ return (wxGetTopLevelParent(FindFocus()) == this); }
// implementation only from now on