Put back some code that was commented out for testing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-03-27 17:29:04 +00:00
parent f2e1c18a79
commit a7642be106
2 changed files with 20 additions and 14 deletions

View File

@@ -473,13 +473,16 @@ void ScintillaWX::DoDragLeave() {
// Redraw all of text area. This paint will not be abandoned. // Redraw all of text area. This paint will not be abandoned.
void ScintillaWX::FullPaint() { void ScintillaWX::FullPaint() {
paintState = painting; paintState = painting;
// rcPaint = GetTextRectangle(); rcPaint = GetTextRectangle();
// wxClientDC dc(wMain.GetID()); paintingAllText = true;
// Surface surfaceWindow; wxClientDC dc(wMain.GetID());
// surfaceWindow.Init(&dc); Surface surfaceWindow;
// Paint(&surfaceWindow, rcPaint); surfaceWindow.Init(&dc);
// surfaceWindow.Release(); Paint(&surfaceWindow, rcPaint);
wMain.GetID()->Refresh(FALSE); surfaceWindow.Release();
// wMain.GetID()->Refresh(FALSE);
paintState = notPainting; paintState = notPainting;
} }

View File

@@ -473,13 +473,16 @@ void ScintillaWX::DoDragLeave() {
// Redraw all of text area. This paint will not be abandoned. // Redraw all of text area. This paint will not be abandoned.
void ScintillaWX::FullPaint() { void ScintillaWX::FullPaint() {
paintState = painting; paintState = painting;
// rcPaint = GetTextRectangle(); rcPaint = GetTextRectangle();
// wxClientDC dc(wMain.GetID()); paintingAllText = true;
// Surface surfaceWindow; wxClientDC dc(wMain.GetID());
// surfaceWindow.Init(&dc); Surface surfaceWindow;
// Paint(&surfaceWindow, rcPaint); surfaceWindow.Init(&dc);
// surfaceWindow.Release(); Paint(&surfaceWindow, rcPaint);
wMain.GetID()->Refresh(FALSE); surfaceWindow.Release();
// wMain.GetID()->Refresh(FALSE);
paintState = notPainting; paintState = notPainting;
} }