X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/308978f6aa40cd791d9ba0cd437a404e68d30734..cf1a9b45c7b70f217d3cc282ab77df8feaadcdeb:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 09094b4877..4c83498890 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -255,6 +255,12 @@ WXDLLEXPORT const wxMB2WXbuf wxGetUserHome(const wxString& user = wxEmptyString) WXDLLEXPORT wxChar* wxGetUserHome(const wxString& user = wxEmptyString); #endif +#ifdef __WXMAC__ +WXDLLEXPORT wxString wxMacFindFolder(short vRefNum, + OSType folderType, + Boolean createFolder); +#endif + #if wxUSE_GUI // GUI only things from now on // ---------------------------------------------------------------------------- @@ -296,6 +302,9 @@ WXDLLEXPORT wxWindow* wxFindWindowAtPoint(const wxPoint& pt); // 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);