From ab0f5fa6a768d9cebba68608a0709ecccd949f5a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 24 May 2004 20:10:32 +0000 Subject: [PATCH] No longer any need for the dc parameter to FullPaint. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/ScintillaWX.cpp | 4 ++-- contrib/src/stc/ScintillaWX.h | 2 +- src/stc/ScintillaWX.cpp | 4 ++-- src/stc/ScintillaWX.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) 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); -- 2.45.2