]> git.saurik.com Git - wxWidgets.git/commitdiff
fix wxYield[IfNeeded] dll linkage (closes #10325)
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 7 Jan 2009 11:28:50 +0000 (11:28 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 7 Jan 2009 11:28:50 +0000 (11:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/app.h
include/wx/utils.h

index c3b87dd0184a0866841326b5eb2bb3d53087bcee..f2a254bac0cb7507b7970079a4c333f1ccad7a37 100644 (file)
@@ -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
index 8ff50f4a015198ce552853e0c5981e8d00bf398e..4e097461995b71f17a6d5cef0ea0525a38f7f9e7 100644 (file)
@@ -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__