From: Vadim Zeitlin Date: Tue, 4 Jul 2006 16:43:25 +0000 (+0000) Subject: release build unused variable warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8f9643924b9ed5aa35a1b560a37c7985db42d225 release build unused variable warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 62f9cf23a9..d337152711 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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();