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:
parent
cadea444a0
commit
ab0f5fa6a7
@ -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();
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ public:
|
||||
|
||||
|
||||
// helpers
|
||||
void FullPaint(wxDC *dc);
|
||||
void FullPaint();
|
||||
bool CanPaste();
|
||||
bool GetHideSelection() { return hideSelection; }
|
||||
void DoScrollToLine(int line);
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ public:
|
||||
|
||||
|
||||
// helpers
|
||||
void FullPaint(wxDC *dc);
|
||||
void FullPaint();
|
||||
bool CanPaste();
|
||||
bool GetHideSelection() { return hideSelection; }
|
||||
void DoScrollToLine(int line);
|
||||
|
Loading…
Reference in New Issue
Block a user