diff --git a/src/aui/auibar.cpp b/src/aui/auibar.cpp index 77fbd74301..a7451849a3 100644 --- a/src/aui/auibar.cpp +++ b/src/aui/auibar.cpp @@ -326,7 +326,7 @@ void wxAuiDefaultToolBarArt::DrawButton( } 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 dc.SetPen(wxPen(m_highlightColour)); dc.SetBrush(wxBrush(m_highlightColour.ChangeLightness(170))); diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index f33966740a..abd4e20be2 100644 --- a/src/aui/floatpane.cpp +++ b/src/aui/floatpane.cpp @@ -287,7 +287,7 @@ void wxAuiFloatingFrame::OnMoveEvent(wxMoveEvent& event) if ( event.GetEventType() == wxEVT_MOVING ) OnMoving(event.GetRect(), dir); - else + else 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 -// (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 // functionality to wxWidgets itself) bool wxAuiFloatingFrame::isMouseDown()