]> git.saurik.com Git - wxWidgets.git/commitdiff
No longer any need for the dc parameter to FullPaint.
authorRobin Dunn <robin@alldunn.com>
Mon, 24 May 2004 20:10:32 +0000 (20:10 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 24 May 2004 20:10:32 +0000 (20:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/ScintillaWX.cpp
contrib/src/stc/ScintillaWX.h
src/stc/ScintillaWX.cpp
src/stc/ScintillaWX.h

index 62ac066fb93b56683f92c7cbea8410d0002f8613..485b612cc995a46a6413af7844b4438f6a70b0b8 100644 (file)
@@ -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
     if (paintState == paintAbandoned) {
         // Painting area was insufficient to cover new styling or brace
         // highlight positions
-        FullPaint(dc);
+        FullPaint();
     }
     paintState = notPainting;
     dc->EndDrawing();
     }
     paintState = notPainting;
     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->Update();
 }
     stc->Refresh(false);
     stc->Update();
 }
index 06b6fec31068053993c4c54cb812b32bc54a9525..bb09a482bf18dae42150b4940d4f9aadeea1266b 100644 (file)
@@ -158,7 +158,7 @@ public:
 
 
     // helpers
 
 
     // helpers
-    void FullPaint(wxDC *dc);
+    void FullPaint();
     bool CanPaste();
     bool GetHideSelection() { return hideSelection; }
     void DoScrollToLine(int line);
     bool CanPaste();
     bool GetHideSelection() { return hideSelection; }
     void DoScrollToLine(int line);
index 62ac066fb93b56683f92c7cbea8410d0002f8613..485b612cc995a46a6413af7844b4438f6a70b0b8 100644 (file)
@@ -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
     if (paintState == paintAbandoned) {
         // Painting area was insufficient to cover new styling or brace
         // highlight positions
-        FullPaint(dc);
+        FullPaint();
     }
     paintState = notPainting;
     dc->EndDrawing();
     }
     paintState = notPainting;
     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->Update();
 }
     stc->Refresh(false);
     stc->Update();
 }
index 06b6fec31068053993c4c54cb812b32bc54a9525..bb09a482bf18dae42150b4940d4f9aadeea1266b 100644 (file)
@@ -158,7 +158,7 @@ public:
 
 
     // helpers
 
 
     // helpers
-    void FullPaint(wxDC *dc);
+    void FullPaint();
     bool CanPaste();
     bool GetHideSelection() { return hideSelection; }
     void DoScrollToLine(int line);
     bool CanPaste();
     bool GetHideSelection() { return hideSelection; }
     void DoScrollToLine(int line);