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
This commit is contained in:
Robin Dunn
2000-04-29 02:45:22 +00:00
parent 1f9c607e98
commit 91c93b48e9
2 changed files with 14 additions and 12 deletions

View File

@@ -434,12 +434,13 @@ 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()); // wxClientDC dc(wMain.GetID());
Surface surfaceWindow; // Surface surfaceWindow;
surfaceWindow.Init(&dc); // surfaceWindow.Init(&dc);
Paint(&surfaceWindow, rcPaint); // Paint(&surfaceWindow, rcPaint);
surfaceWindow.Release(); // surfaceWindow.Release();
wMain.GetID()->Refresh(FALSE);
paintState = notPainting; paintState = notPainting;
} }

View File

@@ -434,12 +434,13 @@ 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()); // wxClientDC dc(wMain.GetID());
Surface surfaceWindow; // Surface surfaceWindow;
surfaceWindow.Init(&dc); // surfaceWindow.Init(&dc);
Paint(&surfaceWindow, rcPaint); // Paint(&surfaceWindow, rcPaint);
surfaceWindow.Release(); // surfaceWindow.Release();
wMain.GetID()->Refresh(FALSE);
paintState = notPainting; paintState = notPainting;
} }