From cee0482c78b4c0a0c69724f16ef7eef5919278c1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Feb 2003 12:30:34 +0000 Subject: [PATCH] make DialogButtons take char*'s meaning that the label will always be Utf-8 --- otk/messagedialog.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; }