git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33107
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
int style = dialog->GetStyle();
gchar* text = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(widget));
- wxString filename(wxGTK_CONV_BACK(text));
+ wxString filename = wxConvFileName->cMB2WX( text );
if ( filename.empty() )
{
// this is totally lame but better than silent error
{
int style = dialog->GetStyle();
gchar* text = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(widget));
- wxString filename(wxGTK_CONV_BACK(text));
+ wxString filename = wxConvFileName->cMB2WX( text );
if ( filename.empty() )
{
// this is totally lame but better than silent error