git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1581
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// We can stop dragging now and see what we've got.
m_dragMode = wxSPLIT_DRAG_NONE;
ReleaseMouse();
// We can stop dragging now and see what we've got.
m_dragMode = wxSPLIT_DRAG_NONE;
ReleaseMouse();
// Erase old tracker
DrawSashTracker(m_oldX, m_oldY);
// Erase old tracker
DrawSashTracker(m_oldX, m_oldY);
// Draw new one
DrawSashTracker(x, y);
// Draw new one
DrawSashTracker(x, y);
m_oldX = x;
m_oldY = y;
}
m_oldX = x;
m_oldY = y;
}
{
wxWindow *win = m_windowTwo ;
m_windowTwo = (wxWindow *) NULL;
{
wxWindow *win = m_windowTwo ;
m_windowTwo = (wxWindow *) NULL;
SizeWindows();
}
else if ( toRemove == m_windowOne )
SizeWindows();
}
else if ( toRemove == m_windowOne )
wxWindow *win = m_windowOne ;
m_windowOne = m_windowTwo;
m_windowTwo = (wxWindow *) NULL;
wxWindow *win = m_windowOne ;
m_windowOne = m_windowTwo;
m_windowTwo = (wxWindow *) NULL;
+ {
+ wxFAIL_MSG("splitter: attempt to remove a non-existent window");
+