-#if defined(__WINDOWS__) && !defined(__BORLANDC__)
- // Load the .wxr 'file' from a .rc resource, under Windows.
- dialog1 = wxLoadUserResource("dialog1");
- menu1 = wxLoadUserResource("menu1");
- // All resources in the file (only one in this case) get parsed
- // by this call.
- wxResourceParseString(dialog1);
- wxResourceParseString(menu1);
+#if defined(__WXMSW__)
+ // Load the .wxr 'file' from a .rc resource, under Windows.
+ dialog1 = wxLoadUserResource(wxT("dialog1"), wxT("WXRDATA"));
+ menu1 = wxLoadUserResource(wxT("menu1"), wxT("WXRDATA"));
+ // All resources in the file (only one in this case) get parsed
+ // by this call.
+ wxResourceParseString(dialog1);
+ wxResourceParseString(menu1);