void CSplitterCellHistory::OnSplitterChange(wxSplitterEvent &e) { wxSplitterWindow *p = (wxSplitterWindow *) e.GetEventObject(); if(p != this) { m_syncSplitter.Sync(p); #if !PANEL_LOCUS_NOTEBOOK m_syncSplitter2.Sync(p); #endif } }
void CSplitterCellHistory::OnSplitterChanging(wxSplitterEvent &e) { // inform m_syncSplitter that the user is moving the sash // and not resizing the entire window (frame) wxSplitterWindow *p = (wxSplitterWindow *) e.GetEventObject(); if(p != this) { m_syncSplitter.SetIsChanging(p); #if !PANEL_LOCUS_NOTEBOOK m_syncSplitter2.SetIsChanging(p); #endif } }