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).
This commit is contained in:
Vadim Zeitlin
2018-06-20 13:52:50 +02:00
parent c58d7755a1
commit 3e078d509c

View File

@@ -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 // this is a wrapper around the array class defined above which allow to wok
// with values of natural wxTreeItemId type instead of using wxTreeItemIdValue // with values of natural wxTreeItemId type instead of using wxTreeItemIdValue
// and does it without any loss of efficiency // and does it without any loss of efficiency
class WXDLLIMPEXP_CORE wxArrayTreeItemIds : public wxArrayTreeItemIdsBase class wxArrayTreeItemIds : public wxArrayTreeItemIdsBase
{ {
public: public:
void Add(const wxTreeItemId& id) void Add(const wxTreeItemId& id)