make DialogButtons take char*'s meaning that the label will always be Utf-8
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
otk/messagedialog.hh
→
otk/messagedialog.hh
@@ -18,9 +18,7 @@ bool _default;
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; }