From e13a2cfd03226d3713af9777eac323cee60cd82c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 1 Nov 2018 08:50:59 -0700 Subject: [PATCH] Make wxGtkStyleContext ctor explicit, just to be safe --- include/wx/gtk/private/stylecontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/gtk/private/stylecontext.h b/include/wx/gtk/private/stylecontext.h index 6a5deef9c1..229b4f29a8 100644 --- a/include/wx/gtk/private/stylecontext.h +++ b/include/wx/gtk/private/stylecontext.h @@ -15,7 +15,7 @@ class wxGtkStyleContext { public: - wxGtkStyleContext(double scale = 1); + explicit wxGtkStyleContext(double scale = 1); ~wxGtkStyleContext(); wxGtkStyleContext& Add(GType type, const char* objectName, ...) G_GNUC_NULL_TERMINATED; wxGtkStyleContext& Add(const char* objectName);