X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..7a0a6cc8f61cb53ce1c76897489e1e363d1a1fa5:/src/x11/window.cpp diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 1857c98868..61db6dee8d 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -1641,9 +1641,7 @@ bool wxWindowX11::SetForegroundColour(const wxColour& col) wxWindow *wxGetActiveWindow() { - // TODO - wxFAIL_MSG(wxT("Not implemented")); - return NULL; + return wxGetTopLevelParent(wxWindow::FindFocus()); } /* static */