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:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user