compilation fix after wxMouseState changes (closes #10756)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-04-30 12:23:00 +00:00
parent c6b22707d3
commit 4549681014
2 changed files with 15 additions and 15 deletions

View File

@ -1475,7 +1475,7 @@ void wxAuiToolBar::RefreshOverflowState()
// find out if the mouse cursor is inside the dropdown rectangle
if (overflow_rect.Contains(pt.x, pt.y))
{
if (::wxGetMouseState().LeftDown())
if (::wxGetMouseState().LeftIsDown())
overflow_state = wxAUI_BUTTON_STATE_PRESSED;
else
overflow_state = wxAUI_BUTTON_STATE_HOVER;

View File

@ -323,7 +323,7 @@ void wxAuiFloatingFrame::OnActivate(wxActivateEvent& event)
// functionality to wxWidgets itself)
bool wxAuiFloatingFrame::isMouseDown()
{
return wxGetMouseState().LeftDown();
return wxGetMouseState().LeftIsDown();
}