// Layout algorithm for any window. mainWindow gets what's left over.
bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow)
{
// Layout algorithm for any window. mainWindow gets what's left over.
bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow)
{
// If mainWindow is NULL and we're at the last window,
// skip this, because we'll simply make it fit the remaining space.
// If mainWindow is NULL and we're at the last window,
// skip this, because we'll simply make it fit the remaining space.
// If mainWindow is NULL and we're at the last window,
// skip this, because we'll simply make it fit the remaining space.
// If mainWindow is NULL and we're at the last window,
// skip this, because we'll simply make it fit the remaining space.