release build unused variable warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-04 16:43:25 +00:00
parent b5348bbb19
commit 8f9643924b

View 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();