X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35ff90a0b30bf24fcb9478a3c43143c124bbff46..ec8bd3921c6ad85dd8101306d920e19e32541680:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 89fcba6c0d..a18741217d 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -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