- // Show file selector.
- wxString f = wxFileSelector("Open Image", (const char *) NULL, (const char *) NULL,"png",
- "PNG files (*.png)|*.png");
+ // Show file selector.
+ wxString f = wxFileSelector(wxT("Open Image"), (const wxChar *) NULL,
+ (const wxChar *) NULL, wxT("png"),
+ wxT("PNG files (*.png)|*.png"));