]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/newbmpbtn.cpp
fixed parameters to Blit()
[wxWidgets.git] / 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 );
     }