Permalink
Browse files

Wpf: remove unused control template code

  • Loading branch information...
1 parent bb06dab commit a0267f8db34bd816d3f33cf952b1d157d3011834 @ataranto ataranto committed Apr 11, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −1 CefSharp.Wpf/WebView.cpp
  2. +0 −1 CefSharp.Wpf/WebView.h
View
@@ -574,7 +574,6 @@ namespace Wpf
source->AddHook(gcnew Interop::HwndSourceHook(this, &WebView::SourceHook));
- _image = (Image^)GetTemplateChild("PART_Image");
Content = _image = gcnew Image();
_image->Stretch = Stretch::None;
_image->HorizontalAlignment = ::HorizontalAlignment::Left;
View
@@ -21,7 +21,6 @@ namespace CefSharp
{
namespace Wpf
{
- [TemplatePart(Name="PART_Browser", Type=Image::typeid)]
public ref class WebView sealed : public ContentControl, IRenderWebBrowser
{
private:

0 comments on commit a0267f8

Please sign in to comment.