From bdc260bf536adc20f9ad8b54924cd963889ce5c1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 5 Jan 2023 18:58:24 +0100 Subject: [PATCH] Include wx/string.h from the files that use wxString Don't rely on this header being implicitly included by wx/object.h even though it does include it right now. No real changes. --- include/wx/accel.h | 1 + include/wx/module.h | 1 + src/common/encconv.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/include/wx/accel.h b/include/wx/accel.h index cb8d08a120..02289f599d 100644 --- a/include/wx/accel.h +++ b/include/wx/accel.h @@ -16,6 +16,7 @@ #if wxUSE_ACCEL #include "wx/object.h" +#include "wx/string.h" class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable; class WXDLLIMPEXP_FWD_CORE wxMenuItem; diff --git a/include/wx/module.h b/include/wx/module.h index 5684ed047f..6834571ba4 100644 --- a/include/wx/module.h +++ b/include/wx/module.h @@ -12,6 +12,7 @@ #define _WX_MODULE_H_ #include "wx/object.h" +#include "wx/string.h" #include "wx/vector.h" class wxModule; diff --git a/src/common/encconv.cpp b/src/common/encconv.cpp index 398f1d1431..75ec493b28 100644 --- a/src/common/encconv.cpp +++ b/src/common/encconv.cpp @@ -12,6 +12,7 @@ #include "wx/encconv.h" +#include "wx/string.h" #include