Remove WizardButton factory

This commit is contained in:
John Lewin 2018-04-14 20:51:01 -07:00
parent be71743435
commit b1cc3fe5ac
19 changed files with 60 additions and 47 deletions

View file

@ -91,7 +91,7 @@ namespace MatterHackers.MatterControl
}
}
Button affirmativeButton = textImageButtonFactory.Generate(yesOk);
var affirmativeButton = theme.CreateDialogButton(yesOk);
affirmativeButton.Click += (s, e) =>
{
UiThread.RunOnIdle(this.WizardWindow.Close);