- // Load the .wxr 'file' from a .rc resource, under Windows.
- dialog1 = wxLoadUserResource("dialog1", "WXRDATA");
- menu1 = wxLoadUserResource("menu1", "WXRDATA");
- // All resources in the file (only one in this case) get parsed
- // by this call.
- wxResourceParseString(dialog1);
- wxResourceParseString(menu1);
+ // 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);