]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/activex/wxie/wxactivex.cpp
wx.ProgressDialog.Update now returns two values.
[wxWidgets.git] / wxPython / contrib / activex / wxie / wxactivex.cpp
index 2e13d8d5de70516515faa331db7cf4eeb190bfad..77d372d9937b86158cd923b12834926c681bf28a 100644 (file)
@@ -1706,7 +1706,6 @@ void wxActiveX::OnPaint(wxPaintEvent& event)
 {
     wxLogTrace(wxT(""),wxT("repainting activex win"));
     wxPaintDC dc(this);
-    dc.BeginDrawing();
     int w, h;
     GetSize(&w, &h);
     RECT posRect;
@@ -1731,7 +1730,6 @@ void wxActiveX::OnPaint(wxPaintEvent& event)
         dc.DrawRectangle(0, 0, w, h);
         dc.SetBrush(wxNullBrush);
     }
-    dc.EndDrawing();
 }