summaryrefslogtreecommitdiff
path: root/wx+/choice_enum.h
diff options
context:
space:
mode:
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