+void MyFrame::OnSplitHorizontal(wxCommandEvent& event)
+{
+ if ( splitter->IsSplit() )
+ splitter->Unsplit();
+ leftWindow->Show(true);
+ rightWindow->Show(true);
+ splitter->SplitHorizontally( leftWindow, rightWindow );
+}
+
+void MyFrame::OnUnsplit(wxCommandEvent& event)
+{
+ if ( splitter->IsSplit() )
+ splitter->Unsplit();
+}
+@endcode
+
+*/