diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index 62ac066fb9..485b612cc9 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -547,7 +547,7 @@ void ScintillaWX::DoPaint(wxDC* dc, wxRect rect) { if (paintState == paintAbandoned) { // Painting area was insufficient to cover new styling or brace // highlight positions - FullPaint(dc); + FullPaint(); } paintState = notPainting; dc->EndDrawing(); @@ -862,7 +862,7 @@ void ScintillaWX::DoDragLeave() { //---------------------------------------------------------------------- // Force the whole window to be repainted -void ScintillaWX::FullPaint(wxDC *dc) { +void ScintillaWX::FullPaint() { stc->Refresh(false); stc->Update(); } diff --git a/contrib/src/stc/ScintillaWX.h b/contrib/src/stc/ScintillaWX.h index 06b6fec310..bb09a482bf 100644 --- a/contrib/src/stc/ScintillaWX.h +++ b/contrib/src/stc/ScintillaWX.h @@ -158,7 +158,7 @@ public: // helpers - void FullPaint(wxDC *dc); + void FullPaint(); bool CanPaste(); bool GetHideSelection() { return hideSelection; } void DoScrollToLine(int line); diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index 62ac066fb9..485b612cc9 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -547,7 +547,7 @@ void ScintillaWX::DoPaint(wxDC* dc, wxRect rect) { if (paintState == paintAbandoned) { // Painting area was insufficient to cover new styling or brace // highlight positions - FullPaint(dc); + FullPaint(); } paintState = notPainting; dc->EndDrawing(); @@ -862,7 +862,7 @@ void ScintillaWX::DoDragLeave() { //---------------------------------------------------------------------- // Force the whole window to be repainted -void ScintillaWX::FullPaint(wxDC *dc) { +void ScintillaWX::FullPaint() { stc->Refresh(false); stc->Update(); } diff --git a/src/stc/ScintillaWX.h b/src/stc/ScintillaWX.h index 06b6fec310..bb09a482bf 100644 --- a/src/stc/ScintillaWX.h +++ b/src/stc/ScintillaWX.h @@ -158,7 +158,7 @@ public: // helpers - void FullPaint(wxDC *dc); + void FullPaint(); bool CanPaste(); bool GetHideSelection() { return hideSelection; } void DoScrollToLine(int line);