From 97001b17e966390a2e2a7d2abed7dad3b92fac94 Mon Sep 17 00:00:00 2001 From: batzen Date: Thu, 22 Oct 2015 17:40:19 +0200 Subject: [PATCH] Fixes #178 by removing UpdateWindowChrome from OnApplyTemplate. UpdateWindowChrome is called in OnSourceInitialized anyway. --- Fluent/Controls/RibbonWindow.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Fluent/Controls/RibbonWindow.cs b/Fluent/Controls/RibbonWindow.cs index b89b14ce2..b26b17779 100644 --- a/Fluent/Controls/RibbonWindow.cs +++ b/Fluent/Controls/RibbonWindow.cs @@ -357,8 +357,6 @@ public override void OnApplyTemplate() this.UpdateCanUseDwm(); - this.UpdateWindowChrome(); - if (this.iconImage != null) { this.iconImage.MouseDown -= this.HandleIconMouseDown;