X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2ea42557b8570b18082542f043c26b9ba346d21..bdf895fdd93d3f33a4b12a2c4a8568b64badc1d3:/src/msw/renderer.cpp diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index 9a6fb82c73..b9018a7fd2 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -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;