From 3e078d509c3decba1aeab4015c3f7c99b639eaf1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 20 Jun 2018 13:52:50 +0200 Subject: [PATCH] Remove WXDLLIMPEXP_CORE from wxArrayTreeItemIds declaration This class doesn't have any non-inline methods and so doesn't need to be exported from the DLL. This also avoids warnings in MSVC DLL build about using non dll-interface class wxArrayTreeItemIdsBase as base for dll-interface class wxArrayTreeItemIds (C4275). --- include/wx/treebase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/treebase.h b/include/wx/treebase.h index 3c75616d22..e2fd96d5e6 100644 --- a/include/wx/treebase.h +++ b/include/wx/treebase.h @@ -79,7 +79,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxTreeItemIdValue, wxArrayTreeItemIdsBase); // this is a wrapper around the array class defined above which allow to wok // with values of natural wxTreeItemId type instead of using wxTreeItemIdValue // and does it without any loss of efficiency -class WXDLLIMPEXP_CORE wxArrayTreeItemIds : public wxArrayTreeItemIdsBase +class wxArrayTreeItemIds : public wxArrayTreeItemIdsBase { public: void Add(const wxTreeItemId& id)