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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user