From 56a51ad1e739de26bd12cbde71d457b6e837449e Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 28 Jul 2018 20:14:26 +0200 Subject: [PATCH] fixing non-precompiled header build, adding method body --- include/wx/osx/core/cfdictionary.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wx/osx/core/cfdictionary.h b/include/wx/osx/core/cfdictionary.h index a935791da3..e3aeec32bb 100644 --- a/include/wx/osx/core/cfdictionary.h +++ b/include/wx/osx/core/cfdictionary.h @@ -19,6 +19,10 @@ #include +#ifndef WX_PRECOMP +#include "wx/string.h" +#endif + class wxCFTypeRef : public wxCFRef { public: @@ -195,7 +199,7 @@ public: void SetValue(const void*key, CGFloat v) { - + SetValue( key, wxCFNumberRef(v)); } };