make DialogButtons take char*'s meaning that the label will always be Utf-8
authorDana Jansens <danakj@orodu.net>
Sun, 16 Feb 2003 12:30:34 +0000 (12:30 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Feb 2003 12:30:34 +0000 (12:30 +0000)
otk/messagedialog.hh

index cc8adc7..f49b459 100644 (file)
@@ -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; }