]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
wxControl and wxDialog coded and supporting module def file.
[wxWidgets.git] / src / gtk / window.cpp
index 02d5fb9d3563d5e6583c63beb147f27dcd65ab54..753c10c86d05d7ffd1099d10a8afda4e9f92ca28 100644 (file)
@@ -322,7 +322,8 @@ extern bool g_isIdle;
 //-----------------------------------------------------------------------------
 
 // returns the child of win which currently has focus or NULL if not found
 //-----------------------------------------------------------------------------
 
 // 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 )
 {
     wxWindow *winFocus = wxWindow::FindFocus();
     if ( !winFocus )