]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/dc.cpp
fix for wxStatusBar linking problems under wxMac
[wxWidgets.git] / src / mgl / dc.cpp
index babad279d20354b9186cae184908ecc078bf813a..452ded710ba284b3ed23066bbc8b74d761813554 100644 (file)
@@ -322,7 +322,7 @@ void wxDC::Clear()
         SetBrush(m_backgroundBrush);
         SelectBrush();
         GetSize(&w, &h);
-        m_MGLDC->fillRect(0, 0, w-1, h-1);
+        m_MGLDC->fillRect(0, 0, w, h);
         SetBrush(oldb);
     }
 }