Permalink
Browse files

Make ToolTip/Image/Shortcut non-virtual. If setting these values in a…

… constructor, then the behaviour is undefined.
  • Loading branch information...
1 parent e2b1f14 commit 443aba8f7acb98ff8386c02401b5c2c28fcc4ed1 @cwensley cwensley committed Mar 26, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 Source/Eto/Forms/Command.cs
@@ -126,13 +126,13 @@ public virtual bool Enabled
public string ToolBarText { get; set; }
- public virtual string ToolTip { get; set; }
+ public string ToolTip { get; set; }
public bool ShowLabel { get; set; }
- public virtual Image Image { get; set; }
+ public Image Image { get; set; }
- public virtual Keys Shortcut { get; set; }
+ public Keys Shortcut { get; set; }
#endregion

0 comments on commit 443aba8

Please sign in to comment.