From 91c93b48e97f850165532032c13c8026bb457e55 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 29 Apr 2000 02:45:22 +0000 Subject: [PATCH] Fixed FullPaint for brace matching git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/ScintillaWX.cpp | 13 +++++++------ src/stc/ScintillaWX.cpp | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index 7c46d2f86f..82f784bb71 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -434,12 +434,13 @@ void ScintillaWX::DoDragLeave() { // Redraw all of text area. This paint will not be abandoned. void ScintillaWX::FullPaint() { paintState = painting; - rcPaint = GetTextRectangle(); - wxClientDC dc(wMain.GetID()); - Surface surfaceWindow; - surfaceWindow.Init(&dc); - Paint(&surfaceWindow, rcPaint); - surfaceWindow.Release(); +// rcPaint = GetTextRectangle(); +// wxClientDC dc(wMain.GetID()); +// Surface surfaceWindow; +// surfaceWindow.Init(&dc); +// Paint(&surfaceWindow, rcPaint); +// surfaceWindow.Release(); + wMain.GetID()->Refresh(FALSE); paintState = notPainting; } diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index 7c46d2f86f..82f784bb71 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -434,12 +434,13 @@ void ScintillaWX::DoDragLeave() { // Redraw all of text area. This paint will not be abandoned. void ScintillaWX::FullPaint() { paintState = painting; - rcPaint = GetTextRectangle(); - wxClientDC dc(wMain.GetID()); - Surface surfaceWindow; - surfaceWindow.Init(&dc); - Paint(&surfaceWindow, rcPaint); - surfaceWindow.Release(); +// rcPaint = GetTextRectangle(); +// wxClientDC dc(wMain.GetID()); +// Surface surfaceWindow; +// surfaceWindow.Init(&dc); +// Paint(&surfaceWindow, rcPaint); +// surfaceWindow.Release(); + wMain.GetID()->Refresh(FALSE); paintState = notPainting; }