Merge pull request #411 from lextm/issue409

Fixed #409 by adding a default constructor to CommandBarControl.
This commit is contained in:
Scott Lovegrove 2016-03-08 10:54:39 +00:00
commit 92b1391234
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ namespace OpenLiveWriter.ApplicationFramework
protected CommandBarLightweightControl _commandBar;
public CommandBarControl()
{
InitializeComponent();
}
public CommandBarControl(CommandBarLightweightControl commandBar, CommandBarDefinition commandBarDefinition)
{
// It's important that the commandBarDefinition not be set