- POINT pt = { 4, 4 };
- WXHWND hWndEdit = (WXHWND)::ChildWindowFromPoint(GetHwnd(), pt);
- if ( hWndEdit == GetHWND() )
- hWndEdit = NULL;
+ // notice that a slightly safer alternative could be to use FindWindowEx()
+ // but it's not available under WinCE so just take the first child for now
+ // to keep one version of the code for all platforms and fix it later if
+ // problems are discovered