code knows when to update the layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47273
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (p->HasFlag(wxCP_NO_TLW_RESIZE))
{
if (p->HasFlag(wxCP_NO_TLW_RESIZE))
{
+ // fire an event
+ wxCollapsiblePaneEvent ev(p, p->GetId(), p->IsCollapsed());
+ p->GetEventHandler()->ProcessEvent(ev);
+
// the user asked to explicitely handle the resizing itself...
return;
}
// the user asked to explicitely handle the resizing itself...
return;
}