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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user