X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/422d0ff0bec79832494fe4605ffdcf8e87ba6c03..92850d6b2ff6072f4801152fd6bfdb7263715ec0:/contrib/src/fl/newbmpbtn.cpp?ds=inline diff --git a/contrib/src/fl/newbmpbtn.cpp b/contrib/src/fl/newbmpbtn.cpp index 6de2cfbf1e..e5e8ba5612 100644 --- a/contrib/src/fl/newbmpbtn.cpp +++ b/contrib/src/fl/newbmpbtn.cpp @@ -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 ); }