better windows painting in wxMGL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-10-13 22:49:57 +00:00
parent a9f994d915
commit b8c0528db3
5 changed files with 31 additions and 28 deletions

View File

@@ -1098,6 +1098,12 @@ void wxWindowMGL::HandlePaint(MGLDevCtx *dc)
return;
}
#if 0 // FIXME_MGL -- debugging stuff!
dc->setColorRGB(255,0,255);
dc->fillRect(-1000,-1000,2000,2000);
wxUsleep(100);
#endif
MGLRegion clip;
dc->getClipRegion(clip);
m_updateRegion = wxRegion(clip);