git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14557
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (numchildren > 0)
{
- fprintf(stderr, "Reparenting %d children.\n", numchildren);
+ // TEST: see if we can get away with reparenting just
+ // first one
+ if (numchildren > 1)
+ {
+ wxLogDebug(wxT("Found %d, but only reparenting 1 child."), numchildren);
+ numchildren = 1;
+ }
+ wxLogDebug(wxT("Reparenting %d children."), numchildren);
/* Stacking order is preserved since XQueryTree returns its children in
bottommost to topmost order
*/