]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed missed button enum conversion
authorBenjamin Williams <bwilliams@kirix.com>
Tue, 31 Oct 2006 09:34:59 +0000 (09:34 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Tue, 31 Oct 2006 09:34:59 +0000 (09:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 0442acdd3a9b36172687812e5ee081566ede2c54..2d245c525fd847e9f49ee48c103668442dcfe92c 100644 (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())