summaryrefslogtreecommitdiff
path: root/otk/messagedialog.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/messagedialog.hh')
-rw-r--r--otk/messagedialog.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/otk/messagedialog.hh b/otk/messagedialog.hh
index f49b4593..4a152bd4 100644
--- a/otk/messagedialog.hh
+++ b/otk/messagedialog.hh
@@ -22,6 +22,9 @@ public:
{}
inline const ustring& label() const { return _label; }
inline const bool& isDefault() const { return _default; }
+
+ bool operator==(const DialogButton &o) { return _label == o._label; }
+ bool operator!=(const DialogButton &o) { return !(_label == o._label); }
};
class MessageDialog : public Widget {