+void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
+{
+ wxAboutDialogInfo info;
+ info.SetName(_("wxCollapsiblePane sample"));
+ info.SetDescription(_("This sample program demonstrates usage of wxCollapsiblePane"));
+ info.SetCopyright(_T("(C) 2006 Francesco Montorsi <frm@users.sourceforge.net>"));
+
+ wxAboutBox(info);
+}
+
+void MyFrame::OnCollapseUpdateUI(wxUpdateUIEvent& event)
+{
+ event.Enable(!m_collPane->IsCollapsed());
+}
+
+void MyFrame::OnExpandUpdateUI(wxUpdateUIEvent& event)