diff --git a/src/dfb/region.cpp b/src/dfb/region.cpp index 7a2cb28b7d..d07fd09a5d 100644 --- a/src/dfb/region.cpp +++ b/src/dfb/region.cpp @@ -33,7 +33,7 @@ public: ~wxRegionRefData() {} - // default assignment and comparision operators are OK + // default assignment and comparison operators are OK wxRect m_rect; }; @@ -178,7 +178,7 @@ bool wxRegion::DoSubtract(const wxRegion& region) } else if ( !M_REGION->m_rect.Intersects(rect) ) { - // the rectangles are disjoint, so substracting has no effect + // the rectangles are disjoint, so subtracting has no effect return true; } else diff --git a/src/dfb/wrapdfb.cpp b/src/dfb/wrapdfb.cpp index eb7f3e8c1c..6159b7df16 100644 --- a/src/dfb/wrapdfb.cpp +++ b/src/dfb/wrapdfb.cpp @@ -61,7 +61,7 @@ bool wxDfbCheckReturn(DFBResult code) default: // FIXME: should handle the errors individually - wxLogError(_("DirectFB error %d occured."), (int)code); + wxLogError(_("DirectFB error %d occurred."), (int)code); return false; } }