Hi lionel! Nice to see you back here!
phoenix,
I worked on this and (as long as everyone uses wx 2.8) removed the necessity of this function altogether. It was called for every locale, adding additional prefix paths for locales. Fortunately wx already had the right standard lookup paths for Windows and Linux, only the Mac path is different. So I added the Mac-prefix directly in InitLocale and removed the function.
If you want me to dig up the right code in wx code, please tell me so in the forum topic I wrote about getlocaledir.