From: Vadim Zeitlin Date: Tue, 4 Jan 2005 10:56:02 +0000 (+0000) Subject: fixed parameters to Blit() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1480c61ae8f3a1e698deb3fde7c4b8055ac977b8 fixed parameters to Blit() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 ); }