No real changes, just spelling fixes. Closes #14998.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -326,7 +326,7 @@ void wxAuiDefaultToolBarArt::DrawButton(
|
|||||||
}
|
}
|
||||||
else if (item.GetState() & wxAUI_BUTTON_STATE_CHECKED)
|
else if (item.GetState() & wxAUI_BUTTON_STATE_CHECKED)
|
||||||
{
|
{
|
||||||
// it's important to put this code in an else statment after the
|
// it's important to put this code in an else statement after the
|
||||||
// hover, otherwise hovers won't draw properly for checked items
|
// hover, otherwise hovers won't draw properly for checked items
|
||||||
dc.SetPen(wxPen(m_highlightColour));
|
dc.SetPen(wxPen(m_highlightColour));
|
||||||
dc.SetBrush(wxBrush(m_highlightColour.ChangeLightness(170)));
|
dc.SetBrush(wxBrush(m_highlightColour.ChangeLightness(170)));
|
||||||
|
@@ -287,7 +287,7 @@ void wxAuiFloatingFrame::OnMoveEvent(wxMoveEvent& event)
|
|||||||
|
|
||||||
if ( event.GetEventType() == wxEVT_MOVING )
|
if ( event.GetEventType() == wxEVT_MOVING )
|
||||||
OnMoving(event.GetRect(), dir);
|
OnMoving(event.GetRect(), dir);
|
||||||
else
|
else
|
||||||
OnMoving(wxRect(event.GetPosition(),GetSize()), dir);
|
OnMoving(wxRect(event.GetPosition(),GetSize()), dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -344,7 +344,7 @@ void wxAuiFloatingFrame::OnActivate(wxActivateEvent& event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// utility function which determines the state of the mouse button
|
// utility function which determines the state of the mouse button
|
||||||
// (independant of having a wxMouseEvent handy) - utimately a better
|
// (independent of having a wxMouseEvent handy) - utimately a better
|
||||||
// mechanism for this should be found (possibly by adding the
|
// mechanism for this should be found (possibly by adding the
|
||||||
// functionality to wxWidgets itself)
|
// functionality to wxWidgets itself)
|
||||||
bool wxAuiFloatingFrame::isMouseDown()
|
bool wxAuiFloatingFrame::isMouseDown()
|
||||||
|
Reference in New Issue
Block a user