]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
rename ARRAYSIZE to CELLSARRAYSIZE to avoid conflict with a macro with the same name...
[wxWidgets.git] / src / aui / framemanager.cpp
index 76a3081d68ef17379e8aa29a88469f0c7b38b2ca..62b3281b91394671ad6e7a74ea9c155adb396c1d 100644 (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