fixed missed button enum conversion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams 2006-10-31 09:34:59 +00:00
parent 6a7d17a272
commit 4f6459a3dd

View File

@ -3964,7 +3964,7 @@ void wxFrameManager::OnPaneButton(wxFrameManagerEvent& evt)
Update();
}
}
else if (evt.button == wxPaneInfo::buttonPin)
else if (evt.button == wxAUI_BUTTON_PIN)
{
if ((m_flags & wxAUI_MGR_ALLOW_FLOATING) &&
pane.IsFloatable())