X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7928d82c2c550936339cd126f34b0dc0ab7d6c0..ca6911c361b04290fe1f0e64b616249b3b3d71ba:/src/aui/framemanager.cpp diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 76a3081d68..62b3281b91 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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