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