Fix linking code using wxDataViewCheckIconText under Unix

The class needs to use WXDLLIMPEXP_ADV in order for its (default,
compiler-generated) dtor to be generated inside the library, otherwise
this doesn't happen and linking code using this class inside a shared
library fails with errors due to the dtor being undefined.
This commit is contained in:
Vadim Zeitlin
2017-11-29 15:27:10 +01:00
parent 5b2f7aa96d
commit 7728c3a86d

View File

@@ -81,7 +81,7 @@ DECLARE_VARIANT_OBJECT_EXPORTED(wxDataViewIconText, WXDLLIMPEXP_ADV)
// wxDataViewCheckIconText: value class used by wxDataViewCheckIconTextRenderer
// ----------------------------------------------------------------------------
class wxDataViewCheckIconText : public wxDataViewIconText
class WXDLLIMPEXP_ADV wxDataViewCheckIconText : public wxDataViewIconText
{
public:
wxDataViewCheckIconText(const wxString& text = wxString(),