fix from r59107 - aui toolbar crash fixed (fixes #10371)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2009-05-14 06:58:29 +00:00
parent 40dad8ead1
commit 260a850572

View File

@@ -3604,6 +3604,9 @@ void wxAuiManager::OnFloatingPaneMoving(wxWindow* wnd, wxDirection dir)
wxAuiPaneInfo& pane = GetPane(wnd);
wxASSERT_MSG(pane.IsOk(), wxT("Pane window not found"));
if(!pane.frame)
return;
wxPoint pt = ::wxGetMousePosition();
#if 0
@@ -3704,6 +3707,9 @@ void wxAuiManager::OnFloatingPaneMoved(wxWindow* wnd, wxDirection dir)
wxAuiPaneInfo& pane = GetPane(wnd);
wxASSERT_MSG(pane.IsOk(), wxT("Pane window not found"));
if(!pane.frame)
return;
wxPoint pt = ::wxGetMousePosition();
#if 0