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