Remove old/new DC test code (3000th commit - and still typing)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2007-12-16 13:53:07 +00:00
parent 2e452c4576
commit c21c8158e9

View File

@ -1439,17 +1439,16 @@ bool wxWindowDCImpl::DoBlit( wxCoord xdest, wxCoord ydest,
else
{
// No scaling and not a memory dc with a mask either
#if wxUSE_NEW_DC
GdkWindow* window = NULL;
wxDCImpl *impl = source->GetImpl();
wxWindowDCImpl *gtk_impl = wxDynamicCast(impl, wxWindowDCImpl);
if (gtk_impl)
window = gtk_impl->GetGDKWindow();
#else
GdkWindow* window = source->GetGDKWindow();
#endif
if ( !window )
{
SetLogicalFunction( old_logical_func );
return false;
}
// copy including child window contents
gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS );