diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-16 12:30:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-16 12:30:34 +0000 |
| commit | cee0482c78b4c0a0c69724f16ef7eef5919278c1 (patch) | |
| tree | 50fe9f5d0ab234068c194a09904da340dba16855 | |
| parent | 213df2814b002da2c5f324210d44559f9d651e21 (diff) | |
make DialogButtons take char*'s meaning that the label will always be Utf-8
| -rw-r--r-- | otk/messagedialog.hh | 4 |
1 files changed, 1 insertions, 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; } |
