fix wxYield[IfNeeded] dll linkage (closes #10325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
@@ -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__
|
||||
|
Reference in New Issue
Block a user