Remove double buffering from wxWebViewIE as this is handled by the web browser control itself and actually makes flickering worse. Also remove an unnecessary background style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -83,8 +83,6 @@ bool wxWebViewIE::Create(wxWindow* parent,
|
|||||||
|
|
||||||
m_container = new wxActiveXContainer(this, IID_IWebBrowser2, m_webBrowser);
|
m_container = new wxActiveXContainer(this, IID_IWebBrowser2, m_webBrowser);
|
||||||
|
|
||||||
SetBackgroundStyle(wxBG_STYLE_PAINT);
|
|
||||||
SetDoubleBuffered(true);
|
|
||||||
LoadURL(url);
|
LoadURL(url);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user