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 */