Fix marking wxPGIterator template class with dllexport/import attributes

It's not allowed to mark the class template. Only explicit instantiation can be marked with dllexport/import attributes.
This commit is contained in:
Artur Wieczorek
2019-06-29 10:19:03 +02:00
parent d0a61a09ec
commit d55cf1fc1f

View File

@@ -210,7 +210,7 @@ private:
};
template <typename PROPERTY, typename STATE>
class WXDLLIMPEXP_PROPGRID wxPGIterator : public wxPropertyGridIteratorBase
class wxPGIterator : public wxPropertyGridIteratorBase
{
public:
wxPGIterator(STATE* state, int flags = wxPG_ITERATE_DEFAULT,
@@ -267,8 +267,8 @@ public:
// Preferable way to iterate through contents of wxPropertyGrid,
// wxPropertyGridManager, and wxPropertyGridPage.
// See wxPropertyGridInterface::GetIterator() for more information about usage.
typedef wxPGIterator<wxPGProperty, wxPropertyGridPageState> wxPropertyGridIterator;
typedef wxPGIterator<const wxPGProperty, const wxPropertyGridPageState> wxPropertyGridConstIterator;
typedef WXDLLIMPEXP_PROPGRID wxPGIterator<wxPGProperty, wxPropertyGridPageState> wxPropertyGridIterator;
typedef WXDLLIMPEXP_PROPGRID wxPGIterator<const wxPGProperty, const wxPropertyGridPageState> wxPropertyGridConstIterator;
// -----------------------------------------------------------------------