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