Posted on 2008-11-16 11:57
chefZ 阅读(204)
评论(0) 编辑 收藏 引用
wxBitmap bmp(_("ID_xxx"), wxBITMAP_TYPE_BMP);
wxMemoryDC dcTmp;
dcTmp.SelectObject(bmp);
rect->bottom = bmp.GetHeight() + rect->top;
dc.Blit(rect->left, rect->top, rect->GetWidth(), rect->GetHeight(),
&dcTmp, 0, 0 /* wxCOPY*/);