From 382818261588a4578a09c5cdc7a250af1e63199e Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Wed, 7 Jan 2009 11:28:50 +0000 Subject: [PATCH] fix wxYield[IfNeeded] dll linkage (closes #10325) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/app.h | 6 +++--- include/wx/utils.h | 8 ++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/include/wx/app.h b/include/wx/app.h index c3b87dd018..f2a254bac0 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -648,7 +648,7 @@ protected: // ------------------------------------------------------ // Force an exit from main loop -extern void WXDLLIMPEXP_BASE wxExit(); +WXDLLIMPEXP_BASE void wxExit(); // avoid redeclaring this function here if it had been already declated by // wx/utils.h, this results in warnings from g++ with -Wredundant-decls @@ -656,12 +656,12 @@ extern void WXDLLIMPEXP_BASE wxExit(); #define wx_YIELD_DECLARED // Yield to other apps/messages -extern bool WXDLLIMPEXP_BASE wxYield(); +WXDLLIMPEXP_CORE bool wxYield(); #endif // wx_YIELD_DECLARED // Yield to other apps/messages -extern void WXDLLIMPEXP_BASE wxWakeUpIdle(); +WXDLLIMPEXP_BASE void wxWakeUpIdle(); // ---------------------------------------------------------------------------- // macros for dynamic creation of the application object diff --git a/include/wx/utils.h b/include/wx/utils.h index 8ff50f4a01..4e09746199 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -713,16 +713,12 @@ inline struct _XDisplay *wxGetX11Display() #define wx_YIELD_DECLARED // Yield to other apps/messages -WXDLLIMPEXP_BASE bool wxYield(); +WXDLLIMPEXP_CORE bool wxYield(); #endif // wx_YIELD_DECLARED // Like wxYield, but fails silently if the yield is recursive. -WXDLLIMPEXP_BASE bool wxYieldIfNeeded(); - -// ---------------------------------------------------------------------------- -// Error message functions used by wxWidgets (deprecated, use wxLog) -// ---------------------------------------------------------------------------- +WXDLLIMPEXP_CORE bool wxYieldIfNeeded(); #endif // _WX_UTILSH__ -- 2.47.2