]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't call BeginDrawing/EndDrawing, they're deprecated.
authorRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 04:01:29 +0000 (04:01 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 11 Oct 2006 04:01:29 +0000 (04:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/include/wx/wxPython/pseudodc.h

index b27d98876c1a53d712735df25cb5397f92641335..4889f25b6f183e72343692e868fa24e333757301 100644 (file)
@@ -189,14 +189,14 @@ class pdcBeginDrawingOp : public pdcOp
 {
     public:
         pdcBeginDrawingOp() {}
-        virtual void DrawToDC(wxDC *dc, bool WXUNUSED(grey)=false) {dc->BeginDrawing();}
+        virtual void DrawToDC(wxDC *WXUNUSED(dc), bool WXUNUSED(grey)=false) {}
 };
 
 class pdcEndDrawingOp : public pdcOp
 {
     public:
         pdcEndDrawingOp() {}
-        virtual void DrawToDC(wxDC *dc, bool WXUNUSED(grey)=false) {dc->EndDrawing();}
+        virtual void DrawToDC(wxDC *WXUNUSED(dc), bool WXUNUSED(grey)=false) {}
 };
 
 class pdcFloodFillOp : public pdcOp