From 1eef3fc5fc0603fa885f7990b0efa40f8f97cebb Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Mon, 31 Jul 2017 23:50:06 +0200 Subject: [PATCH] Add header file with missing wxScopedPtr declaration wxScopedPtr is referred in wxSVGFileDCImpl declaration, but corresponding header file is not explicitly included. This can break the compilation if wxScopedPtr declaration is not included by chance by another module (e.g. is taken from translation.h but it is not effective when wxUSE_INTL==0). --- include/wx/dcsvg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 5f668066fb..66d1cb42ea 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -16,6 +16,8 @@ #if wxUSE_SVG +#include "wx/scopedptr.h" + #define wxSVGVersion wxT("v0101") class WXDLLIMPEXP_FWD_BASE wxFileOutputStream;