Changeset 6f14ee0 in git


Ignore:
Timestamp:
13/06/10 13:58:07 (9 years ago)
Author:
Olly Betts <olly@…>
Branches:
add-show-splays, line_contents, master, stereo, svn/github/master, svn/origin/master, svn/survex-1_1, svn/tags/1.1.14, svn/tags/1.1.15, svn/tags/1.1.16, svn/tags/1.2.0, svn/tags/1.2.1, svn/tags/1.2.2, svn/tags/1.2.3, svn/tags/1.2.4, svn/tags/1.2.5, svn/tags/v1_1_13, svn/trunk, travis-osx
Children:
739b92c
Parents:
8a05a7a
Message:

src/mainfrm.cc: Fix switching to and from the CavernLogWindow? pane
to use wxSplitterWindow::ReplaceWindow?() which fixes various issues
with sizing and resizing of the panes.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3399 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r8a05a7a r6f14ee0  
     1Sun Jun 13 12:57:08 GMT 2010  Olly Betts <olly@survex.com>
     2
     3        * src/mainfrm.cc: Fix switching to and from the CavernLogWindow pane
     4          to use wxSplitterWindow::ReplaceWindow() which fixes various issues
     5          with sizing and resizing of the panes.
     6
    17Sun Jun 13 12:23:23 GMT 2010  Olly Betts <olly@survex.com>
    28
  • src/mainfrm.cc

    r8a05a7a r6f14ee0  
    956956    m_Splitter->Show(false);
    957957    CavernLogWindow * log = new CavernLogWindow(this);
    958     log->SetSize(GetClientSize());
     958    m_Splitter->ReplaceWindow(m_Gfx, log);
    959959
    960960    int result = log->process(file);
    961961    if (result == 0) {
    962         log->Show(false);
     962        m_Splitter->ReplaceWindow(log, m_Gfx);
    963963        m_Splitter->Show();
     964        log->Destroy();
    964965    }
    965966    return result >= 0;
Note: See TracChangeset for help on using the changeset viewer.