From 361bd114009bb5b698be828bc51579812c692956 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 26 Aug 2006 00:28:41 +0000 Subject: [PATCH] Avoid deprecation warnings for BeginDrawing and EndDrawing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/include/wx/wxPython/pseudodc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wxPython/include/wx/wxPython/pseudodc.h b/wxPython/include/wx/wxPython/pseudodc.h index 351b153e12..d8e0548e4b 100644 --- a/wxPython/include/wx/wxPython/pseudodc.h +++ b/wxPython/include/wx/wxPython/pseudodc.h @@ -155,14 +155,14 @@ class pdcBeginDrawingOp : public pdcOp { public: pdcBeginDrawingOp() {} - virtual void DrawToDC(wxDC *dc) {dc->BeginDrawing();} + virtual void DrawToDC(wxDC *) {} }; class pdcEndDrawingOp : public pdcOp { public: pdcEndDrawingOp() {} - virtual void DrawToDC(wxDC *dc) {dc->EndDrawing();} + virtual void DrawToDC(wxDC *) {} }; class pdcFloodFillOp : public pdcOp @@ -713,10 +713,10 @@ public: void Clear() {AddToList(new pdcClearOp());} - void BeginDrawing() - {AddToList(new pdcBeginDrawingOp());} - void EndDrawing() - {AddToList(new pdcEndDrawingOp());} + void BeginDrawing() + {AddToList(new pdcBeginDrawingOp());} + void EndDrawing() + {AddToList(new pdcEndDrawingOp());} protected: // ------------------------------------------------------------------------