From 367424014639ff2262e0cd85debbf5d8c1bd533c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 30 Mar 2020 23:10:13 +0200 Subject: [PATCH] Add missing wx/scopedptr.h in wxMSW wxFileDialog code This file uses wxScopedPtr<> and so needs to include this header explicitly instead of relying on it being included indirectly from some other header, as happens in the default build, but not always. Closes #18711. --- src/msw/filedlg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 6cf4c84151..d043eaed08 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -44,6 +44,7 @@ #include "wx/dynlib.h" #include "wx/filename.h" +#include "wx/scopedptr.h" #include "wx/scopeguard.h" #include "wx/tokenzr.h" #include "wx/modalhook.h"