make DialogButtons take char*'s meaning that the label will always be Utf-8

This commit is contained in:
Dana Jansens 2003-02-16 12:30:34 +00:00
parent 213df2814b
commit cee0482c78

View file

@ -18,9 +18,7 @@ class DialogButton {
public:
DialogButton(char *label) : _label(label), _default(false)
{}
DialogButton(ustring label) : _label(label), _default(false)
{}
DialogButton(ustring label, bool def) : _label(label), _default(def)
DialogButton(char *label, bool def) : _label(label), _default(def)
{}
inline const ustring& label() const { return _label; }
inline const bool& isDefault() const { return _default; }