From ed89fc5f3bfe9a323a3a6b12309c71dc865d3503 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Jan 2024 01:42:54 +0100 Subject: [PATCH] Make wxImageListBase DLL-exported to fix MSVS warnings Without a DLL export declaration on this class MSVS complains about using it as a base class for DLL-exported wxImageList, so do provide this declaration, even if it's not normally necessary because there are no member functions of this class in the shared library, just to avoid the warning. Closes #24232. --- include/wx/imaglist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/imaglist.h b/include/wx/imaglist.h index e57df6cac0..7338c3fcdf 100644 --- a/include/wx/imaglist.h +++ b/include/wx/imaglist.h @@ -48,7 +48,7 @@ enum #define wxIMAGELIST_DRAW_FOCUSED 0x0008 // Define the interface of platform-specific wxImageList class. -class wxImageListBase : public wxObject +class WXDLLIMPEXP_CORE wxImageListBase : public wxObject { public: /*