From: Dana Jansens Date: Sun, 16 Feb 2003 12:30:34 +0000 (+0000) Subject: make DialogButtons take char*'s meaning that the label will always be Utf-8 X-Git-Tag: openbox-3_0-rc1-RELEASE~2084 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=cee0482c78b4c0a0c69724f16ef7eef5919278c1;p=mikachu%2Fopenbox.git make DialogButtons take char*'s meaning that the label will always be Utf-8 --- diff --git a/otk/messagedialog.hh b/otk/messagedialog.hh index cc8adc70..f49b4593 100644 --- a/otk/messagedialog.hh +++ b/otk/messagedialog.hh @@ -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; }