示例#1
0
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
    }
}
示例#2
0
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
    }
}