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:
parent
c6b22707d3
commit
4549681014
@ -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;
|
||||
|
@ -323,7 +323,7 @@ void wxAuiFloatingFrame::OnActivate(wxActivateEvent& event)
|
||||
// functionality to wxWidgets itself)
|
||||
bool wxAuiFloatingFrame::isMouseDown()
|
||||
{
|
||||
return wxGetMouseState().LeftDown();
|
||||
return wxGetMouseState().LeftIsDown();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user