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
This commit is contained in:
Robin Dunn 2004-05-24 20:10:32 +00:00
parent cadea444a0
commit ab0f5fa6a7
4 changed files with 6 additions and 6 deletions

View File

@ -547,7 +547,7 @@ void ScintillaWX::DoPaint(wxDC* dc, wxRect rect) {
if (paintState == paintAbandoned) { if (paintState == paintAbandoned) {
// Painting area was insufficient to cover new styling or brace // Painting area was insufficient to cover new styling or brace
// highlight positions // highlight positions
FullPaint(dc); FullPaint();
} }
paintState = notPainting; paintState = notPainting;
dc->EndDrawing(); dc->EndDrawing();
@ -862,7 +862,7 @@ void ScintillaWX::DoDragLeave() {
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Force the whole window to be repainted // Force the whole window to be repainted
void ScintillaWX::FullPaint(wxDC *dc) { void ScintillaWX::FullPaint() {
stc->Refresh(false); stc->Refresh(false);
stc->Update(); stc->Update();
} }

View File

@ -158,7 +158,7 @@ public:
// helpers // helpers
void FullPaint(wxDC *dc); void FullPaint();
bool CanPaste(); bool CanPaste();
bool GetHideSelection() { return hideSelection; } bool GetHideSelection() { return hideSelection; }
void DoScrollToLine(int line); void DoScrollToLine(int line);

View File

@ -547,7 +547,7 @@ void ScintillaWX::DoPaint(wxDC* dc, wxRect rect) {
if (paintState == paintAbandoned) { if (paintState == paintAbandoned) {
// Painting area was insufficient to cover new styling or brace // Painting area was insufficient to cover new styling or brace
// highlight positions // highlight positions
FullPaint(dc); FullPaint();
} }
paintState = notPainting; paintState = notPainting;
dc->EndDrawing(); dc->EndDrawing();
@ -862,7 +862,7 @@ void ScintillaWX::DoDragLeave() {
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Force the whole window to be repainted // Force the whole window to be repainted
void ScintillaWX::FullPaint(wxDC *dc) { void ScintillaWX::FullPaint() {
stc->Refresh(false); stc->Refresh(false);
stc->Update(); stc->Update();
} }

View File

@ -158,7 +158,7 @@ public:
// helpers // helpers
void FullPaint(wxDC *dc); void FullPaint();
bool CanPaste(); bool CanPaste();
bool GetHideSelection() { return hideSelection; } bool GetHideSelection() { return hideSelection; }
void DoScrollToLine(int line); void DoScrollToLine(int line);