summaryrefslogtreecommitdiff
path: root/wx+/choice_enum.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2016-03-16 21:31:24 +0100
committerDaniel Wilhelm <daniel@wili.li>2016-03-16 21:31:24 +0100
commit89621addb4a7c87d2e3f3e7462e3c690cf71de71 (patch)
tree008b5dea7624ee1eeb57ff82c45fdf1afcab3b08 /wx+/choice_enum.h
parent7.5 (diff)
downloadFreeFileSync-89621addb4a7c87d2e3f3e7462e3c690cf71de71.tar.gz
FreeFileSync-89621addb4a7c87d2e3f3e7462e3c690cf71de71.tar.bz2
FreeFileSync-89621addb4a7c87d2e3f3e7462e3c690cf71de71.zip
7.6
Diffstat (limited to 'wx+/choice_enum.h')
-rw-r--r--wx+/choice_enum.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/wx+/choice_enum.h b/wx+/choice_enum.h
index 9b1575ee..86daf213 100644
--- a/wx+/choice_enum.h
+++ b/wx+/choice_enum.h
@@ -4,8 +4,8 @@
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
// **************************************************************************
-#ifndef WX_CHOICE_ENUM_H_INCLUDED
-#define WX_CHOICE_ENUM_H_INCLUDED
+#ifndef CHOICE_ENUM_H_132413545345687
+#define CHOICE_ENUM_H_132413545345687
#include <vector>
#include <wx/choice.h>
@@ -39,7 +39,7 @@ namespace zen
template <class Enum>
struct EnumDescrList
{
- EnumDescrList& add(Enum value, const wxString& text, const wxString& tooltip = wxEmptyString)
+ EnumDescrList& add(Enum value, const wxString& text, const wxString& tooltip = {})
{
descrList.emplace_back(value, std::make_pair(text, tooltip));
return *this;
@@ -112,4 +112,4 @@ template <class Enum> void updateTooltipEnumVal(const EnumDescrList<Enum>& mappi
}
-#endif //WX_CHOICE_ENUM_H_INCLUDED
+#endif //CHOICE_ENUM_H_132413545345687
bgstack15