Fixup Blit so it can be used with a source that is a wxBufferedDC,

since wxBufferedDC doesn't derive from wxMemoryDC any more.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-12 06:23:52 +00:00
parent 514fd350e8
commit f98bd6d6cf
4 changed files with 28 additions and 18 deletions

View File

@@ -222,6 +222,10 @@ public:
{
return m_targetDc->GetGDKWindow();
}
virtual wxBitmap GetSelectedBitmap() const
{
return m_targetDc->GetSelectedBitmap();
}
#endif
bool Blit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,