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