make DialogButtons take char*'s meaning that the label will always be Utf-8
This commit is contained in:
parent
213df2814b
commit
cee0482c78
1 changed files with 1 additions and 3 deletions
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue