X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b6e73390c1e2ad47afd3f196e19cb2c67a78564..8ec09aacc6d8a0ef8c8e3910c46258bc20f0734b:/wxPython/contrib/activex/wxie/wxactivex.cpp diff --git a/wxPython/contrib/activex/wxie/wxactivex.cpp b/wxPython/contrib/activex/wxie/wxactivex.cpp index 2e13d8d5de..77d372d993 100644 --- a/wxPython/contrib/activex/wxie/wxactivex.cpp +++ b/wxPython/contrib/activex/wxie/wxactivex.cpp @@ -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(); }