From 65bf966e3c166ea86f28e3ac2af09a67d3621d69 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 18 Apr 2023 00:40:47 +0100 Subject: [PATCH] Explicitly include wx/wxcrt.h from wxMSW wxUILocale This header is needed here as the code uses wxStrlcpy() declared in it, so include it directly instead of relying on it being included indirectly via wx/hashmap.h. --- src/msw/uilocale.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/msw/uilocale.cpp b/src/msw/uilocale.cpp index 69311adde3..346ec84610 100644 --- a/src/msw/uilocale.cpp +++ b/src/msw/uilocale.cpp @@ -27,6 +27,7 @@ #include "wx/scopedarray.h" #include "wx/dynlib.h" +#include "wx/wxcrt.h" #ifndef LOCALE_NAME_USER_DEFAULT #define LOCALE_NAME_USER_DEFAULT nullptr