]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/renderer.cpp
switching to newer API
[wxWidgets.git] / src / msw / renderer.cpp
index 9a6fb82c73da803cf7a06b729e969a8b93709044..b9018a7fd20f83efc2c58601c8ed84bfe9f03a71 100644 (file)
@@ -226,7 +226,7 @@ wxRendererMSW::DrawPushButton(wxWindow * WXUNUSED(win),
         wxDCPenChanger pen(dc, *wxBLACK_PEN);
         wxDCBrushChanger brush(dc, *wxTRANSPARENT_BRUSH);
         dc.DrawRectangle(rect);
-        rect.Inflate(1);
+        rect.Deflate(1);
     }
 
     RECT rc;