Layout();
}
-void MyDialog::OnPaneChanged(wxCollapsiblePaneEvent& WXUNUSED(event))
+void MyDialog::OnPaneChanged(wxCollapsiblePaneEvent& WXUNUSED_UNLESS_DEBUG(event))
{
wxLogDebug(wxT("The pane has just been %s by the user"),
event.GetCollapsed() ? wxT("collapsed") : wxT("expanded"));