Fixed crash-on-exit bug due to status bar being deleted twice (MDI apps);

small changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-03-14 11:25:54 +00:00
parent bc7e88ae03
commit c0bcc48068
10 changed files with 47 additions and 34 deletions

View File

@@ -283,9 +283,15 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
SetCursor(*m_sashCursorNS);
}
}
#ifdef __WXGTK__
#if defined(__WXGTK__) || defined(__WXMSW__)
else
{
// We must set the normal cursor in MSW, because
// if the child window doesn't have a cursor, the
// parent's (splitter window) will be used, and this
// must be the standard cursor.
wxLogDebug("wxSplitterWindow: Setting to standard cursor");
// where else do we unset the cursor?
SetCursor(* wxSTANDARD_CURSOR);
}