ecere/gui: Fixed error in last commit
authorJerome St-Louis <jerome@ecere.com>
Sun, 26 Feb 2012 14:39:28 +0000 (09:39 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 1 Mar 2012 04:53:37 +0000 (23:53 -0500)
ecere/src/gui/skins/WindowsSkin.ec

index e071ec1..0a6043c 100644 (file)
@@ -309,7 +309,7 @@ public class WindowsSkin_Window : Window
    {
       bool isNormal = (state == normal);
       int top = 0, border = 0, bottom = 0;
-      Window parentMenuBar = GetParentMenuBar() != null;
+      Window parentMenuBar = GetParentMenuBar();
 
       if(nativeDecorations && rootWindow == this) return;