]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed parameters to Blit()
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jan 2005 10:56:02 +0000 (10:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jan 2005 10:56:02 +0000 (10:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/fl/newbmpbtn.cpp

index 6de2cfbf1ed6bc096a36567b68fde8b978831581..e5e8ba5612a719eb5b6b6ea95565ffb540a09193 100644 (file)
@@ -471,8 +471,8 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp,
     {
 
         destDc.Blit( imgPos.x, imgPos.y,
-                 srcBmp->GetWidth()+1,
-                 srcBmp->GetHeight()+1,
+                 srcBmp->GetWidth(),
+                 srcBmp->GetHeight(),
                  &srcDc, 0,0, wxCOPY,true );
     }