X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d52e91c98083f6ec9d7c4a9e392240e6fad5ed04..f4b6ffa972c0bbbe21a2fde76075f915cff04541:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 02d5fb9d35..753c10c86d 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -322,7 +322,8 @@ extern bool g_isIdle; //----------------------------------------------------------------------------- // returns the child of win which currently has focus or NULL if not found -static wxWindow *FindFocusedChild(wxWindow *win) +// Note: can't be static, needed by textctrl.cpp. +/* static */ wxWindow *FindFocusedChild(wxWindow *win) { wxWindow *winFocus = wxWindow::FindFocus(); if ( !winFocus )