]> git.saurik.com Git - wxWidgets.git/commitdiff
release build unused variable warning fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jul 2006 16:43:25 +0000 (16:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jul 2006 16:43:25 +0000 (16:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 62f9cf23a98131ffe33afca3617b3bfc72bb7da1..d3371527115abb9cfd83266f7d29d83db190e8f8 100644 (file)
@@ -2790,8 +2790,7 @@ void wxFrameManager::OnFloatingPaneActivated(wxWindow* wnd)
     if (GetFlags() & wxAUI_MGR_ALLOW_ACTIVE_PANE)
     {
         // try to find the pane
-        wxPaneInfo& pane = GetPane(wnd);
-        wxASSERT_MSG(pane.IsOk(), wxT("Pane window not found"));
+        wxASSERT_MSG(GetPane(wnd).IsOk(), wxT("Pane window not found"));
 
         SetActivePane(m_panes, wnd);
         Repaint();