Added focus in/out handlers for wxTextCtrl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-03-26 14:49:27 +00:00
parent f0ce340942
commit fc71ef6e17
4 changed files with 254 additions and 2 deletions

View File

@@ -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 )