-
-
- //
- // Need to handle the case of a single child that not a control
- // as this is probably a panel with its own children
- //
- if (GetChildren().GetCount() > 0)
- {
- for (wxWindowList::Node* pNode = GetChildren().GetFirst();
- pNode;
- pNode = pNode->GetNext())
- {
- wxWindow* pChild = pNode->GetData();
-
- if ( GetChildren().GetCount() == 1 &&
- !pChild->IsKindOf(CLASSINFO(wxControl))
- )
- pChild->MoveChildren(m_vSwpClient.cy - vSwp.cy);
- pChild->Refresh();
- pChild = NULL;
- }
- }
-