projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8789cc
)
provide == and != for DialogButtons
author
Dana Jansens
<danakj@orodu.net>
Sun, 16 Feb 2003 16:36:07 +0000
(16:36 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Feb 2003 16:36:07 +0000
(16:36 +0000)
otk/messagedialog.hh
patch
|
blob
|
history
diff --git
a/otk/messagedialog.hh
b/otk/messagedialog.hh
index f49b45934253a8d61d362eaa7b6129e100665f51..4a152bd46b152998bb73f0f5a0c6dc1702c23c7f 100644
(file)
--- 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 {