diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-27 09:33:39 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 09:33:39 +0200 |
commit | 28a1e1dded72badd8ad16417d29b56f9476035d6 (patch) | |
tree | 10d6755de986a389add869568a327224210abbfe /include | |
parent | f2d556ca02827d0d77d06388bfe1a40739f4d1f8 (diff) |
fix macro and enum name collision using CamelCase
so that the enum names remain consistent
Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/wintypes.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/tools/wintypes.hxx b/include/tools/wintypes.hxx index e04248316396..897e63578759 100644 --- a/include/tools/wintypes.hxx +++ b/include/tools/wintypes.hxx @@ -298,18 +298,18 @@ enum class SymbolAlign { LEFT, RIGHT }; enum class StandardButtonType { OK = 0, - CANCEL = 1, - SB_YES = 2, // overlaps with YES constant on MacOS - NO = 3, - RETRY = 4, - HELP = 5, - CLOSE = 6, - MORE = 7, - SB_IGNORE = 8, // overlaps with IGNORE constant on Windows - ABORT = 9, - LESS = 10, - RESET = 11, - COUNT = 12, + Cancel = 1, + Yes = 2, + No = 3, + Retry = 4, + Help = 5, + Close = 6, + More = 7, + Ignore = 8, + Abort = 9, + Less = 10, + Reset = 11, + Count = 12, }; // prominent place for ListBox window types |