{
#if defined(__WIN32__)
+#include <rpc.h>
UUID UUIDData;
UuidCreate(&UUIDData);
wchar_t* UUIDStr = 0;
wxString Result(UUIDStr);
#elif defined(__HAIKU__)
-#elif defined(__APPLE__)
-
- wxString Result;
-
#else
#include <stdio.h>
pclose(uuid_hdl);
-/*#include <uuid/uuid.h>
-
- uuid_t *uuid;
- uuid_create(&uuid);
- char *strdata[100];
-
- strdata = NULL;
-
- wxString Result = wxString::FromUTF8(strdata);
-
- delete strdata;
- strdata = NULL;*/
+ Result = wxString::Format(wxT("%s"), uuidout);
+ Result.Trim();
#endif
return Result;
-}
\ No newline at end of file
+}