// Purpose: implementation of wxNonOwnedWindow
// Author: Vaclav Slavik
// Created: 2006-12-24
-// RCS-ID: $Id$
// Copyright: (c) 2006 REA Elektronik GmbH
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// blit the entire back buffer to front soon
m_isPainting = true;
-#ifdef __WXDEBUG__
int requestsCount = 0;
-#endif
wxRect request;
while ( m_toPaint->GetNext(request) )
{
-#ifdef __WXDEBUG__
requestsCount++;
-#endif
wxRect clipped(request);
clipped.Intersect(winRect);
if ( clipped.IsEmpty() )