]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected last commit: Inflate() should be Deflate()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 16:30:54 +0000 (16:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 16:30:54 +0000 (16:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;