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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user