Fix using unique_ptr<> in the builds with wxUSE_INTL==0

Include standard library <memory> header file explicitly in the files
where std::unique_ptr<> is used instead of relying it on getting
implicitly included from the other headers, as this doesn't happen when
wxUSE_INTL==0.

Closes #23999.
This commit is contained in:
Randalphwa 2023-10-25 10:08:25 -07:00 committed by Vadim Zeitlin
parent 600049f20c
commit b297edbe79
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,8 @@
#include "wx/wxprec.h"
#include <memory>
#if wxUSE_FS_ARCHIVE
#include "wx/fs_arc.h"

View file

@ -17,6 +17,7 @@
#include "wx/wxprec.h"
#include <memory>
#ifndef WX_PRECOMP
#include "wx/app.h"