fixed parameters to Blit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
408aef5ec1
commit
1480c61ae8
@ -471,8 +471,8 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp,
|
|||||||
{
|
{
|
||||||
|
|
||||||
destDc.Blit( imgPos.x, imgPos.y,
|
destDc.Blit( imgPos.x, imgPos.y,
|
||||||
srcBmp->GetWidth()+1,
|
srcBmp->GetWidth(),
|
||||||
srcBmp->GetHeight()+1,
|
srcBmp->GetHeight(),
|
||||||
&srcDc, 0,0, wxCOPY,true );
|
&srcDc, 0,0, wxCOPY,true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user