From 1f504d3c5caf52c0ddcb07ccf100334361e5a791 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Sat, 26 Dec 2020 15:54:43 +0100 Subject: [PATCH] Fix using wxThreadHelper in DLL builds Remove the unnecessary and actually harmful WXDLLIMPEXP_BASE from the declaration of wxThreadHelperThread and wxThreadHelper classes that only have inline methods. --- include/wx/thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/thread.h b/include/wx/thread.h index 5e90bb63ab..78dcc49cb4 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -649,7 +649,7 @@ private: // wxThreadHelperThread class // -------------------------- -class WXDLLIMPEXP_BASE wxThreadHelperThread : public wxThread +class wxThreadHelperThread : public wxThread { public: // constructor only creates the C++ thread object and doesn't create (or @@ -677,7 +677,7 @@ private: // derive from it to implement a threading background task in your class. // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_BASE wxThreadHelper +class wxThreadHelper { private: void KillThread()