m_dialogStyle = style;
m_filterIndex = 1;
- m_widget = gtk_file_selection_new(_("File selection"));
+ m_widget = gtk_file_selection_new( m_message );
int x = (gdk_screen_width () - 400) / 2;
int y = (gdk_screen_height () - 400) / 2;
return wxBuffer;
}
else
- return NULL;
+ return (char *) NULL;
}
char* wxLoadFileSelector(const char *what, const char *extension, const char *default_name,
char wild[60];
sprintf(wild, "*.%s", ext);
- return wxFileSelector (prompt, NULL, default_name, ext, wild, 0, parent);
+ return wxFileSelector (prompt, (const char *) NULL, default_name, ext, wild, 0, parent);
}
char* wxSaveFileSelector(const char *what, const char *extension, const char *default_name,
char wild[60];
sprintf(wild, "*.%s", ext);
- return wxFileSelector (prompt, NULL, default_name, ext, wild, 0, parent);
+ return wxFileSelector (prompt, (const char *) NULL, default_name, ext, wild, 0, parent);
}