- wxWindow* parent = this;
- while (parent->GetParent())
- parent = parent->GetParent();
-
-// This kind of #ifdef is a good way to annoy people. It breaks
-// apps, but only on one platform and due to a hack in officially
-// platform independent code. It took me hours to fix this. RR.
-//
-// #ifdef __WXMSW__
-// wxWindow* focusWin = wxFindFocusDescendant(parent);
-// #else
- wxWindow* focusWin = (wxWindow*) NULL;
-// #endif