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:
parent
5b2f7aa96d
commit
7728c3a86d
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue