From: Vadim Zeitlin Date: Thu, 21 Jun 2007 22:29:07 +0000 (+0000) Subject: don't use DLL export declaration with inline functions, it is ignored and just result... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/76de6a6e2090165e43a3fa2673a6734d295e35bb don't use DLL export declaration with inline functions, it is ignored and just results in a warning from mingw32 3.4.5 cross-compiler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/thread.h b/include/wx/thread.h index b95652dcac..34b632b39c 100644 --- a/include/wx/thread.h +++ b/include/wx/thread.h @@ -693,8 +693,8 @@ inline bool wxIsMainThread() { return wxThread::IsMain(); } #else // !wxUSE_THREADS // no thread support -inline void WXDLLIMPEXP_BASE wxMutexGuiEnter() { } -inline void WXDLLIMPEXP_BASE wxMutexGuiLeave() { } +inline void wxMutexGuiEnter() { } +inline void wxMutexGuiLeave() { } // macros for entering/leaving critical sections which may be used without // having to take them inside "#if wxUSE_THREADS"