]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
Countless (some half-finished) optimisations.
[wxWidgets.git] / src / common / gdicmn.cpp
index 30f08f8560b547238f370c0dd638397940192f77..eae3619cec93a64c641595af7a755ff43988f401 100644 (file)
@@ -82,7 +82,7 @@ wxRect::wxRect(const wxPoint& topLeft, const wxPoint& bottomRight)
   if (height < 0)
   {
     height = -height;
-    x -= height;
+    y -= height;
   }
 }
 
@@ -270,6 +270,9 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour)
 
 // TODO for other implementations. This should really go into
 // platform-specific directories.
+#ifdef __WXMAC__
+  else return NULL;
+#endif
 #ifdef __WXSTUBS__
   else return NULL;
 #endif