]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/utils.h
restored previously removed inline
[wxWidgets.git] / include / wx / utils.h
index 81941fe6f0613ec63e0957f5ad45eb285fdecb21..4c834988903c44bcaa190cf2d43df57862947a70 100644 (file)
@@ -302,6 +302,9 @@ WXDLLEXPORT wxWindow* wxFindWindowAtPoint(const wxPoint& pt);
 // Yield to other apps/messages
 WXDLLEXPORT bool wxYield();
 
 // Yield to other apps/messages
 WXDLLEXPORT bool wxYield();
 
+// Like wxYield, but fails silently if the yield is recursive.
+WXDLLEXPORT bool wxYieldIfNeeded();
+
 // Yield to other apps/messages and disable user input
 WXDLLEXPORT bool wxSafeYield(wxWindow *win = NULL);
 
 // Yield to other apps/messages and disable user input
 WXDLLEXPORT bool wxSafeYield(wxWindow *win = NULL);