summaryrefslogtreecommitdiffstats
path: root/WebKit/wx/WebView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/wx/WebView.cpp')
-rw-r--r--WebKit/wx/WebView.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/WebKit/wx/WebView.cpp b/WebKit/wx/WebView.cpp
index f390017..3ed9785 100644
--- a/WebKit/wx/WebView.cpp
+++ b/WebKit/wx/WebView.cpp
@@ -25,6 +25,7 @@
#include "config.h"
#include "CString.h"
+#include "DeprecatedString.h"
#include "Document.h"
#include "Element.h"
#include "Editor.h"
@@ -421,9 +422,6 @@ void wxWebView::OnPaint(wxPaintEvent& event)
wxRect paintRect = GetUpdateRegion().GetBox();
WebCore::IntSize offset = m_impl->frameView->scrollOffset();
-#if USE(WXGC)
- gcdc.SetDeviceOrigin(-offset.width(), -offset.height());
-#endif
dc.SetDeviceOrigin(-offset.width(), -offset.height());
paintRect.Offset(offset.width(), offset.height());