]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
wxLogStderr sends output to debugger too under Windows
[wxWidgets.git] / src / common / gdicmn.cpp
index 2661bd44cca97e1069d0c609bd0a37eb2a870985..eae3619cec93a64c641595af7a755ff43988f401 100644 (file)
@@ -82,7 +82,7 @@ wxRect::wxRect(const wxPoint& topLeft, const wxPoint& bottomRight)
   if (height < 0)
   {
     height = -height;
-    x -= height;
+    y -= height;
   }
 }