Merge remote-tracking branch 'remotes/upstream/master' into feature/winforms-tabbed

This commit is contained in:
amaitland
2014-10-14 10:46:17 +10:00
2 changed files with 4 additions and 1 deletions
@@ -42,6 +42,7 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
+3 -1
View File
@@ -140,7 +140,9 @@ namespace CefSharp.WinForms
protected override void OnSizeChanged(EventArgs e)
{
base.OnSizeChanged(e);
if (managedCefBrowserAdapter != null)
// Size is 0x0 when we are on a modeless Form which is minimized.
if (!Size.IsEmpty && managedCefBrowserAdapter != null)
managedCefBrowserAdapter.OnSizeChanged(Handle);
}