basic blitting implementation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-18 11:20:58 +00:00
parent 11ea1abfa0
commit 5942996c94
5 changed files with 96 additions and 102 deletions

View File

@@ -49,6 +49,8 @@ wxMemoryDC::wxMemoryDC(wxDC *WXUNUSED(dc))
void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
{
m_bmp = bitmap;
if ( !bitmap.Ok() )
{
// select the bitmap out of the DC