]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just fix some typos in wxDFB comments.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jul 2012 10:31:42 +0000 (10:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 31 Jul 2012 10:31:42 +0000 (10:31 +0000)
Closes #14538.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/dfb/region.cpp
src/dfb/wrapdfb.cpp

index 7a2cb28b7d4d820100df5f1186c687211d95d927..d07fd09a5dac197eb10aeaa961408471838bebc5 100644 (file)
@@ -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
index eb7f3e8c1c6fb27bd4b88b581437b09fe9b9d708..6159b7df16a968c1981a00fda9e73fdd95c864cb 100644 (file)
@@ -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;
     }
 }