// fire an event
wxCollapsiblePaneEvent ev(p, p->GetId(), p->IsCollapsed());
p->GetEventHandler()->ProcessEvent(ev);
-
+
// the user asked to explicitely handle the resizing itself...
return;
}
if ( top && top->GetSizer() )
{
// 2) recalculate minimal size of the top window
- wxSize sz = top->GetSizer()->CalcMin();
+ sz = top->GetSizer()->CalcMin();
if (top->m_mainWidget)
{