X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717a57c2fabb054c8f00dc5dae70df1d03cfe532..6842d18650b487249b4ae29d0d7e17231b24cde8:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 83def5dbb7..e070a680b4 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -214,7 +214,11 @@ bool wxResourceTable::ParseResourceFile(const wxString& filename) { wxExprDatabase db; +#ifdef __WXMAC__ + FILE *fd = fopen(wxUnix2MacFilename(filename.fn_str()), "r"); +#else FILE *fd = fopen(filename.fn_str(), "r"); +#endif if (!fd) return FALSE; bool eof = FALSE;